Started working on galaxy NGC6650 at Sun Jun 7 18:08:07 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 276.366291 68.00577779999999 --width 423 --height 423 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650 --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/276/NGC6650/NGC6650-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:08:08.281630 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '276.366291', '68.00577779999999', '--width', '423', '--height', '423', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650', '--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/276/NGC6650/NGC6650-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-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 276.366291 68.00577779999999 --width 423 --height 423 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650 --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/276/NGC6650/NGC6650-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 276.366291 68.00577779999999 Starting process 35382 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 35384 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 35386 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 35388 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-07T18:08:08.756199 Keeping 15 CCDs: k4m_171007_043230_ooi_zd_ls9.fits.fz k4m_171007_043230_ooi_zd_ls9-CCD3 z exptime 98.104 propid 2016A-0453 seeing 0.79 MJD 58033.189 object MzLS_709539_z k4m_171002_051054_ooi_zd_ls9.fits.fz k4m_171002_051054_ooi_zd_ls9-CCD2 z exptime 107.104 propid 2016A-0453 seeing 1.11 MJD 58028.216 object MzLS_709065_z k4m_171007_043230_ooi_zd_ls9.fits.fz k4m_171007_043230_ooi_zd_ls9-CCD1 z exptime 98.104 propid 2016A-0453 seeing 0.85 MJD 58033.189 object MzLS_709539_z k4m_171124_022824_ooi_zd_ls9.fits.fz k4m_171124_022824_ooi_zd_ls9-CCD4 z exptime 131.103 propid 2016A-0453 seeing 0.76 MJD 58081.103 object MzLS_708587_z k4m_171123_025709_ooi_zd_ls9.fits.fz k4m_171123_025709_ooi_zd_ls9-CCD2 z exptime 218.101 propid 2016A-0453 seeing 1.00 MJD 58080.123 object MzLS_708588_z ksb_180521_095400_ooi_r_ls9.fits.fz ksb_180521_095400_ooi_r_ls9-CCD3 r exptime 123.022 propid NOTBASS seeing 1.86 MJD 58259.413 object 44793 ksb_180722_071127_ooi_g_ls9.fits.fz ksb_180722_071127_ooi_g_ls9-CCD3 g exptime 250.0 propid NOTBASS seeing 1.74 MJD 58321.300 object 44793 ksb_180522_094320_ooi_r_ls9.fits.fz ksb_180522_094320_ooi_r_ls9-CCD2 r exptime 121.44 propid NOTBASS seeing 1.64 MJD 58260.405 object 44782 ksb_180517_095716_ooi_g_ls9.fits.fz ksb_180517_095716_ooi_g_ls9-CCD2 g exptime 134.698 propid NOTBASS seeing 1.49 MJD 58255.415 object 44782 ksb_180715_052140_ooi_g_ls9.fits.fz ksb_180715_052140_ooi_g_ls9-CCD3 g exptime 145.555 propid NOTBASS seeing 1.25 MJD 58314.223 object 44791 ksb_180510_104944_ooi_r_ls9.fits.fz ksb_180510_104944_ooi_r_ls9-CCD3 r exptime 85.36 propid NOTBASS seeing 1.22 MJD 58248.451 object 44791 ksb_180715_052140_ooi_g_ls9.fits.fz ksb_180715_052140_ooi_g_ls9-CCD4 g exptime 145.555 propid NOTBASS seeing 1.24 MJD 58314.223 object 44791 ksb_180510_104944_ooi_r_ls9.fits.fz ksb_180510_104944_ooi_r_ls9-CCD4 r exptime 85.36 propid NOTBASS seeing 1.17 MJD 58248.451 object 44791 ksb_180522_100740_ooi_r_ls9.fits.fz ksb_180522_100740_ooi_r_ls9-CCD4 r exptime 175.526 propid NOTBASS seeing 1.59 MJD 58260.422 object 44792 ksb_180517_100622_ooi_g_ls9.fits.fz ksb_180517_100622_ooi_g_ls9-CCD4 g exptime 169.191 propid NOTBASS seeing 1.46 MJD 58255.421 object 44792 mosaic get_fwhm: self.fwhm = 3.27 Found 4 relevant rows in amp-corrections file. mosaic get_fwhm: self.fwhm = 3.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2037 2464 and amp range 2006 4053 and image y 7 169 and amp range 0 2039 Range in image: x 0 428 , y 0 163 (with image size 428 x 163) Found overlap: image x 2029 2455 and amp range 2006 4053 and image y 4035 4072 and amp range 2040 4078 dzp -0.006757846 -> scaling image by 0.993795123967763 Range in image: x 0 427 , y 0 38 (with image size 427 x 38) dzp 0.0036595785 -> scaling image by 1.003376283213225 mosaic get_fwhm: self.fwhm = 4.27 Found 4 relevant rows in amp-corrections file. Found overlap: image x 471 897 and amp range 0 2047 and image y 3132 3558 and amp range 2040 4078 Range in image: x 0 427 , y 0 427 (with image size 427 x 427) dzp 0.003927584 -> scaling image by 1.0036239891963392 mosaic get_fwhm: self.fwhm = 2.93 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3249 3697 and amp range 2048 4095 and image y 3767 4054 and amp range 2022 4060 Range in image: x 0 449 , y 0 288 (with image size 449 x 288) dzp -0.019603321 -> scaling image by 0.9821066946375949 mosaic get_fwhm: self.fwhm = 3.87 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3189 3633 and amp range 2048 4095 and image y 271 713 and amp range 0 2039 Range in image: x 0 445 , y 0 443 (with image size 445 x 443) dzp -0.012875672 -> scaling image by 0.9882111074411305 Faked up EXPNUM 82590127 Faked up EXPNUM 82590127 Faked up EXPNUM 82590127 90prime get_fwhm: self.fwhm = 4.11 WARNING: image median 0.024796404 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 1963 2210 and amp range 0 2015 and image y 20 267 and amp range 0 2047 Range in image: x 0 53 , y 0 248 (with image size 248 x 248) dzp -0.039144866 -> scaling image by 0.9645884414840357 Found overlap: image x 1963 2210 and amp range 2016 4031 and image y 20 267 and amp range 0 2047 Range in image: x 53 248 , y 0 248 (with image size 248 x 248) dzp 0.0057031885 -> scaling image by 1.00526665101287 Faked up EXPNUM 83210084 Faked up EXPNUM 83210084 Faked up EXPNUM 83210084 90prime get_fwhm: self.fwhm = 3.83 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1978 2225 and amp range 0 2015 and image y 15 262 and amp range 0 2047 Range in image: x 0 38 , y 0 248 (with image size 248 x 248) dzp -0.03692675 -> scaling image by 0.9665610717922232 Found overlap: image x 1978 2225 and amp range 2016 4031 and image y 15 262 and amp range 0 2047 Range in image: x 38 248 , y 0 248 (with image size 248 x 248) dzp -0.0012233759 -> scaling image by 0.9988738637196966 Faked up EXPNUM 82600082 Faked up EXPNUM 82600082 Faked up EXPNUM 82600082 90prime get_fwhm: self.fwhm = 3.61 WARNING: image median 0.026250197 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 1653 1905 and amp range 0 2015 and image y 474 729 and amp range 0 2047 Range in image: x 0 253 , y 0 256 (with image size 253 x 256) dzp -0.003875085 -> scaling image by 0.9964372765054066 Faked up EXPNUM 82550140 Faked up EXPNUM 82550140 Faked up EXPNUM 82550140 90prime get_fwhm: self.fwhm = 3.29 WARNING: image median 0.012494314 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 1641 1894 and amp range 0 2015 and image y 491 746 and amp range 0 2047 Range in image: x 0 254 , y 0 256 (with image size 254 x 256) dzp -0.0036920775 -> scaling image by 0.9966052462302274 Faked up EXPNUM 83140043 Faked up EXPNUM 83140043 Faked up EXPNUM 83140043 90prime get_fwhm: self.fwhm = 2.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3974 4016 and amp range 2016 4031 and image y 1970 2215 and amp range 0 2047 Range in image: x 0 43 , y 0 78 (with image size 43 x 246) dzp -0.0012233759 -> scaling image by 0.9988738637196966 Found overlap: image x 3974 4016 and amp range 2016 4031 and image y 1970 2215 and amp range 2048 4095 Range in image: x 0 43 , y 78 246 (with image size 43 x 246) dzp -0.01723723 -> scaling image by 0.9842492857213068 Faked up EXPNUM 82480189 Faked up EXPNUM 82480189 Faked up EXPNUM 82480189 90prime get_fwhm: self.fwhm = 2.69 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3978 4016 and amp range 2016 4031 and image y 1976 2221 and amp range 0 2047 Range in image: x 0 39 , y 0 72 (with image size 39 x 246) dzp 0.0057031885 -> scaling image by 1.00526665101287 Found overlap: image x 3978 4016 and amp range 2016 4031 and image y 1976 2221 and amp range 2048 4095 Range in image: x 0 39 , y 72 246 (with image size 39 x 246) dzp -0.0072602304 -> scaling image by 0.9933353884052984 Faked up EXPNUM 83140043 Faked up EXPNUM 83140043 Faked up EXPNUM 83140043 90prime get_fwhm: self.fwhm = 2.73 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 50 and amp range 0 2015 and image y 1954 2199 and amp range 0 2047 Range in image: x 0 36 , y 0 94 (with image size 36 x 246) dzp 0.0059804036 -> scaling image by 1.0055233530762397 Found overlap: image x 15 50 and amp range 0 2015 and image y 1954 2199 and amp range 2048 4095 Range in image: x 0 36 , y 94 246 (with image size 36 x 246) dzp 0.027550658 -> scaling image by 1.0256997821704772 Faked up EXPNUM 82480189 Faked up EXPNUM 82480189 Faked up EXPNUM 82480189 90prime get_fwhm: self.fwhm = 2.57 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 54 and amp range 0 2015 and image y 1961 2206 and amp range 0 2047 Range in image: x 0 40 , y 0 87 (with image size 40 x 246) dzp 0.014080205 -> scaling image by 1.0130528017623828 Found overlap: image x 15 54 and amp range 0 2015 and image y 1961 2206 and amp range 2048 4095 Range in image: x 0 40 , y 87 246 (with image size 40 x 246) dzp 0.04491909 -> scaling image by 1.0422397564357018 Faked up EXPNUM 82550143 Faked up EXPNUM 82550143 Faked up EXPNUM 82550143 90prime get_fwhm: self.fwhm = 3.21 WARNING: image median 0.014362276 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 1783 2030 and amp range 0 2015 and image y 3910 4080 and amp range 2048 4095 Range in image: x 0 233 , y 0 171 (with image size 248 x 171) dzp 0.027550658 -> scaling image by 1.0256997821704772 Found overlap: image x 1783 2030 and amp range 2016 4031 and image y 3910 4080 and amp range 2048 4095 Range in image: x 233 248 , y 0 171 (with image size 248 x 171) dzp 0.016666532 -> scaling image by 1.0154688660729452 Faked up EXPNUM 82600090 Faked up EXPNUM 82600090 Faked up EXPNUM 82600090 90prime get_fwhm: self.fwhm = 3.51 WARNING: image median 0.028960802 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 1766 2012 and amp range 0 2015 and image y 3907 4080 and amp range 2048 4095 Range in image: x 0 247 , y 0 174 (with image size 247 x 174) dzp 0.04491909 -> scaling image by 1.0422397564357018 Stage tims : Wall: 7.57 s, CPU: 0.92 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 179 MB, VmData: 212 MB, maxrss: 0.56658 MB Stage tims finished: 2020-06-07T18:08:16.324368 Resources for stage tims : 4.102 s worker CPU, 22.000 s worker Wall, Wall: 7.570 s, Cores in use: 0.66, Total efficiency (on 4 cores): 16.6 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T18:08:16.356312 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00529.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00466.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00465.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00406.fits Matched 1 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/reference-custom-276366p68005.fits Stage refs : Wall: 4.80 s, CPU: 3.49 s, VmPeak: 985 MB, VmSize: 978 MB, VmRSS: 216 MB, VmData: 248 MB, maxrss: 0.56658 MB Stage refs finished: 2020-06-07T18:08:21.151794 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 4.796 s, Cores in use: 0.73, Total efficiency (on 4 cores): 18.2 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T18:08:21.153330 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outlier-mask-custom-276366p68005.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outliers-pre-custom-276366p68005.jpg Image ksb_180715_052140_ooi_g_ls9-CCD3 g : masking 301 positive outlier pixels and 0 negative outlier pixels Image ksb_180517_095716_ooi_g_ls9-CCD2 g : masking 129 positive outlier pixels and 0 negative outlier pixels Image ksb_180522_100740_ooi_r_ls9-CCD4 r : masking 114 positive outlier pixels and 0 negative outlier pixels Image k4m_171007_043230_ooi_zd_ls9-CCD1 z : masking 0 positive outlier pixels and 560 negative outlier pixels Image k4m_171007_043230_ooi_zd_ls9-CCD3 z : masking 1332 positive outlier pixels and 919 negative outlier pixels Image k4m_171002_051054_ooi_zd_ls9-CCD2 z : masking 36641 positive outlier pixels and 306 negative outlier pixels Image k4m_171124_022824_ooi_zd_ls9-CCD4 z : masking 6573 positive outlier pixels and 10581 negative outlier pixels Image k4m_171123_025709_ooi_zd_ls9-CCD2 z : masking 1681 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outlier-mask-custom-276366p68005.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outliers-post-custom-276366p68005.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outliers-masked-pos-custom-276366p68005.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/outliers-masked-neg-custom-276366p68005.jpg Stage outliers : Wall: 2.06 s, CPU: 1.24 s, VmPeak: 988 MB, VmSize: 988 MB, VmRSS: 246 MB, VmData: 275 MB, maxrss: 0.56658 MB Stage outliers finished: 2020-06-07T18:08:23.216165 Resources for stage outliers : 3.181 s worker CPU, 3.265 s worker Wall, Wall: 2.064 s, Cores in use: 2.14, Total efficiency (on 4 cores): 53.6 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T18:08:23.218121 Stage halos : Wall: 0.39 s, CPU: 0.37 s, VmPeak: 988 MB, VmSize: 988 MB, VmRSS: 246 MB, VmData: 275 MB, maxrss: 0.56658 MB Stage halos finished: 2020-06-07T18:08:23.604683 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.388 s, Cores in use: 0.96, Total efficiency (on 4 cores): 24.0 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T18:08:23.606680 PSF sigmas in coadd pixels: ['2.82', '2.42', '2.02', '2.01', '2.36'] Using average PSF sigma 2.328227842632198 Gaussian PSF norm 0.12116288045716071 vs pixelized 0.09775184 average tim pixel scale / coadd scale: 1.7303574114028393 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-copsf-g.fits.fz PSF sigmas in coadd pixels: ['3.03', '2.66', '1.98', '1.89', '2.59'] Using average PSF sigma 2.4286200735120818 Gaussian PSF norm 0.11615435236271213 vs pixelized 0.087502174 average tim pixel scale / coadd scale: 1.730509013477855 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.28', '1.80', '1.38', '1.24', '1.63'] Using average PSF sigma 1.4650642572957775 Gaussian PSF norm 0.19254772640114096 vs pixelized 0.15370367 average tim pixel scale / coadd scale: 0.9910435791710348 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.52 s, CPU: 0.47 s, VmPeak: 988 MB, VmSize: 988 MB, VmRSS: 247 MB, VmData: 275 MB, maxrss: 0.56658 MB Stage fit_on_coadds finished: 2020-06-07T18:08:24.123816 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 fit_on_coadds : 0.945 s worker CPU, 1.039 s worker Wall, Wall: 0.518 s, Cores in use: 2.72, Total efficiency (on 4 cores): 68.1 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T18:08:24.127376 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 231 potential peaks Of 231 potential peaks: 169 in veto map, 15 cut by saddle test, 0 cut by aper test, 47 kept SED z : 47 new peaks Found 339 potential peaks Of 339 potential peaks: 323 in veto map, 11 cut by saddle test, 0 cut by aper test, 5 kept SED r : 5 new peaks Found 447 potential peaks Of 447 potential peaks: 433 in veto map, 13 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 512 potential peaks Of 512 potential peaks: 493 in veto map, 13 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 967 potential peaks Of 967 potential peaks: 944 in veto map, 20 cut by saddle test, 0 cut by aper test, 3 kept SED Red : 3 new peaks Adding 62 new sources Median coadd sky for g : 0.00062343583 Median coadd sky for r : 0.0011770368 Median coadd sky for z : -0.00012438028 Stage srcs : Wall: 1.70 s, CPU: 1.58 s, VmPeak: 988 MB, VmSize: 988 MB, VmRSS: 248 MB, VmData: 275 MB, maxrss: 0.56658 MB Stage srcs finished: 2020-06-07T18:08:25.827005 Resources for stage srcs : 0.307 s worker CPU, 0.307 s worker Wall, Wall: 1.701 s, Cores in use: 1.11, Total efficiency (on 4 cores): 27.7 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/NGC6650-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T18:08:25.848107 Blob 1 of 6, id: 0, sources: 59, size: 423x423, npix 143639, brick X: 0,423, Y: 0,423, one pixel: 177 0 Blob 2 of 6, id: 5, sources: 2, size: 68x52, npix 2463, brick X: 8,76, Y: 371,423, one pixel: 26 371 Blob 3 of 6, id: 1, sources: 3, size: 60x39, npix 1224, brick X: 27,87, Y: 4,43, one pixel: 57 4 Blob 4 of 6, id: 2, sources: 2, size: 30x41, npix 696, brick X: 8,38, Y: 56,97, one pixel: 21 56 Blob 5 of 6, id: 4, sources: 2, size: 25x33, npix 435, brick X: 398,423, Y: 370,403, one pixel: 414 370 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (276.39754, 68.02330), pm (1.8, 16.0), parallax 0.373 with NanoMaggies: g=20.9, r=19.4, z=(flux -177) Reset brightness to NanoMaggies: g=20.9, r=19.4, z=17.9 Blob 2 finished, total: Wall: 1.04 s, CPU: 1.04 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144692 MB Blob 6 of 6, id: 3, sources: 2, size: 15x25, npix 274, brick X: 0,15, Y: 105,130, one pixel: 3 105 Blob 5 finished, total: Wall: 0.29 s, CPU: 0.29 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144988 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (276.40803, 67.99899), pm (-7.9, -8.7), parallax 1.579 with NanoMaggies: g=22.1, r=20.5, z=18.9 Reset brightness to NanoMaggies: g=21.8, r=20.3, z=19.1 Blob 6 finished, total: Wall: 0.13 s, CPU: 0.13 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 142 MB, VmData: 179 MB, maxrss: 0.144988 MB Blob 3 finished, total: Wall: 1.90 s, CPU: 1.90 s, VmPeak: 809 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144156 MB Blob 4 finished, total: Wall: 2.08 s, CPU: 2.07 s, VmPeak: 809 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.1442 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.99926, ee1=0.0443505, ee2=0.0939247 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (276.38550, 68.02351), pm (3.2, 14.8), parallax 1.988 with NanoMaggies: g=19.5, r=18, z=16.5 Reset brightness to NanoMaggies: g=19.5, r=18, z=16.5 Measuring 23 iterative sources Blob 1 finished, total: Wall: 63.16 s, CPU: 63.16 s, VmPeak: 811 MB, VmSize: 774 MB, VmRSS: 211 MB, VmData: 240 MB, maxrss: 0.231456 MB Old catalog: 72 New catalog: 75 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/blobs-custom-276366p68005.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/metrics/cus/all-models-custom-276366p68005.fits Stage fitblobs : Wall: 63.84 s, CPU: 0.53 s, VmPeak: 988 MB, VmSize: 988 MB, VmRSS: 253 MB, VmData: 281 MB, maxrss: 0.56658 MB Stage fitblobs finished: 2020-06-07T18:09:29.685970 Resources for stage fitblobs : 68.798 s worker CPU, 68.860 s worker Wall, Wall: 63.839 s, Cores in use: 1.09, Total efficiency (on 4 cores): 27.1 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T18:09:29.688838 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-resid.jpg Stage coadds : Wall: 2.04 s, CPU: 0.85 s, VmPeak: 1000 MB, VmSize: 1000 MB, VmRSS: 265 MB, VmData: 293 MB, maxrss: 0.56658 MB Stage coadds finished: 2020-06-07T18:09:31.727954 Resources for stage coadds : 3.417 s worker CPU, 3.549 s worker Wall, Wall: 2.040 s, Cores in use: 2.09, Total efficiency (on 4 cores): 52.3 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T18:09:31.729488 Cut to 1 unWISE tiles Reading WISE tile 2769p681 band 2 Reading WISE tile 2769p681 band 1 Reading WISE tile 2769p681 band 3 Reading WISE tile 2769p681 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.47 s, CPU: 0.75 s, VmPeak: 1197 MB, VmSize: 1069 MB, VmRSS: 227 MB, VmData: 259 MB, maxrss: 0.23292 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.21 s, CPU: 0.41 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 150 MB, VmData: 187 MB, maxrss: 0.213452 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.19 s, CPU: 0.35 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 150 MB, VmData: 187 MB, maxrss: 0.212904 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/276/2769p681/unwise-2769p681-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.20 s, CPU: 0.37 s, VmPeak: 1062 MB, VmSize: 998 MB, VmRSS: 151 MB, VmData: 188 MB, maxrss: 0.213988 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/tmp-legacysurvey-custom-276366p68005-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 3.32 s, CPU: 0.68 s, VmPeak: 1000 MB, VmSize: 1000 MB, VmRSS: 265 MB, VmData: 293 MB, maxrss: 0.56658 MB Stage wise_forced finished: 2020-06-07T18:09:35.048797 Resources for stage wise_forced : 6.779 s worker CPU, 8.508 s worker Wall, Wall: 3.321 s, Cores in use: 2.25, Total efficiency (on 4 cores): 56.2 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T18:09:35.050830 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/coadd/cus/custom-276366p68005/legacysurvey-custom-276366p68005-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/tractor-i/cus/tractor-custom-276366p68005.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/276/NGC6650/tractor/cus/tractor-custom-276366p68005.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/276/NGC6650/tractor/cus/brick-custom-276366p68005.sha256sum Stage writecat : Wall: 1.08 s, CPU: 0.76 s, VmPeak: 1133 MB, VmSize: 1005 MB, VmRSS: 267 MB, VmData: 293 MB, maxrss: 0.56658 MB Stage writecat finished: 2020-06-07T18:09:36.128941 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.079 s, Cores in use: 0.71, Total efficiency (on 4 cores): 17.7 % Stage writecat finished All done: 87.532 s worker CPU, 107.530 s worker Wall, Wall: 87.377 s, Cores in use: 1.13, Total efficiency (on 4 cores): 28.2 % Finished galaxy NGC6650 in 1.487 minutes.