Started working on galaxy PGC406138 at Sun Jun 7 08:20:33 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 336.30491700000005 -55.773999999999994 --width 239 --height 239 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138 --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/336/PGC406138/PGC406138-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T08:20:34.726291 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '336.30491700000005', '-55.773999999999994', '--width', '239', '--height', '239', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138', '--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/336/PGC406138/PGC406138-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-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 336.30491700000005 -55.773999999999994 --width 239 --height 239 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138 --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/336/PGC406138/PGC406138-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 336.30491700000005 -55.773999999999994 Starting process 62104 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 62105 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 62106 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 62107 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Runstage writecat Runstage wise_forced Runstage coadds Runstage fitblobs Runstage srcs Runstage fit_on_coadds Runstage halos Runstage outliers Runstage refs Runstage tims Running stage tims Running stage tims at 2020-06-07T08:20:39.638670 Keeping 22 CCDs: c4d_140915_032043_ooi_r_ls9.fits.fz c4d_140915_032043_ooi_r_ls9-N23 r exptime 90.0 propid 2012B-0001 seeing 1.47 MJD 56915.138 object DES survey hex -240-552 tiling 1 c4d_131213_010910_ooi_z_ls9.fits.fz c4d_131213_010910_ooi_z_ls9-N23 z exptime 90.0 propid 2012B-0001 seeing 0.92 MJD 56639.046 object DES survey hex -240-552 tiling 1 c4d_130903_052045_ooi_g_ls9.fits.fz c4d_130903_052045_ooi_g_ls9-N23 g exptime 90.0 propid 2012B-0001 seeing 1.16 MJD 56538.223 object DES survey hex -240-552 tiling 1 c4d_130902_031047_ooi_g_ls9.fits.fz c4d_130902_031047_ooi_g_ls9-S27 g exptime 90.0 propid 2012B-0001 seeing 1.64 MJD 56537.132 object DES survey hex -243-572 tiling 4 c4d_130908_045149_ooi_g_ls9.fits.fz c4d_130908_045149_ooi_g_ls9-S27 g exptime 90.0 propid 2012B-0001 seeing 1.24 MJD 56543.203 object DES survey hex -243-572 tiling 4 c4d_131004_020133_ooi_r_ls9.fits.fz c4d_131004_020133_ooi_r_ls9-S27 r exptime 90.0 propid 2012B-0001 seeing 1.24 MJD 56569.084 object DES survey hex -243-572 tiling 4 c4d_160928_025233_ooi_g_ls9.fits.fz c4d_160928_025233_ooi_g_ls9-N1 g exptime 90.0 propid 2012B-0001 seeing 1.12 MJD 57659.118 object DES survey hex -213-562 tiling 6 c4d_160929_022100_ooi_z_ls9.fits.fz c4d_160929_022100_ooi_z_ls9-N1 z exptime 90.0 propid 2012B-0001 seeing 0.98 MJD 57660.096 object DES survey hex -213-562 tiling 6 c4d_160928_025037_ooi_r_ls9.fits.fz c4d_160928_025037_ooi_r_ls9-N1 r exptime 90.0 propid 2012B-0001 seeing 1.03 MJD 57659.117 object DES survey hex -213-562 tiling 6 c4d_161003_015834_ooi_g_ls9.fits.fz c4d_161003_015834_ooi_g_ls9-S7 g exptime 90.0 propid 2012B-0001 seeing 1.36 MJD 57664.081 object DES survey hex -270-562 tiling 7 c4d_161003_015639_ooi_r_ls9.fits.fz c4d_161003_015639_ooi_r_ls9-S7 r exptime 90.0 propid 2012B-0001 seeing 1.13 MJD 57664.079 object DES survey hex -270-562 tiling 7 c4d_170902_040531_ooi_z_v1.fits.fz c4d_170902_040531_ooi_z_v1-S7 z exptime 90.0 propid 2012B-0001 seeing 0.95 MJD 57998.171 object DES survey hex -270-562 tiling 7 c4d_131012_034519_ooi_z_ls9.fits.fz c4d_131012_034519_ooi_z_ls9-N2 z exptime 90.0 propid 2012B-0001 seeing 0.85 MJD 56577.156 object DES survey hex -213-562 tiling 2 c4d_170926_022406_ooi_z_v1.fits.fz c4d_170926_022406_ooi_z_v1-N18 z exptime 90.0 propid 2012B-0001 seeing 0.88 MJD 58022.100 object DES survey hex -240-552 tiling 8 c4d_170924_025158_ooi_r_v1.fits.fz c4d_170924_025158_ooi_r_v1-N18 r exptime 90.0 propid 2012B-0001 seeing 0.80 MJD 58020.119 object DES survey hex -240-552 tiling 8 c4d_170924_025357_ooi_g_v1.fits.fz c4d_170924_025357_ooi_g_v1-N18 g exptime 90.0 propid 2012B-0001 seeing 0.87 MJD 58020.121 object DES survey hex -240-552 tiling 8 c4d_130905_012545_ooi_g_ls9.fits.fz c4d_130905_012545_ooi_g_ls9-S13 g exptime 90.0 propid 2012B-0001 seeing 1.41 MJD 56540.060 object DES survey hex -240-552 tiling 3 c4d_131121_014400_ooi_r_ls9.fits.fz c4d_131121_014400_ooi_r_ls9-S13 r exptime 90.0 propid 2012B-0001 seeing 1.28 MJD 56617.072 object DES survey hex -240-552 tiling 3 c4d_131207_011356_ooi_z_ls9.fits.fz c4d_131207_011356_ooi_z_ls9-S13 z exptime 90.0 propid 2012B-0001 seeing 0.75 MJD 56633.050 object DES survey hex -240-552 tiling 3 c4d_180915_060653_ooi_g_v1.fits.fz c4d_180915_060653_ooi_g_v1-N31 g exptime 90.0 propid 2012B-0001 seeing 1.61 MJD 58376.255 object DES survey hex -240-552 tiling 10 c4d_180915_060455_ooi_r_v1.fits.fz c4d_180915_060455_ooi_r_v1-N31 r exptime 90.0 propid 2012B-0001 seeing 1.81 MJD 58376.253 object DES survey hex -240-552 tiling 10 c4d_181018_012945_ooi_z_v1.fits.fz c4d_181018_012945_ooi_z_v1-N31 z exptime 90.0 propid 2012B-0001 seeing 0.84 MJD 58409.062 object DES survey hex -240-552 tiling 10 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9615034-r-20140915T031823_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_960fe80-z-20131213T010648_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9633379-g-20130908T045149_oi[S27,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9631ab1-g-20130902T031047_oi[S27,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962bb1a-g-20160928T025013_oi[N1,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962c093-z-20160929T021839_oi[N1,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_96324a3-g-20130903T052045_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962d087-r-20160928T024814_oi[N1,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20170922_8faaec5-z-20170926T022406_oi[N18,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20170922_8faaec5-r-20170924T025158_oi[N18,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9634008-r-20131004T020133_oi[S27,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_963539b-r-20131121T014400_oi[S13,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9632a66-z-20131012T034519_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9636666-z-20131207T011134_oi[S13,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20180914_92a89f0-g-20180915T060653_oi[N31,noinherit][2046,4094][real]: DE Zeroing out 0 weight-map pixels below quantization error (= median 4.51e-06) The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20170922_8faaec5-g-20170924T025357_oi[N18,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20180914_92a89f0-r-20180915T060455_oi[N31,noinherit][2046,4094][real]: DE Zeroing out 0 weight-map pixels below quantization error (= median 5.72e-05) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9632e5d-g-20130905T012545_oi[S13,noinherit][2046,4094][real]: DES sur Zeroing out 3360 weight-map pixels below quantization error (= median 0.000264) The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20181017_92f9aa3-z-20181018T012945_oi[N31,noinherit][2046,4094][real]: DE Stage tims : Wall: 179.95 s, CPU: 6.27 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 180 MB, VmData: 214 MB, maxrss: 0.45462 MB Stage tims finished: 2020-06-07T08:23:39.587686 Zeroing out 0 weight-map pixels below quantization error (= median 0.000263) Zeroing out 3360 weight-map pixels below quantization error (= median 5.11e-05) WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_96324a3-g-20130903T052045_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: DES17B_20170922_8faaec5-z-20170926T022406_oi[N18,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20170922_8faaec5-g-20170924T025357_oi[N18,noinherit][2046,4094][real]: DE [astropy.io.fits.card] Zeroing out 3840 weight-map pixels below quantization error (= median 2.48e-06) WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9615034-r-20140915T031823_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_9634008-r-20131004T020133_oi[S27,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_963539b-r-20131121T014400_oi[S13,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_9636666-z-20131207T011134_oi[S13,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20180914_92a89f0-r-20180915T060455_oi[N31,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_960fe80-z-20131213T010648_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_9633379-g-20130908T045149_oi[S27,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_962bb1a-g-20160928T025013_oi[N1,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_962d087-r-20160928T024814_oi[N1,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_20170922_8faaec5-r-20170924T025158_oi[N18,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_9632e5d-g-20130905T012545_oi[S13,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_9631ab1-g-20130902T031047_oi[S27,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_962c093-z-20160929T021839_oi[N1,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_9632a66-z-20131012T034519_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: DES18B_20180914_92a89f0-g-20180915T060653_oi[N31,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20181017_92f9aa3-z-20181018T012945_oi[N31,noinherit][2046,4094][real]: DE [astropy.io.fits.card] Resources for stage tims : 6.211 s worker CPU, 683.837 s worker Wall, Wall: 179.950 s, Cores in use: 0.07, Total efficiency (on 4 cores): 1.7 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T08:23:39.937722 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-11177.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-11269.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-11358.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-11270.fits Matched 22 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/reference-custom-336304m55773.fits Stage refs : Wall: 7.48 s, CPU: 6.88 s, VmPeak: 1028 MB, VmSize: 1022 MB, VmRSS: 206 MB, VmData: 238 MB, maxrss: 0.45462 MB Stage refs finished: 2020-06-07T08:23:47.412947 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 7.476 s, Cores in use: 0.92, Total efficiency (on 4 cores): 23.0 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T08:23:47.414428 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outlier-mask-custom-336304m55773.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outliers-pre-custom-336304m55773.jpg Image c4d_160928_025233_ooi_g_ls9-N1 g : masking 166 positive outlier pixels and 0 negative outlier pixels Image c4d_180915_060653_ooi_g_v1-N31 g : masking 206 positive outlier pixels and 0 negative outlier pixels Image c4d_131012_034519_ooi_z_ls9-N2 z : masking 544 positive outlier pixels and 0 negative outlier pixels Image c4d_170926_022406_ooi_z_v1-N18 z : masking 105 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outlier-mask-custom-336304m55773.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outliers-post-custom-336304m55773.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outliers-masked-pos-custom-336304m55773.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/outliers-masked-neg-custom-336304m55773.jpg Stage outliers : Wall: 7.22 s, CPU: 6.98 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 217 MB, VmData: 248 MB, maxrss: 0.45462 MB Stage outliers finished: 2020-06-07T08:23:54.638961 Resources for stage outliers : 1.244 s worker CPU, 1.273 s worker Wall, Wall: 7.226 s, Cores in use: 1.14, Total efficiency (on 4 cores): 28.5 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T08:23:54.640718 Stage halos : Wall: 10.45 s, CPU: 5.90 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 218 MB, VmData: 248 MB, maxrss: 0.45462 MB Stage halos finished: 2020-06-07T08:24:05.092184 Resources for stage halos : 0.850 s worker CPU, 17.182 s worker Wall, Wall: 10.453 s, Cores in use: 0.65, Total efficiency (on 4 cores): 16.2 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T08:24:05.094141 PSF sigmas in coadd pixels: ['1.89', '2.66', '2.01', '1.82', '1.42', '2.29', '2.61'] Using average PSF sigma 2.1001732619090347 Gaussian PSF norm 0.1343197710828187 vs pixelized 0.11659882 average tim pixel scale / coadd scale: 1.0010442773825738 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.39', '2.02', '1.67', '1.30', '2.07', '2.95'] Using average PSF sigma 2.0669066364453808 Gaussian PSF norm 0.13648163240649244 vs pixelized 0.12037892 average tim pixel scale / coadd scale: 1.0010536583691465 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.49', '1.60', '1.38', '1.42', '1.21', '1.36'] Using average PSF sigma 1.4098936422185042 Gaussian PSF norm 0.20008232062809697 vs pixelized 0.16458839 average tim pixel scale / coadd scale: 1.0009867084507638 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.46 s, CPU: 0.24 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 221 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage fit_on_coadds finished: 2020-06-07T08:24:05.555982 Resources for stage fit_on_coadds : 0.260 s worker CPU, 0.269 s worker Wall, Wall: 0.463 s, Cores in use: 1.07, Total efficiency (on 4 cores): 26.8 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T08:24:05.559535 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 153 potential peaks Of 153 potential peaks: 132 in veto map, 7 cut by saddle test, 0 cut by aper test, 14 kept SED z : 14 new peaks Found 76 potential peaks Of 76 potential peaks: 66 in veto map, 8 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 64 potential peaks Of 64 potential peaks: 57 in veto map, 7 cut by saddle test, 0 cut by aper test, 0 kept SED g : 0 new peaks Found 91 potential peaks Of 91 potential peaks: 84 in veto map, 7 cut by saddle test, 0 cut by aper test, 0 kept SED Flat : 0 new peaks Found 144 potential peaks Of 144 potential peaks: 134 in veto map, 10 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 16 new sources Median coadd sky for g : 0.00019064172 Median coadd sky for r : 0.0005158827 Median coadd sky for z : 0.000950764 Stage srcs : Wall: 5.46 s, CPU: 5.43 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 221 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage srcs finished: 2020-06-07T08:24:11.022501 Resources for stage srcs : 0.087 s worker CPU, 0.096 s worker Wall, Wall: 5.464 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/336/PGC406138/PGC406138-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/PGC406138-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T08:24:11.033540 Blob 1 of 6, id: 4, sources: 15, size: 235x214, npix 35291, brick X: 4,239, Y: 25,239, one pixel: 117 25 Blob 2 of 6, id: 3, sources: 2, size: 44x51, npix 1659, brick X: 0,44, Y: 8,59, one pixel: 14 8 Blob 3 of 6, id: 0, sources: 1, size: 42x38, npix 1032, brick X: 38,80, Y: 0,38, one pixel: 45 0 Blob 4 of 6, id: 1, sources: 1, size: 26x22, npix 381, brick X: 117,143, Y: 0,22, one pixel: 126 0 Blob 5 of 6, id: 5, sources: 1, size: 20x19, npix 218, brick X: 152,172, Y: 25,44, one pixel: 160 25 Blob 4 finished, total: Wall: 0.73 s, CPU: 0.73 s, VmPeak: 1017 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.146844 MB Blob 6 of 6, id: 2, sources: 1, size: 20x19, npix 217, brick X: 203,223, Y: 2,21, one pixel: 211 2 Blob 3 finished, total: Wall: 0.87 s, CPU: 0.87 s, VmPeak: 1022 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.14668 MB Blob 2 finished, total: Wall: 0.97 s, CPU: 0.97 s, VmPeak: 1015 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.14694 MB Blob 5 finished, total: Wall: 0.34 s, CPU: 0.34 s, VmPeak: 1017 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.146844 MB Blob 6 finished, total: Wall: 0.28 s, CPU: 0.28 s, VmPeak: 1022 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.14668 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.08843, ee1=0.0127643, ee2=-0.0856198 Measuring 17 iterative sources Blob 1 finished, total: Wall: 28.19 s, CPU: 28.19 s, VmPeak: 1018 MB, VmSize: 725 MB, VmRSS: 156 MB, VmData: 188 MB, maxrss: 0.15968 MB Old catalog: 26 New catalog: 37 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/blobs-custom-336304m55773.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/metrics/cus/all-models-custom-336304m55773.fits Stage fitblobs : Wall: 34.39 s, CPU: 6.15 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 223 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage fitblobs finished: 2020-06-07T08:24:45.427863 Resources for stage fitblobs : 31.485 s worker CPU, 31.505 s worker Wall, Wall: 34.396 s, Cores in use: 1.09, Total efficiency (on 4 cores): 27.4 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T08:24:45.429738 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-resid.jpg Stage coadds : Wall: 7.11 s, CPU: 5.66 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 223 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage coadds finished: 2020-06-07T08:24:52.540613 Resources for stage coadds : 2.776 s worker CPU, 2.849 s worker Wall, Wall: 7.112 s, Cores in use: 1.19, Total efficiency (on 4 cores): 29.7 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T08:24:52.542145 Cut to 1 unWISE tiles Reading WISE tile 3359m561 band 1 Reading WISE tile 3359m561 band 2 Reading WISE tile 3359m561 band 3 Reading WISE tile 3359m561 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-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: 1015 MB, VmSize: 798 MB, VmRSS: 149 MB, VmData: 177 MB, maxrss: 0.19142 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-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: 1017 MB, VmSize: 796 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.210696 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-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: 1018 MB, VmSize: 802 MB, VmRSS: 157 MB, VmData: 181 MB, maxrss: 0.221444 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/335/3359m561/unwise-3359m561-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: 1022 MB, VmSize: 795 MB, VmRSS: 146 MB, VmData: 174 MB, maxrss: 0.21006 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/tmp-legacysurvey-custom-336304m55773-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 9.59 s, CPU: 5.87 s, VmPeak: 1031 MB, VmSize: 1031 MB, VmRSS: 224 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage wise_forced finished: 2020-06-07T08:25:02.131709 Resources for stage wise_forced : 3.589 s worker CPU, 7.697 s worker Wall, Wall: 9.591 s, Cores in use: 0.99, Total efficiency (on 4 cores): 24.6 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T08:25:02.133611 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/coadd/cus/custom-336304m55773/legacysurvey-custom-336304m55773-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/tractor-i/cus/tractor-custom-336304m55773.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/336/PGC406138/tractor/cus/tractor-custom-336304m55773.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/336/PGC406138/tractor/cus/brick-custom-336304m55773.sha256sum Stage writecat : Wall: 5.77 s, CPU: 5.51 s, VmPeak: 1163 MB, VmSize: 1035 MB, VmRSS: 226 MB, VmData: 250 MB, maxrss: 0.45462 MB Stage writecat finished: 2020-06-07T08:25:07.901440 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 5.769 s, Cores in use: 0.96, Total efficiency (on 4 cores): 23.9 % Stage writecat finished All done: 46.504 s worker CPU, 744.710 s worker Wall, Wall: 268.268 s, Cores in use: 0.38, Total efficiency (on 4 cores): 9.5 % Finished galaxy PGC406138 in 4.572 minutes.