Index: /tags/ipp-20120802/psphot/src/psphotChoosePSF.c
===================================================================
--- /tags/ipp-20120802/psphot/src/psphotChoosePSF.c	(revision 34308)
+++ /tags/ipp-20120802/psphot/src/psphotChoosePSF.c	(revision 34309)
@@ -505,4 +505,11 @@
 
         psLogMsg ("psphot", PS_LOG_DETAIL, "fwhm (psf): %f,%f (moments): %f,%f", fwhmMaj, fwhmMin, fwhmMajorMoments, fwhmMinorMoments);
+        if (fwhmMaj > 25) {
+            // XXX: get this parameter from the recipe
+            // FWHM is too large. Using this often leads to detection of huge numbers of sources
+            psLogMsg ("psphot", PS_LOG_WARN, "fwhm too large giving up\n");
+            goto escape;
+        }
+
     }
 
