I am trying to reduce my Gemini NIRI data, using the IRAF package they provide. I followed the example reduction packaged with the scripts (niriexample). The problem appears to be in the nisky call, which I copy below:
PHP Formatted Code
----------------------------------------------------------------------------
NISKY
-- Thu Apr
16 10:11:37 CDT
2015
Using input files
:
blncN20150322S0093
.fits
blncN20150322S0094
.fits
blncN20150322S0095
.fits
blncN20150322S0096
.fits
blncN20150322S0097
.fits
blncN20150322S0098
.fits
blncN20150322S0099
.fits
blncN20150322S0100
.fits
blncN20150322S0101
.fits
blncN20150322S0102
.fits
blncN20150322S0103
.fits
blncN20150322S0104
.fits
blncN20150322S0105
.fits
blncN20150322S0106
.fits
blncN20150322S0107
.fits
blncN20150322S0108
.fits
blncN20150322S0109
.fits
blncN20150322S0110
.fits
blncN20150322S0111
.fits
blncN20150322S0112
.fits
blncN20150322S0113
.fits
blncN20150322S0114
.fits
blncN20150322S0115
.fits
blncN20150322S0116
.fits
blncN20150322S0117
.fits
Output image
: SKY
-HIP_29735
.fits
NISKY calling NIFASTSKY
Returning to NISKY
Making mask
for image blncN20150322S0093
blncN20150322S0093msk
.pl is not an image or a number
Making mask
for image blncN20150322S0094
blncN20150322S0094msk
.pl is not an image or a number
Making mask
for image blncN20150322S0095
blncN20150322S0095msk
.pl is not an image or a number
Making mask
for image blncN20150322S0096
blncN20150322S0096msk
.pl is not an image or a number
Making mask
for image blncN20150322S0097
blncN20150322S0097msk
.pl is not an image or a number
Making mask
for image blncN20150322S0098
blncN20150322S0098msk
.pl is not an image or a number
Making mask
for image blncN20150322S0099
blncN20150322S0099msk
.pl is not an image or a number
Making mask
for image blncN20150322S0100
blncN20150322S0100msk
.pl is not an image or a number
Making mask
for image blncN20150322S0101
blncN20150322S0101msk
.pl is not an image or a number
Making mask
for image blncN20150322S0102
blncN20150322S0102msk
.pl is not an image or a number
Making mask
for image blncN20150322S0103
blncN20150322S0103msk
.pl is not an image or a number
Making mask
for image blncN20150322S0104
blncN20150322S0104msk
.pl is not an image or a number
Making mask
for image blncN20150322S0105
blncN20150322S0105msk
.pl is not an image or a number
Making mask
for image blncN20150322S0106
blncN20150322S0106msk
.pl is not an image or a number
Making mask
for image blncN20150322S0107
blncN20150322S0107msk
.pl is not an image or a number
Making mask
for image blncN20150322S0108
blncN20150322S0108msk
.pl is not an image or a number
Making mask
for image blncN20150322S0109
blncN20150322S0109msk
.pl is not an image or a number
Making mask
for image blncN20150322S0110
blncN20150322S0110msk
.pl is not an image or a number
Making mask
for image blncN20150322S0111
blncN20150322S0111msk
.pl is not an image or a number
Making mask
for image blncN20150322S0112
blncN20150322S0112msk
.pl is not an image or a number
Making mask
for image blncN20150322S0113
blncN20150322S0113msk
.pl is not an image or a number
Making mask
for image blncN20150322S0114
blncN20150322S0114msk
.pl is not an image or a number
Making mask
for image blncN20150322S0115
blncN20150322S0115msk
.pl is not an image or a number
Making mask
for image blncN20150322S0116
blncN20150322S0116msk
.pl is not an image or a number
Making mask
for image blncN20150322S0117
blncN20150322S0117msk
.pl is not an image or a number
WARNING
: Negative scale factors
-- ignoring scaling
Combining
25 images
, using average
Rejection type is avsigclip
with lsigma
=3. and hsigma
=3.
NISKY
exit status
: good
.
As you can see, it is throwing the warning message about the pixel maps not being an image or number. It is not saving them even though I ask it to (fl_keepmasks = yes). The output sky image at the end is nonsense: it is all very small values near 10^-9, which feels like maybe rounding errors for 0. Taking a look at the DQ frame in the sky image, almost every pixel is \"1\", which I think means it is flagging everything as a bad pixel? How can I fix this?