Started working on galaxy PGC2059015 at Sun Jun 7 18:25:18 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.171509 35.075473200000005 --width 387 --height 387 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015 --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/166/PGC2059015/PGC2059015-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:25:19.365323 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '166.171509', '35.075473200000005', '--width', '387', '--height', '387', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015', '--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/166/PGC2059015/PGC2059015-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-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 166.171509 35.075473200000005 --width 387 --height 387 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015 --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/166/PGC2059015/PGC2059015-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 166.171509 35.075473200000005 Starting process 55750 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 55751 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 55752 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 55753 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 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:25:19.847185 Keeping 9 CCDs: k4m_160304_081801_ooi_zd_ls9.fits.fz k4m_160304_081801_ooi_zd_ls9-CCD1 z exptime 88.105 propid 2016A-0453 seeing 1.11 MJD 57451.346 object MzLS_580283_z k4m_160210_095725_ooi_zd_ls9.fits.fz k4m_160210_095725_ooi_zd_ls9-CCD4 z exptime 80.103 propid 2016A-0453 seeing 1.20 MJD 57428.415 object MzLS_578231_z k4m_160211_094104_ooi_zd_ls9.fits.fz k4m_160211_094104_ooi_zd_ls9-CCD3 z exptime 80.106 propid 2016A-0453 seeing 0.82 MJD 57429.404 object MzLS_579258_z ksb_160117_111747_ooi_r_ls9.fits.fz ksb_160117_111747_ooi_r_ls9-CCD4 r exptime 115.8 propid 2015A-0801 seeing 1.78 MJD 57404.471 object 07392 ksb_160206_095650_ooi_g_ls9.fits.fz ksb_160206_095650_ooi_g_ls9-CCD4 g exptime 126.4 propid 2015A-0801 seeing 2.03 MJD 57424.414 object 07392 ksb_160215_092627_ooi_r_ls9.fits.fz ksb_160215_092627_ooi_r_ls9-CCD1 r exptime 101.9 propid 2015A-0801 seeing 2.12 MJD 57433.393 object 07393 ksb_160309_082748_ooi_g_ls9.fits.fz ksb_160309_082748_ooi_g_ls9-CCD1 g exptime 149.1 propid 2015A-0801 seeing 1.77 MJD 57456.353 object 07393 ksb_160203_091327_ooi_r_ls9.fits.fz ksb_160203_091327_ooi_r_ls9-CCD3 r exptime 58.2 propid 2015A-0801 seeing 1.30 MJD 57421.384 object 07391 ksb_170519_050715_ooi_g_ls9.fits.fz ksb_170519_050715_ooi_g_ls9-CCD3 g exptime 122.455 propid 2015A-0801 seeing 1.68 MJD 57892.213 object 07391 mosaic get_fwhm: self.fwhm = 4.27 Found 4 relevant rows in amp-corrections file. Found overlap: image x 790 1190 and amp range 0 2005 and image y 1031 1431 and amp range 0 2039 Range in image: x 0 401 , y 0 401 (with image size 401 x 401) dzp -0.011066288 -> scaling image by 0.989859339076806 Faked up EXPNUM 74040070 Faked up EXPNUM 74040070 Faked up EXPNUM 74040070 90prime get_fwhm: self.fwhm = 3.93 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1224 1449 and amp range 0 2015 and image y 2522 2747 and amp range 2048 4095 Range in image: x 0 226 , y 0 226 (with image size 226 x 226) dzp 0.004205519 -> scaling image by 1.0038809374310762 mosaic get_fwhm: self.fwhm = 4.61 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1938 2331 and amp range 0 2047 and image y 902 1292 and amp range 0 2021 Range in image: x 0 110 , y 0 391 (with image size 394 x 391) dzp 0.005139143 -> scaling image by 1.0047445456970268 Found overlap: image x 1938 2331 and amp range 2048 4095 and image y 902 1292 and amp range 0 2021 Range in image: x 110 394 , y 0 391 (with image size 394 x 391) dzp -0.0006399284 -> scaling image by 0.9994107778325068 mosaic get_fwhm: self.fwhm = 3.15 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3543 3931 and amp range 2006 4053 and image y 1014 1404 and amp range 0 2039 Range in image: x 0 389 , y 0 391 (with image size 389 x 391) dzp -0.00064781494 -> scaling image by 0.9994035183523652 Faked up EXPNUM 74210167 Faked up EXPNUM 74210167 Faked up EXPNUM 74210167 90prime get_fwhm: self.fwhm = 2.87 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3410 3634 and amp range 2016 4031 and image y 537 761 and amp range 0 2047 Range in image: x 0 225 , y 0 225 (with image size 225 x 225) dzp 0.004245165 -> scaling image by 1.0039175950705865 Faked up EXPNUM 74560101 Faked up EXPNUM 74560101 Faked up EXPNUM 74560101 90prime get_fwhm: self.fwhm = 3.91 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1391 1618 and amp range 0 2015 and image y 2985 3211 and amp range 2048 4095 Range in image: x 0 228 , y 0 227 (with image size 228 x 227) dzp -0.0051191514 -> scaling image by 0.9952961850385206 Faked up EXPNUM 74240141 Faked up EXPNUM 74240141 Faked up EXPNUM 74240141 90prime get_fwhm: self.fwhm = 4.47 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1256 1481 and amp range 0 2015 and image y 2515 2739 and amp range 2048 4095 Range in image: x 0 226 , y 0 225 (with image size 226 x 225) dzp 0.009255477 -> scaling image by 1.0085610475070432 Faked up EXPNUM 74330143 Faked up EXPNUM 74330143 Faked up EXPNUM 74330143 90prime get_fwhm: self.fwhm = 4.67 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1372 1599 and amp range 0 2015 and image y 2972 3197 and amp range 2048 4095 Range in image: x 0 228 , y 0 226 (with image size 228 x 226) dzp -0.00015519658 -> scaling image by 0.9998570688798908 Faked up EXPNUM 78920098 Faked up EXPNUM 78920098 Faked up EXPNUM 78920098 90prime get_fwhm: self.fwhm = 3.71 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3418 3641 and amp range 2016 4031 and image y 545 769 and amp range 0 2047 Range in image: x 0 224 , y 0 225 (with image size 224 x 225) dzp -3.875605e-05 -> scaling image by 0.9999643049955675 Stage tims : Wall: 5.87 s, CPU: 0.99 s, VmPeak: 941 MB, VmSize: 941 MB, VmRSS: 175 MB, VmData: 209 MB, maxrss: 0.566528 MB Stage tims finished: 2020-06-07T18:25:25.721110 Resources for stage tims : 3.365 s worker CPU, 13.659 s worker Wall, Wall: 5.875 s, Cores in use: 0.74, Total efficiency (on 4 cores): 18.5 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T18:25:25.747458 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02554.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02683.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02555.fits Matched 11 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/reference-custom-166171p35075.fits Stage refs : Wall: 1.68 s, CPU: 1.23 s, VmPeak: 972 MB, VmSize: 951 MB, VmRSS: 186 MB, VmData: 218 MB, maxrss: 0.566528 MB Stage refs finished: 2020-06-07T18:25:27.431992 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.686 s, Cores in use: 0.73, Total efficiency (on 4 cores): 18.3 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T18:25:27.433558 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outlier-mask-custom-166171p35075.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outliers-pre-custom-166171p35075.jpg Image ksb_160309_082748_ooi_g_ls9-CCD1 g : masking 35 positive outlier pixels and 0 negative outlier pixels Image ksb_160206_095650_ooi_g_ls9-CCD4 g : masking 120 positive outlier pixels and 0 negative outlier pixels Image ksb_160215_092627_ooi_r_ls9-CCD1 r : masking 70 positive outlier pixels and 0 negative outlier pixels Image k4m_160304_081801_ooi_zd_ls9-CCD1 z : masking 104 positive outlier pixels and 0 negative outlier pixels Image k4m_160210_095725_ooi_zd_ls9-CCD4 z : masking 1659 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outlier-mask-custom-166171p35075.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outliers-post-custom-166171p35075.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outliers-masked-pos-custom-166171p35075.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/outliers-masked-neg-custom-166171p35075.jpg Stage outliers : Wall: 1.57 s, CPU: 1.00 s, VmPeak: 972 MB, VmSize: 961 MB, VmRSS: 213 MB, VmData: 242 MB, maxrss: 0.566528 MB Stage outliers finished: 2020-06-07T18:25:29.000477 Resources for stage outliers : 1.889 s worker CPU, 1.961 s worker Wall, Wall: 1.568 s, Cores in use: 1.84, Total efficiency (on 4 cores): 46.1 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T18:25:29.002242 Stage halos : Wall: 0.47 s, CPU: 0.46 s, VmPeak: 972 MB, VmSize: 961 MB, VmRSS: 213 MB, VmData: 242 MB, maxrss: 0.566528 MB Stage halos finished: 2020-06-07T18:25:29.471550 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 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.470 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T18:25:29.473215 PSF sigmas in coadd pixels: ['3.29', '2.88', '2.73'] Using average PSF sigma 2.9667417542620353 Gaussian PSF norm 0.09508572539845082 vs pixelized 0.079402715 average tim pixel scale / coadd scale: 1.7299342372646653 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.89', '3.44', '2.11'] Using average PSF sigma 2.814470417766851 Gaussian PSF norm 0.10023014986872984 vs pixelized 0.08063613 average tim pixel scale / coadd scale: 1.7299819586599487 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.80', '1.94', '1.33'] Using average PSF sigma 1.6908700883225978 Gaussian PSF norm 0.16683410140262525 vs pixelized 0.16516964 average tim pixel scale / coadd scale: 0.9909039474348359 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.38 s, CPU: 0.32 s, VmPeak: 972 MB, VmSize: 961 MB, VmRSS: 214 MB, VmData: 242 MB, maxrss: 0.566528 MB Stage fit_on_coadds finished: 2020-06-07T18:25:29.849656 Resources for stage fit_on_coadds : 0.403 s worker CPU, 0.410 s worker Wall, Wall: 0.378 s, Cores in use: 1.91, Total efficiency (on 4 cores): 47.7 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T18:25:29.852283 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 59 potential peaks Of 59 potential peaks: 23 in veto map, 5 cut by saddle test, 0 cut by aper test, 31 kept SED z : 31 new peaks Found 76 potential peaks Of 76 potential peaks: 68 in veto map, 8 cut by saddle test, 0 cut by aper test, 0 kept SED r : 0 new peaks Found 73 potential peaks Of 73 potential peaks: 64 in veto map, 7 cut by saddle test, 0 cut by aper test, 2 kept SED g : 2 new peaks Found 109 potential peaks Of 109 potential peaks: 91 in veto map, 12 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 125 potential peaks Of 125 potential peaks: 111 in veto map, 12 cut by saddle test, 0 cut by aper test, 2 kept SED Red : 2 new peaks Adding 41 new sources Median coadd sky for g : 0.0002494777 Median coadd sky for r : 0.00048669073 Median coadd sky for z : -2.4339311e-05 Stage srcs : Wall: 1.04 s, CPU: 0.94 s, VmPeak: 972 MB, VmSize: 961 MB, VmRSS: 215 MB, VmData: 242 MB, maxrss: 0.566528 MB Stage srcs finished: 2020-06-07T18:25:30.888766 Resources for stage srcs : 0.258 s worker CPU, 0.270 s worker Wall, Wall: 1.037 s, Cores in use: 1.16, Total efficiency (on 4 cores): 29.0 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/PGC2059015-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T18:25:30.908616 Blob 1 of 19, id: 3, sources: 21, size: 275x272, npix 43898, brick X: 28,303, Y: 39,311, one pixel: 136 39 Blob 2 of 19, id: 7, sources: 3, size: 79x80, npix 3968, brick X: 0,79, Y: 82,162, one pixel: 61 82 Blob 3 of 19, id: 0, sources: 3, size: 87x54, npix 2632, brick X: 208,295, Y: 0,54, one pixel: 221 0 Blob 4 of 19, id: 16, sources: 1, size: 62x43, npix 1904, brick X: 104,166, Y: 344,387, one pixel: 140 344 Blob 5 of 19, id: 15, sources: 1, size: 42x38, npix 1189, brick X: 218,260, Y: 336,374, one pixel: 231 336 Measuring 1 iterative sources Blob 3 finished, total: Wall: 1.92 s, CPU: 1.91 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 6 of 19, id: 9, sources: 1, size: 37x37, npix 1006, brick X: 312,349, Y: 160,197, one pixel: 325 160 Blob 4 finished, total: Wall: 1.97 s, CPU: 1.97 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144904 MB Blob 7 of 19, id: 6, sources: 2, size: 26x54, npix 836, brick X: 330,356, Y: 62,116, one pixel: 344 62 Blob 6 finished, total: Wall: 0.58 s, CPU: 0.58 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144904 MB Blob 8 of 19, id: 12, sources: 1, size: 36x28, npix 673, brick X: 303,339, Y: 238,266, one pixel: 320 238 Measuring 1 iterative sources Blob 7 finished, total: Wall: 0.73 s, CPU: 0.73 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144904 MB Blob 9 of 19, id: 1, sources: 3, size: 28x29, npix 637, brick X: 359,387, Y: 0,29, one pixel: 364 0 Measuring 1 iterative sources Blob 5 finished, total: Wall: 1.47 s, CPU: 1.47 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 10 of 19, id: 17, sources: 1, size: 30x28, npix 590, brick X: 44,74, Y: 359,387, one pixel: 56 359 Measuring 1 iterative sources Blob 8 finished, total: Wall: 0.56 s, CPU: 0.56 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.145184 MB Blob 11 of 19, id: 13, sources: 1, size: 27x27, npix 480, brick X: 308,335, Y: 322,349, one pixel: 320 322 Blob 2 finished, total: Wall: 4.06 s, CPU: 4.06 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144984 MB Blob 12 of 19, id: 2, sources: 1, size: 40x22, npix 479, brick X: 119,159, Y: 16,38, one pixel: 128 16 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (166.13255, 35.05673), pm (43.6, -35.4), parallax 6.108 with NanoMaggies: g=14.4, r=13.2, z=12.6 Reset brightness to NanoMaggies: g=14.4, r=13.2, z=12.6 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (166.15298, 35.06100), pm (0.0, 0.0), parallax 0.000 with NanoMaggies: g=15.9, r=15, z=17 Reset brightness to NanoMaggies: g=19.8, r=18.8, z=18.3 Blob 9 finished, total: Wall: 0.91 s, CPU: 0.91 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 13 of 19, id: 14, sources: 1, size: 25x24, npix 385, brick X: 89,114, Y: 328,352, one pixel: 99 328 Blob 10 finished, total: Wall: 0.59 s, CPU: 0.59 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.145184 MB Blob 14 of 19, id: 10, sources: 1, size: 24x24, npix 362, brick X: 294,318, Y: 202,226, one pixel: 305 202 Blob 11 finished, total: Wall: 0.62 s, CPU: 0.62 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144984 MB Blob 15 of 19, id: 11, sources: 1, size: 24x24, npix 355, brick X: 340,364, Y: 219,243, one pixel: 349 219 Blob 12 finished, total: Wall: 0.54 s, CPU: 0.54 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 16 of 19, id: 4, sources: 1, size: 24x23, npix 349, brick X: 308,332, Y: 53,76, one pixel: 317 53 Blob 13 finished, total: Wall: 0.55 s, CPU: 0.55 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.145184 MB Blob 17 of 19, id: 18, sources: 1, size: 19x22, npix 246, brick X: 16,35, Y: 362,384, one pixel: 24 362 Blob 18 of 19, id: 8, sources: 1, size: 19x19, npix 208, brick X: 343,362, Y: 137,156, one pixel: 352 137 Blob 14 finished, total: Wall: 0.43 s, CPU: 0.43 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144984 MB Blob 19 of 19, id: 5, sources: 1, size: 18x18, npix 171, brick X: 356,374, Y: 54,72, one pixel: 364 54 Blob 17 finished, total: Wall: 0.14 s, CPU: 0.14 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144984 MB Blob 15 finished, total: Wall: 0.61 s, CPU: 0.61 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 18 finished, total: Wall: 0.21 s, CPU: 0.21 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144984 MB Blob 19 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144736 MB Blob 16 finished, total: Wall: 0.54 s, CPU: 0.54 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.145184 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.15476, ee1=0.0716122, ee2=0.066687 Measuring 6 iterative sources Blob 1 finished, total: Wall: 22.72 s, CPU: 22.72 s, VmPeak: 804 MB, VmSize: 725 MB, VmRSS: 158 MB, VmData: 190 MB, maxrss: 0.181732 MB Old catalog: 47 New catalog: 50 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/blobs-custom-166171p35075.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/metrics/cus/all-models-custom-166171p35075.fits Stage fitblobs : Wall: 23.37 s, CPU: 0.62 s, VmPeak: 972 MB, VmSize: 961 MB, VmRSS: 215 MB, VmData: 242 MB, maxrss: 0.566528 MB Stage fitblobs finished: 2020-06-07T18:25:54.277173 Resources for stage fitblobs : 39.397 s worker CPU, 39.558 s worker Wall, Wall: 23.370 s, Cores in use: 1.71, Total efficiency (on 4 cores): 42.8 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T18:25:54.279111 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-resid.jpg Stage coadds : Wall: 1.69 s, CPU: 0.76 s, VmPeak: 972 MB, VmSize: 967 MB, VmRSS: 221 MB, VmData: 249 MB, maxrss: 0.566528 MB Stage coadds finished: 2020-06-07T18:25:55.964626 Resources for stage coadds : 2.522 s worker CPU, 2.616 s worker Wall, Wall: 1.687 s, Cores in use: 1.95, Total efficiency (on 4 cores): 48.7 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T18:25:55.966428 Cut to 1 unWISE tiles Reading WISE tile 1662p348 band 3 Reading WISE tile 1662p348 band 1 Reading WISE tile 1662p348 band 2 Reading WISE tile 1662p348 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.13 s, CPU: 0.13 s, VmPeak: 804 MB, VmSize: 797 MB, VmRSS: 156 MB, VmData: 179 MB, maxrss: 0.21878 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.18 s, CPU: 0.18 s, VmPeak: 805 MB, VmSize: 794 MB, VmRSS: 149 MB, VmData: 176 MB, maxrss: 0.188876 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.08 s, CPU: 0.08 s, VmPeak: 804 MB, VmSize: 792 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.20952 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1662p348/unwise-1662p348-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.08 s, CPU: 0.08 s, VmPeak: 804 MB, VmSize: 792 MB, VmRSS: 147 MB, VmData: 174 MB, maxrss: 0.209732 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/tmp-legacysurvey-custom-166171p35075-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 3.13 s, CPU: 0.46 s, VmPeak: 972 MB, VmSize: 967 MB, VmRSS: 222 MB, VmData: 249 MB, maxrss: 0.566528 MB Stage wise_forced finished: 2020-06-07T18:25:59.100774 Resources for stage wise_forced : 5.001 s worker CPU, 6.413 s worker Wall, Wall: 3.136 s, Cores in use: 1.74, Total efficiency (on 4 cores): 43.5 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T18:25:59.102531 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/coadd/cus/custom-166171p35075/legacysurvey-custom-166171p35075-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/tractor-i/cus/tractor-custom-166171p35075.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/166/PGC2059015/tractor/cus/tractor-custom-166171p35075.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2059015/tractor/cus/brick-custom-166171p35075.sha256sum Stage writecat : Wall: 1.08 s, CPU: 0.73 s, VmPeak: 1099 MB, VmSize: 971 MB, VmRSS: 224 MB, VmData: 249 MB, maxrss: 0.566528 MB Stage writecat finished: 2020-06-07T18:26:00.181588 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.080 s, Cores in use: 0.68, Total efficiency (on 4 cores): 17.0 % Stage writecat finished All done: 52.836 s worker CPU, 64.890 s worker Wall, Wall: 40.342 s, Cores in use: 1.50, Total efficiency (on 4 cores): 37.4 % Finished galaxy PGC2059015 in 0.708 minutes.