Started working on galaxy NGC6158_GROUP at Thu Jun 18 18:54:38 2020 Read 3 galaxy(ies) from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-sample.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-tractor.fits Read 278 sources from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-tractor.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-maskbits.fits.fz Sort by flux! [ 5156.146 578.4659 406.60144] Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-image-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-model-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-invvar-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-image-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-model-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-invvar-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-image-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-model-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-invvar-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-psf-r.fits.fz Building masked image for central 1/3. Pixels used: 59122 Peak Img[j, k]: 437 473 Mean (j, k): 436.93 474.25 Theta (deg): 5.9 Astro PA (deg): 84.1 Eps: 0.175 Major axis (pix): 204.3 436.932740289 436.954 474.250466763 472.457 Building masked image for central 2/3. The previous central has masked the current central with shrink factor 1.00 The previous central has masked the current central with shrink factor 0.95 The previous central has masked the current central with shrink factor 0.90 The previous central has masked the current central with shrink factor 0.85 The previous central has masked the current central with shrink factor 0.80 The previous central has masked the current central with shrink factor 0.75 The previous central has masked the current central with shrink factor 0.70 The previous central has masked the current central with shrink factor 0.65 Pixels used: 2674 Peak Img[j, k]: 359 397 Mean (j, k): 354.13 396.17 Theta (deg): 44.9 Astro PA (deg): 45.1 Eps: 0.561 Major axis (pix): 58.1 354.128846589 358.839 396.166394925 396.605 Building masked image for central 3/3. Pixels used: 2617 Peak Img[j, k]: 615 476 Mean (j, k): 621.30 475.41 Theta (deg): 87.4 Astro PA (deg): 2.6 Eps: 0.363 Major axis (pix): 54.9 621.296617972 614.335 475.40990821 475.436 Starting ellipse-fitting for galaxy 68858 Fitting g-band took......183.174 sec Fitting r-band took......200.511 sec Fitting z-band took......215.131 sec Time for all images = 598.815 sec Performing elliptical aperture photometry. g CoG modeling succeeded with a chi^2 minimum of 110.70 r CoG modeling succeeded with a chi^2 minimum of 33.17 z CoG modeling succeeded with a chi^2 minimum of 1578.31 Time = 0.274 min WARNING: The unit 'mgy / arcsec2' could not be saved in native FITS format and cannot be recovered in reading. If pyyaml is installed, it can roundtrip within astropy by using QTable both to write and read back, though one has to enable the unit before reading. [astropy.io.fits.convenience] Writing /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-68858-ellipse.fits Starting ellipse-fitting for galaxy 1090343 Fitting g-band took......4.773 sec Fitting r-band took......4.841 sec Fitting z-band took......5.215 sec Time for all images = 14.829 sec Performing elliptical aperture photometry. g CoG modeling succeeded with a chi^2 minimum of 132.24 WARNING: The fit may be unsuccessful; check fit_info['message'] for more information. [astropy.modeling.fitting] r CoG modeling succeeded with a chi^2 minimum of 1510.86 WARNING: The fit may be unsuccessful; check fit_info['message'] for more information. [astropy.modeling.fitting] z CoG modeling succeeded with a chi^2 minimum of 756.63 Time = 0.060 min WARNING: The unit 'mgy / arcsec2' could not be saved in native FITS format and cannot be recovered in reading. If pyyaml is installed, it can roundtrip within astropy by using QTable both to write and read back, though one has to enable the unit before reading. [astropy.io.fits.convenience] Writing /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-1090343-ellipse.fits Starting ellipse-fitting for galaxy 183731 Fitting g-band took... Central pixel is masked; resorting to extreme measures! ...0.001 sec Fitting r-band took... Central pixel is masked; resorting to extreme measures! ...0.000 sec Fitting z-band took... Central pixel is masked; resorting to extreme measures! ...0.000 sec Time for all images = 0.001 sec Performing elliptical aperture photometry. Insufficient profile to measure the radius at 22.0 mag/arcsec2! Insufficient profile to measure the radius at 22.5 mag/arcsec2! Insufficient profile to measure the radius at 23.0 mag/arcsec2! Insufficient profile to measure the radius at 23.5 mag/arcsec2! Insufficient profile to measure the radius at 24.0 mag/arcsec2! Insufficient profile to measure the radius at 24.5 mag/arcsec2! Insufficient profile to measure the radius at 25.0 mag/arcsec2! Insufficient profile to measure the radius at 25.5 mag/arcsec2! Insufficient profile to measure the radius at 26.0 mag/arcsec2! Warning: Too few g-band pixels to fit the curve of growth; skipping. Warning: Too few r-band pixels to fit the curve of growth; skipping. Warning: Too few z-band pixels to fit the curve of growth; skipping. Time = 0.000 min WARNING: The unit 'mgy / arcsec2' could not be saved in native FITS format and cannot be recovered in reading. If pyyaml is installed, it can roundtrip within astropy by using QTable both to write and read back, though one has to enable the unit before reading. [astropy.io.fits.convenience] Writing /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/NGC6158_GROUP/NGC6158_GROUP-largegalaxy-183731-ellipse.fits Finished galaxy NGC6158_GROUP in 11.353 minutes.