Generalized FITS calibration parameters.  Fixed bug when training phot aperture with NaN FWHM