Read in parameters Create input and output filenames based on parameters chosen. Loop through prefixes and bands: Accumulate a total outImage Apply a mask or cheese mask if selected to eliminate point sources. Apply PN OOT if necessary call writeMap to write image to FITS. End Loops Repeat Loop for BKG image if withpart selected Repeat Loop for PROT image if withprot selected Repeat Loop for SWCX image if withswcx selected Repeat Loop for EXP image and also apply scalefactor CCFs