Details on how to run the the overlap and mosaic scripts:
When downloading data from leopard, be sure to download the calibration data in addition to the bcd data.
source /usr/beverly/spitzer/mopex/mopex_030106/mopex.csh [ use proper path ]
cd to the bcd directory
ls *bcd.fits > image_stack_all3.txt
ls *_bunc.fits > sigmalist_all3.txt
ls *_bbmsk.fits > dmasklist_all3.txt
edit all of the above files, remove *_0000_5_bcd.fits, etc, (or *_0000_3_bcd.fits) (these are the first exposures).
wc *txt ---> make sure these files are all the same size
Check to make sure all images are `prime' and that the integration times ok by using IRAF:
mkdir ../cal/
cp ../cal/*pmask.fits ../cal/pmask.fits
mkdir cdf
copy mosaic.ch3.nl.txt and overlap.ch3.nl.txt to the cdf subdirectory
overlap.pl -n overlap.ch3.nl.txt
NOTE: this creates files in overlap3/Overlap_Corr
mosaic.pl -n mosaic.ch3.nl.txt
NOTE: this puts an output file called mosaic.fits in mosaic3/Combine