Index: /trunk/psastro/src/psastroMosaicAstrom.c
===================================================================
--- /trunk/psastro/src/psastroMosaicAstrom.c	(revision 15259)
+++ /trunk/psastro/src/psastroMosaicAstrom.c	(revision 15260)
@@ -52,5 +52,5 @@
 
     // measure the astrometry for the chips under the distortion term
-    if (!psastroMosaicChipAstrom (fpa, recipe, false)) {
+    if (!psastroMosaicChipAstrom (fpa, recipe, 0)) {
 	psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode");
 	return false;
@@ -74,5 +74,5 @@
     if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.4.dat"); }
 
-    if (!psastroMosaicChipAstrom (fpa, recipe, 0)) {
+    if (!psastroMosaicChipAstrom (fpa, recipe, 1)) {
 	psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (2nd pass)");
 	return false;
@@ -96,5 +96,5 @@
     if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.6.dat"); }
 
-    if (!psastroMosaicChipAstrom (fpa, recipe, 0)) {
+    if (!psastroMosaicChipAstrom (fpa, recipe, 2)) {
 	psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (3rd pass)");
 	return false;
@@ -108,5 +108,5 @@
 	return false;
     }
-    if (!psastroMosaicChipAstrom (fpa, recipe, 1)) {
+    if (!psastroMosaicChipAstrom (fpa, recipe, 3)) {
 	psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (3rd pass)");
 	return false;
