Index: trunk/psphot/src/apply_psf_model.c
===================================================================
--- trunk/psphot/src/apply_psf_model.c	(revision 4115)
+++ trunk/psphot/src/apply_psf_model.c	(revision 4116)
@@ -1,6 +1,8 @@
 # include "psphot.h"
 
-// fit psf model to all objects not already fitted (modelPSF == NULL)
+// fit psf model to all objects 
+// PSFSTAR objects will be refitted
 // run this function to a specific flux limit?
+
 
 bool apply_psf_model (psImage *image, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky) 
@@ -35,8 +37,4 @@
 	psSource *source = sources->data[i];
 
-	// skip the existing PSF stars 
-	// XXX drop this -- refit?
-	if (source->modelPSF != NULL) continue;
-
 	// skip non-astronomical objects (very likely defects)
 	if (source->type == PS_SOURCE_DEFECT) continue;
@@ -54,4 +52,5 @@
 	if (isnan(model->radius)) {
 	  fprintf (stderr, "error in radius\n");
+	  continue;
 	}
 	    
