! Started logfile: /scr/pima/bg219a_uvs/J0817+5537_X_uvs.log on Wed Apr 6 21:30:53 2016 obs /scr/pima/bg219a_uvs/J0817+5537_X_uva.fits ! Reading UV FITS file: /scr/pima/bg219a_uvs/J0817+5537_X_uva.fits ! AN table 1: 28 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.826531 visibilities/baseline/integration-bin. ! Found source: J0817+5537 ! ! There are 12 IFs, and a total of 12 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.428e+09 3.2e+07 1 3.2e+07 ! 02 2 8.46e+09 3.2e+07 1 3.2e+07 ! 03 3 8.492e+09 3.2e+07 1 3.2e+07 ! 04 4 8.524e+09 3.2e+07 1 3.2e+07 ! 05 5 8.588e+09 3.2e+07 1 3.2e+07 ! 06 6 8.62e+09 3.2e+07 1 3.2e+07 ! 07 7 8.684e+09 3.2e+07 1 3.2e+07 ! 08 8 8.716e+09 3.2e+07 1 3.2e+07 ! 09 9 8.78e+09 3.2e+07 1 3.2e+07 ! 10 10 8.812e+09 3.2e+07 1 3.2e+07 ! 11 11 8.844e+09 3.2e+07 1 3.2e+07 ! 12 12 8.876e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 121 lines of history. ! ! Reading 5832 visibilities. select rr, 1,2,3,4,6,7,8 ! Selecting polarization: RR, channels: 1..4 6..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: (none) ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 ! Reading IF 9 channels: (none) ! Reading IF 10 channels: (none) ! Reading IF 11 channels: (none) ! Reading IF 12 channels: (none) print "field_size =", field_size ! field_size = 1024 print "field_cell =", field_cell ! field_cell = 0.2 print "taper_size =", taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /scr/pima/bg219a_uvs/J0817+5537_X] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.200x0.200 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=1.012671Jy sigma=28.313761 ! Fit after self-cal, rms=0.890021Jy sigma=24.749276 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.7331 mas, bmaj=1.085 mas, bpa=-72.34 degrees ! Estimated noise=0.779931 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0827354 Jy ! Component: 100 - total flux cleaned = 0.106984 Jy ! Total flux subtracted in 100 components = 0.106984 Jy ! Clean residual min=-0.006647 max=0.008853 Jy/beam ! Clean residual mean=-0.000007 rms=0.001694 Jy/beam ! Combined flux in latest and established models = 0.106984 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.106984 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.054924Jy sigma=1.462603 ! Fit after self-cal, rms=0.054336Jy sigma=1.444978 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9418 mas, bmaj=1.37 mas, bpa=-74.25 degrees ! Estimated noise=0.484136 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0137552 Jy ! Component: 100 - total flux cleaned = 0.0198504 Jy ! Component: 150 - total flux cleaned = 0.023039 Jy ! Component: 200 - total flux cleaned = 0.0247848 Jy ! Total flux subtracted in 200 components = 0.0247848 Jy ! Clean residual min=-0.004550 max=0.004942 Jy/beam ! Clean residual mean=0.000010 rms=0.001097 Jy/beam ! Combined flux in latest and established models = 0.131769 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 21 components and 0.131769 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051385Jy sigma=1.345022 ! Fit after self-cal, rms=0.051359Jy sigma=1.343900 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9418 x 1.37 at -74.25 degrees (North through East) ! Clean map min=-0.0041261 max=0.10874 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 LA 0.93 MK 1.05 NL 1.05 ! OV 1.00 PT 0.95 SC 0.98 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.01 LA 0.97 MK 1.04 NL 1.13 ! OV 0.95 PT 0.96 SC 0.92 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.06 LA 0.96 MK 1.12 NL 1.04 ! OV 0.96 PT 0.97 SC 1.05 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.01 LA 0.94 MK 1.02 NL 1.02 ! OV 1.05 PT 0.98 SC 1.01 ! ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! FD 1.07 LA 0.96 MK 1.05 NL 1.08 ! OV 0.99 PT 0.96 SC 0.94 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 LA 0.96 MK 1.06 NL 1.01 ! OV 1.06 PT 0.93 SC 0.96 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! FD 0.94 LA 0.95 MK 1.06 NL 1.02 ! OV 1.02 PT 0.94 SC 0.96 ! ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051359Jy sigma=1.343900 ! Fit after self-cal, rms=0.051182Jy sigma=1.327192 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9538 mas, bmaj=1.377 mas, bpa=-75.73 degrees ! Estimated noise=0.482902 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-1.6, 5.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00214492 Jy ! Component: 100 - total flux cleaned = 0.00223617 Jy ! Component: 150 - total flux cleaned = 0.00195476 Jy ! Component: 200 - total flux cleaned = 0.00172816 Jy ! Total flux subtracted in 200 components = 0.00172816 Jy ! Clean residual min=-0.002931 max=0.002879 Jy/beam ! Clean residual mean=0.000009 rms=0.000688 Jy/beam ! Combined flux in latest and established models = 0.133497 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 37 components and 0.133497 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.050767Jy sigma=1.318172 ! Fit after self-cal, rms=0.050752Jy sigma=1.317228 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 120 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.050752Jy sigma=1.317228 ! Fit after self-cal, rms=0.051233Jy sigma=1.308553 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9531 mas, bmaj=1.37 mas, bpa=-75.82 degrees ! Estimated noise=0.482065 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00110151 Jy ! Component: 100 - total flux cleaned = 0.00115996 Jy ! Component: 150 - total flux cleaned = 0.00113378 Jy ! Component: 200 - total flux cleaned = 0.00106815 Jy ! Total flux subtracted in 200 components = 0.00106815 Jy ! Clean residual min=-0.002281 max=0.002232 Jy/beam ! Clean residual mean=-0.000002 rms=0.000488 Jy/beam ! Combined flux in latest and established models = 0.134565 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 50 components and 0.134565 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051181Jy sigma=1.307364 ! Fit after self-cal, rms=0.051209Jy sigma=1.307154 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.57183e-05 Jy ! Component: 100 - total flux cleaned = -6.64979e-05 Jy ! Component: 150 - total flux cleaned = -0.000122014 Jy ! Component: 200 - total flux cleaned = -0.000156081 Jy ! Total flux subtracted in 200 components = -0.000156081 Jy ! Clean residual min=-0.002336 max=0.002198 Jy/beam ! Clean residual mean=-0.000002 rms=0.000481 Jy/beam ! Combined flux in latest and established models = 0.134409 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 58 components and 0.134409 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051192Jy sigma=1.306828 ! Fit after self-cal, rms=0.051190Jy sigma=1.306808 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051190Jy sigma=1.306808 ! Fit after self-cal, rms=0.051446Jy sigma=1.305199 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9542 mas, bmaj=1.371 mas, bpa=-75.62 degrees ! Estimated noise=0.482309 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000339589 Jy ! Component: 100 - total flux cleaned = 0.000439054 Jy ! Component: 150 - total flux cleaned = 0.000455562 Jy ! Component: 200 - total flux cleaned = 0.000470045 Jy ! Total flux subtracted in 200 components = 0.000470045 Jy ! Clean residual min=-0.002184 max=0.002006 Jy/beam ! Clean residual mean=-0.000003 rms=0.000453 Jy/beam ! Combined flux in latest and established models = 0.134879 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 62 components and 0.134879 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051433Jy sigma=1.304825 ! Fit after self-cal, rms=0.051440Jy sigma=1.304781 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.28493e-05 Jy ! Component: 100 - total flux cleaned = -3.26508e-05 Jy ! Component: 150 - total flux cleaned = -3.24958e-05 Jy ! Component: 200 - total flux cleaned = -5.47714e-05 Jy ! Total flux subtracted in 200 components = -5.47714e-05 Jy ! Clean residual min=-0.002216 max=0.001952 Jy/beam ! Clean residual mean=-0.000003 rms=0.000449 Jy/beam ! Combined flux in latest and established models = 0.134824 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 65 components and 0.134824 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051433Jy sigma=1.304617 ! Fit after self-cal, rms=0.051432Jy sigma=1.304607 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051432Jy sigma=1.304607 ! Fit after self-cal, rms=0.051496Jy sigma=1.304528 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.278 mas, bmaj=3.151 mas, bpa=-85.4 degrees ! Estimated noise=0.588888 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.29419e-05 Jy ! Component: 100 - total flux cleaned = 0.000100226 Jy ! Component: 150 - total flux cleaned = 0.00011972 Jy ! Component: 200 - total flux cleaned = 0.000111334 Jy ! Total flux subtracted in 200 components = 0.000111334 Jy ! Clean residual min=-0.001752 max=0.001865 Jy/beam ! Clean residual mean=-0.000006 rms=0.000455 Jy/beam ! Combined flux in latest and established models = 0.134936 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 69 components and 0.134936 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051494Jy sigma=1.304416 ! Fit after self-cal, rms=0.051494Jy sigma=1.304392 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.21715e-06 Jy ! Component: 100 - total flux cleaned = 4.37262e-05 Jy ! Component: 150 - total flux cleaned = 4.35024e-05 Jy ! Component: 200 - total flux cleaned = 4.29612e-05 Jy ! Total flux subtracted in 200 components = 4.29612e-05 Jy ! Clean residual min=-0.001775 max=0.001868 Jy/beam ! Clean residual mean=-0.000006 rms=0.000452 Jy/beam ! Combined flux in latest and established models = 0.134979 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 73 components and 0.134979 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051494Jy sigma=1.304363 ! Fit after self-cal, rms=0.051493Jy sigma=1.304345 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.9548 mas, bmaj=1.372 mas, bpa=-75.53 degrees ! Estimated noise=0.48242 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9548 x 1.372 at -75.53 degrees (North through East) ! Clean map min=-0.0028393 max=0.10874 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.7414 mas, bmaj=1.086 mas, bpa=-73.04 degrees ! Estimated noise=0.785215 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0835662 Jy ! Component: 100 - total flux cleaned = 0.108529 Jy ! Component: 150 - total flux cleaned = 0.117434 Jy ! Component: 200 - total flux cleaned = 0.122245 Jy ! Total flux subtracted in 200 components = 0.122245 Jy ! Clean residual min=-0.004225 max=0.004434 Jy/beam ! Clean residual mean=-0.000003 rms=0.001044 Jy/beam ! Combined flux in latest and established models = 0.122245 Jy uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Adding 19 model components to the UV plane model. ! The established model now contains 19 components and 0.122245 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9548 mas, bmaj=1.372 mas, bpa=-75.53 degrees ! Estimated noise=0.48242 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (1, -0.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00575837 Jy ! Component: 100 - total flux cleaned = 0.0089957 Jy ! Component: 150 - total flux cleaned = 0.0109295 Jy ! Component: 200 - total flux cleaned = 0.0117872 Jy ! Total flux subtracted in 200 components = 0.0117872 Jy ! Clean residual min=-0.002392 max=0.001977 Jy/beam ! Clean residual mean=-0.000005 rms=0.000526 Jy/beam ! Combined flux in latest and established models = 0.134032 Jy ! Adding 19 model components to the UV plane model. ! The established model now contains 35 components and 0.134032 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.278 mas, bmaj=3.151 mas, bpa=-85.4 degrees ! Estimated noise=0.588888 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122383 Jy ! Component: 100 - total flux cleaned = 0.00143459 Jy ! Component: 150 - total flux cleaned = 0.00149562 Jy ! Component: 200 - total flux cleaned = 0.00142563 Jy ! Total flux subtracted in 200 components = 0.00142563 Jy ! Clean residual min=-0.001850 max=0.001886 Jy/beam ! Clean residual mean=-0.000008 rms=0.000499 Jy/beam ! Combined flux in latest and established models = 0.135458 Jy flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.37199e-05 Jy ! Component: 100 - total flux cleaned = -0.000122094 Jy ! Component: 150 - total flux cleaned = -0.000175946 Jy ! Component: 200 - total flux cleaned = -0.000242158 Jy ! Total flux subtracted in 200 components = -0.000242158 Jy ! Clean residual min=-0.001781 max=0.001862 Jy/beam ! Clean residual mean=-0.000008 rms=0.000480 Jy/beam ! Combined flux in latest and established models = 0.135216 Jy ! Adding 18 model components to the UV plane model. ! The established model now contains 51 components and 0.135216 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9548 mas, bmaj=1.372 mas, bpa=-75.53 degrees ! Estimated noise=0.48242 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000331304 Jy ! Component: 100 - total flux cleaned = -0.000392362 Jy ! Component: 150 - total flux cleaned = -0.000498671 Jy ! Component: 200 - total flux cleaned = -0.000572667 Jy ! Total flux subtracted in 200 components = -0.000572667 Jy ! Clean residual min=-0.001966 max=0.002028 Jy/beam ! Clean residual mean=-0.000003 rms=0.000451 Jy/beam ! Combined flux in latest and established models = 0.134643 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 69 components and 0.134643 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.051513Jy sigma=1.304591 ! Fit after self-cal, rms=0.051506Jy sigma=1.304435 wmodel /scr/pima/bg219a_uvs/J0817+5537_X_map.mod ! Writing 69 model components to file: /scr/pima/bg219a_uvs/J0817+5537_X_map.mod wobs /scr/pima/bg219a_uvs/J0817+5537_X_uvs.fits ! Writing UV FITS file: /scr/pima/bg219a_uvs/J0817+5537_X_uvs.fits wwins /scr/pima/bg219a_uvs/J0817+5537_X_map.win ! wwins: Wrote 3 windows to /scr/pima/bg219a_uvs/J0817+5537_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 0.000158922 Jy ! Component: 100 - total flux cleaned = 9.29061e-05 Jy ! Component: 150 - total flux cleaned = 0.000154631 Jy ! Component: 200 - total flux cleaned = 0.000269143 Jy ! Component: 250 - total flux cleaned = 0.000323204 Jy ! Component: 300 - total flux cleaned = 0.000322077 Jy ! Component: 350 - total flux cleaned = 0.000320801 Jy ! Component: 400 - total flux cleaned = 0.000270391 Jy ! Component: 450 - total flux cleaned = 0.000270034 Jy ! Component: 500 - total flux cleaned = 0.000224324 Jy ! Component: 550 - total flux cleaned = 0.000315581 Jy ! Component: 600 - total flux cleaned = 0.000337775 Jy ! Component: 650 - total flux cleaned = 0.000316077 Jy ! Component: 700 - total flux cleaned = 0.000295182 Jy ! Component: 750 - total flux cleaned = 0.00029499 Jy ! Component: 800 - total flux cleaned = 0.000274708 Jy ! Component: 850 - total flux cleaned = 0.000274277 Jy ! Component: 900 - total flux cleaned = 0.000254636 Jy ! Component: 950 - total flux cleaned = 0.000273535 Jy ! Component: 1000 - total flux cleaned = 0.000217068 Jy ! Component: 1050 - total flux cleaned = 0.000272666 Jy ! Component: 1100 - total flux cleaned = 0.000218013 Jy ! Component: 1150 - total flux cleaned = 0.000218137 Jy ! Component: 1200 - total flux cleaned = 0.000165346 Jy ! Component: 1250 - total flux cleaned = 9.61355e-05 Jy ! Component: 1300 - total flux cleaned = 2.81338e-05 Jy ! Component: 1350 - total flux cleaned = -3.89128e-05 Jy ! Component: 1400 - total flux cleaned = -5.55728e-05 Jy ! Component: 1450 - total flux cleaned = -8.85022e-05 Jy ! Component: 1500 - total flux cleaned = -0.00015345 Jy ! Component: 1550 - total flux cleaned = -0.000217434 Jy ! Component: 1600 - total flux cleaned = -0.000328164 Jy ! Component: 1650 - total flux cleaned = -0.000390441 Jy ! Component: 1700 - total flux cleaned = -0.000405845 Jy ! Component: 1750 - total flux cleaned = -0.000497376 Jy ! Component: 1800 - total flux cleaned = -0.000527354 Jy ! Component: 1850 - total flux cleaned = -0.000632214 Jy ! Component: 1900 - total flux cleaned = -0.000706482 Jy ! Component: 1950 - total flux cleaned = -0.00080969 Jy ! Component: 2000 - total flux cleaned = -0.000882552 Jy ! Component: 2050 - total flux cleaned = -0.000969179 Jy ! Component: 2100 - total flux cleaned = -0.00108393 Jy ! Component: 2150 - total flux cleaned = -0.00116943 Jy ! Component: 2200 - total flux cleaned = -0.00122603 Jy ! Component: 2250 - total flux cleaned = -0.00129634 Jy ! Component: 2300 - total flux cleaned = -0.00135235 Jy ! Component: 2350 - total flux cleaned = -0.00149081 Jy ! Component: 2400 - total flux cleaned = -0.00154581 Jy ! Component: 2450 - total flux cleaned = -0.00164126 Jy ! Component: 2500 - total flux cleaned = -0.00172253 Jy ! Component: 2550 - total flux cleaned = -0.0017764 Jy ! Component: 2600 - total flux cleaned = -0.00182996 Jy ! Component: 2650 - total flux cleaned = -0.00190981 Jy ! Component: 2700 - total flux cleaned = -0.0020024 Jy ! Component: 2750 - total flux cleaned = -0.00205493 Jy ! Component: 2800 - total flux cleaned = -0.00213347 Jy ! Component: 2850 - total flux cleaned = -0.00219849 Jy ! Component: 2900 - total flux cleaned = -0.00223736 Jy ! Component: 2950 - total flux cleaned = -0.00231467 Jy ! Component: 3000 - total flux cleaned = -0.00234035 Jy ! Component: 3050 - total flux cleaned = -0.00245515 Jy ! Component: 3100 - total flux cleaned = -0.00250594 Jy ! Component: 3150 - total flux cleaned = -0.00258181 Jy ! Component: 3200 - total flux cleaned = -0.00263206 Jy ! Component: 3250 - total flux cleaned = -0.00268212 Jy ! Component: 3300 - total flux cleaned = -0.00274451 Jy ! Component: 3350 - total flux cleaned = -0.00278185 Jy ! Component: 3400 - total flux cleaned = -0.00286848 Jy ! Component: 3450 - total flux cleaned = -0.00293013 Jy ! Component: 3500 - total flux cleaned = -0.00305276 Jy ! Component: 3550 - total flux cleaned = -0.00311378 Jy ! Component: 3600 - total flux cleaned = -0.00315029 Jy ! Component: 3650 - total flux cleaned = -0.00329575 Jy ! Component: 3700 - total flux cleaned = -0.00329568 Jy ! Component: 3750 - total flux cleaned = -0.003404 Jy ! Component: 3800 - total flux cleaned = -0.003488 Jy ! Component: 3850 - total flux cleaned = -0.00353576 Jy ! Component: 3900 - total flux cleaned = -0.00360726 Jy ! Component: 3950 - total flux cleaned = -0.00365477 Jy ! Component: 4000 - total flux cleaned = -0.0037495 Jy ! Component: 4050 - total flux cleaned = -0.00378492 Jy ! Total flux subtracted in 4096 components = -0.0038556 Jy ! Clean residual min=-0.000822 max=0.000768 Jy/beam ! Clean residual mean=-0.000001 rms=0.000174 Jy/beam ! Combined flux in latest and established models = 0.130788 Jy keep ! Adding 207 model components to the UV plane model. ! The established model now contains 276 components and 0.130788 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219a_uvs/J0817+5537_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9548 x 1.372 at -75.53 degrees (North through East) ! Clean map min=-0.0016156 max=0.10882 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219a_uvs/J0817+5537_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.108824 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000172633 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.475906 0.475906 0.951813 1.90363 3.80725 7.6145 15.229 30.458 60.916 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0005 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.108 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 630.375 quit ! Quitting program ! Log file /scr/pima/bg219a_uvs/J0817+5537_X_uvs.log closed on Wed Apr 6 21:30:57 2016