Allowing extinction-corrected nightly zeropoint to be stored in detection catalogue header