View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

DAOPHOT standalone to DAOPHOT/IRAF

jchavez wrote on Apr 05, 2011

Hi,

I have run DAOPHOT, the stand-alone version to get instrumental magnitudes. I am now trying to calibrate the standard stars as detailed in sections 3.6 to 3.10 of "A User's Guide to Stellar CCD Photometry with IRAF".

I have created the imsets file, which looks like this:
    PG1047+003 : pg1047b.fits pg1047v.fits pg1047r.fits pg1047i.fits
    PG1047+003A : pg1047b.fits pg1047v.fits pg1047r.fits pg1047i.fits
    PG1047+003B : pg1047b.fits pg1047v.fits pg1047r.fits pg1047i.fits
    PG1047+003C : pg1047b.fits pg1047v.fits pg1047r.fits pg1047i.fits

I have called this file 'standstars'

I have an observing parameter which is this:
    pg1047b.fits b 20.030 1.210 2455560.8137153
    pg1047v.fits v 20.030 1.210 2455560.8151852
    pg1047r.fits r 10.030 1.220 2455560.8166493
    pg1047i.fits i 10.040 1.220 2455560.8179861

I've called it 'obsparam'

The output from ALLSTAR looks like this:
    NL NX NY LOWBAD HIGHBAD THRESH AP1 PH/ADU RNOISE FRAD
    1 2080 2048 -30.1 20000.0 13.21 3.00 2.500 6.600 7.00

    pg1047+003 1319.109 1141.838 13.093 0.0076 3.620 5. 0.78 0.084
    pg1047+003A 1222.051 1220.826 14.023 0.0069 3.406 5. 0.565 0.131
    pg1047+003B 1145.067 1343.044 15.262 0.0095 3.079 6. 0.533 0.110
    pg1047+003C 945.308 1132.793 12.964 0.0087 3.989 7. 0.930 0.113

In this example, I have artificially changed the names of the stars. I hope I don't have to do this for all the standard stars. I just don't quite know what IRAF is expecting. I would like to simply use the ID that DAOPHOT/ALLSTAR give it. I have four of the outputs from ALLSTAR - one for each filter.

Finally, I have the input list, which is simply :
    pg1047b.aal
    pg1047v.aal
    pg1047r.aal
    pg1047i.aal


Then these are the parameters I'm using for mknobsfile:
    photfile= aal.lst
    idfilter= b,v,r,i
    imset= standstars
    observat= testmkno
    (obspara= obsparam
    (obscolu= 2,3,4,5

And the rest are the defaults.

But mknobsfile gives me this error:
Image set: 1 Label: PG1047+003 has no data
And so forth for pg1047+003(A-C)

What am I missing here?

Thanks!
-Joy

P.S. I'm running this in PyRAF 1.9, IRAF 2.14, on a Mac 10.5.8

Last post on Apr 05, 2011