Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 39315)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 39544)
@@ -686,7 +686,11 @@
             if self.config.test: self.logger.errorPair("No header found for chip", chipname)
             return False
-        
+#        self.logger.infoPair("extname is ",self.fits[0])
+
         # check we have valid sourceID/imageID pair from the header
-        if self.getKeyValue(header, 'SOURCEID') == "NULL": return False
+        # hardwire it
+        if self.getKeyValue(header, 'SOURCEID') == "NULL": 
+            header['SOURCEID']=0
+            self.logger.infoPair("no sourceid, using:",header['SOURCEID'])
         if self.getKeyValue(header, 'IMAGEID') == "NULL": return False
         
@@ -697,4 +701,5 @@
         self.imageIDs[chipname] = header['IMAGEID']
         self.sourceIDs[chipname] = header['SOURCEID']
+        #self.sourceIDs[chipname] = 33
             
         # populate ImageMeta
