Started working on galaxy PGC2756161 at Sun Jun 7 17:48:28 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 176.08804200000003 73.5094444 --width 287 --height 287 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T17:48:29.807540 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '176.08804200000003', '73.5094444', '--width', '287', '--height', '287', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-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 176.08804200000003 73.5094444 --width 287 --height 287 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 176.08804200000003 73.5094444 Starting process 4438 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057372 MB Starting process 4439 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 4440 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057372 MB Starting process 4441 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Runstage writecat Runstage wise_forced Runstage coadds Runstage fitblobs Runstage srcs Runstage fit_on_coadds Runstage halos Runstage outliers Runstage refs Runstage tims Running stage tims Running stage tims at 2020-06-07T17:48:30.126733 Keeping 17 CCDs: k4m_171125_095823_ooi_zd_ls9.fits.fz k4m_171125_095823_ooi_zd_ls9-CCD3 z exptime 108.103 propid 2016A-0453 seeing 0.78 MJD 58082.416 object MzLS_721122_z k4m_171219_075030_ooi_zd_ls9.fits.fz k4m_171219_075030_ooi_zd_ls9-CCD2 z exptime 130.102 propid 2016A-0453 seeing 1.03 MJD 58106.327 object MzLS_720760_z k4m_170521_065203_ooi_zd_ls9.fits.fz k4m_170521_065203_ooi_zd_ls9-CCD2 z exptime 135.106 propid 2016A-0453 seeing 1.16 MJD 57894.286 object MzLS_720394_z k4m_171116_100543_ooi_zd_ls9.fits.fz k4m_171116_100543_ooi_zd_ls9-CCD1 z exptime 113.104 propid 2016A-0453 seeing 0.89 MJD 58073.421 object MzLS_721480_z k4m_171219_073223_ooi_zd_ls9.fits.fz k4m_171219_073223_ooi_zd_ls9-CCD4 z exptime 110.103 propid 2016A-0453 seeing 0.97 MJD 58106.314 object MzLS_720759_z k4m_171125_095823_ooi_zd_ls9.fits.fz k4m_171125_095823_ooi_zd_ls9-CCD1 z exptime 108.103 propid 2016A-0453 seeing 0.80 MJD 58082.416 object MzLS_721122_z ksb_180519_055149_ooi_r_ls9.fits.fz ksb_180519_055149_ooi_r_ls9-CCD2 r exptime 153.187 propid NOTBASS seeing 1.76 MJD 58257.244 object 48741 ksb_180510_041900_ooi_g_ls9.fits.fz ksb_180510_041900_ooi_g_ls9-CCD1 g exptime 146.16 propid NOTBASS seeing 1.65 MJD 58248.180 object 48081 ksb_180519_055800_ooi_r_ls9.fits.fz ksb_180519_055800_ooi_r_ls9-CCD1 r exptime 124.814 propid NOTBASS seeing 1.45 MJD 58257.249 object 48081 ksb_180521_043558_ooi_r_ls9.fits.fz ksb_180521_043558_ooi_r_ls9-CCD4 r exptime 250.0 propid NOTBASS seeing 1.61 MJD 58259.192 object 48753 ksb_180418_081456_ooi_g_ls9.fits.fz ksb_180418_081456_ooi_g_ls9-CCD4 g exptime 152.234 propid BASS seeing 1.47 MJD 58226.344 object 48753 ksb_180515_043602_ooi_g_ls9.fits.fz ksb_180515_043602_ooi_g_ls9-CCD1 g exptime 139.655 propid NOTBASS seeing 1.60 MJD 58253.192 object 48082 ksb_170405_050527_ooi_r_ls9.fits.fz ksb_170405_050527_ooi_r_ls9-CCD1 r exptime 250.0 propid BASS seeing 1.43 MJD 57848.212 object 48082 ksb_180226_100508_ooi_r_ls9.fits.fz ksb_180226_100508_ooi_r_ls9-CCD2 r exptime 250.0 propid BASS seeing 1.41 MJD 58175.420 object 48743 ksb_180618_043124_ooi_r_ls9.fits.fz ksb_180618_043124_ooi_r_ls9-CCD2 r exptime 240.378 propid NOTBASS seeing 1.73 MJD 58287.188 object 48743 ksb_180418_080522_ooi_g_ls9.fits.fz ksb_180418_080522_ooi_g_ls9-CCD2 g exptime 144.522 propid BASS seeing 1.75 MJD 58226.337 object 48743 ksb_180510_042204_ooi_g_ls9.fits.fz ksb_180510_042204_ooi_g_ls9-CCD2 g exptime 199.56 propid NOTBASS seeing 1.75 MJD 58248.182 object 48741 mosaic get_fwhm: self.fwhm = 4.45 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3681 3983 and amp range 2048 4095 and image y 1495 1789 and amp range 0 2039 Range in image: x 0 303 , y 0 295 (with image size 303 x 295) dzp 0.0044767857 -> scaling image by 1.004131784351374 mosaic get_fwhm: self.fwhm = 3.41 Found 4 relevant rows in amp-corrections file. Found overlap: image x 0 129 and amp range 0 2005 and image y 1857 2152 and amp range 0 2039 Range in image: x 0 130 , y 0 183 (with image size 130 x 296) dzp 0.009508088 -> scaling image by 1.0087957299815176 Found overlap: image x 0 129 and amp range 0 2005 and image y 1857 2152 and amp range 2040 4078 Range in image: x 0 130 , y 183 296 (with image size 130 x 296) dzp 0.014419514 -> scaling image by 1.0133694453441033 mosaic get_fwhm: self.fwhm = 3.95 Found 4 relevant rows in amp-corrections file. Found overlap: image x 991 1288 and amp range 0 2047 and image y 179 476 and amp range 0 2039 Range in image: x 0 298 , y 0 298 (with image size 298 x 298) dzp 0.007023884 -> scaling image by 1.0064902069278665 mosaic get_fwhm: self.fwhm = 3.73 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1006 1302 and amp range 0 2047 and image y 3644 3942 and amp range 2022 4060 Range in image: x 0 297 , y 0 299 (with image size 297 x 299) dzp -0.016192675 -> scaling image by 0.9851966584456431 Faked up EXPNUM 82570078 Faked up EXPNUM 82570078 Faked up EXPNUM 82570078 90prime get_fwhm: self.fwhm = 3.89 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3718 3889 and amp range 2016 4031 and image y 1999 2170 and amp range 0 2047 Range in image: x 0 172 , y 0 49 (with image size 172 x 172) dzp 0.014483032 -> scaling image by 1.0134287315188357 Found overlap: image x 3718 3889 and amp range 2016 4031 and image y 1999 2170 and amp range 2048 4095 Range in image: x 0 172 , y 49 172 (with image size 172 x 172) dzp 0.019008487 -> scaling image by 1.0176616178968958 Faked up EXPNUM 82480052 Faked up EXPNUM 82480052 Faked up EXPNUM 82480052 90prime get_fwhm: self.fwhm = 3.65 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 99 and amp range 0 2015 and image y 1851 2020 and amp range 0 2047 Range in image: x 0 85 , y 0 170 (with image size 85 x 170) dzp -0.030770088 -> scaling image by 0.9720575212609548 Faked up EXPNUM 82570080 Faked up EXPNUM 82570080 Faked up EXPNUM 82570080 90prime get_fwhm: self.fwhm = 3.21 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 109 and amp range 0 2015 and image y 1853 2022 and amp range 0 2047 Range in image: x 0 95 , y 0 170 (with image size 95 x 170) dzp -0.04811793 -> scaling image by 0.9566494556405901 Faked up EXPNUM 82590042 Faked up EXPNUM 82590042 Faked up EXPNUM 82590042 90prime get_fwhm: self.fwhm = 3.55 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1769 1938 and amp range 0 2015 and image y 3588 3760 and amp range 2048 4095 Range in image: x 0 170 , y 0 173 (with image size 170 x 173) dzp 0.04491909 -> scaling image by 1.0422397564357018 mosaic get_fwhm: self.fwhm = 3.09 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2553 2841 and amp range 2006 4053 and image y 4019 4072 and amp range 2040 4078 Range in image: x 0 289 , y 0 54 (with image size 289 x 54) dzp 0.0036595785 -> scaling image by 1.003376283213225 Faked up EXPNUM 82530052 Faked up EXPNUM 82530052 Faked up EXPNUM 82530052 90prime get_fwhm: self.fwhm = 3.53 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1957 2125 and amp range 0 2015 and image y 3726 3894 and amp range 2048 4095 Range in image: x 0 59 , y 0 169 (with image size 169 x 169) dzp -0.031697065 -> scaling image by 0.9712279547101786 Found overlap: image x 1957 2125 and amp range 2016 4031 and image y 3726 3894 and amp range 2048 4095 Range in image: x 59 169 , y 0 169 (with image size 169 x 169) dzp 0.016257986 -> scaling image by 1.01508683329102 Faked up EXPNUM 78480053 Faked up EXPNUM 78480053 Faked up EXPNUM 78480053 90prime get_fwhm: self.fwhm = 3.15 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1968 2136 and amp range 0 2015 and image y 3723 3890 and amp range 2048 4095 Range in image: x 0 48 , y 0 168 (with image size 169 x 168) dzp -0.041613504 -> scaling image by 0.9623977484321999 Found overlap: image x 1968 2136 and amp range 2016 4031 and image y 3723 3890 and amp range 2048 4095 Range in image: x 48 169 , y 0 168 (with image size 169 x 168) dzp 0.02308583 -> scaling image by 1.021490500713915 mosaic get_fwhm: self.fwhm = 2.99 Faked up EXPNUM 82260106 Faked up EXPNUM 82260106 Faked up EXPNUM 82260106 90prime get_fwhm: self.fwhm = 3.25 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1773 1942 and amp range 0 2015 and image y 3579 3751 and amp range 2048 4095 Range in image: x 0 170 , y 0 173 (with image size 170 x 173) dzp 0.027550658 -> scaling image by 1.0256997821704772 Faked up EXPNUM 81750125 Faked up EXPNUM 81750125 Faked up EXPNUM 81750125 90prime get_fwhm: self.fwhm = 3.11 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1644 1816 and amp range 0 2015 and image y 15 175 and amp range 0 2047 Range in image: x 0 173 , y 0 161 (with image size 173 x 161) dzp -0.003875085 -> scaling image by 0.9964372765054066 Faked up EXPNUM 82870049 Faked up EXPNUM 82870049 Faked up EXPNUM 82870049 90prime get_fwhm: self.fwhm = 3.81 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1672 1844 and amp range 0 2015 and image y 15 149 and amp range 0 2047 Range in image: x 0 173 , y 0 135 (with image size 173 x 135) dzp -0.003875085 -> scaling image by 0.9964372765054066 Faked up EXPNUM 82260103 Faked up EXPNUM 82260103 Faked up EXPNUM 82260103 90prime get_fwhm: self.fwhm = 3.85 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1675 1847 and amp range 0 2015 and image y 15 164 and amp range 0 2047 Range in image: x 0 173 , y 0 150 (with image size 173 x 150) dzp -0.0036920775 -> scaling image by 0.9966052462302274 Faked up EXPNUM 82480053 Faked up EXPNUM 82480053 Faked up EXPNUM 82480053 90prime get_fwhm: self.fwhm = 3.87 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3711 3882 and amp range 2016 4031 and image y 1997 2168 and amp range 0 2047 Range in image: x 0 172 , y 0 51 (with image size 172 x 172) dzp 0.009189803 -> scaling image by 1.0085000434534261 Found overlap: image x 3711 3882 and amp range 2016 4031 and image y 1997 2168 and amp range 2048 4095 Range in image: x 0 172 , y 51 172 (with image size 172 x 172) dzp 0.013237011 -> scaling image by 1.012266359574015 Stage tims : Wall: 43.12 s, CPU: 0.94 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 175 MB, VmData: 209 MB, maxrss: 0.566584 MB Stage tims finished: 2020-06-07T17:49:13.244044 Resources for stage tims : 4.329 s worker CPU, 155.687 s worker Wall, Wall: 43.118 s, Cores in use: 0.12, Total efficiency (on 4 cores): 3.1 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T17:49:13.271085 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00241.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00287.fits Matched 8 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/reference-custom-176088p73509.fits Stage refs : Wall: 1.76 s, CPU: 1.38 s, VmPeak: 974 MB, VmSize: 958 MB, VmRSS: 191 MB, VmData: 224 MB, maxrss: 0.566584 MB Stage refs finished: 2020-06-07T17:49:15.029193 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.759 s, Cores in use: 0.78, Total efficiency (on 4 cores): 19.6 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T17:49:15.030624 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outlier-mask-custom-176088p73509.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outliers-pre-custom-176088p73509.jpg Image ksb_180510_041900_ooi_g_ls9-CCD1 g : masking 1199 positive outlier pixels and 0 negative outlier pixels Image ksb_180418_081456_ooi_g_ls9-CCD4 g : masking 124 positive outlier pixels and 0 negative outlier pixels Image ksb_180519_055800_ooi_r_ls9-CCD1 r : masking 1518 positive outlier pixels and 0 negative outlier pixels Image ksb_180519_055149_ooi_r_ls9-CCD2 r : masking 220 positive outlier pixels and 0 negative outlier pixels Image ksb_180521_043558_ooi_r_ls9-CCD4 r : masking 322 positive outlier pixels and 0 negative outlier pixels Image k4m_171116_100543_ooi_zd_ls9-CCD1 z : masking 780 positive outlier pixels and 0 negative outlier pixels Image k4m_171219_075030_ooi_zd_ls9-CCD2 z : masking 383 positive outlier pixels and 0 negative outlier pixels Image k4m_170521_065203_ooi_zd_ls9-CCD2 z : masking 1005 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outlier-mask-custom-176088p73509.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outliers-post-custom-176088p73509.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outliers-masked-pos-custom-176088p73509.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/outliers-masked-neg-custom-176088p73509.jpg Stage outliers : Wall: 1.19 s, CPU: 0.83 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 211 MB, VmData: 240 MB, maxrss: 0.566584 MB Stage outliers finished: 2020-06-07T17:49:16.217250 Resources for stage outliers : 1.709 s worker CPU, 1.766 s worker Wall, Wall: 1.188 s, Cores in use: 2.14, Total efficiency (on 4 cores): 53.5 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T17:49:16.218842 Stage halos : Wall: 0.18 s, CPU: 0.17 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 211 MB, VmData: 240 MB, maxrss: 0.566584 MB Stage halos finished: 2020-06-07T17:49:16.395122 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.177 s, Cores in use: 0.96, Total efficiency (on 4 cores): 23.9 % Stage halos finished Running stage fit_on_coadds Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-07T17:49:16.396574 PSF sigmas in coadd pixels: ['2.69', '2.39', '2.60', '2.84', '2.85'] Using average PSF sigma 2.6729895806681068 Gaussian PSF norm 0.10553531289986148 vs pixelized 0.08456908 average tim pixel scale / coadd scale: 1.730461025482598 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.86', '2.36', '2.61', '2.32', '2.29', '2.81'] Using average PSF sigma 2.542932307420536 Gaussian PSF norm 0.11093287499265977 vs pixelized 0.08976141 average tim pixel scale / coadd scale: 1.730456706563025 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.67', '1.88', '1.44', '1.57', '1.30'] Using average PSF sigma 1.5714519696298848 Gaussian PSF norm 0.17951219459817047 vs pixelized 0.14880677 average tim pixel scale / coadd scale: 0.9911201000284716 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.35 s, CPU: 0.27 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 214 MB, VmData: 242 MB, maxrss: 0.566584 MB Stage fit_on_coadds finished: 2020-06-07T17:49:16.744349 Resources for stage fit_on_coadds : 0.422 s worker CPU, 0.470 s worker Wall, Wall: 0.349 s, Cores in use: 1.99, Total efficiency (on 4 cores): 49.8 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T17:49:16.747630 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 15 potential peaks Of 15 potential peaks: 6 in veto map, 3 cut by saddle test, 0 cut by aper test, 6 kept SED z : 6 new peaks Found 54 potential peaks Of 54 potential peaks: 46 in veto map, 6 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 51 potential peaks Of 51 potential peaks: 38 in veto map, 9 cut by saddle test, 2 cut by aper test, 2 kept SED g : 2 new peaks Found 80 potential peaks Of 80 potential peaks: 67 in veto map, 9 cut by saddle test, 0 cut by aper test, 4 kept SED Flat : 4 new peaks Found 88 potential peaks Of 88 potential peaks: 79 in veto map, 8 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 15 new sources Median coadd sky for g : 0.0003972939 Median coadd sky for r : 0.0007779447 Median coadd sky for z : 8.504345e-05 Stage srcs : Wall: 0.65 s, CPU: 0.59 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 214 MB, VmData: 242 MB, maxrss: 0.566584 MB Stage srcs finished: 2020-06-07T17:49:17.394944 Resources for stage srcs : 0.134 s worker CPU, 0.143 s worker Wall, Wall: 0.648 s, Cores in use: 1.12, Total efficiency (on 4 cores): 28.0 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/PGC2756161-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T17:49:17.409178 Blob 1 of 6, id: 1, sources: 15, size: 241x260, npix 38831, brick X: 0,241, Y: 27,287, one pixel: 152 27 Blob 2 of 6, id: 4, sources: 2, size: 85x71, npix 4544, brick X: 202,287, Y: 216,287, one pixel: 247 216 Blob 3 of 6, id: 5, sources: 1, size: 30x30, npix 551, brick X: 180,210, Y: 235,265, one pixel: 190 235 Blob 4 of 6, id: 0, sources: 1, size: 25x26, npix 400, brick X: 5,30, Y: 21,47, one pixel: 15 21 Blob 5 of 6, id: 2, sources: 1, size: 21x24, npix 310, brick X: 226,247, Y: 41,65, one pixel: 236 41 Blob 6 of 6, id: 3, sources: 1, size: 21x22, npix 269, brick X: 218,239, Y: 80,102, one pixel: 228 80 Blob 4 finished, total: Wall: 0.21 s, CPU: 0.21 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.142956 MB Blob 5 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.142956 MB Blob 6 finished, total: Wall: 0.06 s, CPU: 0.06 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.142956 MB Blob 3 finished, total: Wall: 0.39 s, CPU: 0.39 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141328 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (176.05989, 73.52988), pm (6.0, -6.9), parallax 1.354 with NanoMaggies: g=14.5, r=14, z=13.8 Reset brightness to NanoMaggies: g=14.5, r=14, z=13.8 Measuring 2 iterative sources Blob 2 finished, total: Wall: 3.08 s, CPU: 3.08 s, VmPeak: 802 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144396 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.921311, ee1=0.0751203, ee2=0.0388481 Measuring 4 iterative sources Blob 1 finished, total: Wall: 15.70 s, CPU: 15.70 s, VmPeak: 805 MB, VmSize: 718 MB, VmRSS: 151 MB, VmData: 184 MB, maxrss: 0.16904 MB Old catalog: 23 New catalog: 23 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/blobs-custom-176088p73509.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/metrics/cus/all-models-custom-176088p73509.fits Stage fitblobs : Wall: 16.44 s, CPU: 0.34 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 216 MB, VmData: 243 MB, maxrss: 0.566584 MB Stage fitblobs finished: 2020-06-07T17:49:33.844633 Resources for stage fitblobs : 19.625 s worker CPU, 19.658 s worker Wall, Wall: 16.437 s, Cores in use: 1.21, Total efficiency (on 4 cores): 30.4 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T17:49:33.846661 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-resid.jpg Stage coadds : Wall: 1.34 s, CPU: 0.58 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 216 MB, VmData: 243 MB, maxrss: 0.566584 MB Stage coadds finished: 2020-06-07T17:49:35.182848 Resources for stage coadds : 2.172 s worker CPU, 2.232 s worker Wall, Wall: 1.337 s, Cores in use: 2.06, Total efficiency (on 4 cores): 51.6 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T17:49:35.184379 Cut to 1 unWISE tiles Reading WISE tile 1747p742 band 1 Reading WISE tile 1747p742 band 2 Reading WISE tile 1747p742 band 4 Reading WISE tile 1747p742 band 3 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.08 s, CPU: 0.08 s, VmPeak: 806 MB, VmSize: 796 MB, VmRSS: 148 MB, VmData: 177 MB, maxrss: 0.193312 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w3-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: 805 MB, VmSize: 795 MB, VmRSS: 154 MB, VmData: 177 MB, maxrss: 0.216392 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-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: 804 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 173 MB, maxrss: 0.20858 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/174/1747p742/unwise-1747p742-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: 802 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.209076 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/tmp-legacysurvey-custom-176088p73509-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.18 s, CPU: 0.42 s, VmPeak: 974 MB, VmSize: 968 MB, VmRSS: 217 MB, VmData: 243 MB, maxrss: 0.566584 MB Stage wise_forced finished: 2020-06-07T17:49:37.364599 Resources for stage wise_forced : 4.961 s worker CPU, 5.899 s worker Wall, Wall: 2.181 s, Cores in use: 2.47, Total efficiency (on 4 cores): 61.7 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T17:49:37.366381 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/coadd/cus/custom-176088p73509/legacysurvey-custom-176088p73509-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/tractor-i/cus/tractor-custom-176088p73509.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/176/PGC2756161/tractor/cus/tractor-custom-176088p73509.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/176/PGC2756161/tractor/cus/brick-custom-176088p73509.sha256sum Stage writecat : Wall: 0.81 s, CPU: 0.49 s, VmPeak: 1100 MB, VmSize: 972 MB, VmRSS: 219 MB, VmData: 243 MB, maxrss: 0.566584 MB Stage writecat finished: 2020-06-07T17:49:38.180624 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 0.815 s, Cores in use: 0.60, Total efficiency (on 4 cores): 14.9 % Stage writecat finished All done: 33.355 s worker CPU, 185.858 s worker Wall, Wall: 68.058 s, Cores in use: 0.58, Total efficiency (on 4 cores): 14.5 % Finished galaxy PGC2756161 in 1.166 minutes.