Index: /branches/eam_branches/ipp-20230313/psphot/src/psphotSourceSize.c
===================================================================
--- /branches/eam_branches/ipp-20230313/psphot/src/psphotSourceSize.c	(revision 42507)
+++ /branches/eam_branches/ipp-20230313/psphot/src/psphotSourceSize.c	(revision 42508)
@@ -690,5 +690,5 @@
         // XXX this is running slowly and is too agressive, but it more-or-less works
         psTrace("psphot", 6, "mask cosmic ray at %f, %f\n", source->peak->xf, source->peak->yf);
-        if (options->applyCRmask) {
+        if (options->applyCRmask && source->peak->footprint) {
             psphotMaskCosmicRay(readout, source, options->crMask, options->maxWindowCR);
         } else {
