Index: trunk/psastro/src/psastroMosaicChipAstrom.c
===================================================================
--- trunk/psastro/src/psastroMosaicChipAstrom.c	(revision 10880)
+++ trunk/psastro/src/psastroMosaicChipAstrom.c	(revision 12718)
@@ -2,5 +2,5 @@
 # define NONLIN_TOL 0.001 /* tolerance in pixels */
 
-bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata *recipe, bool nonlinear) {
+bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata *recipe, int iteration) {
 
     pmChip *chip = NULL;
@@ -26,5 +26,10 @@
 		psMetadata *updates = psMetadataAlloc();
 
-		psastroMosaicOneChip (chip, readout, recipe, updates, nonlinear);
+		if (!psastroMosaicOneChip (chip, readout, recipe, updates, iteration)) {
+		    readout->data_exists = false;
+		    psLogMsg ("psastro", 3, "failed to find a solution for %d,%d,%d\n", view->chip, view->cell, view->readout);
+		    psFree (updates);
+		    continue;
+		}
 
 		// create the header keywords to descripe the results
