Started working on galaxy PGC2148812 at Sun Jun 7 18:49:30 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 246.73871700000004 39.382855 --width 313 --height 313 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:49:31.939641 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '246.73871700000004', '39.382855', '--width', '313', '--height', '313', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-%%(stage)s.p', '--fit-on-coadds', '--saddle-fraction', '0.2', '--saddle-min', '4.0'] python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 246.73871700000004 39.382855 --width 313 --height 313 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 246.73871700000004 39.382855 Starting process 31265 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.0573 MB Starting process 31266 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057304 MB Starting process 31267 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057304 MB Starting process 31268 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Runstage writecat Runstage wise_forced Runstage coadds Runstage fitblobs Runstage srcs Runstage fit_on_coadds Runstage halos Runstage outliers Runstage refs Runstage tims Running stage tims Running stage tims at 2020-06-07T18:49:32.430185 Keeping 7 CCDs: k4m_160328_105240_ooi_zd_ls9.fits.fz k4m_160328_105240_ooi_zd_ls9-CCD2 z exptime 80.102 propid 2016A-0453 seeing 0.87 MJD 57475.453 object MzLS_600363_z k4m_160327_105608_ooi_zd_ls9.fits.fz k4m_160327_105608_ooi_zd_ls9-CCD1 z exptime 80.104 propid 2016A-0453 seeing 0.80 MJD 57474.456 object MzLS_602302_z k4m_160430_093013_ooi_zd_ls9.fits.fz k4m_160430_093013_ooi_zd_ls9-CCD1 z exptime 100.104 propid 2016A-0453 seeing 1.11 MJD 57508.396 object MzLS_601334_z ksb_160503_091106_ooi_g_ls9.fits.fz ksb_160503_091106_ooi_g_ls9-CCD3 g exptime 119.8 propid BASS seeing 2.51 MJD 57511.383 object 13382 ksb_180418_085714_ooi_g_ls9.fits.fz ksb_180418_085714_ooi_g_ls9-CCD3 g exptime 76.32 propid BASS seeing 1.38 MJD 58226.373 object 13382 ksb_160413_105402_ooi_r_ls9.fits.fz ksb_160413_105402_ooi_r_ls9-CCD3 r exptime 50.0 propid BASS seeing 1.26 MJD 57491.454 object 13381 ksb_170529_093732_ooi_g_ls9.fits.fz ksb_170529_093732_ooi_g_ls9-CCD3 g exptime 95.4 propid 2015A-0801 seeing 1.39 MJD 57902.401 object 13381 mosaic get_fwhm: self.fwhm = 4.27 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3646 3962 and amp range 2006 4053 and image y 996 1315 and amp range 0 2039 Range in image: x 0 317 , y 0 320 (with image size 317 x 320) dzp 0.001388291 -> scaling image by 1.0012794811153327 Faked up EXPNUM 75110147 Faked up EXPNUM 75110147 Faked up EXPNUM 75110147 90prime get_fwhm: self.fwhm = 5.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2993 3174 and amp range 2016 4031 and image y 2897 3080 and amp range 2048 4095 Range in image: x 0 182 , y 0 184 (with image size 182 x 184) dzp -0.0012536051 -> scaling image by 0.9988460533227724 mosaic get_fwhm: self.fwhm = 3.09 Found 4 relevant rows in amp-corrections file. Found overlap: image x 943 1262 and amp range 0 2005 and image y 2991 3307 and amp range 2040 4078 Range in image: x 0 320 , y 0 317 (with image size 320 x 317) dzp -0.005990375 -> scaling image by 0.994497853444703 mosaic get_fwhm: self.fwhm = 3.37 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2075 2392 and amp range 2048 4095 and image y 2827 3143 and amp range 2040 4078 Range in image: x 0 318 , y 0 317 (with image size 318 x 317) dzp -0.009154885 -> scaling image by 0.9916034885139223 Faked up EXPNUM 82260120 Faked up EXPNUM 82260120 Faked up EXPNUM 82260120 90prime get_fwhm: self.fwhm = 3.05 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2992 3174 and amp range 2016 4031 and image y 2903 3085 and amp range 2048 4095 Range in image: x 0 183 , y 0 183 (with image size 183 x 183) dzp -0.01723723 -> scaling image by 0.9842492857213068 Faked up EXPNUM 79020168 Faked up EXPNUM 79020168 Faked up EXPNUM 79020168 90prime get_fwhm: self.fwhm = 3.07 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1016 1198 and amp range 0 2015 and image y 897 1079 and amp range 0 2047 Range in image: x 0 183 , y 0 183 (with image size 183 x 183) dzp -0.036130503 -> scaling image by 0.9672701794860779 Faked up EXPNUM 74910207 Faked up EXPNUM 74910207 Faked up EXPNUM 74910207 90prime get_fwhm: self.fwhm = 2.79 Found 4 relevant rows in amp-corrections file. Found overlap: image x 998 1180 and amp range 0 2015 and image y 905 1087 and amp range 0 2047 Range in image: x 0 183 , y 0 183 (with image size 183 x 183) dzp -0.024507914 -> scaling image by 0.9776802328037623 Stage tims : Wall: 5.40 s, CPU: 0.93 s, VmPeak: 941 MB, VmSize: 941 MB, VmRSS: 171 MB, VmData: 205 MB, maxrss: 0.566516 MB Stage tims finished: 2020-06-07T18:49:37.834729 Resources for stage tims : 3.343 s worker CPU, 12.783 s worker Wall, Wall: 5.406 s, Cores in use: 0.79, Total efficiency (on 4 cores): 19.8 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T18:49:37.854238 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02200.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02327.fits Matched 71 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/reference-custom-246738p39382.fits Stage refs : Wall: 3.01 s, CPU: 2.48 s, VmPeak: 971 MB, VmSize: 966 MB, VmRSS: 197 MB, VmData: 230 MB, maxrss: 0.566516 MB Stage refs finished: 2020-06-07T18:49:40.859943 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 3.007 s, Cores in use: 0.83, Total efficiency (on 4 cores): 20.7 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T18:49:40.861533 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outlier-mask-custom-246738p39382.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outliers-pre-custom-246738p39382.jpg Image ksb_160503_091106_ooi_g_ls9-CCD3 g : masking 0 positive outlier pixels and 38 negative outlier pixels Image ksb_170529_093732_ooi_g_ls9-CCD3 g : masking 0 positive outlier pixels and 175 negative outlier pixels Image k4m_160327_105608_ooi_zd_ls9-CCD1 z : masking 1363 positive outlier pixels and 0 negative outlier pixels Image k4m_160328_105240_ooi_zd_ls9-CCD2 z : masking 370 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outlier-mask-custom-246738p39382.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outliers-post-custom-246738p39382.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outliers-masked-pos-custom-246738p39382.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/outliers-masked-neg-custom-246738p39382.jpg Stage outliers : Wall: 1.52 s, CPU: 0.70 s, VmPeak: 975 MB, VmSize: 975 MB, VmRSS: 213 MB, VmData: 242 MB, maxrss: 0.566516 MB Stage outliers finished: 2020-06-07T18:49:42.378646 Resources for stage outliers : 0.968 s worker CPU, 0.973 s worker Wall, Wall: 1.518 s, Cores in use: 1.10, Total efficiency (on 4 cores): 27.5 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T18:49:42.380407 Stage halos : Wall: 0.20 s, CPU: 0.19 s, VmPeak: 975 MB, VmSize: 975 MB, VmRSS: 213 MB, VmData: 242 MB, maxrss: 0.566516 MB Stage halos finished: 2020-06-07T18:49:42.579317 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.000 s worker CPU, 0.001 s worker Wall, Wall: 0.200 s, Cores in use: 0.95, Total efficiency (on 4 cores): 23.8 % Stage halos finished Running stage fit_on_coadds Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-07T18:49:42.581287 PSF sigmas in coadd pixels: ['4.07', '2.25', '2.26'] Using average PSF sigma 2.8585422238404985 Gaussian PSF norm 0.09868484342165118 vs pixelized 0.084727935 average tim pixel scale / coadd scale: 1.7298865158693821 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.05'] Using average PSF sigma 2.0535989275823634 Gaussian PSF norm 0.13736605915838657 vs pixelized 0.1155668 average tim pixel scale / coadd scale: 1.7297338873844679 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.42', '1.30', '1.80'] Using average PSF sigma 1.5082208227575074 Gaussian PSF norm 0.18703812301047482 vs pixelized 0.16202565 average tim pixel scale / coadd scale: 0.9909584004794538 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.23 s, CPU: 0.20 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.566516 MB Stage fit_on_coadds finished: 2020-06-07T18:49:42.814414 Warning: Stellar halo subtraction is only implemented for DECam Resources for stage fit_on_coadds : 0.232 s worker CPU, 0.241 s worker Wall, Wall: 0.234 s, Cores in use: 1.86, Total efficiency (on 4 cores): 46.6 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T18:49:42.817065 SED-matched filters: [('z', array([0., 0., 1.])), ('r', array([0., 1., 0.])), ('g', array([1., 0., 0.])), ('Flat', [1.0, 1.0, 1.0]), ('Red', [2.5, 1.0, 0.4])] Found 35 potential peaks Of 35 potential peaks: 3 in veto map, 8 cut by saddle test, 0 cut by aper test, 24 kept SED z : 24 new peaks Found 15 potential peaks Of 15 potential peaks: 12 in veto map, 3 cut by saddle test, 0 cut by aper test, 0 kept SED r : 0 new peaks Found 14 potential peaks Of 14 potential peaks: 12 in veto map, 0 cut by saddle test, 0 cut by aper test, 2 kept SED g : 2 new peaks Found 29 potential peaks Of 29 potential peaks: 26 in veto map, 1 cut by saddle test, 0 cut by aper test, 2 kept SED Flat : 2 new peaks Found 37 potential peaks Of 37 potential peaks: 32 in veto map, 4 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 29 new sources Median coadd sky for g : 2.7249327e-05 Median coadd sky for r : -4.812172e-05 Median coadd sky for z : 0.00013522938 Stage srcs : Wall: 0.58 s, CPU: 0.51 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.566516 MB Stage srcs finished: 2020-06-07T18:49:43.400566 Resources for stage srcs : 0.168 s worker CPU, 0.184 s worker Wall, Wall: 0.584 s, Cores in use: 1.17, Total efficiency (on 4 cores): 29.2 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/PGC2148812-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T18:49:43.416624 Blob 1 of 17, id: 0, sources: 11, size: 151x227, npix 16927, brick X: 90,241, Y: 0,227, one pixel: 184 0 Blob 2 of 17, id: 15, sources: 4, size: 68x49, npix 1645, brick X: 124,192, Y: 264,313, one pixel: 147 264 Blob 3 of 17, id: 2, sources: 3, size: 51x46, npix 1516, brick X: 224,275, Y: 57,103, one pixel: 250 57 Blob 4 of 17, id: 3, sources: 1, size: 33x33, npix 738, brick X: 78,111, Y: 70,103, one pixel: 93 70 Blob 5 of 17, id: 7, sources: 1, size: 31x29, npix 598, brick X: 16,47, Y: 156,185, one pixel: 27 156 Blob 4 finished, total: Wall: 1.18 s, CPU: 1.17 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143296 MB Blob 6 of 17, id: 11, sources: 1, size: 26x25, npix 414, brick X: 103,129, Y: 231,256, one pixel: 114 231 Measuring 2 iterative sources Blob 5 finished, total: Wall: 1.25 s, CPU: 1.25 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143796 MB Blob 7 of 17, id: 4, sources: 1, size: 25x25, npix 412, brick X: 241,266, Y: 122,147, one pixel: 252 122 Blob 3 finished, total: Wall: 2.63 s, CPU: 2.63 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Blob 8 of 17, id: 8, sources: 1, size: 24x22, npix 301, brick X: 61,85, Y: 176,198, one pixel: 74 176 Blob 9 of 17, id: 1, sources: 1, size: 23x22, npix 284, brick X: 46,69, Y: 46,68, one pixel: 57 46 Blob 7 finished, total: Wall: 0.65 s, CPU: 0.65 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Blob 10 of 17, id: 5, sources: 1, size: 22x20, npix 268, brick X: 10,32, Y: 134,154, one pixel: 19 134 Blob 6 finished, total: Wall: 0.88 s, CPU: 0.88 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143796 MB Blob 11 of 17, id: 13, sources: 1, size: 22x21, npix 262, brick X: 270,292, Y: 251,272, one pixel: 279 251 Blob 8 finished, total: Wall: 0.53 s, CPU: 0.53 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Blob 12 of 17, id: 12, sources: 1, size: 22x21, npix 261, brick X: 245,267, Y: 233,254, one pixel: 254 233 Blob 2 finished, total: Wall: 3.90 s, CPU: 3.90 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144276 MB Blob 13 of 17, id: 16, sources: 1, size: 22x20, npix 246, brick X: 111,133, Y: 293,313, one pixel: 122 293 Blob 9 finished, total: Wall: 0.60 s, CPU: 0.59 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143796 MB Blob 14 of 17, id: 10, sources: 1, size: 19x22, npix 244, brick X: 0,19, Y: 223,245, one pixel: 8 223 Blob 11 finished, total: Wall: 0.24 s, CPU: 0.24 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144508 MB Blob 15 of 17, id: 9, sources: 1, size: 17x22, npix 243, brick X: 296,313, Y: 209,231, one pixel: 306 209 Blob 10 finished, total: Wall: 0.59 s, CPU: 0.59 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Blob 16 of 17, id: 6, sources: 1, size: 19x19, npix 208, brick X: 230,249, Y: 142,161, one pixel: 238 142 Blob 12 finished, total: Wall: 0.51 s, CPU: 0.51 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143796 MB Blob 17 of 17, id: 14, sources: 1, size: 19x18, npix 180, brick X: 23,42, Y: 257,275, one pixel: 31 257 Blob 13 finished, total: Wall: 0.66 s, CPU: 0.66 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144508 MB Blob 14 finished, total: Wall: 0.48 s, CPU: 0.48 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Blob 16 finished, total: Wall: 0.18 s, CPU: 0.18 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144508 MB Blob 15 finished, total: Wall: 0.55 s, CPU: 0.55 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143796 MB Blob 17 finished, total: Wall: 0.32 s, CPU: 0.32 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143248 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.53839, ee1=0.0744836, ee2=-0.0221478 Measuring 2 iterative sources Blob 1 finished, total: Wall: 12.48 s, CPU: 12.48 s, VmPeak: 805 MB, VmSize: 714 MB, VmRSS: 148 MB, VmData: 180 MB, maxrss: 0.151448 MB Old catalog: 33 New catalog: 35 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/blobs-custom-246738p39382.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/metrics/cus/all-models-custom-246738p39382.fits Stage fitblobs : Wall: 12.85 s, CPU: 0.39 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 217 MB, VmData: 244 MB, maxrss: 0.566516 MB Stage fitblobs finished: 2020-06-07T18:49:56.270275 Resources for stage fitblobs : 27.804 s worker CPU, 27.828 s worker Wall, Wall: 12.855 s, Cores in use: 2.19, Total efficiency (on 4 cores): 54.8 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T18:49:56.272476 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-resid.jpg Stage coadds : Wall: 1.52 s, CPU: 0.74 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 217 MB, VmData: 245 MB, maxrss: 0.566516 MB Stage coadds finished: 2020-06-07T18:49:57.788201 Resources for stage coadds : 2.436 s worker CPU, 2.500 s worker Wall, Wall: 1.517 s, Cores in use: 2.10, Total efficiency (on 4 cores): 52.4 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T18:49:57.790021 Cut to 2 unWISE tiles Reading WISE tile 2458p393 band 2 Reading WISE tile 2458p393 band 3 Reading WISE tile 2458p393 band 4 Reading WISE tile 2458p393 band 1 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits Reading WISE tile 2477p393 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits Reading WISE tile 2477p393 band 3 Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits Reading WISE tile 2477p393 band 2 Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/245/2458p393/unwise-2458p393-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits Reading WISE tile 2477p393 band 1 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.19 s, CPU: 0.19 s, VmPeak: 805 MB, VmSize: 801 MB, VmRSS: 159 MB, VmData: 182 MB, maxrss: 0.198128 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.14 s, CPU: 0.14 s, VmPeak: 805 MB, VmSize: 792 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.208852 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.09 s, CPU: 0.09 s, VmPeak: 794 MB, VmSize: 792 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.20924 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2477p393/unwise-2477p393-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.09 s, CPU: 0.09 s, VmPeak: 806 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.208092 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/tmp-legacysurvey-custom-246738p39382-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 3.99 s, CPU: 0.49 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 218 MB, VmData: 245 MB, maxrss: 0.566516 MB Stage wise_forced finished: 2020-06-07T18:50:01.777159 Resources for stage wise_forced : 9.605 s worker CPU, 11.986 s worker Wall, Wall: 3.988 s, Cores in use: 2.53, Total efficiency (on 4 cores): 63.3 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T18:50:01.779045 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/coadd/cus/custom-246738p39382/legacysurvey-custom-246738p39382-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/tractor-i/cus/tractor-custom-246738p39382.fits Reading SFD maps... END Rejected (1), keyrecords following the END keyrecord were ignored. END Rejected (1), keyrecords following the END keyrecord were ignored. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/tractor/cus/tractor-custom-246738p39382.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC2148812/tractor/cus/brick-custom-246738p39382.sha256sum Stage writecat : Wall: 1.05 s, CPU: 0.69 s, VmPeak: 1108 MB, VmSize: 980 MB, VmRSS: 220 MB, VmData: 245 MB, maxrss: 0.566516 MB Stage writecat finished: 2020-06-07T18:50:02.827814 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.050 s, Cores in use: 0.65, Total efficiency (on 4 cores): 16.4 % Stage writecat finished All done: 44.559 s worker CPU, 56.498 s worker Wall, Wall: 30.406 s, Cores in use: 1.71, Total efficiency (on 4 cores): 42.7 % Finished galaxy PGC2148812 in 0.543 minutes.