Started working on galaxy PGC512826 at Thu Jun 4 10:19:18 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 39.046949999999995 -46.616402 --width 251 --height 251 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-04T10:19:19.775756 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '39.046949999999995', '-46.616402', '--width', '251', '--height', '251', '--pixscale', '0.262', '--threads', '8', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'south', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-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 39.046949999999995 -46.616402 --width 251 --height 251 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 39.046949999999995 -46.616402 Starting process 51949 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057376 MB Starting process 51951 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05738 MB Starting process 51952 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057384 MB Starting process 51953 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05738 MB Starting process 51954 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057388 MB Starting process 51955 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057392 MB Starting process 51956 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057392 MB Starting process 51957 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057392 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-04T10:19:24.528943 Keeping 18 CCDs: c4d_131210_052013_ooi_r_ls9.fits.fz c4d_131210_052013_ooi_r_ls9-S28 r exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 56636.221 object DES survey hex 382-481 tiling 4 c4d_131231_040640_ooi_g_ls9.fits.fz c4d_131231_040640_ooi_g_ls9-S28 g exptime 90.0 propid 2012B-0001 seeing 1.01 MJD 56657.170 object DES survey hex 382-481 tiling 4 c4d_131114_031729_ooi_z_ls9.fits.fz c4d_131114_031729_ooi_z_ls9-S28 z exptime 90.0 propid 2012B-0001 seeing 1.00 MJD 56610.137 object DES survey hex 382-481 tiling 4 c4d_171122_054915_ooi_r_v1.fits.fz c4d_171122_054915_ooi_r_v1-N19 r exptime 90.0 propid 2012B-0001 seeing 1.14 MJD 58079.243 object DES survey hex 384-461 tiling 8 c4d_171110_065320_ooi_z_v1.fits.fz c4d_171110_065320_ooi_z_v1-N19 z exptime 90.0 propid 2012B-0001 seeing 1.12 MJD 58067.287 object DES survey hex 384-461 tiling 8 c4d_171225_043142_ooi_g_v1.fits.fz c4d_171225_043142_ooi_g_v1-N19 g exptime 90.0 propid 2012B-0001 seeing 1.15 MJD 58112.189 object DES survey hex 384-461 tiling 8 c4d_131206_055338_ooi_g_ls9.fits.fz c4d_131206_055338_ooi_g_ls9-N23 g exptime 90.0 propid 2012B-0001 seeing 1.17 MJD 56632.244 object DES survey hex 384-461 tiling 1 c4d_131206_055537_ooi_r_ls9.fits.fz c4d_131206_055537_ooi_r_ls9-N23 r exptime 90.0 propid 2012B-0001 seeing 1.20 MJD 56632.245 object DES survey hex 384-461 tiling 1 c4d_131211_045630_ooi_z_ls9.fits.fz c4d_131211_045630_ooi_z_ls9-N23 z exptime 90.0 propid 2012B-0001 seeing 0.96 MJD 56637.204 object DES survey hex 384-461 tiling 1 c4d_160211_012216_ooi_r_ls9.fits.fz c4d_160211_012216_ooi_r_ls9-N31 r exptime 90.0 propid 2012B-0001 seeing 1.07 MJD 57429.056 object DES survey hex 384-461 tiling 5 c4d_160211_012615_ooi_g_ls9.fits.fz c4d_160211_012615_ooi_g_ls9-N31 g exptime 90.0 propid 2012B-0001 seeing 1.27 MJD 57429.058 object DES survey hex 384-461 tiling 5 c4d_160120_025532_ooi_z_ls9.fits.fz c4d_160120_025532_ooi_z_ls9-N31 z exptime 90.0 propid 2012B-0001 seeing 0.90 MJD 57407.120 object DES survey hex 384-461 tiling 5 c4d_131108_073936_ooi_r_ls9.fits.fz c4d_131108_073936_ooi_r_ls9-N3 r exptime 90.0 propid 2012B-0001 seeing 1.16 MJD 56604.319 object DES survey hex 406-471 tiling 2 c4d_140112_025913_ooi_z_ls9.fits.fz c4d_140112_025913_ooi_z_ls9-N3 z exptime 90.0 propid 2012B-0001 seeing 0.87 MJD 56669.123 object DES survey hex 406-471 tiling 2 c4d_131029_054411_ooi_g_ls9.fits.fz c4d_131029_054411_ooi_g_ls9-N3 g exptime 90.0 propid 2012B-0001 seeing 1.49 MJD 56594.239 object DES survey hex 406-471 tiling 2 c4d_161108_073656_ooi_r_ls9.fits.fz c4d_161108_073656_ooi_r_ls9-N2 r exptime 90.0 propid 2012B-0001 seeing 1.13 MJD 57700.316 object DES survey hex 406-471 tiling 6 c4d_161108_073853_ooi_g_ls9.fits.fz c4d_161108_073853_ooi_g_ls9-N2 g exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 57700.317 object DES survey hex 406-471 tiling 6 c4d_161219_044513_ooi_z_ls9.fits.fz c4d_161219_044513_ooi_z_ls9-N2 z exptime 90.0 propid 2012B-0001 seeing 1.14 MJD 57741.196 object DES survey hex 406-471 tiling 6 The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171224_907974d-g-20171225T043142_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171121_902d32a-r-20171122T054915_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171106_9009a16-z-20171110T065320_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960ff2a-g-20131231T040417_oi[S28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960f703-r-20131210T051750_oi[S28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9637563-g-20131206T055116_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9636c06-r-20131206T055315_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_96345c0-z-20131114T031729_oi[S28,noinherit][2046,4094][real]: DES sur Zeroing out 1 weight-map pixels below quantization error (= median 0.000279) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960f7cb-z-20131211T045407_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9634d1e-r-20131108T073936_oi[N3,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9612fa3-z-20140112T025650_oi[N3,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9636680-g-20131029T054411_oi[N3,noinherit][2046,4094][real]: DES surv Zeroing out 1 weight-map pixels below quantization error (= median 6.6e-05) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9628f41-r-20160211T011958_oi[N31,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9501365-r-20161108T073437_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9500ef2-g-20161108T073635_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9504ee9-z-20161219T044253_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627da7-z-20160120T025313_oi[N31,noinherit][2046,4094][real]: DES sur Zeroing out 1 weight-map pixels below quantization error (= median 5.53e-06) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627880-g-20160211T012354_oi[N31,noinherit][2046,4094][real]: DES sur Stage tims : Wall: 96.37 s, CPU: 4.04 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 182 MB, VmData: 216 MB, maxrss: 0.449984 MB Stage tims finished: 2020-06-04T10:21:00.897291 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960f703-r-20131210T051750_oi[S28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9612fa3-z-20140112T025650_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_96345c0-z-20131114T031729_oi[S28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9636680-g-20131029T054411_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171121_902d32a-r-20171122T054915_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9628f41-r-20160211T011958_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9636c06-r-20131206T055315_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9501365-r-20161108T073437_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171224_907974d-g-20171225T043142_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960f7cb-z-20131211T045407_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9500ef2-g-20161108T073635_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960ff2a-g-20131231T040417_oi[S28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627da7-z-20160120T025313_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171106_9009a16-z-20171110T065320_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627880-g-20160211T012354_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] Resources for stage tims : 8.966 s worker CPU, 423.454 s worker Wall, Wall: 96.370 s, Cores in use: 0.13, Total efficiency (on 8 cores): 1.7 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-tims.p Running stage refs WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9637563-g-20131206T055116_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9634d1e-r-20131108T073936_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9504ee9-z-20161219T044253_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] Running stage refs at 2020-06-04T10:21:00.936708 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-10560.fits Matched 3 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/reference-custom-039046m46616.fits Stage refs : Wall: 5.83 s, CPU: 4.56 s, VmPeak: 1028 MB, VmSize: 1010 MB, VmRSS: 196 MB, VmData: 229 MB, maxrss: 0.449984 MB Stage refs finished: 2020-06-04T10:21:06.763813 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 5.828 s, Cores in use: 0.78, Total efficiency (on 8 cores): 9.8 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-04T10:21:06.765690 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outlier-mask-custom-039046m46616.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outliers-pre-custom-039046m46616.jpg Image c4d_171225_043142_ooi_g_v1-N19 g : masking 1078 positive outlier pixels and 0 negative outlier pixels Image c4d_131206_055338_ooi_g_ls9-N23 g : masking 0 positive outlier pixels and 104 negative outlier pixels Image c4d_131029_054411_ooi_g_ls9-N3 g : masking 654 positive outlier pixels and 230 negative outlier pixels Image c4d_131206_055537_ooi_r_ls9-N23 r : masking 0 positive outlier pixels and 310 negative outlier pixels Image c4d_131210_052013_ooi_r_ls9-S28 r : masking 0 positive outlier pixels and 114 negative outlier pixels Image c4d_171122_054915_ooi_r_v1-N19 r : masking 824 positive outlier pixels and 0 negative outlier pixels Image c4d_131114_031729_ooi_z_ls9-S28 z : masking 337 positive outlier pixels and 0 negative outlier pixels Image c4d_171110_065320_ooi_z_v1-N19 z : masking 140 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outlier-mask-custom-039046m46616.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outliers-post-custom-039046m46616.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outliers-masked-pos-custom-039046m46616.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/outliers-masked-neg-custom-039046m46616.jpg Stage outliers : Wall: 4.92 s, CPU: 4.71 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 217 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage outliers finished: 2020-06-04T10:21:11.681188 Resources for stage outliers : 1.578 s worker CPU, 1.584 s worker Wall, Wall: 4.917 s, Cores in use: 1.28, Total efficiency (on 8 cores): 16.0 % Stage outliers finished Running stage halos Running stage halos at 2020-06-04T10:21:11.683365 Stage halos : Wall: 6.28 s, CPU: 4.38 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 217 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage halos finished: 2020-06-04T10:21:17.964881 Resources for stage halos : 0.189 s worker CPU, 12.691 s worker Wall, Wall: 6.283 s, Cores in use: 0.73, Total efficiency (on 8 cores): 9.1 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-04T10:21:17.967111 PSF sigmas in coadd pixels: ['1.65', '1.86', '1.90', '2.07', '2.42', '1.80'] Using average PSF sigma 1.9489154819495547 Gaussian PSF norm 0.1447444973302233 vs pixelized 0.12521164 average tim pixel scale / coadd scale: 1.0010857003534794 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-copsf-g.fits.fz PSF sigmas in coadd pixels: ['1.81', '1.85', '1.95', '1.74', '1.89', '1.84'] Using average PSF sigma 1.8460619939388512 Gaussian PSF norm 0.15280894829105196 vs pixelized 0.14620887 average tim pixel scale / coadd scale: 1.001106728426401 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.63', '1.81', '1.55', '1.46', '1.42', '1.86'] Using average PSF sigma 1.62176762520932 Gaussian PSF norm 0.1739427938928479 vs pixelized 0.15470222 average tim pixel scale / coadd scale: 1.0010173507852351 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.30 s, CPU: 0.29 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 219 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage fit_on_coadds finished: 2020-06-04T10:21:18.263896 Resources for stage fit_on_coadds : 0.377 s worker CPU, 0.379 s worker Wall, Wall: 0.298 s, Cores in use: 2.23, Total efficiency (on 8 cores): 27.8 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-04T10:21:18.267746 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 57 potential peaks Of 57 potential peaks: 39 in veto map, 5 cut by saddle test, 0 cut by aper test, 13 kept SED z : 13 new peaks Found 69 potential peaks Of 69 potential peaks: 49 in veto map, 14 cut by saddle test, 0 cut by aper test, 6 kept SED r : 6 new peaks Found 56 potential peaks Of 56 potential peaks: 41 in veto map, 13 cut by saddle test, 0 cut by aper test, 2 kept SED g : 2 new peaks Found 77 potential peaks Of 77 potential peaks: 56 in veto map, 16 cut by saddle test, 0 cut by aper test, 5 kept SED Flat : 5 new peaks Found 76 potential peaks Of 76 potential peaks: 63 in veto map, 13 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 26 new sources Median coadd sky for g : -9.5117954e-08 Median coadd sky for r : 6.105031e-05 Median coadd sky for z : 4.7026522e-05 Stage srcs : Wall: 2.43 s, CPU: 2.39 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 219 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage srcs finished: 2020-06-04T10:21:20.697039 Resources for stage srcs : 0.082 s worker CPU, 0.082 s worker Wall, Wall: 2.430 s, Cores in use: 1.02, Total efficiency (on 8 cores): 12.7 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/PGC512826-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-04T10:21:20.708494 Blob 1 of 9, id: 0, sources: 16, size: 171x219, npix 21857, brick X: 41,212, Y: 5,224, one pixel: 174 5 Blob 2 of 9, id: 6, sources: 4, size: 82x48, npix 2034, brick X: 169,251, Y: 203,251, one pixel: 204 203 Blob 3 of 9, id: 7, sources: 1, size: 26x26, npix 451, brick X: 139,165, Y: 223,249, one pixel: 149 223 Blob 4 of 9, id: 1, sources: 1, size: 24x25, npix 387, brick X: 227,251, Y: 38,63, one pixel: 236 38 Blob 5 of 9, id: 8, sources: 1, size: 21x22, npix 282, brick X: 65,86, Y: 229,251, one pixel: 74 229 Blob 6 of 9, id: 3, sources: 1, size: 21x20, npix 239, brick X: 220,241, Y: 100,120, one pixel: 229 100 Blob 7 of 9, id: 2, sources: 1, size: 21x20, npix 238, brick X: 34,55, Y: 48,68, one pixel: 44 48 Blob 8 of 9, id: 4, sources: 1, size: 20x19, npix 218, brick X: 11,31, Y: 186,205, one pixel: 19 186 Blob 9 of 9, id: 5, sources: 1, size: 18x18, npix 180, brick X: 219,237, Y: 195,213, one pixel: 227 195 Blob 8 finished, total: Wall: 0.61 s, CPU: 0.60 s, VmPeak: 1001 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146404 MB Blob 5 finished, total: Wall: 0.72 s, CPU: 0.72 s, VmPeak: 955 MB, VmSize: 720 MB, VmRSS: 142 MB, VmData: 183 MB, maxrss: 0.144988 MB Blob 7 finished, total: Wall: 0.73 s, CPU: 0.72 s, VmPeak: 953 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.146752 MB Blob 3 finished, total: Wall: 0.79 s, CPU: 0.79 s, VmPeak: 957 MB, VmSize: 720 MB, VmRSS: 142 MB, VmData: 183 MB, maxrss: 0.145028 MB Blob 4 finished, total: Wall: 0.85 s, CPU: 0.84 s, VmPeak: 957 MB, VmSize: 720 MB, VmRSS: 141 MB, VmData: 183 MB, maxrss: 0.144856 MB Blob 6 finished, total: Wall: 0.88 s, CPU: 0.88 s, VmPeak: 961 MB, VmSize: 720 MB, VmRSS: 142 MB, VmData: 183 MB, maxrss: 0.145416 MB Blob 9 finished, total: Wall: 0.44 s, CPU: 0.44 s, VmPeak: 1001 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146404 MB Blob 2 finished, total: Wall: 3.24 s, CPU: 3.24 s, VmPeak: 1002 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146936 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=2.07771, ee1=0.147478, ee2=-0.093921 Measuring 13 iterative sources Blob 1 finished, total: Wall: 21.57 s, CPU: 21.57 s, VmPeak: 1006 MB, VmSize: 723 MB, VmRSS: 153 MB, VmData: 186 MB, maxrss: 0.156992 MB Old catalog: 28 New catalog: 38 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/blobs-custom-039046m46616.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/metrics/cus/all-models-custom-039046m46616.fits Stage fitblobs : Wall: 24.83 s, CPU: 3.25 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 219 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage fitblobs finished: 2020-06-04T10:21:45.541891 Resources for stage fitblobs : 29.925 s worker CPU, 29.985 s worker Wall, Wall: 24.835 s, Cores in use: 1.34, Total efficiency (on 8 cores): 16.7 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-04T10:21:45.544104 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-resid.jpg Stage coadds : Wall: 3.63 s, CPU: 2.81 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 220 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage coadds finished: 2020-06-04T10:21:49.171514 Resources for stage coadds : 4.210 s worker CPU, 4.515 s worker Wall, Wall: 3.628 s, Cores in use: 1.94, Total efficiency (on 8 cores): 24.2 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-04T10:21:49.173102 Cut to 1 unWISE tiles Reading WISE tile 0392m470 band 2 Reading WISE tile 0392m470 band 1 Reading WISE tile 0392m470 band 4 Reading WISE tile 0392m470 band 3 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.07 s, CPU: 0.07 s, VmPeak: 953 MB, VmSize: 795 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.19046 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w3-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: 961 MB, VmSize: 792 MB, VmRSS: 141 MB, VmData: 171 MB, maxrss: 0.204244 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w1-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: 955 MB, VmSize: 796 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.210092 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/039/0392m470/unwise-0392m470-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.07 s, CPU: 0.07 s, VmPeak: 1006 MB, VmSize: 799 MB, VmRSS: 154 MB, VmData: 178 MB, maxrss: 0.218232 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/tmp-legacysurvey-custom-039046m46616-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 14.07 s, CPU: 5.13 s, VmPeak: 1028 MB, VmSize: 1020 MB, VmRSS: 221 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage wise_forced finished: 2020-06-04T10:22:03.246510 Resources for stage wise_forced : 3.154 s worker CPU, 11.971 s worker Wall, Wall: 14.075 s, Cores in use: 0.59, Total efficiency (on 8 cores): 7.4 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-04T10:22:03.248602 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/coadd/cus/custom-039046m46616/legacysurvey-custom-039046m46616-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/tractor-i/cus/tractor-custom-039046m46616.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/039/PGC512826/tractor/cus/tractor-custom-039046m46616.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/039/PGC512826/tractor/cus/brick-custom-039046m46616.sha256sum Stage writecat : Wall: 3.10 s, CPU: 2.89 s, VmPeak: 1152 MB, VmSize: 1024 MB, VmRSS: 223 MB, VmData: 248 MB, maxrss: 0.449984 MB Stage writecat finished: 2020-06-04T10:22:06.345822 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 3.098 s, Cores in use: 0.93, Total efficiency (on 8 cores): 11.7 % Stage writecat finished All done: 48.483 s worker CPU, 484.664 s worker Wall, Wall: 161.827 s, Cores in use: 0.51, Total efficiency (on 8 cores): 6.4 % Finished galaxy PGC512826 in 2.805 minutes.