Index: trunk/psphot/src/psphotImageMedian.c
===================================================================
--- trunk/psphot/src/psphotImageMedian.c	(revision 6715)
+++ trunk/psphot/src/psphotImageMedian.c	(revision 6753)
@@ -211,4 +211,6 @@
     psLogMsg ("psphot", 3, "build resampled image: %f sec\n", psTimerMark ("psphot"));
 
+    psphotSaveImage (NULL, background, "back.fits");
+
     // back-sub image pixels, from output background file (don't create if not requested)
     psImage *backSub = pmFPAfileReadoutImage (config->files, view, "PSPHOT.BACKSUB", 0, 0, PS_TYPE_F32);
