Pulled out flux calibration from loop to be done just once.  Added warning if no fluxcal was found