Perform a variety of steps to perform secondary photometry on the sources detected by image_catalogs. The primary photometry tool run is apphot_interactive.
% phot2 --help
Usage: phot2 20191022T025524.2_acm_sci.fits
arg1 - FITS image to be measured
Additional options:
-v = print verbose comments
--help = view a help document
EXAMPLE:
% cd /home/sco/ACM_work_Oct2019/red_20191022
% phot2 ./local_red/FIXUP/20191022T025524.2_acm_sci.fits
% imhead 20191022T025524.2_acm_sci.fits > ALL
% tail -12 ALL
ZPSEC = -2.7379 / ZP for a 1-sec exposure
ZPERR = 3.7023 / mean error of ZPSEC
NUMZP = 32 / number of calbrating sources
PSYSNAME= g / name of photometric system
SKYSB = 21.6970 / sky surface brightness (mags per sq.arcsec)
SKYSBERR= 0.0000 / mean error of SKYSB
NUMBOX = 32 / number of sky boxes measured
RSTRT = -1216.9917 / Radius position of tracker at start (mm)
MILLUM = -99.0000 / percentage moon illumination
PHIMOON = -99.0000 / angle of separation to moon (deg)
VSKYSB = 21.9000 / predicted V sky surface brightness
============= New late April stuff =======================
% cat apphot.config
radarcsec 2.5
NumPixMin 8
Sradarc 3.0
phot2 20191022T025524.2_acm_sci.fits -t
**** The "-t" allows me to rename the ZP table file ****
% ls
20191022T025524.2_acm_sci_apertures.cdfp 20191022T025524.2_acm_sci.fits apphot.config s1/
20191022T025524.2_acm_sci.boxlims 20191022T025524.2_acm_sci_ZP1.params bias_20191022/ Save/
20191022T025524.2_acm_sci.cdfp 20191022T025524.2_acm_sci_ZP1.parlab local_red/ Test1/
20191022T025524.2_acm_sci.cdfp.reg 20191022T025524.2_acm_sci_ZP1.table S/