! Started logfile: /g0/scr/pima/npcsc_uvs/J1223+8040_X_uvs.log on Sun Oct 6 14:24:42 2013 obs /g0/scr/pima/npcsc_uvs/J1223+8040_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/npcsc_uvs/J1223+8040_X_uva.fits ! AN table 1: 45 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1223+8040 ! ! 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 8.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 8100 visibilities. select RR ! 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /g0/scr/pima/npcsc_uvs/J1223+8040_X] 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.036628Jy sigma=2.907780 ! Fit after self-cal, rms=0.683478Jy sigma=1.821748 ! 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.6157 mas, bmaj=2.851 mas, bpa=4.205 degrees ! Estimated noise=5.23742 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.255571 Jy ! Component: 100 - total flux cleaned = 0.312643 Jy ! Total flux subtracted in 100 components = 0.312643 Jy ! Clean residual min=-0.009738 max=0.019734 Jy/beam ! Clean residual mean=-0.000043 rms=0.002780 Jy/beam ! Combined flux in latest and established models = 0.312643 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.312643 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.093037Jy sigma=0.273280 ! Fit after self-cal, rms=0.093049Jy sigma=0.273128 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0217661 Jy ! Component: 100 - total flux cleaned = 0.0333633 Jy ! Total flux subtracted in 100 components = 0.0333633 Jy ! Clean residual min=-0.008519 max=0.014119 Jy/beam ! Clean residual mean=-0.000028 rms=0.002136 Jy/beam ! Combined flux in latest and established models = 0.346007 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 19 components and 0.346007 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.088929Jy sigma=0.246396 ! Fit after self-cal, rms=0.088880Jy sigma=0.246191 ! Inverting map ! Added new window around map position (-0.6, 5). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0128677 Jy ! Component: 100 - total flux cleaned = 0.0202673 Jy ! Total flux subtracted in 100 components = 0.0202673 Jy ! Clean residual min=-0.007555 max=0.007563 Jy/beam ! Clean residual mean=-0.000020 rms=0.001800 Jy/beam ! Combined flux in latest and established models = 0.366274 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 35 components and 0.366274 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.086734Jy sigma=0.235241 ! Fit after self-cal, rms=0.086573Jy sigma=0.234858 ! 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.8339 mas, bmaj=2.937 mas, bpa=3.072 degrees ! Estimated noise=2.92718 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.0109894 Jy ! Component: 100 - total flux cleaned = 0.018317 Jy ! Component: 150 - total flux cleaned = 0.0239447 Jy ! Component: 200 - total flux cleaned = 0.0283574 Jy ! Total flux subtracted in 200 components = 0.0283574 Jy ! Clean residual min=-0.008072 max=0.008984 Jy/beam ! Clean residual mean=-0.000021 rms=0.002038 Jy/beam ! Combined flux in latest and established models = 0.394632 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 63 components and 0.394632 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.085837Jy sigma=0.226431 ! Fit after self-cal, rms=0.085745Jy sigma=0.226146 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.05 HN 1.02 KP 1.02 ! LA 1.01 MK 0.99 NL 1.02 OV 1.00 ! PT 0.99 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.03 HN 1.01 KP 0.93 ! LA 0.93 MK 0.94 NL 1.00 OV 0.98 ! PT 1.01 SC 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.02 HN 1.00 KP 0.83 ! LA 0.95 MK 0.95 NL 1.00 OV 0.99 ! PT 0.98 SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.06 HN 0.99 KP 0.88 ! LA 0.92 MK 0.99 NL 0.97 OV 0.99 ! PT 1.05 SC 1.01 ! ! ! Fit before self-cal, rms=0.085745Jy sigma=0.226146 ! Fit after self-cal, rms=0.082192Jy sigma=0.213465 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8335 mas, bmaj=2.943 mas, bpa=3.157 degrees ! Estimated noise=2.82795 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.00690799 Jy ! Component: 100 - total flux cleaned = -0.00586666 Jy ! Component: 150 - total flux cleaned = -0.00507059 Jy ! Component: 200 - total flux cleaned = -0.00445061 Jy ! Total flux subtracted in 200 components = -0.00445061 Jy ! Clean residual min=-0.003266 max=0.005895 Jy/beam ! Clean residual mean=-0.000016 rms=0.001037 Jy/beam ! Combined flux in latest and established models = 0.390181 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 71 components and 0.390181 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.080324Jy sigma=0.214559 ! Fit after self-cal, rms=0.080364Jy sigma=0.214522 ! Inverting map ! Added new window around map position (-1.4, 9.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00541179 Jy ! Component: 100 - total flux cleaned = 0.00831071 Jy ! Component: 150 - total flux cleaned = 0.010171 Jy ! Component: 200 - total flux cleaned = 0.0107204 Jy ! Total flux subtracted in 200 components = 0.0107204 Jy ! Clean residual min=-0.002767 max=0.002882 Jy/beam ! Clean residual mean=-0.000009 rms=0.000722 Jy/beam ! Combined flux in latest and established models = 0.400901 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 100 components and 0.400901 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.079930Jy sigma=0.213369 ! Fit after self-cal, rms=0.079902Jy sigma=0.213279 ! 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.079902Jy sigma=0.213279 ! Fit after self-cal, rms=0.079412Jy sigma=0.211715 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8316 mas, bmaj=2.941 mas, bpa=3.171 degrees ! Estimated noise=2.7523 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00707348 Jy ! Component: 100 - total flux cleaned = -0.00670056 Jy ! Component: 150 - total flux cleaned = -0.00608358 Jy ! Component: 200 - total flux cleaned = -0.00572175 Jy ! Total flux subtracted in 200 components = -0.00572175 Jy ! Clean residual min=-0.002644 max=0.002558 Jy/beam ! Clean residual mean=-0.000008 rms=0.000654 Jy/beam ! Combined flux in latest and established models = 0.39518 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 111 components and 0.39518 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077662Jy sigma=0.212946 ! Fit after self-cal, rms=0.077657Jy sigma=0.212932 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.000785143 Jy ! Component: 100 - total flux cleaned = 0.00112828 Jy ! Component: 150 - total flux cleaned = 0.00136342 Jy ! Component: 200 - total flux cleaned = 0.00161451 Jy ! Total flux subtracted in 200 components = 0.00161451 Jy ! Clean residual min=-0.002617 max=0.002363 Jy/beam ! Clean residual mean=-0.000007 rms=0.000626 Jy/beam ! Combined flux in latest and established models = 0.396794 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 120 components and 0.396794 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077558Jy sigma=0.212912 ! Fit after self-cal, rms=0.077559Jy sigma=0.212908 ! 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.077559Jy sigma=0.212908 ! Fit after self-cal, rms=0.077135Jy sigma=0.211448 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.83 mas, bmaj=2.94 mas, bpa=3.2 degrees ! Estimated noise=2.68179 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00675765 Jy ! Component: 100 - total flux cleaned = -0.00748618 Jy ! Component: 150 - total flux cleaned = -0.00722906 Jy ! Component: 200 - total flux cleaned = -0.00692645 Jy ! Total flux subtracted in 200 components = -0.00692645 Jy ! Clean residual min=-0.002529 max=0.002273 Jy/beam ! Clean residual mean=-0.000007 rms=0.000602 Jy/beam ! Combined flux in latest and established models = 0.389868 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 129 components and 0.389868 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.075469Jy sigma=0.212846 ! Fit after self-cal, rms=0.075469Jy sigma=0.212841 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.000471821 Jy ! Component: 100 - total flux cleaned = 0.000695806 Jy ! Component: 150 - total flux cleaned = 0.000931937 Jy ! Component: 200 - total flux cleaned = 0.00112308 Jy ! Total flux subtracted in 200 components = 0.00112308 Jy ! Clean residual min=-0.002492 max=0.002157 Jy/beam ! Clean residual mean=-0.000006 rms=0.000588 Jy/beam ! Combined flux in latest and established models = 0.390991 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 131 components and 0.390991 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.075398Jy sigma=0.212857 ! Fit after self-cal, rms=0.075400Jy sigma=0.212855 ! 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. ! ! Fit before self-cal, rms=0.075400Jy sigma=0.212855 ! Fit after self-cal, rms=0.074988Jy sigma=0.211379 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.086 mas, bmaj=3.455 mas, bpa=0.4202 degrees ! Estimated noise=3.19298 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00540084 Jy ! Component: 100 - total flux cleaned = -0.00561719 Jy ! Component: 150 - total flux cleaned = -0.00524644 Jy ! Component: 200 - total flux cleaned = -0.0050918 Jy ! Total flux subtracted in 200 components = -0.0050918 Jy ! Clean residual min=-0.002693 max=0.002545 Jy/beam ! Clean residual mean=-0.000009 rms=0.000755 Jy/beam ! Combined flux in latest and established models = 0.385899 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 138 components and 0.385899 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073641Jy sigma=0.212378 ! Fit after self-cal, rms=0.073637Jy sigma=0.212371 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.000305356 Jy ! Component: 100 - total flux cleaned = 0.000432672 Jy ! Component: 150 - total flux cleaned = 0.000566367 Jy ! Component: 200 - total flux cleaned = 0.000669538 Jy ! Total flux subtracted in 200 components = 0.000669538 Jy ! Clean residual min=-0.002700 max=0.002447 Jy/beam ! Clean residual mean=-0.000008 rms=0.000741 Jy/beam ! Combined flux in latest and established models = 0.386569 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 143 components and 0.386569 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073616Jy sigma=0.212403 ! Fit after self-cal, rms=0.073615Jy sigma=0.212401 ! 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.8283 mas, bmaj=2.939 mas, bpa=3.235 degrees ! Estimated noise=2.6126 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8283 x 2.939 at 3.235 degrees (North through East) ! Clean map min=-0.0021793 max=0.30071 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.6119 mas, bmaj=2.859 mas, bpa=4.331 degrees ! Estimated noise=4.65141 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.226976 Jy ! Component: 100 - total flux cleaned = 0.27866 Jy ! Component: 150 - total flux cleaned = 0.299608 Jy ! Component: 200 - total flux cleaned = 0.312883 Jy ! Total flux subtracted in 200 components = 0.312883 Jy ! Clean residual min=-0.005981 max=0.007187 Jy/beam ! Clean residual mean=-0.000028 rms=0.001600 Jy/beam ! Combined flux in latest and established models = 0.312883 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 22 model components to the UV plane model. ! The established model now contains 22 components and 0.312883 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8283 mas, bmaj=2.939 mas, bpa=3.235 degrees ! Estimated noise=2.6126 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.015688 Jy ! Component: 100 - total flux cleaned = 0.0256197 Jy ! Component: 150 - total flux cleaned = 0.0331737 Jy ! Component: 200 - total flux cleaned = 0.0392671 Jy ! Total flux subtracted in 200 components = 0.0392671 Jy ! Clean residual min=-0.003765 max=0.005211 Jy/beam ! Clean residual mean=-0.000030 rms=0.001408 Jy/beam ! Combined flux in latest and established models = 0.352151 Jy ! Adding 61 model components to the UV plane model. ! The established model now contains 77 components and 0.352151 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.086 mas, bmaj=3.455 mas, bpa=0.4202 degrees ! Estimated noise=3.19298 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00952607 Jy ! Component: 100 - total flux cleaned = 0.0159724 Jy ! Component: 150 - total flux cleaned = 0.0206014 Jy ! Component: 200 - total flux cleaned = 0.0240408 Jy ! Total flux subtracted in 200 components = 0.0240408 Jy ! Clean residual min=-0.003546 max=0.003160 Jy/beam ! Clean residual mean=-0.000025 rms=0.001150 Jy/beam ! Combined flux in latest and established models = 0.376191 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.00261724 Jy ! Component: 100 - total flux cleaned = 0.00462754 Jy ! Component: 150 - total flux cleaned = 0.00617729 Jy ! Component: 200 - total flux cleaned = 0.00737429 Jy ! Total flux subtracted in 200 components = 0.00737429 Jy ! Clean residual min=-0.002850 max=0.002497 Jy/beam ! Clean residual mean=-0.000013 rms=0.000796 Jy/beam ! Combined flux in latest and established models = 0.383566 Jy ! Adding 136 model components to the UV plane model. ! The established model now contains 190 components and 0.383565 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8283 mas, bmaj=2.939 mas, bpa=3.235 degrees ! Estimated noise=2.6126 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000368169 Jy ! Component: 100 - total flux cleaned = 0.000853694 Jy ! Component: 150 - total flux cleaned = 0.00105578 Jy ! Component: 200 - total flux cleaned = 0.00127011 Jy ! Total flux subtracted in 200 components = 0.00127011 Jy ! Clean residual min=-0.002328 max=0.002310 Jy/beam ! Clean residual mean=-0.000005 rms=0.000567 Jy/beam ! Combined flux in latest and established models = 0.384836 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 202 components and 0.384836 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073363Jy sigma=0.212835 ! Fit after self-cal, rms=0.073367Jy sigma=0.212827 wmodel /g0/scr/pima/npcsc_uvs/J1223+8040_X_map.mod ! Writing 202 model components to file: /g0/scr/pima/npcsc_uvs/J1223+8040_X_map.mod wobs /g0/scr/pima/npcsc_uvs/J1223+8040_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/npcsc_uvs/J1223+8040_X_uvs.fits wwins /g0/scr/pima/npcsc_uvs/J1223+8040_X_map.win ! wwins: Wrote 3 windows to /g0/scr/pima/npcsc_uvs/J1223+8040_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 = -4.68471e-05 Jy ! Component: 100 - total flux cleaned = 0.000302734 Jy ! Component: 150 - total flux cleaned = 0.000596525 Jy ! Component: 200 - total flux cleaned = 0.000881071 Jy ! Component: 250 - total flux cleaned = 0.00122442 Jy ! Component: 300 - total flux cleaned = 0.00145555 Jy ! Component: 350 - total flux cleaned = 0.00152031 Jy ! Component: 400 - total flux cleaned = 0.00152083 Jy ! Component: 450 - total flux cleaned = 0.00161262 Jy ! Component: 500 - total flux cleaned = 0.00170103 Jy ! Component: 550 - total flux cleaned = 0.0017878 Jy ! Component: 600 - total flux cleaned = 0.00187289 Jy ! Component: 650 - total flux cleaned = 0.00195643 Jy ! Component: 700 - total flux cleaned = 0.0020653 Jy ! Component: 750 - total flux cleaned = 0.00211879 Jy ! Component: 800 - total flux cleaned = 0.00222529 Jy ! Component: 850 - total flux cleaned = 0.00238201 Jy ! Component: 900 - total flux cleaned = 0.00251063 Jy ! Component: 950 - total flux cleaned = 0.00261215 Jy ! Component: 1000 - total flux cleaned = 0.00273786 Jy ! Component: 1050 - total flux cleaned = 0.0028871 Jy ! Component: 1100 - total flux cleaned = 0.00296058 Jy ! Component: 1150 - total flux cleaned = 0.00305709 Jy ! Component: 1200 - total flux cleaned = 0.0030808 Jy ! Component: 1250 - total flux cleaned = 0.00326997 Jy ! Component: 1300 - total flux cleaned = 0.00331704 Jy ! Component: 1350 - total flux cleaned = 0.00340935 Jy ! Component: 1400 - total flux cleaned = 0.00345532 Jy ! Component: 1450 - total flux cleaned = 0.00354597 Jy ! Component: 1500 - total flux cleaned = 0.00363595 Jy ! Component: 1550 - total flux cleaned = 0.0037025 Jy ! Component: 1600 - total flux cleaned = 0.00379065 Jy ! Component: 1650 - total flux cleaned = 0.0039219 Jy ! Component: 1700 - total flux cleaned = 0.00394313 Jy ! Component: 1750 - total flux cleaned = 0.00398601 Jy ! Component: 1800 - total flux cleaned = 0.0040927 Jy ! Component: 1850 - total flux cleaned = 0.00413519 Jy ! Component: 1900 - total flux cleaned = 0.00434447 Jy ! Component: 1950 - total flux cleaned = 0.00440675 Jy ! Component: 2000 - total flux cleaned = 0.00461304 Jy ! Component: 2050 - total flux cleaned = 0.0046743 Jy ! Component: 2100 - total flux cleaned = 0.00475561 Jy ! Component: 2150 - total flux cleaned = 0.0049373 Jy ! Component: 2200 - total flux cleaned = 0.00499755 Jy ! Component: 2250 - total flux cleaned = 0.00513697 Jy ! Component: 2300 - total flux cleaned = 0.00527526 Jy ! Component: 2350 - total flux cleaned = 0.00543215 Jy ! Component: 2400 - total flux cleaned = 0.0054711 Jy ! Component: 2450 - total flux cleaned = 0.00562624 Jy ! Component: 2500 - total flux cleaned = 0.00574179 Jy ! Component: 2550 - total flux cleaned = 0.0058375 Jy ! Component: 2600 - total flux cleaned = 0.00589444 Jy ! Component: 2650 - total flux cleaned = 0.00602711 Jy ! Component: 2700 - total flux cleaned = 0.00612126 Jy ! Component: 2750 - total flux cleaned = 0.00628964 Jy ! Component: 2800 - total flux cleaned = 0.00632695 Jy ! Component: 2850 - total flux cleaned = 0.00649328 Jy ! Component: 2900 - total flux cleaned = 0.0066404 Jy ! Component: 2950 - total flux cleaned = 0.0066588 Jy ! Component: 3000 - total flux cleaned = 0.00682242 Jy ! Component: 3050 - total flux cleaned = 0.0069309 Jy ! Component: 3100 - total flux cleaned = 0.00702076 Jy ! Component: 3150 - total flux cleaned = 0.00710997 Jy ! Component: 3200 - total flux cleaned = 0.00725228 Jy ! Component: 3250 - total flux cleaned = 0.00734066 Jy ! Component: 3300 - total flux cleaned = 0.00741092 Jy ! Component: 3350 - total flux cleaned = 0.00755085 Jy ! Component: 3400 - total flux cleaned = 0.00758574 Jy ! Component: 3450 - total flux cleaned = 0.00772442 Jy ! Component: 3500 - total flux cleaned = 0.00789676 Jy ! Component: 3550 - total flux cleaned = 0.00799964 Jy ! Component: 3600 - total flux cleaned = 0.00806802 Jy ! Component: 3650 - total flux cleaned = 0.00813581 Jy ! Component: 3700 - total flux cleaned = 0.00823717 Jy ! Component: 3750 - total flux cleaned = 0.00830435 Jy ! Component: 3800 - total flux cleaned = 0.00837121 Jy ! Component: 3850 - total flux cleaned = 0.00843783 Jy ! Component: 3900 - total flux cleaned = 0.00848769 Jy ! Component: 3950 - total flux cleaned = 0.00858686 Jy ! Component: 4000 - total flux cleaned = 0.00866895 Jy ! Component: 4050 - total flux cleaned = 0.00873428 Jy ! Total flux subtracted in 4096 components = 0.00876673 Jy ! Clean residual min=-0.000907 max=0.000968 Jy/beam ! Clean residual mean=0.000000 rms=0.000286 Jy/beam ! Combined flux in latest and established models = 0.393602 Jy keep ! Adding 290 model components to the UV plane model. ! The established model now contains 492 components and 0.393602 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/npcsc_uvs/J1223+8040_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8283 x 2.939 at 3.235 degrees (North through East) ! Clean map min=-0.0013427 max=0.29987 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/npcsc_uvs/J1223+8040_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.299869 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000284298 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.284422 0.284422 0.568844 1.13769 2.27538 4.55076 9.10151 18.203 36.406 72.8121 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0008 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.299 quit ! Quitting program ! Log file /g0/scr/pima/npcsc_uvs/J1223+8040_X_uvs.log closed on Sun Oct 6 14:24:47 2013