! Started logfile: J0659+0813_S_2010_10_13_pus_uvs.log on Sun Feb 27 23:58:23 2011 obs J0659+0813_S_2010_10_13_pus_uva.fits ! Reading UV FITS file: J0659+0813_S_2010_10_13_pus_uva.fits ! AN table 1: 75 integrations on 105 of 105 possible baselines. ! AN table 2: 107 integrations on 105 of 105 possible baselines. ! Apparent sampling: 0.151125 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0659+0813 ! ! 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.23696e+09 8e+06 1 8e+06 ! 02 2 2.26696e+09 8e+06 1 8e+06 ! 03 3 2.35696e+09 8e+06 1 8e+06 ! 04 4 2.37696e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 3545 lines of history. ! ! Reading 11552 visibilities. select I ! Polarization I is unavailable. ! 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 = 512 print "field_cell =",field_cell ! field_cell = 0.5 print "taper_size =",taper_size ! taper_size = 20 ![@muppet J0659+0813_S_2010_10_13_pus] 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 = 512x512 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 839 telescope corrections were flagged in sub-array 1. ! A total of 1077 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 839 telescope corrections were flagged in sub-array 1. ! A total of 1077 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 839 telescope corrections were flagged in sub-array 1. ! A total of 1077 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 839 telescope corrections were flagged in sub-array 1. ! A total of 1077 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=0.518595Jy sigma=0.005541 ! Fit after self-cal, rms=0.492694Jy sigma=0.005289 ! 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=2.563 mas, bmaj=9.136 mas, bpa=-18.48 degrees ! Estimated noise=963.156 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.397379 Jy ! Component: 100 - total flux cleaned = 0.503821 Jy ! Total flux subtracted in 100 components = 0.503821 Jy ! Clean residual min=-0.015043 max=0.046198 Jy/beam ! Clean residual mean=0.000014 rms=0.005646 Jy/beam ! Combined flux in latest and established models = 0.503821 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.503821 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.189265Jy sigma=0.002039 ! Fit after self-cal, rms=0.189023Jy sigma=0.002036 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0517496 Jy ! Component: 100 - total flux cleaned = 0.0788361 Jy ! Total flux subtracted in 100 components = 0.0788361 Jy ! Clean residual min=-0.014188 max=0.043061 Jy/beam ! Clean residual mean=0.000015 rms=0.004219 Jy/beam ! Combined flux in latest and established models = 0.582658 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 23 components and 0.582658 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166388Jy sigma=0.001709 ! Fit after self-cal, rms=0.166075Jy sigma=0.001707 ! Inverting map ! Added new window around map position (-6.5, 8.5). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0363014 Jy ! Component: 100 - total flux cleaned = 0.054737 Jy ! Total flux subtracted in 100 components = 0.054737 Jy ! Clean residual min=-0.012165 max=0.017674 Jy/beam ! Clean residual mean=-0.000004 rms=0.003189 Jy/beam ! Combined flux in latest and established models = 0.637395 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 35 components and 0.637395 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153937Jy sigma=0.001528 ! Fit after self-cal, rms=0.153042Jy sigma=0.001518 ! 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.27 mas, bmaj=10.59 mas, bpa=-19.29 degrees ! Estimated noise=605.525 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.0318043 Jy ! Component: 100 - total flux cleaned = 0.0503074 Jy ! Component: 150 - total flux cleaned = 0.0621472 Jy ! Component: 200 - total flux cleaned = 0.070091 Jy ! Total flux subtracted in 200 components = 0.070091 Jy ! Clean residual min=-0.008157 max=0.020966 Jy/beam ! Clean residual mean=0.000171 rms=0.003832 Jy/beam ! Combined flux in latest and established models = 0.707486 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 75 components and 0.707485 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.146622Jy sigma=0.001418 ! Fit after self-cal, rms=0.146049Jy sigma=0.001411 ! Inverting map ! Added new window around map position (-14.5, 15). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0205717 Jy ! Component: 100 - total flux cleaned = 0.030933 Jy ! Component: 150 - total flux cleaned = 0.0376947 Jy ! Component: 200 - total flux cleaned = 0.0423943 Jy ! Total flux subtracted in 200 components = 0.0423943 Jy ! Clean residual min=-0.006484 max=0.014007 Jy/beam ! Clean residual mean=0.000063 rms=0.002124 Jy/beam ! Combined flux in latest and established models = 0.74988 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 109 components and 0.74988 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.143458Jy sigma=0.001369 ! Fit after self-cal, rms=0.143107Jy sigma=0.001365 ! Inverting map ! Added new window around map position (-25, 18). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0132499 Jy ! Component: 100 - total flux cleaned = 0.0188502 Jy ! Component: 150 - total flux cleaned = 0.0193822 Jy ! Component: 200 - total flux cleaned = 0.0193925 Jy ! Total flux subtracted in 200 components = 0.0193925 Jy ! Clean residual min=-0.005964 max=0.006196 Jy/beam ! Clean residual mean=0.000017 rms=0.001470 Jy/beam ! Combined flux in latest and established models = 0.769272 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 141 components and 0.769272 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.141958Jy sigma=0.001348 ! Fit after self-cal, rms=0.141805Jy sigma=0.001346 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 15 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.05 HH 1.00* HN 1.09 ! KB 1.00* KK 1.00 KP 0.98 LA 1.04 ! MK 0.96 NL 1.02 NY 1.06 OV 0.96 ! PT 0.99 SC 1.19 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 1.02 HH 1.00* HN 1.02 ! KB 1.00* KK 1.01 KP 0.96 LA 1.02 ! MK 0.92 NL 0.98 NY 1.05 OV 0.94 ! PT 0.98 SC 1.00* TS 1.00* ! ! ! Correcting IF 2. ! A total of 15 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.02 HH 1.00* HN 1.06 ! KB 1.00* KK 1.00 KP 1.00 LA 0.99 ! MK 0.99 NL 1.02 NY 1.00 OV 1.02 ! PT 1.00 SC 1.08 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 FD 1.02 HH 1.00* HN 1.04 ! KB 1.00* KK 0.96 KP 0.99 LA 1.00 ! MK 0.98 NL 1.00 NY 1.07 OV 1.01 ! PT 0.99 SC 1.00* TS 1.00* ! ! ! Correcting IF 3. ! A total of 15 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.04 HH 1.00* HN 1.07 ! KB 1.00* KK 0.97 KP 1.03 LA 1.01 ! MK 0.94 NL 1.01 NY 0.99 OV 1.05 ! PT 1.01 SC 1.10 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.01 HH 1.00* HN 1.04 ! KB 1.00* KK 1.01 KP 1.02 LA 0.99 ! MK 0.95 NL 1.00 NY 1.08 OV 0.99 ! PT 1.00 SC 1.00* TS 1.00* ! ! ! Correcting IF 4. ! A total of 15 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.82 FD 1.01 HH 1.00* HN 1.11 ! KB 1.00* KK 1.05 KP 1.01 LA 0.97 ! MK 1.02 NL 0.99 NY 0.95 OV 0.99 ! PT 1.00 SC 1.18 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.95 FD 1.04 HH 1.00* HN 1.05 ! KB 1.00* KK 0.99 KP 1.00 LA 0.98 ! MK 0.99 NL 0.99 NY 1.05 OV 0.99 ! PT 1.00 SC 1.00* TS 1.00* ! ! ! Fit before self-cal, rms=0.141805Jy sigma=0.001346 ! Fit after self-cal, rms=0.141817Jy sigma=0.001308 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.294 mas, bmaj=10.8 mas, bpa=-19.48 degrees ! Estimated noise=607.027 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.00365669 Jy ! Component: 100 - total flux cleaned = 0.00364923 Jy ! Component: 150 - total flux cleaned = 0.00328538 Jy ! Component: 200 - total flux cleaned = 0.00306964 Jy ! Total flux subtracted in 200 components = 0.00306964 Jy ! Clean residual min=-0.004858 max=0.004093 Jy/beam ! Clean residual mean=0.000007 rms=0.001120 Jy/beam ! Combined flux in latest and established models = 0.772342 Jy ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 174 components and 0.772342 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.141571Jy sigma=0.001304 ! Fit after self-cal, rms=0.141620Jy sigma=0.001304 ! 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.141620Jy sigma=0.001304 ! Fit after self-cal, rms=0.140543Jy sigma=0.001281 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.291 mas, bmaj=10.82 mas, bpa=-19.5 degrees ! Estimated noise=607.353 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00151619 Jy ! Component: 100 - total flux cleaned = 0.00191899 Jy ! Component: 150 - total flux cleaned = 0.00216598 Jy ! Component: 200 - total flux cleaned = 0.00216437 Jy ! Total flux subtracted in 200 components = 0.00216437 Jy ! Clean residual min=-0.003267 max=0.002836 Jy/beam ! Clean residual mean=-0.000022 rms=0.000819 Jy/beam ! Combined flux in latest and established models = 0.774506 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 197 components and 0.774506 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140415Jy sigma=0.001280 ! Fit after self-cal, rms=0.140405Jy sigma=0.001279 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.2094e-05 Jy ! Component: 100 - total flux cleaned = 0.000237686 Jy ! Component: 150 - total flux cleaned = 0.000303329 Jy ! Component: 200 - total flux cleaned = 0.00030438 Jy ! Total flux subtracted in 200 components = 0.00030438 Jy ! Clean residual min=-0.003182 max=0.002788 Jy/beam ! Clean residual mean=-0.000024 rms=0.000796 Jy/beam ! Combined flux in latest and established models = 0.774811 Jy ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 212 components and 0.774811 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140337Jy sigma=0.001279 ! Fit after self-cal, rms=0.140328Jy sigma=0.001279 ! 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.140328Jy sigma=0.001279 ! Fit after self-cal, rms=0.139997Jy sigma=0.001274 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.291 mas, bmaj=10.82 mas, bpa=-19.51 degrees ! Estimated noise=606.666 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00128272 Jy ! Component: 100 - total flux cleaned = 0.00155983 Jy ! Component: 150 - total flux cleaned = 0.00174313 Jy ! Component: 200 - total flux cleaned = 0.00185514 Jy ! Total flux subtracted in 200 components = 0.00185514 Jy ! Clean residual min=-0.002754 max=0.002694 Jy/beam ! Clean residual mean=-0.000015 rms=0.000738 Jy/beam ! Combined flux in latest and established models = 0.776666 Jy selfcal ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 229 components and 0.776666 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.139925Jy sigma=0.001273 ! Fit after self-cal, rms=0.139920Jy sigma=0.001273 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.000201875 Jy ! Component: 100 - total flux cleaned = 0.000413117 Jy ! Component: 150 - total flux cleaned = 0.000413047 Jy ! Component: 200 - total flux cleaned = 0.000366319 Jy ! Total flux subtracted in 200 components = 0.000366319 Jy ! Clean residual min=-0.002715 max=0.002642 Jy/beam ! Clean residual mean=-0.000016 rms=0.000726 Jy/beam ! Combined flux in latest and established models = 0.777032 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 240 components and 0.777032 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.139877Jy sigma=0.001272 ! Fit after self-cal, rms=0.139873Jy sigma=0.001272 ! 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.139873Jy sigma=0.001272 ! Fit after self-cal, rms=0.139881Jy sigma=0.001272 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.854 mas, bmaj=12.46 mas, bpa=-18.07 degrees ! Estimated noise=701.667 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000690928 Jy ! Component: 100 - total flux cleaned = 0.000795543 Jy ! Component: 150 - total flux cleaned = 0.000670869 Jy ! Component: 200 - total flux cleaned = 0.000635916 Jy ! Total flux subtracted in 200 components = 0.000635916 Jy ! Clean residual min=-0.002711 max=0.001904 Jy/beam ! Clean residual mean=-0.000023 rms=0.000733 Jy/beam ! Combined flux in latest and established models = 0.777668 Jy selfcal ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 267 components and 0.777668 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.139857Jy sigma=0.001272 ! Fit after self-cal, rms=0.139853Jy sigma=0.001272 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.000300307 Jy ! Component: 100 - total flux cleaned = 0.000301716 Jy ! Component: 150 - total flux cleaned = 0.000301702 Jy ! Component: 200 - total flux cleaned = 0.000242891 Jy ! Total flux subtracted in 200 components = 0.000242891 Jy ! Clean residual min=-0.002635 max=0.001909 Jy/beam ! Clean residual mean=-0.000025 rms=0.000728 Jy/beam ! Combined flux in latest and established models = 0.77791 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 284 components and 0.77791 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.139842Jy sigma=0.001272 ! Fit after self-cal, rms=0.139841Jy sigma=0.001272 ! 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.29 mas, bmaj=10.83 mas, bpa=-19.51 degrees ! Estimated noise=606.513 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.29 x 10.83 at -19.51 degrees (North through East) ! Clean map min=-0.0025896 max=0.53998 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 ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.139841Jy sigma=0.001272 ! Fit after self-cal, rms=0.136466Jy sigma=0.001132 ! Inverting map and beam ! Estimated beam: bmin=3.29 mas, bmaj=10.83 mas, bpa=-19.51 degrees ! Estimated noise=606.448 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.22431e-05 Jy ! Component: 100 - total flux cleaned = -6.23023e-05 Jy ! Component: 150 - total flux cleaned = -6.22143e-05 Jy ! Component: 200 - total flux cleaned = -6.23748e-05 Jy ! Total flux subtracted in 200 components = -6.23748e-05 Jy ! Clean residual min=-0.002479 max=0.002395 Jy/beam ! Clean residual mean=-0.000006 rms=0.000694 Jy/beam ! Combined flux in latest and established models = 0.777848 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 299 components and 0.777848 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.136427Jy sigma=0.001132 ! Fit after self-cal, rms=0.136425Jy sigma=0.001131 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.97299e-05 Jy ! Component: 100 - total flux cleaned = -4.73659e-05 Jy ! Component: 150 - total flux cleaned = -8.95263e-06 Jy ! Component: 200 - total flux cleaned = -4.49962e-05 Jy ! Total flux subtracted in 200 components = -4.49962e-05 Jy ! Clean residual min=-0.002459 max=0.002347 Jy/beam ! Clean residual mean=-0.000006 rms=0.000689 Jy/beam ! Combined flux in latest and established models = 0.777803 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 307 components and 0.777803 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.136399Jy sigma=0.001131 ! Fit after self-cal, rms=0.136398Jy sigma=0.001131 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.136398Jy sigma=0.001131 ! Fit after self-cal, rms=0.136446Jy sigma=0.001131 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=2.575 mas, bmaj=9.295 mas, bpa=-18.71 degrees ! Estimated noise=969.886 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.397431 Jy ! Component: 100 - total flux cleaned = 0.50477 Jy ! Component: 150 - total flux cleaned = 0.563628 Jy ! Component: 200 - total flux cleaned = 0.600479 Jy ! Total flux subtracted in 200 components = 0.600479 Jy ! Clean residual min=-0.009200 max=0.019829 Jy/beam ! Clean residual mean=-0.000014 rms=0.003157 Jy/beam ! Combined flux in latest and established models = 0.600479 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.600479 Jy ! Inverting map and beam ! Estimated beam: bmin=3.29 mas, bmaj=10.83 mas, bpa=-19.51 degrees ! Estimated noise=606.315 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.0501422 Jy ! Component: 100 - total flux cleaned = 0.082724 Jy ! Component: 150 - total flux cleaned = 0.105951 Jy ! Component: 200 - total flux cleaned = 0.123019 Jy ! Total flux subtracted in 200 components = 0.123019 Jy ! Clean residual min=-0.005659 max=0.009741 Jy/beam ! Clean residual mean=0.000164 rms=0.002758 Jy/beam ! Combined flux in latest and established models = 0.723498 Jy ! Adding 68 model components to the UV plane model. ! The established model now contains 80 components and 0.723498 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=8.847 mas, bmaj=12.46 mas, bpa=-18.04 degrees ! Estimated noise=701.714 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0191469 Jy ! Component: 100 - total flux cleaned = 0.0308186 Jy ! Component: 150 - total flux cleaned = 0.038267 Jy ! Component: 200 - total flux cleaned = 0.0432997 Jy ! Total flux subtracted in 200 components = 0.0432997 Jy ! Clean residual min=-0.003136 max=0.003162 Jy/beam ! Clean residual mean=0.000049 rms=0.001235 Jy/beam ! Combined flux in latest and established models = 0.766798 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.00354997 Jy ! Component: 100 - total flux cleaned = 0.00608824 Jy ! Component: 150 - total flux cleaned = 0.00792329 Jy ! Component: 200 - total flux cleaned = 0.00926659 Jy ! Total flux subtracted in 200 components = 0.00926659 Jy ! Clean residual min=-0.002517 max=0.002102 Jy/beam ! Clean residual mean=-0.000007 rms=0.000753 Jy/beam ! Combined flux in latest and established models = 0.776064 Jy ! Adding 155 model components to the UV plane model. ! The established model now contains 225 components and 0.776064 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.29 mas, bmaj=10.83 mas, bpa=-19.51 degrees ! Estimated noise=606.315 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000450008 Jy ! Component: 100 - total flux cleaned = 0.000651305 Jy ! Component: 150 - total flux cleaned = 0.000747607 Jy ! Component: 200 - total flux cleaned = 0.000827617 Jy ! Total flux subtracted in 200 components = 0.000827617 Jy ! Clean residual min=-0.002535 max=0.002552 Jy/beam ! Clean residual mean=-0.000005 rms=0.000725 Jy/beam ! Combined flux in latest and established models = 0.776892 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 241 components and 0.776892 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.136686Jy sigma=0.001133 ! Fit after self-cal, rms=0.136642Jy sigma=0.001132 wmodel J0659+0813_S_2010_10_13_pus_map.mod ! Writing 241 model components to file: J0659+0813_S_2010_10_13_pus_map.mod wobs J0659+0813_S_2010_10_13_pus_uvs.fits ! Writing UV FITS file: J0659+0813_S_2010_10_13_pus_uvs.fits wwins J0659+0813_S_2010_10_13_pus_map.win ! wwins: Wrote 4 windows to J0659+0813_S_2010_10_13_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 4.58917e-05 Jy ! Component: 100 - total flux cleaned = 0.000404916 Jy ! Component: 150 - total flux cleaned = 0.000746875 Jy ! Component: 200 - total flux cleaned = 0.000952363 Jy ! Component: 250 - total flux cleaned = 0.00107236 Jy ! Component: 300 - total flux cleaned = 0.000955769 Jy ! Component: 350 - total flux cleaned = 0.000956202 Jy ! Component: 400 - total flux cleaned = 0.000956532 Jy ! Component: 450 - total flux cleaned = 0.00106623 Jy ! Component: 500 - total flux cleaned = 0.00110209 Jy ! Component: 550 - total flux cleaned = 0.00120747 Jy ! Component: 600 - total flux cleaned = 0.00127668 Jy ! Component: 650 - total flux cleaned = 0.00137841 Jy ! Component: 700 - total flux cleaned = 0.00144504 Jy ! Component: 750 - total flux cleaned = 0.0014781 Jy ! Component: 800 - total flux cleaned = 0.00160847 Jy ! Component: 850 - total flux cleaned = 0.00170486 Jy ! Component: 900 - total flux cleaned = 0.0018941 Jy ! Component: 950 - total flux cleaned = 0.00189364 Jy ! Component: 1000 - total flux cleaned = 0.00198647 Jy ! Component: 1050 - total flux cleaned = 0.0020478 Jy ! Component: 1100 - total flux cleaned = 0.00204826 Jy ! Component: 1150 - total flux cleaned = 0.00204873 Jy ! Component: 1200 - total flux cleaned = 0.00216661 Jy ! Component: 1250 - total flux cleaned = 0.00219558 Jy ! Component: 1300 - total flux cleaned = 0.00216662 Jy ! Component: 1350 - total flux cleaned = 0.00213817 Jy ! Component: 1400 - total flux cleaned = 0.00205362 Jy ! Component: 1450 - total flux cleaned = 0.00210973 Jy ! Component: 1500 - total flux cleaned = 0.00211004 Jy ! Component: 1550 - total flux cleaned = 0.00213778 Jy ! Component: 1600 - total flux cleaned = 0.00221984 Jy ! Component: 1650 - total flux cleaned = 0.002274 Jy ! Component: 1700 - total flux cleaned = 0.0023008 Jy ! Component: 1750 - total flux cleaned = 0.00232772 Jy ! Component: 1800 - total flux cleaned = 0.00243381 Jy ! Component: 1850 - total flux cleaned = 0.00238106 Jy ! Component: 1900 - total flux cleaned = 0.00240732 Jy ! Component: 1950 - total flux cleaned = 0.00243313 Jy ! Component: 2000 - total flux cleaned = 0.00240732 Jy ! Total flux subtracted in 2048 components = 0.00243328 Jy ! Clean residual min=-0.001548 max=0.001530 Jy/beam ! Clean residual mean=-0.000013 rms=0.000536 Jy/beam ! Combined flux in latest and established models = 0.779325 Jy keep ! Adding 137 model components to the UV plane model. ! The established model now contains 378 components and 0.779325 Jy ![Exited script file: muppet] wmap "J0659+0813_S_2010_10_13_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.29 x 10.83 at -19.51 degrees (North through East) ! Clean map min=-0.0025021 max=0.54099 Jy/beam ! Writing clean map to FITS file: J0659+0813_S_2010_10_13_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.540994 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00053187 device "J0659+0813_S_2010_10_13_pus\_map.eps/VPS" ! Attempting to open device: 'J0659+0813_S_2010_10_13_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.294941 0.294941 0.589882 1.17976 2.35953 4.71905 9.43811 18.8762 37.7524 75.5049 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0015 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.54 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.29 x 10.83 at -19.51 degrees (North through East) ! Clean map min=-0.0025021 max=0.54099 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0659+0813_S_2010_10_13_pus\_map.gif/vgif" ! Attempting to open device: 'J0659+0813_S_2010_10_13_pus_map.gif/vgif' mapplot cln