added a negative flux / low SNR source removal function for non-HDR data