Index: trunk/psphot/src/psphotReadout.c
===================================================================
--- trunk/psphot/src/psphotReadout.c	(revision 33889)
+++ trunk/psphot/src/psphotReadout.c	(revision 33890)
@@ -185,5 +185,9 @@
 	// remove noise for subtracted objects (ie, return to normal noise level)
 	// NOTE: this needs to operate only on the OLD sources
-	psphotSubNoise (config, view, filerule); // pass 1 (detections->allSources)
+        bool footprintsUseUnsubtracted = psMetadataLookupBool(NULL, recipe, "FOOTPRINT_USE_UNSUBTRACTED");
+        // if footprintsUseUnsubtracted is true the noise was already subtracted in psphotFindDetections()
+        if (!footprintsUseUnsubtracted) {
+	    psphotSubNoise (config, view, filerule); // pass 1 (detections->allSources)
+        }
 
 	// define new sources based on only the new peaks & measure moments
