Started working on galaxy PGC2160244 at Sun Jun 7 16:34:27 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 282.7217835 40.0796315 --width 353 --height 353 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244 --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/282/PGC2160244/PGC2160244-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T16:34:28.878865 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '282.7217835', '40.0796315', '--width', '353', '--height', '353', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244', '--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/282/PGC2160244/PGC2160244-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-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 282.7217835 40.0796315 --width 353 --height 353 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244 --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/282/PGC2160244/PGC2160244-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 282.7217835 40.0796315 Starting process 44591 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 44598 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 44599 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 44601 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057316 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-07T16:34:29.540075 Keeping 9 CCDs: k4m_160509_111540_ooi_zd_ls9.fits.fz k4m_160509_111540_ooi_zd_ls9-CCD1 z exptime 80.101 propid 2016A-0453 seeing 0.98 MJD 57517.469 object MzLS_606196_z k4m_160508_112110_ooi_zd_ls9.fits.fz k4m_160508_112110_ooi_zd_ls9-CCD2 z exptime 129.106 propid 2016A-0453 seeing 1.07 MJD 57516.473 object MzLS_603316_z k4m_160502_113945_ooi_zd_ls9.fits.fz k4m_160502_113945_ooi_zd_ls9-CCD3 z exptime 82.103 propid 2016A-0453 seeing 0.91 MJD 57510.486 object MzLS_605238_z k4m_160512_112610_ooi_zd_ls9.fits.fz k4m_160512_112610_ooi_zd_ls9-CCD4 z exptime 250.101 propid 2016A-0453 seeing 1.49 MJD 57520.477 object MzLS_604279_z k4m_170807_093058_ooi_zd_ls9.fits.fz k4m_170807_093058_ooi_zd_ls9-CCD4 z exptime 215.105 propid 2016A-0453 seeing 1.23 MJD 57972.397 object MzLS_604279_z ksb_160710_081639_ooi_g_ls9.fits.fz ksb_160710_081639_ooi_g_ls9-CCD4 g exptime 237.3 propid BASS seeing 1.56 MJD 57579.345 object 61712 ksb_180518_094725_ooi_r_ls9.fits.fz ksb_180518_094725_ooi_r_ls9-CCD4 r exptime 117.765 propid NOTBASS seeing 1.37 MJD 58256.408 object 61712 ksb_170624_091447_ooi_r_ls9.fits.fz ksb_170624_091447_ooi_r_ls9-CCD1 r exptime 250.0 propid BASS seeing 1.67 MJD 57928.385 object 61713 ksb_170526_105801_ooi_g_ls9.fits.fz ksb_170526_105801_ooi_g_ls9-CCD1 g exptime 250.0 propid 2015A-0801 seeing 2.45 MJD 57899.457 object 61713 mosaic get_fwhm: self.fwhm = 4.13 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3586 3953 and amp range 2048 4095 and image y 1670 2033 and amp range 0 2039 Range in image: x 0 368 , y 0 364 (with image size 368 x 364) dzp 0.0072022504 -> scaling image by 1.0066555682883527 mosaic get_fwhm: self.fwhm = 5.73 Found 4 relevant rows in amp-corrections file. Found overlap: image x 904 1260 and amp range 0 2047 and image y 1172 1527 and amp range 0 2021 Range in image: x 0 357 , y 0 356 (with image size 357 x 356) dzp 0.005139143 -> scaling image by 1.0047445456970268 mosaic get_fwhm: self.fwhm = 3.79 Found 4 relevant rows in amp-corrections file. Found overlap: image x 0 96 and amp range 0 2005 and image y 2725 3083 and amp range 2040 4078 Range in image: x 0 97 , y 0 359 (with image size 97 x 359) dzp -0.005990375 -> scaling image by 0.994497853444703 Faked up EXPNUM 82560180 Faked up EXPNUM 82560180 Faked up EXPNUM 82560180 90prime get_fwhm: self.fwhm = 3.01 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1213 1418 and amp range 0 2015 and image y 1705 1911 and amp range 0 2047 Range in image: x 0 206 , y 0 207 (with image size 206 x 207) dzp 0.014080205 -> scaling image by 1.0130528017623828 mosaic get_fwhm: self.fwhm = 3.49 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2471 2828 and amp range 2006 4053 and image y 2770 3133 and amp range 2040 4078 Range in image: x 0 358 , y 0 364 (with image size 358 x 364) dzp -0.0026360443 -> scaling image by 0.99757505842151 mosaic get_fwhm: self.fwhm = 4.73 Found 4 relevant rows in amp-corrections file. Found overlap: image x 894 1251 and amp range 0 2047 and image y 1159 1515 and amp range 0 2021 Range in image: x 0 358 , y 0 357 (with image size 358 x 357) dzp -0.029266886 -> scaling image by 0.9734042664541822 Faked up EXPNUM 78990145 Faked up EXPNUM 78990145 Faked up EXPNUM 78990145 90prime get_fwhm: self.fwhm = 5.41 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1382 1589 and amp range 0 2015 and image y 2202 2408 and amp range 2048 4095 Range in image: x 0 208 , y 0 207 (with image size 208 x 207) dzp -0.034377232 -> scaling image by 0.9688334104074875 Faked up EXPNUM 79280140 Faked up EXPNUM 79280140 Faked up EXPNUM 79280140 90prime get_fwhm: self.fwhm = 3.69 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1355 1562 and amp range 0 2015 and image y 2204 2411 and amp range 2048 4095 Range in image: x 0 208 , y 0 208 (with image size 208 x 208) dzp -0.041613504 -> scaling image by 0.9623977484321999 Faked up EXPNUM 75790100 Faked up EXPNUM 75790100 Faked up EXPNUM 75790100 90prime get_fwhm: self.fwhm = 3.45 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1197 1403 and amp range 0 2015 and image y 1715 1920 and amp range 0 2047 Range in image: x 0 207 , y 0 206 (with image size 207 x 206) dzp 0.009539392 -> scaling image by 1.0088248156909383 Stage tims : Wall: 11.41 s, CPU: 1.14 s, VmPeak: 941 MB, VmSize: 941 MB, VmRSS: 174 MB, VmData: 208 MB, maxrss: 0.568284 MB Stage tims finished: 2020-06-07T16:34:40.950127 Resources for stage tims : 3.557 s worker CPU, 23.503 s worker Wall, Wall: 11.411 s, Cores in use: 0.41, Total efficiency (on 4 cores): 10.3 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T16:34:40.975792 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02212.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02340.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02213.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02084.fits Matched 5 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/reference-custom-282721p40079.fits Stage refs : Wall: 12.50 s, CPU: 10.93 s, VmPeak: 1057 MB, VmSize: 1051 MB, VmRSS: 287 MB, VmData: 318 MB, maxrss: 0.568284 MB Stage refs finished: 2020-06-07T16:34:53.472062 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 12.497 s, Cores in use: 0.87, Total efficiency (on 4 cores): 21.9 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T16:34:53.473734 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outlier-mask-custom-282721p40079.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outliers-pre-custom-282721p40079.jpg Image ksb_170526_105801_ooi_g_ls9-CCD1 g : masking 4621 positive outlier pixels and 0 negative outlier pixels Image ksb_180518_094725_ooi_r_ls9-CCD4 r : masking 127 positive outlier pixels and 0 negative outlier pixels Image k4m_160509_111540_ooi_zd_ls9-CCD1 z : masking 1023 positive outlier pixels and 972 negative outlier pixels Image k4m_160508_112110_ooi_zd_ls9-CCD2 z : masking 353 positive outlier pixels and 163 negative outlier pixels Image k4m_160502_113945_ooi_zd_ls9-CCD3 z : masking 2455 positive outlier pixels and 769 negative outlier pixels Image k4m_160512_112610_ooi_zd_ls9-CCD4 z : masking 5391 positive outlier pixels and 0 negative outlier pixels Image k4m_170807_093058_ooi_zd_ls9-CCD4 z : masking 837 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outlier-mask-custom-282721p40079.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outliers-post-custom-282721p40079.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outliers-masked-pos-custom-282721p40079.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/outliers-masked-neg-custom-282721p40079.jpg Stage outliers : Wall: 1.70 s, CPU: 1.10 s, VmPeak: 1060 MB, VmSize: 1060 MB, VmRSS: 309 MB, VmData: 338 MB, maxrss: 0.568284 MB Stage outliers finished: 2020-06-07T16:34:55.176753 Resources for stage outliers : 2.004 s worker CPU, 2.065 s worker Wall, Wall: 1.705 s, Cores in use: 1.82, Total efficiency (on 4 cores): 45.5 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T16:34:55.179060 Stage halos : Wall: 0.45 s, CPU: 0.44 s, VmPeak: 1060 MB, VmSize: 1060 MB, VmRSS: 309 MB, VmData: 338 MB, maxrss: 0.568284 MB Stage halos finished: 2020-06-07T16:34:55.631340 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 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.001 s worker CPU, 0.001 s worker Wall, Wall: 0.454 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % 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-07T16:34:55.633533 PSF sigmas in coadd pixels: ['2.54', '3.98'] Using average PSF sigma 3.2595492259508996 Gaussian PSF norm 0.08654411153787174 vs pixelized 0.07491562 average tim pixel scale / coadd scale: 1.7291827252639442 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.22', '2.71'] Using average PSF sigma 2.4651452423294544 Gaussian PSF norm 0.11443333517635292 vs pixelized 0.09792803 average tim pixel scale / coadd scale: 1.7294415605133613 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.60', '1.74', '1.47', '2.42', '1.99'] Using average PSF sigma 1.8444307838323937 Gaussian PSF norm 0.15294409215386018 vs pixelized 0.1253162 average tim pixel scale / coadd scale: 0.9909523020050566 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.39 s, CPU: 0.31 s, VmPeak: 1060 MB, VmSize: 1060 MB, VmRSS: 311 MB, VmData: 338 MB, maxrss: 0.568284 MB Stage fit_on_coadds finished: 2020-06-07T16:34:56.019435 Resources for stage fit_on_coadds : 0.488 s worker CPU, 0.518 s worker Wall, Wall: 0.387 s, Cores in use: 2.06, Total efficiency (on 4 cores): 51.4 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T16:34:56.022372 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 63 potential peaks Of 63 potential peaks: 22 in veto map, 7 cut by saddle test, 0 cut by aper test, 34 kept SED z : 34 new peaks Found 127 potential peaks Of 127 potential peaks: 116 in veto map, 7 cut by saddle test, 0 cut by aper test, 4 kept SED r : 4 new peaks Found 69 potential peaks Of 69 potential peaks: 61 in veto map, 5 cut by saddle test, 0 cut by aper test, 3 kept SED g : 3 new peaks Found 144 potential peaks Of 144 potential peaks: 136 in veto map, 7 cut by saddle test, 0 cut by aper test, 1 kept SED Flat : 1 new peaks Found 164 potential peaks Of 164 potential peaks: 153 in veto map, 9 cut by saddle test, 0 cut by aper test, 2 kept SED Red : 2 new peaks Adding 44 new sources Median coadd sky for g : 0.00016829018 Median coadd sky for r : 0.00058310246 Median coadd sky for z : -9.963129e-05 Stage srcs : Wall: 1.11 s, CPU: 1.02 s, VmPeak: 1060 MB, VmSize: 1060 MB, VmRSS: 311 MB, VmData: 338 MB, maxrss: 0.568284 MB Stage srcs finished: 2020-06-07T16:34:57.133991 Resources for stage srcs : 0.255 s worker CPU, 0.255 s worker Wall, Wall: 1.113 s, Cores in use: 1.15, Total efficiency (on 4 cores): 28.7 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/PGC2160244-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T16:34:57.153530 Blob 1 of 9, id: 1, sources: 54, size: 353x327, npix 73189, brick X: 0,353, Y: 0,327, one pixel: 86 0 Blob 2 of 9, id: 3, sources: 4, size: 43x77, npix 2120, brick X: 0,43, Y: 214,291, one pixel: 21 214 Blob 3 of 9, id: 5, sources: 1, size: 41x38, npix 1082, brick X: 87,128, Y: 307,345, one pixel: 103 307 Blob 4 of 9, id: 0, sources: 3, size: 50x29, npix 960, brick X: 24,74, Y: 0,29, one pixel: 30 0 Blob 5 of 9, id: 7, sources: 2, size: 46x24, npix 828, brick X: 156,202, Y: 329,353, one pixel: 177 329 Blob 3 finished, total: Wall: 1.22 s, CPU: 1.22 s, VmPeak: 817 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143648 MB Blob 6 of 9, id: 4, sources: 1, size: 32x32, npix 700, brick X: 315,347, Y: 275,307, one pixel: 328 275 Measuring 1 iterative sources Blob 4 finished, total: Wall: 1.78 s, CPU: 1.78 s, VmPeak: 813 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14288 MB Blob 7 of 9, id: 8, sources: 1, size: 31x24, npix 550, brick X: 281,312, Y: 329,353, one pixel: 293 329 Blob 6 finished, total: Wall: 0.85 s, CPU: 0.85 s, VmPeak: 813 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14288 MB Blob 8 of 9, id: 2, sources: 1, size: 27x27, npix 493, brick X: 18,45, Y: 27,54, one pixel: 28 27 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.73883, 40.08654), pm (-0.5, -4.8), parallax -0.118 with NanoMaggies: g=19.9, r=19.4, z=18.8 Reset brightness to NanoMaggies: g=20.1, r=19.2, z=18.8 Measuring 2 iterative sources Blob 5 finished, total: Wall: 2.28 s, CPU: 2.27 s, VmPeak: 817 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143648 MB Blob 9 of 9, id: 6, sources: 1, size: 21x21, npix 251, brick X: 164,185, Y: 307,328, one pixel: 173 307 Blob 7 finished, total: Wall: 1.01 s, CPU: 1.01 s, VmPeak: 813 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14288 MB Blob 9 finished, total: Wall: 0.29 s, CPU: 0.29 s, VmPeak: 813 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14288 MB Blob 2 finished, total: Wall: 4.08 s, CPU: 4.08 s, VmPeak: 812 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143468 MB Blob 8 finished, total: Wall: 0.61 s, CPU: 0.61 s, VmPeak: 817 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143836 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.72757, 40.06096), pm (0.4, -8.5), parallax 0.482 with NanoMaggies: g=13, r=12.1, z=11.7 Reset brightness to NanoMaggies: g=13, r=12.1, z=11.7 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.71967, 40.06683), pm (-1.3, -7.9), parallax 0.145 with NanoMaggies: g=17.5, r=15.5, z=14.8 Reset brightness to NanoMaggies: g=15.2, r=14.3, z=13.8 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.72928, 40.06279), pm (-3.6, -21.3), parallax 1.668 with NanoMaggies: g=15.9, r=15.1, z=14.7 Reset brightness to NanoMaggies: g=15.9, r=15.1, z=14.7 Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.68538, ee1=0.0331308, ee2=-0.0752398 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.73020, 40.06296), pm (-4.8, -5.2), parallax 0.459 with NanoMaggies: g=18.4, r=17.8, z=17.5 Reset brightness to NanoMaggies: g=18.4, r=17.8, z=17.5 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (282.73901, 40.07621), pm (3.7, -8.4), parallax 0.443 with NanoMaggies: g=19.6, r=19.2, z=18.5 Reset brightness to NanoMaggies: g=19, r=18.2, z=17.9 Measuring 23 iterative sources Blob 1 finished, total: Wall: 46.86 s, CPU: 46.84 s, VmPeak: 796 MB, VmSize: 727 MB, VmRSS: 160 MB, VmData: 192 MB, maxrss: 0.204984 MB Old catalog: 76 New catalog: 86 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/blobs-custom-282721p40079.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/metrics/cus/all-models-custom-282721p40079.fits Stage fitblobs : Wall: 47.49 s, CPU: 0.54 s, VmPeak: 1060 MB, VmSize: 1060 MB, VmRSS: 314 MB, VmData: 341 MB, maxrss: 0.568284 MB Stage fitblobs finished: 2020-06-07T16:35:44.644052 /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/oneblob.py:1443: RuntimeWarning: invalid value encountered in true_divide f = (mod * (tim.getInvError() > 0)).sum() / fluxes[tim.band] Resources for stage fitblobs : 59.149 s worker CPU, 59.192 s worker Wall, Wall: 47.493 s, Cores in use: 1.26, Total efficiency (on 4 cores): 31.4 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T16:35:44.646659 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-resid.jpg Stage coadds : Wall: 2.71 s, CPU: 0.77 s, VmPeak: 1062 MB, VmSize: 1062 MB, VmRSS: 316 MB, VmData: 343 MB, maxrss: 0.568284 MB Stage coadds finished: 2020-06-07T16:35:47.357832 Resources for stage coadds : 3.209 s worker CPU, 3.276 s worker Wall, Wall: 2.712 s, Cores in use: 1.47, Total efficiency (on 4 cores): 36.6 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T16:35:47.359485 Cut to 1 unWISE tiles Reading WISE tile 2825p393 band 1 Reading WISE tile 2825p393 band 2 Reading WISE tile 2825p393 band 3 Reading WISE tile 2825p393 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.76 s, CPU: 1.31 s, VmPeak: 1001 MB, VmSize: 1001 MB, VmRSS: 151 MB, VmData: 191 MB, maxrss: 0.193416 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.56 s, CPU: 0.85 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 147 MB, VmData: 187 MB, maxrss: 0.209692 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.17 s, CPU: 0.37 s, VmPeak: 1014 MB, VmSize: 1014 MB, VmRSS: 169 MB, VmData: 204 MB, maxrss: 0.232288 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/282/2825p393/unwise-2825p393-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.21 s, CPU: 0.49 s, VmPeak: 999 MB, VmSize: 999 MB, VmRSS: 149 MB, VmData: 189 MB, maxrss: 0.212056 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/tmp-legacysurvey-custom-282721p40079-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 3.51 s, CPU: 0.82 s, VmPeak: 1062 MB, VmSize: 1062 MB, VmRSS: 317 MB, VmData: 343 MB, maxrss: 0.568284 MB Stage wise_forced finished: 2020-06-07T16:35:50.867810 Resources for stage wise_forced : 7.279 s worker CPU, 8.660 s worker Wall, Wall: 3.510 s, Cores in use: 2.31, Total efficiency (on 4 cores): 57.7 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T16:35:50.869896 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/coadd/cus/custom-282721p40079/legacysurvey-custom-282721p40079-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/tractor-i/cus/tractor-custom-282721p40079.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/282/PGC2160244/tractor/cus/tractor-custom-282721p40079.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/282/PGC2160244/tractor/cus/brick-custom-282721p40079.sha256sum Stage writecat : Wall: 1.26 s, CPU: 0.78 s, VmPeak: 1194 MB, VmSize: 1066 MB, VmRSS: 319 MB, VmData: 343 MB, maxrss: 0.568284 MB Stage writecat finished: 2020-06-07T16:35:52.127886 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.259 s, Cores in use: 0.62, Total efficiency (on 4 cores): 15.5 % Stage writecat finished All done: 75.943 s worker CPU, 97.472 s worker Wall, Wall: 82.595 s, Cores in use: 1.14, Total efficiency (on 4 cores): 28.4 % Finished galaxy PGC2160244 in 1.429 minutes.