bug calling fit_psf1_flux