! Started logfile: /scr/pima/bg219h_uvs/J0257+4338_S_uvs.log on Thu Apr 7 08:51:17 2016 obs /scr/pima/bg219h_uvs/J0257+4338_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219h_uvs/J0257+4338_S_uva.fits ! AN table 1: 36 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.772222 visibilities/baseline/integration-bin. ! Found source: J0257+4338 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 2.22e+09 3.2e+07 1 3.2e+07 ! 02 2 2.252e+09 3.2e+07 1 3.2e+07 ! 03 3 2.284e+09 3.2e+07 1 3.2e+07 ! 04 4 2.348e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 54 lines of history. ! ! Reading 5004 visibilities. select rr, 1,2,3,4,6,7,8 ! Restricting channel ranges to the available 4 channels. ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =", field_size ! field_size = 1024 print "field_cell =", field_cell ! field_cell = 0.5 print "taper_size =", taper_size ! taper_size = 20 ![@/home/lpetrov/bin/01_muppet /scr/pima/bg219h_uvs/J0257+4338_S] 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.500x0.500 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 72 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 72 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 72 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 72 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.034533Jy sigma=24.773046 ! Fit after self-cal, rms=0.767528Jy sigma=18.367651 ! 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=3.258 mas, bmaj=4.185 mas, bpa=-14.38 degrees ! Estimated noise=0.650354 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.181806 Jy ! Component: 100 - total flux cleaned = 0.22169 Jy ! Total flux subtracted in 100 components = 0.22169 Jy ! Clean residual min=-0.007140 max=0.012280 Jy/beam ! Clean residual mean=-0.000009 rms=0.001671 Jy/beam ! Combined flux in latest and established models = 0.22169 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.22169 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062209Jy sigma=1.437601 ! Fit after self-cal, rms=0.062191Jy sigma=1.437365 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0117445 Jy ! Component: 100 - total flux cleaned = 0.0170718 Jy ! Total flux subtracted in 100 components = 0.0170718 Jy ! Clean residual min=-0.005238 max=0.005921 Jy/beam ! Clean residual mean=-0.000005 rms=0.001354 Jy/beam ! Combined flux in latest and established models = 0.238761 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 16 components and 0.238761 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059867Jy sigma=1.382494 ! Fit after self-cal, rms=0.059845Jy sigma=1.381889 ! 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=3.844 mas, bmaj=4.77 mas, bpa=-8.665 degrees ! Estimated noise=0.457416 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.00360445 Jy ! Component: 100 - total flux cleaned = 0.00550567 Jy ! Component: 150 - total flux cleaned = 0.0059079 Jy ! Component: 200 - total flux cleaned = 0.00602503 Jy ! Total flux subtracted in 200 components = 0.00602503 Jy ! Clean residual min=-0.003872 max=0.005252 Jy/beam ! Clean residual mean=-0.000014 rms=0.001105 Jy/beam ! Combined flux in latest and established models = 0.244787 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 31 components and 0.244787 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059611Jy sigma=1.377079 ! Fit after self-cal, rms=0.059612Jy sigma=1.377010 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.844 x 4.77 at -8.665 degrees (North through East) ! Clean map min=-0.0037409 max=0.23358 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: ! BR 1.02 FD 1.00* HN 1.01 KP 0.98 ! LA 1.01 MK 1.00 NL 1.00 OV 0.99 ! PT 0.96 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.00* HN 1.00 KP 0.97 ! LA 1.00 MK 1.01 NL 1.04 OV 1.00 ! PT 1.00 SC 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.00* HN 1.02 KP 1.01 ! LA 0.98 MK 1.02 NL 1.07 OV 1.01 ! PT 0.97 SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.00* HN 1.01 KP 1.01 ! LA 0.98 MK 1.00 NL 0.99 OV 1.03 ! PT 0.98 SC 0.98 ! ! ! Fit before self-cal, rms=0.059612Jy sigma=1.377010 ! Fit after self-cal, rms=0.059558Jy sigma=1.367393 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.846 mas, bmaj=4.767 mas, bpa=-8.097 degrees ! Estimated noise=0.457917 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.00034068 Jy ! Component: 100 - total flux cleaned = 0.000345643 Jy ! Component: 150 - total flux cleaned = 0.000279197 Jy ! Component: 200 - total flux cleaned = 0.000195355 Jy ! Total flux subtracted in 200 components = 0.000195355 Jy ! Clean residual min=-0.004422 max=0.004321 Jy/beam ! Clean residual mean=-0.000011 rms=0.001062 Jy/beam ! Combined flux in latest and established models = 0.244982 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 34 components and 0.244982 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059533Jy sigma=1.366957 ! Fit after self-cal, rms=0.059529Jy sigma=1.366911 ! 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. ! ! Fit before self-cal, rms=0.059529Jy sigma=1.366911 ! Fit after self-cal, rms=0.059164Jy sigma=1.354854 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.839 mas, bmaj=4.774 mas, bpa=-9.32 degrees ! Estimated noise=0.458539 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000119249 Jy ! Component: 100 - total flux cleaned = 8.79673e-05 Jy ! Component: 150 - total flux cleaned = 8.8721e-05 Jy ! Component: 200 - total flux cleaned = 0.000124995 Jy ! Total flux subtracted in 200 components = 0.000124995 Jy ! Clean residual min=-0.003344 max=0.003550 Jy/beam ! Clean residual mean=-0.000010 rms=0.000823 Jy/beam ! Combined flux in latest and established models = 0.245107 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 45 components and 0.245107 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059137Jy sigma=1.354355 ! Fit after self-cal, rms=0.059139Jy sigma=1.354309 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 (-3.5, 10). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00147436 Jy ! Component: 100 - total flux cleaned = 0.0014788 Jy ! Component: 150 - total flux cleaned = 0.00147634 Jy ! Component: 200 - total flux cleaned = 0.00141531 Jy ! Total flux subtracted in 200 components = 0.00141531 Jy ! Clean residual min=-0.003135 max=0.003257 Jy/beam ! Clean residual mean=-0.000009 rms=0.000747 Jy/beam ! Combined flux in latest and established models = 0.246522 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 66 components and 0.246522 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058893Jy sigma=1.348433 ! Fit after self-cal, rms=0.058874Jy sigma=1.348010 ! Inverting map ! Added new window around map position (-112, -5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00256252 Jy ! Component: 100 - total flux cleaned = 0.00251035 Jy ! Component: 150 - total flux cleaned = 0.00245651 Jy ! Component: 200 - total flux cleaned = 0.00245439 Jy ! Total flux subtracted in 200 components = 0.00245439 Jy ! Clean residual min=-0.003116 max=0.002606 Jy/beam ! Clean residual mean=-0.000010 rms=0.000703 Jy/beam ! Combined flux in latest and established models = 0.248977 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 84 components and 0.248977 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058720Jy sigma=1.344243 ! Fit after self-cal, rms=0.058708Jy sigma=1.343954 ! 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. ! ! Fit before self-cal, rms=0.058708Jy sigma=1.343954 ! Fit after self-cal, rms=0.058733Jy sigma=1.343192 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.837 mas, bmaj=4.775 mas, bpa=-9.592 degrees ! Estimated noise=0.458832 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000572355 Jy ! Component: 100 - total flux cleaned = 0.000627745 Jy ! Component: 150 - total flux cleaned = 0.00058074 Jy ! Component: 200 - total flux cleaned = 0.000538015 Jy ! Total flux subtracted in 200 components = 0.000538015 Jy ! Clean residual min=-0.003177 max=0.002639 Jy/beam ! Clean residual mean=-0.000009 rms=0.000718 Jy/beam ! Combined flux in latest and established models = 0.249515 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 91 components and 0.249515 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058654Jy sigma=1.341274 ! Fit after self-cal, rms=0.058651Jy sigma=1.341203 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 = 0.000187592 Jy ! Component: 100 - total flux cleaned = 0.000186775 Jy ! Component: 150 - total flux cleaned = 0.000187557 Jy ! Component: 200 - total flux cleaned = 0.000222335 Jy ! Total flux subtracted in 200 components = 0.000222335 Jy ! Clean residual min=-0.003176 max=0.002580 Jy/beam ! Clean residual mean=-0.000009 rms=0.000705 Jy/beam ! Combined flux in latest and established models = 0.249737 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 98 components and 0.249737 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058608Jy sigma=1.340170 ! Fit after self-cal, rms=0.058607Jy sigma=1.340151 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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. ! ! Fit before self-cal, rms=0.058607Jy sigma=1.340151 ! Fit after self-cal, rms=0.058603Jy sigma=1.339952 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.396 mas, bmaj=8.542 mas, bpa=4.686 degrees ! Estimated noise=0.575041 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000686723 Jy ! Component: 100 - total flux cleaned = -0.000778371 Jy ! Component: 150 - total flux cleaned = -0.00081311 Jy ! Component: 200 - total flux cleaned = -0.000877321 Jy ! Total flux subtracted in 200 components = -0.000877321 Jy ! Clean residual min=-0.003377 max=0.002985 Jy/beam ! Clean residual mean=-0.000015 rms=0.000864 Jy/beam ! Combined flux in latest and established models = 0.24886 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 124 components and 0.24886 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058582Jy sigma=1.339568 ! Fit after self-cal, rms=0.058580Jy sigma=1.339502 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 = -0.000309723 Jy ! Component: 100 - total flux cleaned = -0.000365266 Jy ! Component: 150 - total flux cleaned = -0.000441074 Jy ! Component: 200 - total flux cleaned = -0.000487667 Jy ! Total flux subtracted in 200 components = -0.000487667 Jy ! Clean residual min=-0.003326 max=0.002978 Jy/beam ! Clean residual mean=-0.000016 rms=0.000851 Jy/beam ! Combined flux in latest and established models = 0.248372 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 133 components and 0.248372 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058574Jy sigma=1.339457 ! Fit after self-cal, rms=0.058574Jy sigma=1.339423 ! 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=3.837 mas, bmaj=4.777 mas, bpa=-9.671 degrees ! Estimated noise=0.458829 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.837 x 4.777 at -9.671 degrees (North through East) ! Clean map min=-0.0031928 max=0.23431 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=3.244 mas, bmaj=4.197 mas, bpa=-15.3 degrees ! Estimated noise=0.653058 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.182514 Jy ! Component: 100 - total flux cleaned = 0.222562 Jy ! Component: 150 - total flux cleaned = 0.234326 Jy ! Component: 200 - total flux cleaned = 0.240578 Jy ! Total flux subtracted in 200 components = 0.240578 Jy ! Clean residual min=-0.005351 max=0.004694 Jy/beam ! Clean residual mean=-0.000005 rms=0.001220 Jy/beam ! Combined flux in latest and established models = 0.240578 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 21 model components to the UV plane model. ! The established model now contains 21 components and 0.240578 Jy ! Inverting map and beam ! Estimated beam: bmin=3.837 mas, bmaj=4.777 mas, bpa=-9.671 degrees ! Estimated noise=0.458829 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) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00412247 Jy ! Component: 100 - total flux cleaned = 0.00567094 Jy ! Component: 150 - total flux cleaned = 0.00648267 Jy ! Component: 200 - total flux cleaned = 0.00707372 Jy ! Total flux subtracted in 200 components = 0.00707372 Jy ! Clean residual min=-0.003519 max=0.003066 Jy/beam ! Clean residual mean=-0.000011 rms=0.000799 Jy/beam ! Combined flux in latest and established models = 0.247652 Jy ! Adding 20 model components to the UV plane model. ! The established model now contains 38 components and 0.247652 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.396 mas, bmaj=8.542 mas, bpa=4.686 degrees ! Estimated noise=0.575041 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00106268 Jy ! Component: 100 - total flux cleaned = 0.000887853 Jy ! Component: 150 - total flux cleaned = 0.000889755 Jy ! Component: 200 - total flux cleaned = 0.000835702 Jy ! Total flux subtracted in 200 components = 0.000835702 Jy ! Clean residual min=-0.003404 max=0.003054 Jy/beam ! Clean residual mean=-0.000018 rms=0.000883 Jy/beam ! Combined flux in latest and established models = 0.248487 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 = -9.8423e-05 Jy ! Component: 100 - total flux cleaned = -0.000140827 Jy ! Component: 150 - total flux cleaned = -0.000176411 Jy ! Component: 200 - total flux cleaned = -0.000207876 Jy ! Total flux subtracted in 200 components = -0.000207876 Jy ! Clean residual min=-0.003303 max=0.002998 Jy/beam ! Clean residual mean=-0.000016 rms=0.000859 Jy/beam ! Combined flux in latest and established models = 0.248279 Jy ! Adding 39 model components to the UV plane model. ! The established model now contains 73 components and 0.248279 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.837 mas, bmaj=4.777 mas, bpa=-9.671 degrees ! Estimated noise=0.458829 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 6.63831e-05 Jy ! Component: 100 - total flux cleaned = 0.000124591 Jy ! Component: 150 - total flux cleaned = 0.000178368 Jy ! Component: 200 - total flux cleaned = 0.000228333 Jy ! Total flux subtracted in 200 components = 0.000228333 Jy ! Clean residual min=-0.003245 max=0.002930 Jy/beam ! Clean residual mean=-0.000009 rms=0.000717 Jy/beam ! Combined flux in latest and established models = 0.248508 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 97 components and 0.248508 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058659Jy sigma=1.341264 ! Fit after self-cal, rms=0.058648Jy sigma=1.341136 wmodel /scr/pima/bg219h_uvs/J0257+4338_S_map.mod ! Writing 97 model components to file: /scr/pima/bg219h_uvs/J0257+4338_S_map.mod wobs /scr/pima/bg219h_uvs/J0257+4338_S_uvs.fits ! Writing UV FITS file: /scr/pima/bg219h_uvs/J0257+4338_S_uvs.fits wwins /scr/pima/bg219h_uvs/J0257+4338_S_map.win ! wwins: Wrote 3 windows to /scr/pima/bg219h_uvs/J0257+4338_S_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.00103522 Jy ! Component: 100 - total flux cleaned = -0.00169824 Jy ! Component: 150 - total flux cleaned = -0.00188843 Jy ! Component: 200 - total flux cleaned = -0.00175346 Jy ! Component: 250 - total flux cleaned = -0.0016666 Jy ! Component: 300 - total flux cleaned = -0.00162304 Jy ! Component: 350 - total flux cleaned = -0.00170166 Jy ! Component: 400 - total flux cleaned = -0.0017408 Jy ! Component: 450 - total flux cleaned = -0.00181743 Jy ! Component: 500 - total flux cleaned = -0.00181763 Jy ! Component: 550 - total flux cleaned = -0.0019647 Jy ! Component: 600 - total flux cleaned = -0.00203741 Jy ! Component: 650 - total flux cleaned = -0.00217911 Jy ! Component: 700 - total flux cleaned = -0.00217863 Jy ! Component: 750 - total flux cleaned = -0.00217866 Jy ! Component: 800 - total flux cleaned = -0.00214484 Jy ! Component: 850 - total flux cleaned = -0.00211169 Jy ! Component: 900 - total flux cleaned = -0.00204589 Jy ! Component: 950 - total flux cleaned = -0.00188472 Jy ! Component: 1000 - total flux cleaned = -0.00172661 Jy ! Component: 1050 - total flux cleaned = -0.00172693 Jy ! Component: 1100 - total flux cleaned = -0.00160367 Jy ! Component: 1150 - total flux cleaned = -0.00154287 Jy ! Component: 1200 - total flux cleaned = -0.00151273 Jy ! Component: 1250 - total flux cleaned = -0.0015127 Jy ! Component: 1300 - total flux cleaned = -0.00151201 Jy ! Component: 1350 - total flux cleaned = -0.00145396 Jy ! Component: 1400 - total flux cleaned = -0.00136795 Jy ! Component: 1450 - total flux cleaned = -0.00139652 Jy ! Component: 1500 - total flux cleaned = -0.00134062 Jy ! Component: 1550 - total flux cleaned = -0.00134025 Jy ! Component: 1600 - total flux cleaned = -0.00114814 Jy ! Component: 1650 - total flux cleaned = -0.00120239 Jy ! Component: 1700 - total flux cleaned = -0.00109541 Jy ! Component: 1750 - total flux cleaned = -0.00112196 Jy ! Component: 1800 - total flux cleaned = -0.00104332 Jy ! Component: 1850 - total flux cleaned = -0.00104396 Jy ! Component: 1900 - total flux cleaned = -0.00106956 Jy ! Component: 1950 - total flux cleaned = -0.00099316 Jy ! Component: 2000 - total flux cleaned = -0.000943044 Jy ! Component: 2050 - total flux cleaned = -0.000918161 Jy ! Component: 2100 - total flux cleaned = -0.000917896 Jy ! Component: 2150 - total flux cleaned = -0.00084483 Jy ! Component: 2200 - total flux cleaned = -0.000845143 Jy ! Component: 2250 - total flux cleaned = -0.000821126 Jy ! Component: 2300 - total flux cleaned = -0.000703071 Jy ! Component: 2350 - total flux cleaned = -0.000703064 Jy ! Component: 2400 - total flux cleaned = -0.000610733 Jy ! Component: 2450 - total flux cleaned = -0.000588003 Jy ! Component: 2500 - total flux cleaned = -0.000542488 Jy ! Component: 2550 - total flux cleaned = -0.000475041 Jy ! Component: 2600 - total flux cleaned = -0.000363299 Jy ! Component: 2650 - total flux cleaned = -0.000363171 Jy ! Component: 2700 - total flux cleaned = -0.000209786 Jy ! Component: 2750 - total flux cleaned = -0.000275083 Jy ! Component: 2800 - total flux cleaned = -0.000145885 Jy ! Component: 2850 - total flux cleaned = -0.000103417 Jy ! Component: 2900 - total flux cleaned = -1.90086e-05 Jy ! Component: 2950 - total flux cleaned = 2.0056e-06 Jy ! Component: 3000 - total flux cleaned = 0.000126633 Jy ! Component: 3050 - total flux cleaned = 0.000126521 Jy ! Component: 3100 - total flux cleaned = 0.000208343 Jy ! Component: 3150 - total flux cleaned = 0.000126985 Jy ! Component: 3200 - total flux cleaned = 0.00020739 Jy ! Component: 3250 - total flux cleaned = 0.000207106 Jy ! Component: 3300 - total flux cleaned = 0.00016762 Jy ! Component: 3350 - total flux cleaned = 0.000147915 Jy ! Component: 3400 - total flux cleaned = 0.000128371 Jy ! Component: 3450 - total flux cleaned = 0.000147887 Jy ! Component: 3500 - total flux cleaned = 0.000186115 Jy ! Component: 3550 - total flux cleaned = 0.000185881 Jy ! Component: 3600 - total flux cleaned = 9.11766e-05 Jy ! Component: 3650 - total flux cleaned = 7.22518e-05 Jy ! Component: 3700 - total flux cleaned = 0.000109743 Jy ! Component: 3750 - total flux cleaned = 3.53837e-05 Jy ! Component: 3800 - total flux cleaned = 3.54196e-05 Jy ! Component: 3850 - total flux cleaned = 3.52753e-05 Jy ! Component: 3900 - total flux cleaned = -3.75231e-05 Jy ! Component: 3950 - total flux cleaned = -1.41371e-06 Jy ! Component: 4000 - total flux cleaned = -5.53558e-05 Jy ! Component: 4050 - total flux cleaned = -0.000108926 Jy ! Total flux subtracted in 4096 components = -5.56858e-05 Jy ! Clean residual min=-0.001102 max=0.001020 Jy/beam ! Clean residual mean=-0.000002 rms=0.000313 Jy/beam ! Combined flux in latest and established models = 0.248452 Jy keep ! Adding 286 model components to the UV plane model. ! The established model now contains 383 components and 0.248452 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219h_uvs/J0257+4338_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.837 x 4.777 at -9.671 degrees (North through East) ! Clean map min=-0.0031765 max=0.23389 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219h_uvs/J0257+4338_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.233887 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000306029 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.392534 0.392534 0.785068 1.57014 3.14027 6.28055 12.5611 25.1222 50.2444 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0009 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.233 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 764.264 quit ! Quitting program ! Log file /scr/pima/bg219h_uvs/J0257+4338_S_uvs.log closed on Thu Apr 7 08:51:21 2016