Index: branches/tap_branches/psastro/src/psastroChipAstrom.c
===================================================================
--- branches/tap_branches/psastro/src/psastroChipAstrom.c	(revision 25900)
+++ branches/tap_branches/psastro/src/psastroChipAstrom.c	(revision 27838)
@@ -56,9 +56,9 @@
 
                 // select the raw objects for this readout
-                psArray *rawstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.RAWSTARS");
+                psArray *rawstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.RAWSTARS.SUBSET");
                 if (rawstars == NULL) { continue; }
 
                 // select the raw objects for this readout
-                psArray *refstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.REFSTARS");
+                psArray *refstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.REFSTARS.SUBSET");
                 if (refstars == NULL) { continue; }
 
@@ -66,6 +66,5 @@
                 if ((rawstars->n < 4) || (refstars->n < 4)) {
                     readout->data_exists = false;
-                    psLogMsg ("psastro", 3, "insufficient rawstars (%ld) or refstars (%ld)",
-                              rawstars->n, refstars->n);
+                    psLogMsg ("psastro", 3, "insufficient rawstars (%ld) or refstars (%ld)", rawstars->n, refstars->n);
                     continue;
                 }
@@ -87,5 +86,5 @@
                 }
                 // XXX update the header with info to reflect the failure
-                if (!psastroOneChipFit (fpa, chip, refstars, rawstars, recipe, updates)) {
+                if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) {
                     readout->data_exists = false;
                     psLogMsg ("psastro", 3, "failed to find a solution\n");
