Index: /trunk/psphot/src/psphotReadout.c
===================================================================
--- /trunk/psphot/src/psphotReadout.c	(revision 15127)
+++ /trunk/psphot/src/psphotReadout.c	(revision 15128)
@@ -147,4 +147,5 @@
             return psphotReadoutCleanup (config, readout, recipe, psf, sources);
         }
+	havePSF = true;
     }
 
@@ -237,5 +238,8 @@
 
     // set source type
-    psphotRoughClass (newSources, recipe, false, maskSat);
+    if (!psphotRoughClass (newSources, recipe, havePSF, maskSat)) {
+        psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image");
+        return psphotReadoutCleanup (config, readout, recipe, psf, sources);
+    }
 
     // create full input models
