! Started logfile: /scr/pima/bg219a_uvs/J1358+1119_X_uvs.log on Wed Apr 6 21:38:39 2016 obs /scr/pima/bg219a_uvs/J1358+1119_X_uva.fits ! Reading UV FITS file: /scr/pima/bg219a_uvs/J1358+1119_X_uva.fits ! AN table 1: 48 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.642857 visibilities/baseline/integration-bin. ! Found source: J1358+1119 ! ! 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 7776 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/J1358+1119_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 52 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 52 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 52 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 52 telescope corrections were flagged in sub-array 1. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! A total of 52 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 52 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 52 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.007966Jy sigma=29.221115 ! Fit after self-cal, rms=0.896806Jy sigma=25.915828 ! 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.8293 mas, bmaj=1.44 mas, bpa=2.104 degrees ! Estimated noise=0.740995 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.0724057 Jy ! Component: 100 - total flux cleaned = 0.0950857 Jy ! Total flux subtracted in 100 components = 0.0950857 Jy ! Clean residual min=-0.008081 max=0.011711 Jy/beam ! Clean residual mean=0.000033 rms=0.002464 Jy/beam ! Combined flux in latest and established models = 0.0950856 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 12 components and 0.0950856 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.053397Jy sigma=1.532992 ! Fit after self-cal, rms=0.053043Jy sigma=1.524421 ! 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=1.055 mas, bmaj=1.819 mas, bpa=-0.8679 degrees ! Estimated noise=0.370631 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.0211645 Jy ! Component: 100 - total flux cleaned = 0.0310301 Jy ! Component: 150 - total flux cleaned = 0.0362384 Jy ! Component: 200 - total flux cleaned = 0.0390804 Jy ! Total flux subtracted in 200 components = 0.0390804 Jy ! Clean residual min=-0.003679 max=0.005832 Jy/beam ! Clean residual mean=0.000020 rms=0.001093 Jy/beam ! Combined flux in latest and established models = 0.134166 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 24 components and 0.134166 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.045263Jy sigma=1.274146 ! Fit after self-cal, rms=0.045202Jy sigma=1.272070 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.055 x 1.819 at -0.8679 degrees (North through East) ! Clean map min=-0.0035677 max=0.10006 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.02 LA 0.95 MK 1.06 NL 1.04 ! OV 0.99 PT 0.96 SC 1.13 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.97 LA 0.96 MK 1.06 NL 1.02 ! OV 1.00 PT 1.00 SC 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00 LA 0.97 MK 1.03 NL 1.04 ! OV 0.99 PT 0.98 SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 0.97 LA 0.98 MK 1.05 NL 1.04 ! OV 1.01 PT 0.94 SC 1.04 ! ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 LA 1.00 MK 1.05 NL 1.01 ! OV 0.99 PT 0.94 SC 1.04 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! FD 1.01 LA 0.99 MK 1.04 NL 1.01 ! OV 1.01 PT 0.98 SC 1.05 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! FD 0.97 LA 0.95 MK 1.00 NL 1.05 ! OV 1.02 PT 0.98 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.045202Jy sigma=1.272070 ! Fit after self-cal, rms=0.045669Jy sigma=1.264098 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.071 mas, bmaj=1.845 mas, bpa=-0.6698 degrees ! Estimated noise=0.372038 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 (13.4, -3.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00366268 Jy ! Component: 100 - total flux cleaned = 0.00366424 Jy ! Component: 150 - total flux cleaned = 0.00366073 Jy ! Component: 200 - total flux cleaned = 0.00371175 Jy ! Total flux subtracted in 200 components = 0.00371175 Jy ! Clean residual min=-0.003033 max=0.003280 Jy/beam ! Clean residual mean=-0.000018 rms=0.000772 Jy/beam ! Combined flux in latest and established models = 0.137878 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 39 components and 0.137878 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.045263Jy sigma=1.253853 ! Fit after self-cal, rms=0.045241Jy sigma=1.253111 ! 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.045241Jy sigma=1.253111 ! Fit after self-cal, rms=0.044956Jy sigma=1.246163 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.07 mas, bmaj=1.832 mas, bpa=-1.057 degrees ! Estimated noise=0.368932 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000704951 Jy ! Component: 100 - total flux cleaned = 0.000983587 Jy ! Component: 150 - total flux cleaned = 0.000952507 Jy ! Component: 200 - total flux cleaned = 0.000825657 Jy ! Total flux subtracted in 200 components = 0.000825657 Jy ! Clean residual min=-0.002246 max=0.002685 Jy/beam ! Clean residual mean=-0.000004 rms=0.000545 Jy/beam ! Combined flux in latest and established models = 0.138703 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.138704 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.044869Jy sigma=1.244114 ! Fit after self-cal, rms=0.044871Jy sigma=1.243884 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) ! Added new window around map position (-13.8, 12.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00169339 Jy ! Component: 100 - total flux cleaned = 0.00130069 Jy ! Component: 150 - total flux cleaned = 0.00104075 Jy ! Component: 200 - total flux cleaned = 0.00100898 Jy ! Total flux subtracted in 200 components = 0.00100898 Jy ! Clean residual min=-0.001947 max=0.001827 Jy/beam ! Clean residual mean=-0.000003 rms=0.000445 Jy/beam ! Combined flux in latest and established models = 0.139712 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 59 components and 0.139712 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.044737Jy sigma=1.240465 ! Fit after self-cal, rms=0.044726Jy sigma=1.240219 ! 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.044726Jy sigma=1.240219 ! Fit after self-cal, rms=0.044270Jy sigma=1.239855 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.066 mas, bmaj=1.828 mas, bpa=-1.061 degrees ! Estimated noise=0.366398 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000335275 Jy ! Component: 100 - total flux cleaned = 0.000335837 Jy ! Component: 150 - total flux cleaned = 0.000337096 Jy ! Component: 200 - total flux cleaned = 0.000291227 Jy ! Total flux subtracted in 200 components = 0.000291227 Jy ! Clean residual min=-0.001819 max=0.001583 Jy/beam ! Clean residual mean=0.000000 rms=0.000408 Jy/beam ! Combined flux in latest and established models = 0.140004 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 68 components and 0.140004 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.044230Jy sigma=1.238942 ! Fit after self-cal, rms=0.044226Jy sigma=1.238892 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 = -4.74436e-05 Jy ! Component: 100 - total flux cleaned = -0.000108806 Jy ! Component: 150 - total flux cleaned = -0.00014746 Jy ! Component: 200 - total flux cleaned = -0.000183746 Jy ! Total flux subtracted in 200 components = -0.000183746 Jy ! Clean residual min=-0.001753 max=0.001566 Jy/beam ! Clean residual mean=0.000000 rms=0.000397 Jy/beam ! Combined flux in latest and established models = 0.13982 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 76 components and 0.13982 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.044208Jy sigma=1.238488 ! Fit after self-cal, rms=0.044207Jy sigma=1.238473 ! 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.044207Jy sigma=1.238473 ! Fit after self-cal, rms=0.043978Jy sigma=1.238370 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.514 mas, bmaj=4.051 mas, bpa=-13.55 degrees ! Estimated noise=0.44386 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000254763 Jy ! Component: 100 - total flux cleaned = 0.000344216 Jy ! Component: 150 - total flux cleaned = 0.000377435 Jy ! Component: 200 - total flux cleaned = 0.000387315 Jy ! Total flux subtracted in 200 components = 0.000387315 Jy ! Clean residual min=-0.001544 max=0.001359 Jy/beam ! Clean residual mean=-0.000001 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.140207 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 91 components and 0.140207 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.043977Jy sigma=1.238286 ! Fit after self-cal, rms=0.043976Jy sigma=1.238274 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 = -9.64559e-05 Jy ! Component: 100 - total flux cleaned = -8.70122e-05 Jy ! Component: 150 - total flux cleaned = -7.79487e-05 Jy ! Component: 200 - total flux cleaned = -7.75505e-05 Jy ! Total flux subtracted in 200 components = -7.75505e-05 Jy ! Clean residual min=-0.001515 max=0.001376 Jy/beam ! Clean residual mean=-0.000001 rms=0.000402 Jy/beam ! Combined flux in latest and established models = 0.14013 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 98 components and 0.14013 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.043975Jy sigma=1.238222 ! Fit after self-cal, rms=0.043975Jy sigma=1.238214 ! 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=1.065 mas, bmaj=1.828 mas, bpa=-1.077 degrees ! Estimated noise=0.365179 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.065 x 1.828 at -1.077 degrees (North through East) ! Clean map min=-0.002561 max=0.10044 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.8331 mas, bmaj=1.44 mas, bpa=2 degrees ! Estimated noise=0.73468 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0717756 Jy ! Component: 100 - total flux cleaned = 0.0944441 Jy ! Component: 150 - total flux cleaned = 0.106887 Jy ! Component: 200 - total flux cleaned = 0.114808 Jy ! Total flux subtracted in 200 components = 0.114808 Jy ! Clean residual min=-0.005284 max=0.006797 Jy/beam ! Clean residual mean=0.000020 rms=0.001410 Jy/beam ! Combined flux in latest and established models = 0.114808 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 20 model components to the UV plane model. ! The established model now contains 20 components and 0.114808 Jy ! Inverting map and beam ! Estimated beam: bmin=1.065 mas, bmaj=1.828 mas, bpa=-1.077 degrees ! Estimated noise=0.365179 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). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0103106 Jy ! Component: 100 - total flux cleaned = 0.0152158 Jy ! Component: 150 - total flux cleaned = 0.0182259 Jy ! Component: 200 - total flux cleaned = 0.0198147 Jy ! Total flux subtracted in 200 components = 0.0198147 Jy ! Clean residual min=-0.002657 max=0.002367 Jy/beam ! Clean residual mean=0.000016 rms=0.000574 Jy/beam ! Combined flux in latest and established models = 0.134622 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 42 components and 0.134622 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.514 mas, bmaj=4.051 mas, bpa=-13.55 degrees ! Estimated noise=0.44386 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00223019 Jy ! Component: 100 - total flux cleaned = 0.00315745 Jy ! Component: 150 - total flux cleaned = 0.00355843 Jy ! Component: 200 - total flux cleaned = 0.00375763 Jy ! Total flux subtracted in 200 components = 0.00375763 Jy ! Clean residual min=-0.001586 max=0.001405 Jy/beam ! Clean residual mean=0.000010 rms=0.000433 Jy/beam ! Combined flux in latest and established models = 0.13838 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 = 0.000200244 Jy ! Component: 100 - total flux cleaned = 0.00037365 Jy ! Component: 150 - total flux cleaned = 0.000548228 Jy ! Component: 200 - total flux cleaned = 0.000683363 Jy ! Total flux subtracted in 200 components = 0.000683363 Jy ! Clean residual min=-0.001353 max=0.001338 Jy/beam ! Clean residual mean=0.000006 rms=0.000379 Jy/beam ! Combined flux in latest and established models = 0.139063 Jy ! Adding 38 model components to the UV plane model. ! The established model now contains 73 components and 0.139063 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.065 mas, bmaj=1.828 mas, bpa=-1.077 degrees ! Estimated noise=0.365179 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.72985e-05 Jy ! Component: 100 - total flux cleaned = 7.86948e-05 Jy ! Component: 150 - total flux cleaned = 0.000190875 Jy ! Component: 200 - total flux cleaned = 0.000256866 Jy ! Total flux subtracted in 200 components = 0.000256866 Jy ! Clean residual min=-0.001853 max=0.001494 Jy/beam ! Clean residual mean=0.000002 rms=0.000385 Jy/beam ! Combined flux in latest and established models = 0.13932 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 89 components and 0.13932 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.043971Jy sigma=1.238302 ! Fit after self-cal, rms=0.043943Jy sigma=1.237901 wmodel /scr/pima/bg219a_uvs/J1358+1119_X_map.mod ! Writing 89 model components to file: /scr/pima/bg219a_uvs/J1358+1119_X_map.mod wobs /scr/pima/bg219a_uvs/J1358+1119_X_uvs.fits ! Writing UV FITS file: /scr/pima/bg219a_uvs/J1358+1119_X_uvs.fits wwins /scr/pima/bg219a_uvs/J1358+1119_X_map.win ! wwins: Wrote 4 windows to /scr/pima/bg219a_uvs/J1358+1119_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.000700994 Jy ! Component: 100 - total flux cleaned = -0.000831456 Jy ! Component: 150 - total flux cleaned = -0.000974681 Jy ! Component: 200 - total flux cleaned = -0.000975903 Jy ! Component: 250 - total flux cleaned = -0.00091292 Jy ! Component: 300 - total flux cleaned = -0.000932823 Jy ! Component: 350 - total flux cleaned = -0.000894151 Jy ! Component: 400 - total flux cleaned = -0.000856864 Jy ! Component: 450 - total flux cleaned = -0.000803242 Jy ! Component: 500 - total flux cleaned = -0.000768671 Jy ! Component: 550 - total flux cleaned = -0.000735137 Jy ! Component: 600 - total flux cleaned = -0.000718834 Jy ! Component: 650 - total flux cleaned = -0.000655817 Jy ! Component: 700 - total flux cleaned = -0.000609907 Jy ! Component: 750 - total flux cleaned = -0.000549818 Jy ! Component: 800 - total flux cleaned = -0.000447396 Jy ! Component: 850 - total flux cleaned = -0.000361774 Jy ! Component: 900 - total flux cleaned = -0.000319998 Jy ! Component: 950 - total flux cleaned = -0.000265463 Jy ! Component: 1000 - total flux cleaned = -0.000251935 Jy ! Component: 1050 - total flux cleaned = -0.000173243 Jy ! Component: 1100 - total flux cleaned = -0.000186427 Jy ! Component: 1150 - total flux cleaned = -0.000122966 Jy ! Component: 1200 - total flux cleaned = -6.08136e-05 Jy ! Component: 1250 - total flux cleaned = 3.70806e-05 Jy ! Component: 1300 - total flux cleaned = 9.73665e-05 Jy ! Component: 1350 - total flux cleaned = 0.000180768 Jy ! Component: 1400 - total flux cleaned = 0.000297895 Jy ! Component: 1450 - total flux cleaned = 0.000367169 Jy ! Component: 1500 - total flux cleaned = 0.000469686 Jy ! Component: 1550 - total flux cleaned = 0.000559529 Jy ! Component: 1600 - total flux cleaned = 0.000637111 Jy ! Component: 1650 - total flux cleaned = 0.000714009 Jy ! Component: 1700 - total flux cleaned = 0.000800778 Jy ! Component: 1750 - total flux cleaned = 0.000886521 Jy ! Component: 1800 - total flux cleaned = 0.000981944 Jy ! Component: 1850 - total flux cleaned = 0.00105536 Jy ! Component: 1900 - total flux cleaned = 0.00113837 Jy ! Component: 1950 - total flux cleaned = 0.00123087 Jy ! Component: 2000 - total flux cleaned = 0.00128179 Jy ! Component: 2050 - total flux cleaned = 0.00135255 Jy ! Component: 2100 - total flux cleaned = 0.0014227 Jy ! Component: 2150 - total flux cleaned = 0.00151209 Jy ! Component: 2200 - total flux cleaned = 0.00162037 Jy ! Component: 2250 - total flux cleaned = 0.00168869 Jy ! Component: 2300 - total flux cleaned = 0.00177609 Jy ! Component: 2350 - total flux cleaned = 0.00185325 Jy ! Component: 2400 - total flux cleaned = 0.00192999 Jy ! Component: 2450 - total flux cleaned = 0.00200623 Jy ! Component: 2500 - total flux cleaned = 0.0020819 Jy ! Component: 2550 - total flux cleaned = 0.00214772 Jy ! Component: 2600 - total flux cleaned = 0.00215702 Jy ! Component: 2650 - total flux cleaned = 0.00220367 Jy ! Component: 2700 - total flux cleaned = 0.00223153 Jy ! Component: 2750 - total flux cleaned = 0.00229615 Jy ! Component: 2800 - total flux cleaned = 0.00235124 Jy ! Component: 2850 - total flux cleaned = 0.00236951 Jy ! Component: 2900 - total flux cleaned = 0.00241502 Jy ! Component: 2950 - total flux cleaned = 0.00246957 Jy ! Component: 3000 - total flux cleaned = 0.00253298 Jy ! Component: 3050 - total flux cleaned = 0.00257817 Jy ! Component: 3100 - total flux cleaned = 0.00265928 Jy ! Component: 3150 - total flux cleaned = 0.00267731 Jy ! Component: 3200 - total flux cleaned = 0.00274021 Jy ! Component: 3250 - total flux cleaned = 0.00279396 Jy ! Component: 3300 - total flux cleaned = 0.00280287 Jy ! Component: 3350 - total flux cleaned = 0.00283867 Jy ! Component: 3400 - total flux cleaned = 0.00287443 Jy ! Component: 3450 - total flux cleaned = 0.00287446 Jy ! Component: 3500 - total flux cleaned = 0.00291903 Jy ! Component: 3550 - total flux cleaned = 0.00293694 Jy ! Component: 3600 - total flux cleaned = 0.00296368 Jy ! Component: 3650 - total flux cleaned = 0.00295478 Jy ! Component: 3700 - total flux cleaned = 0.00297264 Jy ! Component: 3750 - total flux cleaned = 0.00293687 Jy ! Component: 3800 - total flux cleaned = 0.00294582 Jy ! Component: 3850 - total flux cleaned = 0.00294583 Jy ! Component: 3900 - total flux cleaned = 0.00294581 Jy ! Component: 3950 - total flux cleaned = 0.00292778 Jy ! Component: 4000 - total flux cleaned = 0.00292779 Jy ! Component: 4050 - total flux cleaned = 0.00293679 Jy ! Total flux subtracted in 4096 components = 0.00293679 Jy ! Clean residual min=-0.000480 max=0.000501 Jy/beam ! Clean residual mean=0.000000 rms=0.000136 Jy/beam ! Combined flux in latest and established models = 0.142257 Jy keep ! Adding 216 model components to the UV plane model. ! The established model now contains 305 components and 0.142257 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219a_uvs/J1358+1119_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.065 x 1.828 at -1.077 degrees (North through East) ! Clean map min=-0.0012665 max=0.099292 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219a_uvs/J1358+1119_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0992922 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000134994 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.407869 0.407869 0.815738 1.63148 3.26295 6.52591 13.0518 26.1036 52.2072 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0004 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.099 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 735.53 quit ! Quitting program ! Log file /scr/pima/bg219a_uvs/J1358+1119_X_uvs.log closed on Wed Apr 6 21:38:43 2016