Closed rvweeren closed 7 years ago
The relevant error is "Header missing END card" and must occur when trying to read one of the model images or the mask in the fits2sky.py
script. Not sure why that would happen, but I added ignore_missing_end = True
to the fits calls. Hopefully that will fix it. If not, can you check the *wsclean_image_full_low-*-model.fits
and *.mask6
images for problems?
I restarted with the fits2sky update and that did not fix the problem. I have one mask6 (containing one polygon) region file and seven wsclean_image_full_low--model.fits images (all look fine, except that the values are mostly negative, in particular for the the bright source that falls inside the mask6 region)
log + mask6 + model images attached david.tar.gz
I thought the problem was maybe related to the fact that pybdsm did not found any sources
(i.e., see my first log, just speculating though....)
2016-12-19 22:34:49 WARNING facetselfcal_facet_patch_589.executable_args: Number of islands found ................. : 0 2016-12-19 22:34:49 WARNING facetselfcal_facet_patch_589.executable_args: �[31;1mWARNING�[0m: No islands found. Skipping wavelet decomposition. 2016-12-19 22:34:49 WARNING facetselfcal_facet_patch_589.executable_args: �[1;34m--> Grouping Gaussians into sources�[0m 2016-12-19 22:34:49 WARNING facetselfcal_facet_patch_589.executable_args: Number of sources formed from Gaussians : 0 201
Ah -- thanks for uploading the images. The mask6 file is supposed to be a fits mask, not a casa region file! The make_clean_mask.py
script was doing the wrong thing -- it should be fixed now. After updating, you will need to roll back the state to just before the mask6 step (i.e., just after the wsclean_image_full_low step).
Factor used to fail when no sources were found by PyBDSM, but as of a few weeks ago, it should continue even if no sources are found in the full and full_low images (meaning there are no other bright sources in the facet besides the calibrator ones).
Thanks for the quick update. I've restarted and will close the ticket once I verify this fixes the problem.
Factor crashes on wsclean_image_full_low-MFS-image.fits. The main source in this facet is quite extended and the overall flux in wsclean_image_full_low-MFS-image.fits is somewhat negative (at the location of this extended source). .wsclean_image_full-MFS-image.fits looks fine though. Any idea (log below)?
(I shortened the log somewhat)