MOS_REJECTION_MASK = OUT_OF_FOV + IN_BAD_FRAME + COSMIC_RAY + ON_BADPIX + REJECTED_BY_GATTI + OUT_OF_CCD_WINDOW + OUTSIDE_THRESHOLDS + ON_BADROW + BAD_E3E4 + UNDERSHOOT + FLICKERING + ON_BADOFFSET
MOS_SPECTRAL_MASK = 0xFFFFFFFF - CLOSE_TO_DEADPIX