! Started logfile: /g0/scr/pima/npcsc_uvs/J0354+8009_X_uvs.log on Sun Oct 6 14:22:59 2013 obs /g0/scr/pima/npcsc_uvs/J0354+8009_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/npcsc_uvs/J0354+8009_X_uva.fits ! AN table 1: 46 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0354+8009 ! ! 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 8280 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/J0354+8009_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.011246Jy sigma=2.183455 ! Fit after self-cal, rms=0.752435Jy sigma=1.553844 ! 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.6081 mas, bmaj=2.851 mas, bpa=5.295 degrees ! Estimated noise=7.30009 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.205178 Jy ! Component: 100 - total flux cleaned = 0.250463 Jy ! Total flux subtracted in 100 components = 0.250463 Jy ! Clean residual min=-0.008302 max=0.015947 Jy/beam ! Clean residual mean=-0.000024 rms=0.002276 Jy/beam ! Combined flux in latest and established models = 0.250463 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.250463 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.089903Jy sigma=0.197076 ! Fit after self-cal, rms=0.089882Jy sigma=0.196970 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0162365 Jy ! Component: 100 - total flux cleaned = 0.0241869 Jy ! Total flux subtracted in 100 components = 0.0241869 Jy ! Clean residual min=-0.008093 max=0.010931 Jy/beam ! Clean residual mean=-0.000014 rms=0.001812 Jy/beam ! Combined flux in latest and established models = 0.27465 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 13 components and 0.27465 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.088815Jy sigma=0.182730 ! Fit after self-cal, rms=0.088766Jy sigma=0.182573 ! Inverting map ! Added new window around map position (0.8, -0.4). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0100618 Jy ! Component: 100 - total flux cleaned = 0.0158259 Jy ! Total flux subtracted in 100 components = 0.0158259 Jy ! Clean residual min=-0.007605 max=0.006889 Jy/beam ! Clean residual mean=-0.000009 rms=0.001627 Jy/beam ! Combined flux in latest and established models = 0.290476 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 24 components and 0.290476 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.088182Jy sigma=0.177668 ! Fit after self-cal, rms=0.088090Jy sigma=0.177524 ! 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.8378 mas, bmaj=2.896 mas, bpa=3.755 degrees ! Estimated noise=3.77223 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.00573434 Jy ! Component: 100 - total flux cleaned = 0.00878598 Jy ! Component: 150 - total flux cleaned = 0.0103827 Jy ! Component: 200 - total flux cleaned = 0.0108599 Jy ! Total flux subtracted in 200 components = 0.0108599 Jy ! Clean residual min=-0.007075 max=0.007795 Jy/beam ! Clean residual mean=-0.000012 rms=0.001865 Jy/beam ! Combined flux in latest and established models = 0.301336 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 44 components and 0.301336 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.087784Jy sigma=0.176125 ! Fit after self-cal, rms=0.087726Jy sigma=0.176023 ! 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.97 FD 1.01 HN 1.02 KP 1.03 ! LA 0.98 MK 1.01 NL 1.00 OV 1.01 ! PT 1.01 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.93 FD 1.01 HN 1.02 KP 0.93 ! LA 0.93 MK 0.94 NL 0.99 OV 1.03 ! PT 1.04 SC 0.93 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.02 HN 1.01 KP 0.83 ! LA 0.96 MK 0.94 NL 0.97 OV 1.02 ! PT 1.00 SC 0.92 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.93 FD 1.01 HN 0.98 KP 0.90 ! LA 0.92 MK 0.92 NL 0.95 OV 1.02 ! PT 1.08 SC 0.99 ! ! ! Fit before self-cal, rms=0.087726Jy sigma=0.176023 ! Fit after self-cal, rms=0.084736Jy sigma=0.168540 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8307 mas, bmaj=2.901 mas, bpa=3.933 degrees ! Estimated noise=3.60524 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.00947582 Jy ! Component: 100 - total flux cleaned = -0.0102945 Jy ! Component: 150 - total flux cleaned = -0.0101884 Jy ! Component: 200 - total flux cleaned = -0.0100623 Jy ! Total flux subtracted in 200 components = -0.0100623 Jy ! Clean residual min=-0.004060 max=0.007161 Jy/beam ! Clean residual mean=-0.000020 rms=0.001291 Jy/beam ! Combined flux in latest and established models = 0.291273 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 53 components and 0.291274 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.081729Jy sigma=0.170382 ! Fit after self-cal, rms=0.081757Jy sigma=0.170335 ! Inverting map ! Added new window around map position (-1.8, 7.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00655952 Jy ! Component: 100 - total flux cleaned = 0.0104112 Jy ! Component: 150 - total flux cleaned = 0.0130632 Jy ! Component: 200 - total flux cleaned = 0.0149844 Jy ! Total flux subtracted in 200 components = 0.0149844 Jy ! Clean residual min=-0.003775 max=0.003657 Jy/beam ! Clean residual mean=-0.000010 rms=0.000849 Jy/beam ! Combined flux in latest and established models = 0.306258 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 95 components and 0.306258 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.081130Jy sigma=0.168953 ! Fit after self-cal, rms=0.081079Jy sigma=0.168843 ! 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.081079Jy sigma=0.168843 ! Fit after self-cal, rms=0.080170Jy sigma=0.166632 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8269 mas, bmaj=2.9 mas, bpa=3.986 degrees ! Estimated noise=3.44414 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00891737 Jy ! Component: 100 - total flux cleaned = -0.00877385 Jy ! Component: 150 - total flux cleaned = -0.00759221 Jy ! Component: 200 - total flux cleaned = -0.00662415 Jy ! Total flux subtracted in 200 components = -0.00662415 Jy ! Clean residual min=-0.003242 max=0.002991 Jy/beam ! Clean residual mean=-0.000008 rms=0.000716 Jy/beam ! Combined flux in latest and established models = 0.299634 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 108 components and 0.299634 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077410Jy sigma=0.168270 ! Fit after self-cal, rms=0.077401Jy sigma=0.168254 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.00105986 Jy ! Component: 100 - total flux cleaned = 0.00181247 Jy ! Component: 150 - total flux cleaned = 0.00226685 Jy ! Component: 200 - total flux cleaned = 0.00259638 Jy ! Total flux subtracted in 200 components = 0.00259638 Jy ! Clean residual min=-0.003174 max=0.002998 Jy/beam ! Clean residual mean=-0.000006 rms=0.000682 Jy/beam ! Combined flux in latest and established models = 0.30223 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 118 components and 0.30223 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077273Jy sigma=0.168277 ! Fit after self-cal, rms=0.077272Jy sigma=0.168270 ! 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.077272Jy sigma=0.168270 ! Fit after self-cal, rms=0.076516Jy sigma=0.166348 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8236 mas, bmaj=2.899 mas, bpa=4.037 degrees ! Estimated noise=3.29947 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00841749 Jy ! Component: 100 - total flux cleaned = -0.00988637 Jy ! Component: 150 - total flux cleaned = -0.00944957 Jy ! Component: 200 - total flux cleaned = -0.00910541 Jy ! Total flux subtracted in 200 components = -0.00910541 Jy ! Clean residual min=-0.002913 max=0.002739 Jy/beam ! Clean residual mean=-0.000006 rms=0.000637 Jy/beam ! Combined flux in latest and established models = 0.293125 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 128 components and 0.293125 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073905Jy sigma=0.168230 ! Fit after self-cal, rms=0.073902Jy sigma=0.168224 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.000390368 Jy ! Component: 100 - total flux cleaned = 0.000659822 Jy ! Component: 150 - total flux cleaned = 0.000855495 Jy ! Component: 200 - total flux cleaned = 0.000924352 Jy ! Total flux subtracted in 200 components = 0.000924352 Jy ! Clean residual min=-0.002858 max=0.002724 Jy/beam ! Clean residual mean=-0.000005 rms=0.000626 Jy/beam ! Combined flux in latest and established models = 0.294049 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 145 components and 0.294049 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.073847Jy sigma=0.168237 ! Fit after self-cal, rms=0.073848Jy sigma=0.168235 ! 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.073848Jy sigma=0.168235 ! Fit after self-cal, rms=0.073130Jy sigma=0.166308 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.084 mas, bmaj=3.354 mas, bpa=0.4876 degrees ! Estimated noise=3.87082 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.007467 Jy ! Component: 100 - total flux cleaned = -0.00844522 Jy ! Component: 150 - total flux cleaned = -0.00809268 Jy ! Component: 200 - total flux cleaned = -0.00799852 Jy ! Total flux subtracted in 200 components = -0.00799852 Jy ! Clean residual min=-0.003157 max=0.002907 Jy/beam ! Clean residual mean=-0.000008 rms=0.000865 Jy/beam ! Combined flux in latest and established models = 0.286051 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 152 components and 0.286051 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070792Jy sigma=0.167987 ! Fit after self-cal, rms=0.070790Jy sigma=0.167979 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.000139437 Jy ! Component: 100 - total flux cleaned = 0.00011438 Jy ! Component: 150 - total flux cleaned = 0.00011412 Jy ! Component: 200 - total flux cleaned = 9.34869e-05 Jy ! Total flux subtracted in 200 components = 9.34869e-05 Jy ! Clean residual min=-0.003116 max=0.002810 Jy/beam ! Clean residual mean=-0.000008 rms=0.000847 Jy/beam ! Combined flux in latest and established models = 0.286144 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 156 components and 0.286144 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070753Jy sigma=0.168038 ! Fit after self-cal, rms=0.070753Jy sigma=0.168035 ! 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.8207 mas, bmaj=2.899 mas, bpa=4.085 degrees ! Estimated noise=3.16051 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8207 x 2.899 at 4.085 degrees (North through East) ! Clean map min=-0.0023905 max=0.22413 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.5977 mas, bmaj=2.876 mas, bpa=5.547 degrees ! Estimated noise=5.98543 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.167981 Jy ! Component: 100 - total flux cleaned = 0.207784 Jy ! Component: 150 - total flux cleaned = 0.225531 Jy ! Component: 200 - total flux cleaned = 0.23525 Jy ! Total flux subtracted in 200 components = 0.23525 Jy ! Clean residual min=-0.005125 max=0.005266 Jy/beam ! Clean residual mean=-0.000017 rms=0.001288 Jy/beam ! Combined flux in latest and established models = 0.23525 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 14 model components to the UV plane model. ! The established model now contains 14 components and 0.23525 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8207 mas, bmaj=2.899 mas, bpa=4.085 degrees ! Estimated noise=3.16051 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.0107443 Jy ! Component: 100 - total flux cleaned = 0.0178804 Jy ! Component: 150 - total flux cleaned = 0.0233983 Jy ! Component: 200 - total flux cleaned = 0.0278555 Jy ! Total flux subtracted in 200 components = 0.0278555 Jy ! Clean residual min=-0.003488 max=0.004376 Jy/beam ! Clean residual mean=-0.000020 rms=0.001056 Jy/beam ! Combined flux in latest and established models = 0.263105 Jy ! Adding 60 model components to the UV plane model. ! The established model now contains 69 components and 0.263105 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.084 mas, bmaj=3.354 mas, bpa=0.4876 degrees ! Estimated noise=3.87082 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00709133 Jy ! Component: 100 - total flux cleaned = 0.0116583 Jy ! Component: 150 - total flux cleaned = 0.0148341 Jy ! Component: 200 - total flux cleaned = 0.0171034 Jy ! Total flux subtracted in 200 components = 0.0171034 Jy ! Clean residual min=-0.003480 max=0.002685 Jy/beam ! Clean residual mean=-0.000018 rms=0.000986 Jy/beam ! Combined flux in latest and established models = 0.280209 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.00165027 Jy ! Component: 100 - total flux cleaned = 0.00286059 Jy ! Component: 150 - total flux cleaned = 0.00375082 Jy ! Component: 200 - total flux cleaned = 0.00440781 Jy ! Total flux subtracted in 200 components = 0.00440781 Jy ! Clean residual min=-0.003094 max=0.002770 Jy/beam ! Clean residual mean=-0.000011 rms=0.000849 Jy/beam ! Combined flux in latest and established models = 0.284617 Jy ! Adding 71 model components to the UV plane model. ! The established model now contains 129 components and 0.284617 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8207 mas, bmaj=2.899 mas, bpa=4.085 degrees ! Estimated noise=3.16051 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000374029 Jy ! Component: 100 - total flux cleaned = -8.64948e-06 Jy ! Component: 150 - total flux cleaned = 0.000324176 Jy ! Component: 200 - total flux cleaned = 0.000442188 Jy ! Total flux subtracted in 200 components = 0.000442188 Jy ! Clean residual min=-0.002526 max=0.002657 Jy/beam ! Clean residual mean=-0.000004 rms=0.000593 Jy/beam ! Combined flux in latest and established models = 0.285059 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 151 components and 0.285059 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070600Jy sigma=0.168476 ! Fit after self-cal, rms=0.070599Jy sigma=0.168465 wmodel /g0/scr/pima/npcsc_uvs/J0354+8009_X_map.mod ! Writing 151 model components to file: /g0/scr/pima/npcsc_uvs/J0354+8009_X_map.mod wobs /g0/scr/pima/npcsc_uvs/J0354+8009_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/npcsc_uvs/J0354+8009_X_uvs.fits wwins /g0/scr/pima/npcsc_uvs/J0354+8009_X_map.win ! wwins: Wrote 3 windows to /g0/scr/pima/npcsc_uvs/J0354+8009_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.000159644 Jy ! Component: 100 - total flux cleaned = -0.000200001 Jy ! Component: 150 - total flux cleaned = -0.000354035 Jy ! Component: 200 - total flux cleaned = -0.000573474 Jy ! Component: 250 - total flux cleaned = -0.000714196 Jy ! Component: 300 - total flux cleaned = -0.000748269 Jy ! Component: 350 - total flux cleaned = -0.000715449 Jy ! Component: 400 - total flux cleaned = -0.000684089 Jy ! Component: 450 - total flux cleaned = -0.000592333 Jy ! Component: 500 - total flux cleaned = -0.000532186 Jy ! Component: 550 - total flux cleaned = -0.000443748 Jy ! Component: 600 - total flux cleaned = -0.000329465 Jy ! Component: 650 - total flux cleaned = -0.000301483 Jy ! Component: 700 - total flux cleaned = -0.000163205 Jy ! Component: 750 - total flux cleaned = -0.000108775 Jy ! Component: 800 - total flux cleaned = -1.54811e-06 Jy ! Component: 850 - total flux cleaned = 7.69174e-05 Jy ! Component: 900 - total flux cleaned = 0.000205479 Jy ! Component: 950 - total flux cleaned = 0.000230463 Jy ! Component: 1000 - total flux cleaned = 0.000330214 Jy ! Component: 1050 - total flux cleaned = 0.000330335 Jy ! Component: 1100 - total flux cleaned = 0.000427279 Jy ! Component: 1150 - total flux cleaned = 0.000403247 Jy ! Component: 1200 - total flux cleaned = 0.000427147 Jy ! Component: 1250 - total flux cleaned = 0.000567491 Jy ! Component: 1300 - total flux cleaned = 0.000544456 Jy ! Component: 1350 - total flux cleaned = 0.000567606 Jy ! Component: 1400 - total flux cleaned = 0.000613184 Jy ! Component: 1450 - total flux cleaned = 0.000657803 Jy ! Component: 1500 - total flux cleaned = 0.000724228 Jy ! Component: 1550 - total flux cleaned = 0.000811741 Jy ! Component: 1600 - total flux cleaned = 0.000855056 Jy ! Component: 1650 - total flux cleaned = 0.000919453 Jy ! Component: 1700 - total flux cleaned = 0.000961646 Jy ! Component: 1750 - total flux cleaned = 0.000898395 Jy ! Component: 1800 - total flux cleaned = 0.00100248 Jy ! Component: 1850 - total flux cleaned = 0.000961085 Jy ! Component: 1900 - total flux cleaned = 0.000940536 Jy ! Component: 1950 - total flux cleaned = 0.0010217 Jy ! Component: 2000 - total flux cleaned = 0.00100172 Jy ! Component: 2050 - total flux cleaned = 0.00108148 Jy ! Component: 2100 - total flux cleaned = 0.00110114 Jy ! Component: 2150 - total flux cleaned = 0.00114023 Jy ! Component: 2200 - total flux cleaned = 0.00102329 Jy ! Component: 2250 - total flux cleaned = 0.0010235 Jy ! Component: 2300 - total flux cleaned = 0.00110039 Jy ! Component: 2350 - total flux cleaned = 0.00102419 Jy ! Component: 2400 - total flux cleaned = 0.00108111 Jy ! Component: 2450 - total flux cleaned = 0.00108105 Jy ! Component: 2500 - total flux cleaned = 0.0010999 Jy ! Component: 2550 - total flux cleaned = 0.00117418 Jy ! Component: 2600 - total flux cleaned = 0.00113742 Jy ! Component: 2650 - total flux cleaned = 0.00113743 Jy ! Component: 2700 - total flux cleaned = 0.00113748 Jy ! Component: 2750 - total flux cleaned = 0.00113744 Jy ! Component: 2800 - total flux cleaned = 0.00120916 Jy ! Component: 2850 - total flux cleaned = 0.00122693 Jy ! Component: 2900 - total flux cleaned = 0.00126239 Jy ! Component: 2950 - total flux cleaned = 0.00126232 Jy ! Component: 3000 - total flux cleaned = 0.00129745 Jy ! Component: 3050 - total flux cleaned = 0.00136723 Jy ! Component: 3100 - total flux cleaned = 0.00129775 Jy ! Component: 3150 - total flux cleaned = 0.00138408 Jy ! Component: 3200 - total flux cleaned = 0.00143544 Jy ! Component: 3250 - total flux cleaned = 0.0014185 Jy ! Component: 3300 - total flux cleaned = 0.00146932 Jy ! Component: 3350 - total flux cleaned = 0.0015198 Jy ! Component: 3400 - total flux cleaned = 0.00146929 Jy ! Component: 3450 - total flux cleaned = 0.00145251 Jy ! Component: 3500 - total flux cleaned = 0.00145247 Jy ! Component: 3550 - total flux cleaned = 0.00151837 Jy ! Component: 3600 - total flux cleaned = 0.00150184 Jy ! Component: 3650 - total flux cleaned = 0.0014856 Jy ! Component: 3700 - total flux cleaned = 0.00143672 Jy ! Component: 3750 - total flux cleaned = 0.00148536 Jy ! Component: 3800 - total flux cleaned = 0.00148532 Jy ! Component: 3850 - total flux cleaned = 0.00145337 Jy ! Component: 3900 - total flux cleaned = 0.00138957 Jy ! Component: 3950 - total flux cleaned = 0.0014055 Jy ! Component: 4000 - total flux cleaned = 0.00138963 Jy ! Component: 4050 - total flux cleaned = 0.00137402 Jy ! Total flux subtracted in 4096 components = 0.001421 Jy ! Clean residual min=-0.000965 max=0.000840 Jy/beam ! Clean residual mean=-0.000001 rms=0.000279 Jy/beam ! Combined flux in latest and established models = 0.28648 Jy keep ! Adding 298 model components to the UV plane model. ! The established model now contains 449 components and 0.28648 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/npcsc_uvs/J0354+8009_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8207 x 2.899 at 4.085 degrees (North through East) ! Clean map min=-0.0015214 max=0.22358 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/npcsc_uvs/J0354+8009_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.22358 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000278201 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.373291 0.373291 0.746582 1.49316 2.98633 5.97266 11.9453 23.8906 47.7813 95.5626 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0008 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.223 quit ! Quitting program ! Log file /g0/scr/pima/npcsc_uvs/J0354+8009_X_uvs.log closed on Sun Oct 6 14:23:03 2013