Index: /trunk/magic/remove/src/streaksastrom.c
===================================================================
--- /trunk/magic/remove/src/streaksastrom.c	(revision 20841)
+++ /trunk/magic/remove/src/streaksastrom.c	(revision 20842)
@@ -162,4 +162,7 @@
     }
 
+    pmHDU *hdu = pmFPAviewThisHDU(sf->view, sf->inAstrom->fpa);
+    PS_ASSERT_PTR_NON_NULL(hdu, 1)
+    PS_ASSERT_PTR_NON_NULL(hdu->header, 1)
     if (sf->bilevelAstrometry) {
         // Do we get here for GPC1 ? I don't necessarily have an fpa for the input image
@@ -168,8 +171,9 @@
             return false;
         }
+       if (!pmAstromReadBilevelChip (sf->chip, hdu->header)) {
+            psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel chip astrometry for input FPA.");
+            return false;
+        }
     } else {
-        pmHDU *hdu = pmFPAviewThisHDU(sf->view, sf->inAstrom->fpa);
-        PS_ASSERT_PTR_NON_NULL(hdu, 1)
-        PS_ASSERT_PTR_NON_NULL(hdu->header, 1)
 
         // we use a default FPA pixel scale of 1.0
