Index: branches/eam_branches/gDiff.20200202/src/gDiffLoop.c
===================================================================
--- branches/eam_branches/gDiff.20200202/src/gDiffLoop.c	(revision 41413)
+++ branches/eam_branches/gDiff.20200202/src/gDiffLoop.c	(revision 41414)
@@ -26,6 +26,4 @@
     psAssert(config, "Require configuration.");
 
-    HDUCHECK ("0a: start gDiffLoop");
-
     psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, GDIFF_RECIPE); // Recipe for ppSim
     psAssert(recipe, "We checked this earlier, so it should be here.");
@@ -49,6 +47,4 @@
     psTimerStart("GDIFF_MATCH");
 
-    HDUCHECK ("0b: gDiffSetMasks");
-
     if (!gDiffSetMasks(config)) {
         psError(psErrorCodeLast(), false, "Unable to set masks.");
@@ -56,5 +52,4 @@
     }
 
-    HDUCHECK ("0b.1: gDiffInputDetections");
     if (data->forcedPhot1) {
 	bool foundDetections = false;
@@ -70,5 +65,5 @@
 	}
     }
-    HDUCHECK ("0b.2: gDiffInputDetections");
+
     if (data->forcedPhot2) {
 	// XXX why is this only done for Phot2 and not Phot1 ??
@@ -110,6 +105,4 @@
      **** This is the core of the PSF-matched image subtraction code.   ****/
 
-    HDUCHECK ("1: before gDiffMatchPSFs");
-
     if (!gDiffMatchPSFs(data)) {
 	psError(psErrorCodeLast(), false, "Unable to match PSFs.");
@@ -152,6 +145,4 @@
     }
 
-    HDUCHECK ("2: after gDiffLowThreshold");
-
     // Set up subtraction files
     if (!gDiffFilesIterateDown(config, GDIFF_FILES_SUB)) {
@@ -166,6 +157,4 @@
         goto ESCAPE;
     }
-
-    HDUCHECK ("2a: gDiffMakePSF");
 
     // the functions in this block are not critical for initial testing, so block them out for now
@@ -186,6 +175,4 @@
     }
 
-    HDUCHECK ("3: before gDiffReadoutSubtract");
-
     if (!gDiffReadoutSubtract(config)) {
         psError(psErrorCodeLast(), false, "Unable to subtract images.");
@@ -208,6 +195,4 @@
     }
     
-    HDUCHECK ("4: before gDiffBackground");
-
     // Higher order background subtraction using psphot
     if (!gDiffBackground(config)) {
@@ -218,6 +203,4 @@
     // dumpout(config, "diff.2b.fits");
 
-    HDUCHECK ("5: before gDiffVarianceRescale");
-
     // Perform Variance correction (rescale within a modest range)
     if (!gDiffVarianceRescale(config, data)) {
@@ -240,6 +223,4 @@
     }
 
-    HDUCHECK ("6: before gDiffReadoutPhotometry");
-
     if (!data->quality && !gDiffReadoutPhotometry("GDIFF.OUTPUT", data)) {
         psError(psErrorCodeLast(), false, "Unable to perform photometry.");
@@ -248,6 +229,4 @@
     }
     // dumpout(config, "diff.3.fits");
-
-    HDUCHECK ("7: before gDiffReadoutForcedPhot (1)");
 
     // forced photometry for positive image 1
