Index: /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.c
===================================================================
--- /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.c	(revision 18279)
+++ /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.c	(revision 18280)
@@ -5,6 +5,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-05-25 00:16:03 $
+ *  @version $Revision: 1.41.2.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-06-23 15:47:08 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -155,4 +155,5 @@
         source->modelPSF = pmModelFromPSF (source->modelEXT, psfTry->psf);
 	if (source->modelPSF == NULL) {
+	    psfTry->mask->data.U8[i] = PSFTRY_MASK_BAD_MODEL;
 	    continue;
 	}
Index: /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.h
===================================================================
--- /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.h	(revision 18279)
+++ /branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.h	(revision 18280)
@@ -6,6 +6,6 @@
  * @author EAM, IfA
  *
- * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-01-24 02:54:15 $
+ * @version $Revision: 1.11.10.1 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2008-06-23 15:47:08 $
  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
@@ -68,5 +68,6 @@
     PSFTRY_MASK_PSF_FAIL = 0x04,        ///< 3: psf model failed to converge
     PSFTRY_MASK_BAD_PHOT = 0x08,        ///< 4: invalid source photometry
-    PSFTRY_MASK_ALL      = 0x0f,        ///< Add comment.
+    PSFTRY_MASK_BAD_MODEL= 0x10,        ///< 5: could not build PSF from EXT (!??)
+    PSFTRY_MASK_ALL      = 0x1f,        ///< Add comment.
 } pmPSFtryMaskValues;
 
