Started working on galaxy DR8-1665p360-1035 at Sun Jun 7 17:07:05 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.708960749656 35.9371364413574 --width 285 --height 285 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035 --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/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T17:07:06.833438 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '166.708960749656', '35.9371364413574', '--width', '285', '--height', '285', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035', '--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/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-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.708960749656 35.9371364413574 --width 285 --height 285 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035 --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/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 166.708960749656 35.9371364413574 Starting process 38914 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 38916 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 38918 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Starting process 38920 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-07T17:07:07.560443 Keeping 12 CCDs: k4m_180127_111039_ooi_zd_ls9.fits.fz k4m_180127_111039_ooi_zd_ls9-CCD4 z exptime 83.104 propid 2016A-0453 seeing 1.04 MJD 58145.466 object MzLS_583343_z k4m_160215_091416_ooi_zd_ls9.fits.fz k4m_160215_091416_ooi_zd_ls9-CCD2 z exptime 93.103 propid 2016A-0453 seeing 1.30 MJD 57433.385 object MzLS_583344_z k4m_160227_083956_ooi_zd_ls9.fits.fz k4m_160227_083956_ooi_zd_ls9-CCD3 z exptime 80.104 propid 2016A-0453 seeing 0.84 MJD 57445.361 object MzLS_584359_z k4m_160212_093615_ooi_zd_ls9.fits.fz k4m_160212_093615_ooi_zd_ls9-CCD4 z exptime 80.103 propid 2016A-0453 seeing 0.96 MJD 57430.400 object MzLS_582326_z k4m_160215_091221_ooi_zd_ls9.fits.fz k4m_160215_091221_ooi_zd_ls9-CCD4 z exptime 80.104 propid 2016A-0453 seeing 1.18 MJD 57433.384 object MzLS_583343_z ksb_160212_083813_ooi_r_ls9.fits.fz ksb_160212_083813_ooi_r_ls9-CCD2 r exptime 64.8 propid 2015A-0801 seeing 1.34 MJD 57430.360 object 08751 ksb_160113_115836_ooi_g_ls9.fits.fz ksb_160113_115836_ooi_g_ls9-CCD2 g exptime 83.6 propid 2015A-0801 seeing 1.41 MJD 57400.499 object 08751 ksb_160209_085741_ooi_r_ls9.fits.fz ksb_160209_085741_ooi_r_ls9-CCD2 r exptime 87.3 propid 2015A-0801 seeing 1.55 MJD 57427.373 object 08751 ksb_160118_110510_ooi_r_ls9.fits.fz ksb_160118_110510_ooi_r_ls9-CCD4 r exptime 105.6 propid 2015A-0801 seeing 1.25 MJD 57405.462 object 08752 ksb_170516_041347_ooi_g_ls9.fits.fz ksb_170516_041347_ooi_g_ls9-CCD4 g exptime 248.976 propid BASS seeing 2.44 MJD 57889.176 object 08752 ksb_170304_081159_ooi_r_ls9.fits.fz ksb_170304_081159_ooi_r_ls9-CCD1 r exptime 68.006 propid BASS seeing 1.39 MJD 57816.342 object 08753 ksb_160309_085151_ooi_g_ls9.fits.fz ksb_160309_085151_ooi_g_ls9-CCD1 g exptime 146.8 propid 2015A-0801 seeing 2.29 MJD 57456.369 object 08753 mosaic get_fwhm: self.fwhm = 3.99 Found 4 relevant rows in amp-corrections file. Found overlap: image x 341 629 and amp range 0 2047 and image y 4045 4054 and amp range 2022 4060 Range in image: x 0 289 , y 0 10 (with image size 289 x 10) dzp -0.016192675 -> scaling image by 0.9851966584456431 mosaic get_fwhm: self.fwhm = 3.23 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1975 2263 and amp range 0 2005 and image y 1415 1704 and amp range 0 2039 Range in image: x 0 31 , y 0 290 (with image size 289 x 290) dzp -0.005856539 -> scaling image by 0.9946204500110131 Found overlap: image x 1975 2263 and amp range 2006 4053 and image y 1415 1704 and amp range 0 2039 Range in image: x 31 289 , y 0 290 (with image size 289 x 290) dzp -0.00064781494 -> scaling image by 0.9994035183523652 mosaic get_fwhm: self.fwhm = 5.01 Found 4 relevant rows in amp-corrections file. Found overlap: image x 390 679 and amp range 0 2047 and image y 252 544 and amp range 0 2039 Range in image: x 0 290 , y 0 293 (with image size 290 x 293) dzp -0.006320339 -> scaling image by 0.9941956631368829 mosaic get_fwhm: self.fwhm = 3.71 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3136 3433 and amp range 2048 4095 and image y 2975 3270 and amp range 2022 4060 Range in image: x 0 298 , y 0 296 (with image size 298 x 296) dzp -0.0028835079 -> scaling image by 0.9973477146455455 Faked up EXPNUM 74300190 Faked up EXPNUM 74300190 Faked up EXPNUM 74300190 90prime get_fwhm: self.fwhm = 2.95 Found 4 relevant rows in amp-corrections file. Found overlap: image x 337 502 and amp range 0 2015 and image y 3526 3692 and amp range 2048 4095 Range in image: x 0 166 , y 0 167 (with image size 166 x 167) dzp 0.016961161 -> scaling image by 1.0157444649385616 Faked up EXPNUM 74000249 Faked up EXPNUM 74000249 Faked up EXPNUM 74000249 90prime get_fwhm: self.fwhm = 3.11 Found 4 relevant rows in amp-corrections file. Found overlap: image x 339 505 and amp range 0 2015 and image y 3496 3662 and amp range 2048 4095 Range in image: x 0 167 , y 0 167 (with image size 167 x 167) dzp 0.01693853 -> scaling image by 1.015723292931903 Faked up EXPNUM 74270156 Faked up EXPNUM 74270156 Faked up EXPNUM 74270156 90prime get_fwhm: self.fwhm = 3.43 Found 4 relevant rows in amp-corrections file. Found overlap: image x 345 511 and amp range 0 2015 and image y 3512 3678 and amp range 2048 4095 Range in image: x 0 167 , y 0 167 (with image size 167 x 167) dzp 0.016961161 -> scaling image by 1.0157444649385616 Faked up EXPNUM 74050253 Faked up EXPNUM 74050253 Faked up EXPNUM 74050253 90prime get_fwhm: self.fwhm = 2.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2343 2509 and amp range 2016 4031 and image y 1047 1213 and amp range 0 2047 Range in image: x 0 167 , y 0 167 (with image size 167 x 167) dzp 0.0047082007 -> scaling image by 1.0043458289369953 mosaic get_fwhm: self.fwhm = 4.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 407 696 and amp range 0 2047 and image y 3901 4054 and amp range 2022 4060 Range in image: x 0 290 , y 0 154 (with image size 290 x 154) dzp 0.0033053984 -> scaling image by 1.0030490232713904 Faked up EXPNUM 78890044 Faked up EXPNUM 78890044 Faked up EXPNUM 78890044 90prime get_fwhm: self.fwhm = 5.39 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2359 2525 and amp range 2016 4031 and image y 1045 1210 and amp range 0 2047 Range in image: x 0 167 , y 0 166 (with image size 167 x 166) dzp 0.016679538 -> scaling image by 1.0154810312115594 Faked up EXPNUM 78160134 Faked up EXPNUM 78160134 Faked up EXPNUM 78160134 90prime get_fwhm: self.fwhm = 3.07 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2495 2662 and amp range 2016 4031 and image y 1518 1685 and amp range 0 2047 Range in image: x 0 168 , y 0 168 (with image size 168 x 168) dzp -0.006547878 -> scaling image by 0.9939873303458991 Faked up EXPNUM 74560108 Faked up EXPNUM 74560108 Faked up EXPNUM 74560108 90prime get_fwhm: self.fwhm = 5.05 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2498 2665 and amp range 2016 4031 and image y 1508 1675 and amp range 0 2047 Range in image: x 0 168 , y 0 168 (with image size 168 x 168) dzp -0.0032519526 -> scaling image by 0.9970093219958882 Stage tims : Wall: 9.08 s, CPU: 1.03 s, VmPeak: 942 MB, VmSize: 942 MB, VmRSS: 173 MB, VmData: 207 MB, maxrss: 0.56652 MB Stage tims finished: 2020-06-07T17:07:16.643943 Resources for stage tims : 3.663 s worker CPU, 21.856 s worker Wall, Wall: 9.085 s, Cores in use: 0.52, Total efficiency (on 4 cores): 12.9 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T17:07:16.665897 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02427.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 7 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/reference-custom-166708p35937.fits Stage refs : Wall: 2.16 s, CPU: 1.09 s, VmPeak: 973 MB, VmSize: 951 MB, VmRSS: 184 MB, VmData: 216 MB, maxrss: 0.56652 MB Stage refs finished: 2020-06-07T17:07:18.825134 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 2.160 s, Cores in use: 0.50, Total efficiency (on 4 cores): 12.6 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T17:07:18.826858 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outlier-mask-custom-166708p35937.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outliers-pre-custom-166708p35937.jpg Image ksb_160113_115836_ooi_g_ls9-CCD2 g : masking 472 positive outlier pixels and 0 negative outlier pixels Image ksb_160212_083813_ooi_r_ls9-CCD2 r : masking 574 positive outlier pixels and 0 negative outlier pixels Image k4m_160212_093615_ooi_zd_ls9-CCD4 z : masking 729 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outlier-mask-custom-166708p35937.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outliers-post-custom-166708p35937.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outliers-masked-pos-custom-166708p35937.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/outliers-masked-neg-custom-166708p35937.jpg Stage outliers : Wall: 1.20 s, CPU: 0.85 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 201 MB, VmData: 230 MB, maxrss: 0.56652 MB Stage outliers finished: 2020-06-07T17:07:20.023003 Resources for stage outliers : 1.205 s worker CPU, 1.231 s worker Wall, Wall: 1.197 s, Cores in use: 1.72, Total efficiency (on 4 cores): 42.9 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T17:07:20.024895 Stage halos : Wall: 0.33 s, CPU: 0.32 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 201 MB, VmData: 230 MB, maxrss: 0.56652 MB Stage halos finished: 2020-06-07T17:07:20.357208 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.333 s, Cores in use: 0.96, Total efficiency (on 4 cores): 24.1 % 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 Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-07T17:07:20.358930 PSF sigmas in coadd pixels: ['2.29', '3.97', '3.72'] Using average PSF sigma 3.3250492222779737 Gaussian PSF norm 0.08483928294469473 vs pixelized 0.06774183 average tim pixel scale / coadd scale: 1.730057673052465 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.17', '2.52', '2.03', '2.26'] Using average PSF sigma 2.245065761737422 Gaussian PSF norm 0.12565101503110063 vs pixelized 0.10521542 average tim pixel scale / coadd scale: 1.7298211655508413 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.68', '2.11', '1.36', '1.56', '1.91'] Using average PSF sigma 1.7263471266217416 Gaussian PSF norm 0.16340560216641048 vs pixelized 0.13972111 average tim pixel scale / coadd scale: 0.9909344864618175 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.29 s, CPU: 0.24 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 203 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage fit_on_coadds finished: 2020-06-07T17:07:20.648140 Resources for stage fit_on_coadds : 0.292 s worker CPU, 0.303 s worker Wall, Wall: 0.290 s, Cores in use: 1.83, Total efficiency (on 4 cores): 45.7 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T17:07:20.651305 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 29 potential peaks Of 29 potential peaks: 5 in veto map, 4 cut by saddle test, 0 cut by aper test, 20 kept SED z : 20 new peaks Found 25 potential peaks Of 25 potential peaks: 17 in veto map, 6 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 21 potential peaks Of 21 potential peaks: 15 in veto map, 5 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 40 potential peaks Of 40 potential peaks: 27 in veto map, 7 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 42 potential peaks Of 42 potential peaks: 33 in veto map, 6 cut by saddle test, 0 cut by aper test, 3 kept SED Red : 3 new peaks Adding 32 new sources Median coadd sky for g : 7.090979e-05 Median coadd sky for r : 0.00012976407 Median coadd sky for z : 0.00011380364 Stage srcs : Wall: 0.75 s, CPU: 0.68 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 203 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage srcs finished: 2020-06-07T17:07:21.399999 Resources for stage srcs : 0.162 s worker CPU, 0.174 s worker Wall, Wall: 0.750 s, Cores in use: 1.12, Total efficiency (on 4 cores): 28.0 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/DR8-1665p360-1035-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T17:07:21.413661 Blob 1 of 19, id: 9, sources: 7, size: 112x128, npix 9195, brick X: 173,285, Y: 147,275, one pixel: 190 147 Blob 2 of 19, id: 6, sources: 4, size: 94x103, npix 5062, brick X: 96,190, Y: 70,173, one pixel: 148 70 Blob 3 of 19, id: 8, sources: 2, size: 57x50, npix 1993, brick X: 193,250, Y: 88,138, one pixel: 202 88 Blob 4 of 19, id: 17, sources: 4, size: 85x31, npix 1983, brick X: 59,144, Y: 254,285, one pixel: 73 254 Blob 5 of 19, id: 2, sources: 2, size: 35x54, npix 1220, brick X: 57,92, Y: 13,67, one pixel: 76 13 Blob 3 finished, total: Wall: 1.49 s, CPU: 1.49 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.142912 MB Blob 6 of 19, id: 1, sources: 2, size: 45x26, npix 775, brick X: 99,144, Y: 6,32, one pixel: 128 6 Blob 4 finished, total: Wall: 2.13 s, CPU: 2.13 s, VmPeak: 801 MB, VmSize: 712 MB, VmRSS: 137 MB, VmData: 178 MB, maxrss: 0.140788 MB Blob 7 of 19, id: 3, sources: 1, size: 33x33, npix 700, brick X: 23,56, Y: 33,66, one pixel: 33 33 Blob 6 finished, total: Wall: 1.15 s, CPU: 1.15 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.142796 MB Blob 8 of 19, id: 16, sources: 1, size: 21x38, npix 609, brick X: 0,21, Y: 239,277, one pixel: 4 239 Blob 5 finished, total: Wall: 2.48 s, CPU: 2.48 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143888 MB Blob 9 of 19, id: 0, sources: 1, size: 29x29, npix 581, brick X: 224,253, Y: 0,29, one pixel: 234 0 Measuring 1 iterative sources Blob 7 finished, total: Wall: 1.20 s, CPU: 1.20 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.142796 MB Blob 10 of 19, id: 4, sources: 2, size: 36x23, npix 481, brick X: 183,219, Y: 49,72, one pixel: 191 49 Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.0733, ee1=-0.838436, ee2=0.740135 Measuring 1 iterative sources Blob 8 finished, total: Wall: 1.49 s, CPU: 1.49 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143888 MB Blob 11 of 19, id: 11, sources: 1, size: 27x26, npix 471, brick X: 0,27, Y: 165,191, one pixel: 7 165 Blob 9 finished, total: Wall: 1.10 s, CPU: 1.10 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14336 MB Blob 12 of 19, id: 12, sources: 1, size: 26x24, npix 401, brick X: 82,108, Y: 183,207, one pixel: 92 183 Blob 1 finished, total: Wall: 5.81 s, CPU: 5.81 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.14424 MB Blob 10 finished, total: Wall: 0.32 s, CPU: 0.32 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143888 MB Blob 13 of 19, id: 7, sources: 1, size: 28x25, npix 400, brick X: 38,66, Y: 72,97, one pixel: 54 72 Blob 14 of 19, id: 5, sources: 1, size: 24x23, npix 314, brick X: 93,117, Y: 60,83, one pixel: 106 60 Measuring 1 iterative sources Blob 11 finished, total: Wall: 0.64 s, CPU: 0.64 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14336 MB Blob 15 of 19, id: 14, sources: 1, size: 23x21, npix 282, brick X: 73,96, Y: 224,245, one pixel: 82 224 Blob 16 of 19, id: 15, sources: 1, size: 20x21, npix 240, brick X: 108,128, Y: 228,249, one pixel: 117 228 Blob 13 finished, total: Wall: 0.64 s, CPU: 0.63 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143992 MB Blob 17 of 19, id: 10, sources: 1, size: 20x20, npix 228, brick X: 45,65, Y: 149,169, one pixel: 55 149 Blob 2 finished, total: Wall: 6.48 s, CPU: 6.47 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144516 MB Blob 18 of 19, id: 13, sources: 1, size: 19x18, npix 180, brick X: 34,53, Y: 216,234, one pixel: 42 216 Blob 12 finished, total: Wall: 0.80 s, CPU: 0.80 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144776 MB Blob 19 of 19, id: 18, sources: 1, size: 17x17, npix 145, brick X: 154,171, Y: 264,281, one pixel: 162 264 Blob 17 finished, total: Wall: 0.07 s, CPU: 0.07 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144776 MB Blob 15 finished, total: Wall: 0.24 s, CPU: 0.24 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143992 MB Blob 16 finished, total: Wall: 0.32 s, CPU: 0.32 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144516 MB Blob 14 finished, total: Wall: 0.66 s, CPU: 0.66 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.14336 MB Blob 18 finished, total: Wall: 0.28 s, CPU: 0.28 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144776 MB Blob 19 finished, total: Wall: 0.45 s, CPU: 0.45 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.143992 MB Old catalog: 35 New catalog: 33 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/blobs-custom-166708p35937.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/metrics/cus/all-models-custom-166708p35937.fits Stage fitblobs : Wall: 7.62 s, CPU: 0.46 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 204 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage fitblobs finished: 2020-06-07T17:07:29.035943 Resources for stage fitblobs : 27.904 s worker CPU, 27.978 s worker Wall, Wall: 7.623 s, Cores in use: 3.72, Total efficiency (on 4 cores): 93.0 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T17:07:29.037774 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-resid.jpg Stage coadds : Wall: 1.69 s, CPU: 0.59 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 204 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage coadds finished: 2020-06-07T17:07:30.732517 Resources for stage coadds : 2.193 s worker CPU, 2.265 s worker Wall, Wall: 1.696 s, Cores in use: 1.64, Total efficiency (on 4 cores): 41.0 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T17:07:30.734264 Cut to 1 unWISE tiles Reading WISE tile 1660p363 band 1 Reading WISE tile 1660p363 band 3 Reading WISE tile 1660p363 band 2 Reading WISE tile 1660p363 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w4-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: 805 MB, VmSize: 793 MB, VmRSS: 146 MB, VmData: 175 MB, maxrss: 0.189808 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.05 s, CPU: 0.05 s, VmPeak: 804 MB, VmSize: 792 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.209204 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-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: 144 MB, VmData: 174 MB, maxrss: 0.207472 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1660p363/unwise-1660p363-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 801 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 173 MB, maxrss: 0.208744 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/tmp-legacysurvey-custom-166708p35937-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.50 s, CPU: 0.46 s, VmPeak: 973 MB, VmSize: 961 MB, VmRSS: 205 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage wise_forced finished: 2020-06-07T17:07:33.230907 Resources for stage wise_forced : 5.068 s worker CPU, 6.541 s worker Wall, Wall: 2.498 s, Cores in use: 2.21, Total efficiency (on 4 cores): 55.3 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T17:07:33.232780 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/coadd/cus/custom-166708p35937/legacysurvey-custom-166708p35937-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/tractor-i/cus/tractor-custom-166708p35937.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/DR8-1665p360-1035/tractor/cus/tractor-custom-166708p35937.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/DR8-1665p360-1035/tractor/cus/brick-custom-166708p35937.sha256sum Stage writecat : Wall: 1.93 s, CPU: 0.60 s, VmPeak: 1093 MB, VmSize: 965 MB, VmRSS: 207 MB, VmData: 231 MB, maxrss: 0.56652 MB Stage writecat finished: 2020-06-07T17:07:35.157984 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.926 s, Cores in use: 0.31, Total efficiency (on 4 cores): 7.7 % Stage writecat finished All done: 40.489 s worker CPU, 60.350 s worker Wall, Wall: 27.602 s, Cores in use: 1.70, Total efficiency (on 4 cores): 42.4 % Finished galaxy DR8-1665p360-1035 in 0.496 minutes.