Started working on galaxy PGC594842 at Sat Jun 6 21:06:26 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 58.183959 -39.726805600000006 --width 233 --height 233 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842 --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/058/PGC594842/PGC594842-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-06T21:06:28.763894 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '58.183959', '-39.726805600000006', '--width', '233', '--height', '233', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842', '--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/058/PGC594842/PGC594842-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-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 58.183959 -39.726805600000006 --width 233 --height 233 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842 --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/058/PGC594842/PGC594842-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 58.183959 -39.726805600000006 Starting process 1211 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.0573 MB Starting process 1212 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 1213 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 1214 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-06T21:06:32.625904 Keeping 23 CCDs: c4d_141225_041055_ooi_g_ls9.fits.fz c4d_141225_041055_ooi_g_ls9-N29 g exptime 90.0 propid 2012B-0001 seeing 1.36 MJD 57016.173 object DES survey hex 594-379 tiling 3 c4d_141222_054219_ooi_g_ls9.fits.fz c4d_141222_054219_ooi_g_ls9-N29 g exptime 90.0 propid 2012B-0001 seeing 1.76 MJD 57013.236 object DES survey hex 594-379 tiling 3 c4d_141225_041255_ooi_r_ls9.fits.fz c4d_141225_041255_ooi_r_ls9-N29 r exptime 90.0 propid 2012B-0001 seeing 1.13 MJD 57016.174 object DES survey hex 594-379 tiling 3 c4d_150110_042940_ooi_z_ls9.fits.fz c4d_150110_042940_ooi_z_ls9-N29 z exptime 90.0 propid 2012B-0001 seeing 1.23 MJD 57032.186 object DES survey hex 594-379 tiling 3 c4d_171211_054713_ooi_r_v1.fits.fz c4d_171211_054713_ooi_r_v1-N24 r exptime 90.0 propid 2012B-0001 seeing 1.10 MJD 58098.241 object DES survey hex 576-390 tiling 8 c4d_171207_064218_ooi_z_v1.fits.fz c4d_171207_064218_ooi_z_v1-N24 z exptime 90.0 propid 2012B-0001 seeing 0.92 MJD 58094.279 object DES survey hex 576-390 tiling 8 c4d_180111_023554_ooi_g_v1.fits.fz c4d_180111_023554_ooi_g_v1-N24 g exptime 90.0 propid 2012B-0001 seeing 1.41 MJD 58129.108 object DES survey hex 576-390 tiling 8 c4d_131209_051832_ooi_g_ls9.fits.fz c4d_131209_051832_ooi_g_ls9-S17 g exptime 90.0 propid 2012B-0001 seeing 1.27 MJD 56635.220 object DES survey hex 580-410 tiling 4 c4d_131209_052031_ooi_r_ls9.fits.fz c4d_131209_052031_ooi_r_ls9-S17 r exptime 90.0 propid 2012B-0001 seeing 1.20 MJD 56635.221 object DES survey hex 580-410 tiling 4 c4d_150116_024431_ooi_g_ls9.fits.fz c4d_150116_024431_ooi_g_ls9-N9 g exptime 90.0 propid 2012B-0001 seeing 1.18 MJD 57038.113 object DES survey hex 599-400 tiling 2 c4d_141127_075031_ooi_r_ls9.fits.fz c4d_141127_075031_ooi_r_ls9-N9 r exptime 90.0 propid 2012B-0001 seeing 1.12 MJD 56988.325 object DES survey hex 599-400 tiling 2 c4d_150109_041430_ooi_z_ls9.fits.fz c4d_150109_041430_ooi_z_ls9-N9 z exptime 90.0 propid 2012B-0001 seeing 0.93 MJD 57031.175 object DES survey hex 599-400 tiling 2 c4d_170120_035103_ooi_z_ls9.fits.fz c4d_170120_035103_ooi_z_ls9-N8 z exptime 90.0 propid 2012B-0001 seeing 1.17 MJD 57773.159 object DES survey hex 599-400 tiling 6 c4d_161206_065910_ooi_g_ls9.fits.fz c4d_161206_065910_ooi_g_ls9-N8 g exptime 90.0 propid 2012B-0001 seeing 1.29 MJD 57728.289 object DES survey hex 599-400 tiling 6 c4d_161206_065509_ooi_r_ls9.fits.fz c4d_161206_065509_ooi_r_ls9-N8 r exptime 90.0 propid 2012B-0001 seeing 1.16 MJD 57728.287 object DES survey hex 599-400 tiling 6 c4d_141127_064541_ooi_g_ls9.fits.fz c4d_141127_064541_ooi_g_ls9-N28 g exptime 90.0 propid 2012B-0001 seeing 1.32 MJD 56988.280 object DES survey hex 576-390 tiling 1 c4d_141117_082105_ooi_z_ls9.fits.fz c4d_141117_082105_ooi_z_ls9-N28 z exptime 90.0 propid 2012B-0001 seeing 1.05 MJD 56978.346 object DES survey hex 576-390 tiling 1 c4d_141222_054021_ooi_r_ls9.fits.fz c4d_141222_054021_ooi_r_ls9-N28 r exptime 90.0 propid 2012B-0001 seeing 1.63 MJD 57013.235 object DES survey hex 576-390 tiling 1 c4d_150116_024628_ooi_r_ls9.fits.fz c4d_150116_024628_ooi_r_ls9-N28 r exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 57038.114 object DES survey hex 576-390 tiling 1 c4d_141222_053619_ooi_g_ls9.fits.fz c4d_141222_053619_ooi_g_ls9-S7 g exptime 90.0 propid 2012B-0001 seeing 1.66 MJD 57013.232 object DES survey hex 576-390 tiling 3 c4d_140210_014711_ooi_z_ls9.fits.fz c4d_140210_014711_ooi_z_ls9-S7 z exptime 90.0 propid 2012B-0001 seeing 0.96 MJD 56698.073 object DES survey hex 576-390 tiling 3 c4d_150114_043404_ooi_g_ls9.fits.fz c4d_150114_043404_ooi_g_ls9-S7 g exptime 90.0 propid 2012B-0001 seeing 1.19 MJD 57036.189 object DES survey hex 576-390 tiling 3 c4d_150120_023048_ooi_r_ls9.fits.fz c4d_150120_023048_ooi_r_ls9-S7 r exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 57042.103 object DES survey hex 576-390 tiling 3 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961e1ae-z-20150110T042722_oi[N29,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961a5f3-g-20141225T040838_oi[N29,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961980e-g-20141222T053957_oi[N29,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171204_904491c-z-20171207T064218_oi[N24,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171208_904ccf3-r-20171211T054713_oi[N24,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20180110_909afae-g-20180111T023554_oi[N24,noinherit][2046,4094][real]: DE Zeroing out 3290 weight-map pixels below quantization error (= median 7.27e-05) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_96370da-r-20131209T051809_oi[S17,noinherit][2046,4094][real]: DES sur Zeroing out 3290 weight-map pixels below quantization error (= median 2.67e-06) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9637808-g-20131209T051609_oi[S17,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961c811-r-20141225T041035_oi[N29,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961b30e-r-20141127T074809_oi[N9,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961e1ae-z-20150109T041209_oi[N9,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_950712c-z-20170120T034845_oi[N8,noinherit][2046,4094][real]: DES surv Zeroing out 3290 weight-map pixels below quantization error (= median 0.000329) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961adec-g-20150116T024210_oi[N9,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9505bd4-g-20161206T065647_oi[N8,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9505547-r-20161206T065248_oi[N8,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9618eb0-g-20141127T064320_oi[N28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961baf6-r-20141222T053800_oi[N28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961b343-z-20141117T081845_oi[N28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961d483-r-20150116T024409_oi[N28,noinherit][2046,4094][real]: DES sur Stage tims : Wall: 144.44 s, CPU: 4.60 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 182 MB, VmData: 215 MB, maxrss: 0.454672 MB Stage tims finished: 2020-06-06T21:08:57.063312 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961980e-g-20141222T053957_oi[N29,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_20180110_909afae-g-20180111T023554_oi[N24,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_961adec-g-20150116T024210_oi[N9,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_961b343-z-20141117T081845_oi[N28,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_961c811-r-20141225T041035_oi[N29,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_950712c-z-20170120T034845_oi[N8,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_9618eb0-g-20141127T064320_oi[N28,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_961e1ae-z-20150110T042722_oi[N29,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_20171208_904ccf3-r-20171211T054713_oi[N24,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_96370da-r-20131209T051809_oi[S17,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_961b30e-r-20141127T074809_oi[N9,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_9505bd4-g-20161206T065647_oi[N8,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_961baf6-r-20141222T053800_oi[N28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] Resources for stage tims : 7.190 s worker CPU, 540.112 s worker Wall, Wall: 144.439 s, Cores in use: 0.08, Total efficiency (on 4 cores): 2.0 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-tims.p Running stage refs WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961a5f3-g-20141225T040838_oi[N29,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_20171204_904491c-z-20171207T064218_oi[N24,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_9637808-g-20131209T051609_oi[S17,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_961e1ae-z-20150109T041209_oi[N9,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_9505547-r-20161206T065248_oi[N8,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_961d483-r-20150116T024409_oi[N28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] Running stage refs at 2020-06-06T21:08:57.097290 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-09940.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-10069.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-10068.fits Matched 9 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/reference-custom-058183m39726.fits Stage refs : Wall: 9.80 s, CPU: 9.12 s, VmPeak: 1028 MB, VmSize: 1012 MB, VmRSS: 197 MB, VmData: 229 MB, maxrss: 0.454672 MB Stage refs finished: 2020-06-06T21:09:06.894645 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 9.798 s, Cores in use: 0.93, Total efficiency (on 4 cores): 23.3 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-06T21:09:06.896150 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outlier-mask-custom-058183m39726.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outliers-pre-custom-058183m39726.jpg Image c4d_180111_023554_ooi_g_v1-N24 g : masking 242 positive outlier pixels and 0 negative outlier pixels Image c4d_131209_051832_ooi_g_ls9-S17 g : masking 0 positive outlier pixels and 74 negative outlier pixels Image c4d_150116_024431_ooi_g_ls9-N9 g : masking 950 positive outlier pixels and 0 negative outlier pixels Image c4d_150109_041430_ooi_z_ls9-N9 z : masking 684 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outlier-mask-custom-058183m39726.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outliers-post-custom-058183m39726.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outliers-masked-pos-custom-058183m39726.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/outliers-masked-neg-custom-058183m39726.jpg Stage outliers : Wall: 8.12 s, CPU: 7.73 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 208 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage outliers finished: 2020-06-06T21:09:15.014850 Resources for stage outliers : 1.907 s worker CPU, 1.961 s worker Wall, Wall: 8.120 s, Cores in use: 1.19, Total efficiency (on 4 cores): 29.7 % Stage outliers finished Running stage halos Running stage halos at 2020-06-06T21:09:15.016325 Stage halos : Wall: 19.49 s, CPU: 11.18 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 208 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage halos finished: 2020-06-06T21:09:34.509026 Resources for stage halos : 0.514 s worker CPU, 30.888 s worker Wall, Wall: 19.494 s, Cores in use: 0.60, Total efficiency (on 4 cores): 15.0 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-06T21:09:34.510835 PSF sigmas in coadd pixels: ['2.21', '2.85', '2.29', '2.06', '1.92', '2.10', '2.15'] Using average PSF sigma 2.226164869348037 Gaussian PSF norm 0.12671783463032257 vs pixelized 0.109744355 average tim pixel scale / coadd scale: 1.0010522039710759 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-copsf-g.fits.fz PSF sigmas in coadd pixels: ['1.84', '1.79', '1.94', '1.82', '1.88', '2.65', '1.80'] Using average PSF sigma 1.959595623682414 Gaussian PSF norm 0.14395561429340917 vs pixelized 0.1296142 average tim pixel scale / coadd scale: 1.0010879664532555 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.99', '1.49', '1.51', '1.90', '1.71'] Using average PSF sigma 1.7194665485344136 Gaussian PSF norm 0.1640594822936925 vs pixelized 0.13382491 average tim pixel scale / coadd scale: 1.0010362793833643 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.33 s, CPU: 0.29 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 210 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage fit_on_coadds finished: 2020-06-06T21:09:34.838389 Resources for stage fit_on_coadds : 0.599 s worker CPU, 0.641 s worker Wall, Wall: 0.329 s, Cores in use: 2.70, Total efficiency (on 4 cores): 67.6 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-06T21:09:34.841653 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 69 potential peaks Of 69 potential peaks: 53 in veto map, 5 cut by saddle test, 0 cut by aper test, 11 kept SED z : 11 new peaks Found 65 potential peaks Of 65 potential peaks: 45 in veto map, 11 cut by saddle test, 0 cut by aper test, 9 kept SED r : 9 new peaks Found 62 potential peaks Of 62 potential peaks: 55 in veto map, 6 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 76 potential peaks Of 76 potential peaks: 58 in veto map, 12 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 84 potential peaks Of 84 potential peaks: 72 in veto map, 11 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 28 new sources Median coadd sky for g : 6.162095e-05 Median coadd sky for r : 0.00025971158 Median coadd sky for z : 0.0005654856 Stage srcs : Wall: 6.93 s, CPU: 6.89 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 210 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage srcs finished: 2020-06-06T21:09:41.774035 Resources for stage srcs : 0.097 s worker CPU, 0.097 s worker Wall, Wall: 6.933 s, Cores in use: 1.01, Total efficiency (on 4 cores): 25.2 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/PGC594842-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-06T21:09:42.511031 Blob 1 of 7, id: 0, sources: 23, size: 233x209, npix 32333, brick X: 0,233, Y: 0,209, one pixel: 68 0 Blob 2 of 7, id: 2, sources: 2, size: 32x32, npix 701, brick X: 0,32, Y: 9,41, one pixel: 3 9 Blob 3 of 7, id: 3, sources: 1, size: 25x25, npix 400, brick X: 198,223, Y: 194,219, one pixel: 207 194 Blob 4 of 7, id: 4, sources: 1, size: 24x24, npix 375, brick X: 115,139, Y: 200,224, one pixel: 125 200 Blob 5 of 7, id: 1, sources: 2, size: 21x21, npix 279, brick X: 186,207, Y: 0,21, one pixel: 194 0 Blob 4 finished, total: Wall: 0.35 s, CPU: 0.35 s, VmPeak: 959 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147032 MB Blob 6 of 7, id: 6, sources: 1, size: 20x19, npix 225, brick X: 8,28, Y: 214,233, one pixel: 17 214 Blob 2 finished, total: Wall: 0.48 s, CPU: 0.48 s, VmPeak: 1015 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.146984 MB Blob 7 of 7, id: 5, sources: 1, size: 18x18, npix 180, brick X: 97,115, Y: 213,231, one pixel: 105 213 Blob 6 finished, total: Wall: 0.06 s, CPU: 0.06 s, VmPeak: 1015 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.146984 MB Blob 7 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 1015 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.146984 MB Blob 3 finished, total: Wall: 0.72 s, CPU: 0.72 s, VmPeak: 1012 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147116 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (58.17660, -39.74189), pm (20.4, -9.5), parallax 1.455 with NanoMaggies: g=14.1, r=13.7, z=13.6 Reset brightness to NanoMaggies: g=14.1, r=13.7, z=13.6 Blob 5 finished, total: Wall: 0.41 s, CPU: 0.41 s, VmPeak: 959 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147032 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.88031, ee1=-0.132727, ee2=0.135078 Measuring 3 iterative sources Blob 1 finished, total: Wall: 17.12 s, CPU: 17.12 s, VmPeak: 1011 MB, VmSize: 724 MB, VmRSS: 155 MB, VmData: 187 MB, maxrss: 0.15856 MB Old catalog: 31 New catalog: 25 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/blobs-custom-058183m39726.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/metrics/cus/all-models-custom-058183m39726.fits Stage fitblobs : Wall: 23.17 s, CPU: 6.00 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 212 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage fitblobs finished: 2020-06-06T21:10:05.682132 Resources for stage fitblobs : 19.288 s worker CPU, 19.313 s worker Wall, Wall: 23.172 s, Cores in use: 1.09, Total efficiency (on 4 cores): 27.3 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-06T21:10:05.683909 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-resid.jpg Stage coadds : Wall: 5.29 s, CPU: 4.62 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 212 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage coadds finished: 2020-06-06T21:10:10.977965 Resources for stage coadds : 2.118 s worker CPU, 2.199 s worker Wall, Wall: 5.295 s, Cores in use: 1.27, Total efficiency (on 4 cores): 31.8 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-06T21:10:10.979173 Cut to 1 unWISE tiles Reading WISE tile 0580m394 band 1 Reading WISE tile 0580m394 band 2 Reading WISE tile 0580m394 band 3 Reading WISE tile 0580m394 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 1011 MB, VmSize: 799 MB, VmRSS: 153 MB, VmData: 177 MB, maxrss: 0.217728 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 1012 MB, VmSize: 796 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.210508 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 1015 MB, VmSize: 798 MB, VmRSS: 148 MB, VmData: 177 MB, maxrss: 0.189928 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/058/0580m394/unwise-0580m394-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 959 MB, VmSize: 796 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.210404 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/tmp-legacysurvey-custom-058183m39726-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 9.24 s, CPU: 5.23 s, VmPeak: 1028 MB, VmSize: 1021 MB, VmRSS: 213 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage wise_forced finished: 2020-06-06T21:10:20.221182 Resources for stage wise_forced : 2.944 s worker CPU, 12.245 s worker Wall, Wall: 9.243 s, Cores in use: 0.88, Total efficiency (on 4 cores): 22.1 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-06T21:10:20.222604 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/coadd/cus/custom-058183m39726/legacysurvey-custom-058183m39726-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/tractor-i/cus/tractor-custom-058183m39726.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/058/PGC594842/tractor/cus/tractor-custom-058183m39726.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/058/PGC594842/tractor/cus/brick-custom-058183m39726.sha256sum Stage writecat : Wall: 4.43 s, CPU: 4.31 s, VmPeak: 1153 MB, VmSize: 1025 MB, VmRSS: 215 MB, VmData: 239 MB, maxrss: 0.454672 MB Stage writecat finished: 2020-06-06T21:10:24.652000 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 4.430 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % Stage writecat finished All done: 34.658 s worker CPU, 607.457 s worker Wall, Wall: 232.031 s, Cores in use: 0.41, Total efficiency (on 4 cores): 10.2 % Finished galaxy PGC594842 in 4.005 minutes.