Index: trunk/psModules/src/objects/pmSourceIO.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO.c	(revision 22699)
+++ trunk/psModules/src/objects/pmSourceIO.c	(revision 23990)
@@ -562,6 +562,8 @@
 
     // not needed if only one chip
-    if (file->fpa->chips->n == 1) return true;
-
+    if (file->fpa->chips->n == 1) {
+	pmSourceWriteMatchedRefs (file->fits, file->fpa, config);
+	return true;
+    }
 
     // find the FPA phu
@@ -667,4 +669,5 @@
     psFree (outhead);
 
+    pmSourceWriteMatchedRefs (file->fits, file->fpa, config);
     return true;
 }
@@ -1053,2 +1056,3 @@
 }
 
+    
