! Started logfile: J0137+3122_S_2010_10_13_pus_uvs.log on Sun Feb 27 23:55:40 2011 obs J0137+3122_S_2010_10_13_pus_uva.fits ! Reading UV FITS file: J0137+3122_S_2010_10_13_pus_uva.fits ! AN table 1: 189 integrations on 105 of 105 possible baselines. ! AN table 2: 17 integrations on 105 of 105 possible baselines. ! AN table 3: 423 integrations on 105 of 105 possible baselines. ! Apparent sampling: 0.140934 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0137+3122 ! ! 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 37232 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 J0137+3122_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 1412 telescope corrections were flagged in sub-array 1. ! A total of 181 telescope corrections were flagged in sub-array 2. ! A total of 5101 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 1412 telescope corrections were flagged in sub-array 1. ! A total of 181 telescope corrections were flagged in sub-array 2. ! A total of 5101 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 1412 telescope corrections were flagged in sub-array 1. ! A total of 181 telescope corrections were flagged in sub-array 2. ! A total of 5101 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 1412 telescope corrections were flagged in sub-array 1. ! A total of 181 telescope corrections were flagged in sub-array 2. ! A total of 5101 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.699911Jy sigma=0.007156 ! Fit after self-cal, rms=0.665715Jy sigma=0.006667 ! 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=1.825 mas, bmaj=3.475 mas, bpa=27.15 degrees ! Estimated noise=844.432 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.268469 Jy ! Component: 100 - total flux cleaned = 0.354846 Jy ! Total flux subtracted in 100 components = 0.354846 Jy ! Clean residual min=-0.014014 max=0.034964 Jy/beam ! Clean residual mean=0.000253 rms=0.003776 Jy/beam ! Combined flux in latest and established models = 0.354846 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.354846 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.169354Jy sigma=0.001511 ! Fit after self-cal, rms=0.168938Jy sigma=0.001509 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0387577 Jy ! Component: 100 - total flux cleaned = 0.0597769 Jy ! Total flux subtracted in 100 components = 0.0597769 Jy ! Clean residual min=-0.010134 max=0.013617 Jy/beam ! Clean residual mean=0.000133 rms=0.002546 Jy/beam ! Combined flux in latest and established models = 0.414623 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 17 components and 0.414623 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.156903Jy sigma=0.001349 ! Fit after self-cal, rms=0.156886Jy sigma=0.001349 ! 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=2.2 mas, bmaj=4.127 mas, bpa=27.37 degrees ! Estimated noise=371.674 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.0197338 Jy ! Component: 100 - total flux cleaned = 0.0286428 Jy ! Component: 150 - total flux cleaned = 0.0331897 Jy ! Component: 200 - total flux cleaned = 0.0355665 Jy ! Total flux subtracted in 200 components = 0.0355665 Jy ! Clean residual min=-0.004639 max=0.007242 Jy/beam ! Clean residual mean=0.000387 rms=0.001355 Jy/beam ! Combined flux in latest and established models = 0.450189 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 28 components and 0.450189 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.154593Jy sigma=0.001323 ! Fit after self-cal, rms=0.154543Jy sigma=0.001322 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 84 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.00 HH 1.12 HN 1.02 ! KB 1.00* KK 1.00* KP 0.97 LA 1.01 ! MK 1.00* NL 0.99 NY 0.95 OV 0.97 ! PT 0.98 SC 1.01 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.00* HH 1.00* HN 1.11 ! KB 1.00* KK 1.00* KP 1.00* LA 1.09 ! MK 1.00* NL 0.91 NY 1.00* OV 0.98 ! PT 1.00* SC 1.00* TS 1.00* ! ! A total of 207 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.93 FD 1.03 HH 1.00* HN 1.06 ! KB 1.05 KK 0.96 KP 1.02 LA 1.02 ! MK 0.91 NL 0.97 NY 1.00* OV 0.96 ! PT 1.00 SC 0.98 TS 0.89 ! ! ! Correcting IF 2. ! A total of 84 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.01 HH 1.08 HN 1.04 ! KB 1.00* KK 1.00* KP 1.00 LA 0.99 ! MK 1.00* NL 0.99 NY 0.93 OV 1.01 ! PT 0.99 SC 1.02 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 FD 1.00* HH 1.00* HN 1.08 ! KB 1.00* KK 1.00* KP 1.00* LA 0.99 ! MK 1.00* NL 1.00 NY 1.00* OV 1.03 ! PT 1.00* SC 1.00* TS 1.00* ! ! A total of 207 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.01 FD 1.03 HH 1.00* HN 1.06 ! KB 1.07 KK 0.98 KP 1.04 LA 0.99 ! MK 1.02 NL 1.00 NY 1.00* OV 1.03 ! PT 1.01 SC 1.02 TS 0.87 ! ! ! Correcting IF 3. ! A total of 84 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.02 HH 1.06 HN 1.06 ! KB 1.00* KK 1.00* KP 1.00 LA 0.98 ! MK 1.00* NL 1.00 NY 0.93 OV 1.00 ! PT 0.99 SC 1.01 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.09 FD 1.00* HH 1.00* HN 1.04 ! KB 1.00* KK 1.00* KP 1.00* LA 1.00 ! MK 1.00* NL 0.97 NY 1.00* OV 0.98 ! PT 1.00* SC 1.00* TS 1.00* ! ! A total of 207 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.05 HH 1.00* HN 1.03 ! KB 1.10 KK 0.95 KP 1.04 LA 0.99 ! MK 1.00 NL 0.98 NY 1.00* OV 1.01 ! PT 1.02 SC 0.98 TS 0.89 ! ! ! Correcting IF 4. ! A total of 84 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.01 HH 0.99 HN 1.05 ! KB 1.00* KK 1.00* KP 0.99 LA 0.99 ! MK 1.00* NL 0.99 NY 0.93 OV 0.99 ! PT 1.00 SC 1.07 TS 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 FD 1.00* HH 1.00* HN 1.01 ! KB 1.00* KK 1.00* KP 1.00* LA 1.00 ! MK 1.00* NL 0.99 NY 1.00* OV 1.00 ! PT 1.00* SC 1.00* TS 1.00* ! ! A total of 207 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.91 FD 1.00 HH 1.00* HN 1.06 ! KB 1.09 KK 0.95 KP 1.04 LA 0.98 ! MK 1.03 NL 0.95 NY 1.00* OV 1.00 ! PT 1.02 SC 1.04 TS 1.05 ! ! ! Fit before self-cal, rms=0.154543Jy sigma=0.001322 ! Fit after self-cal, rms=0.153510Jy sigma=0.001298 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.231 mas, bmaj=4.13 mas, bpa=27.63 degrees ! Estimated noise=379.641 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 (-11.5, 0). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00163619 Jy ! Component: 100 - total flux cleaned = 0.00163493 Jy ! Component: 150 - total flux cleaned = 0.00175116 Jy ! Component: 200 - total flux cleaned = 0.00198262 Jy ! Total flux subtracted in 200 components = 0.00198262 Jy ! Clean residual min=-0.002797 max=0.003845 Jy/beam ! Clean residual mean=0.000260 rms=0.000810 Jy/beam ! Combined flux in latest and established models = 0.452172 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 41 components and 0.452172 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153230Jy sigma=0.001295 ! Fit after self-cal, rms=0.153232Jy sigma=0.001295 ! 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.153232Jy sigma=0.001295 ! Fit after self-cal, rms=0.152045Jy sigma=0.001285 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.225 mas, bmaj=4.149 mas, bpa=27.98 degrees ! Estimated noise=378.867 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000225944 Jy ! Component: 100 - total flux cleaned = -0.000812599 Jy ! Component: 150 - total flux cleaned = -0.00115164 Jy ! Component: 200 - total flux cleaned = -0.00107562 Jy ! Total flux subtracted in 200 components = -0.00107562 Jy ! Clean residual min=-0.002725 max=0.003146 Jy/beam ! Clean residual mean=-0.000029 rms=0.000649 Jy/beam ! Combined flux in latest and established models = 0.451096 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 52 components and 0.451096 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151889Jy sigma=0.001284 ! Fit after self-cal, rms=0.151867Jy sigma=0.001284 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 (7, 16). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122576 Jy ! Component: 100 - total flux cleaned = 0.00131803 Jy ! Component: 150 - total flux cleaned = 0.0013186 Jy ! Component: 200 - total flux cleaned = 0.00123844 Jy ! Total flux subtracted in 200 components = 0.00123844 Jy ! Clean residual min=-0.002540 max=0.002780 Jy/beam ! Clean residual mean=-0.000053 rms=0.000594 Jy/beam ! Combined flux in latest and established models = 0.452335 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 64 components and 0.452335 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151715Jy sigma=0.001283 ! Fit after self-cal, rms=0.151718Jy sigma=0.001283 ! Inverting map ! Added new window around map position (-2.5, 8.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000476353 Jy ! Component: 100 - total flux cleaned = 0.000663994 Jy ! Component: 150 - total flux cleaned = 0.000500294 Jy ! Component: 200 - total flux cleaned = 0.000425677 Jy ! Total flux subtracted in 200 components = 0.000425677 Jy ! Clean residual min=-0.002167 max=0.002492 Jy/beam ! Clean residual mean=-0.000062 rms=0.000553 Jy/beam ! Combined flux in latest and established models = 0.452761 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 75 components and 0.452761 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151588Jy sigma=0.001282 ! Fit after self-cal, rms=0.151592Jy sigma=0.001282 ! 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.151592Jy sigma=0.001282 ! Fit after self-cal, rms=0.151412Jy sigma=0.001281 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.217 mas, bmaj=4.157 mas, bpa=28.16 degrees ! Estimated noise=379.19 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000553963 Jy ! Component: 100 - total flux cleaned = 0.000628267 Jy ! Component: 150 - total flux cleaned = 0.000561693 Jy ! Component: 200 - total flux cleaned = 0.000498768 Jy ! Total flux subtracted in 200 components = 0.000498768 Jy ! Clean residual min=-0.001872 max=0.002300 Jy/beam ! Clean residual mean=-0.000028 rms=0.000502 Jy/beam ! Combined flux in latest and established models = 0.453259 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 83 components and 0.453259 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151328Jy sigma=0.001280 ! Fit after self-cal, rms=0.151330Jy sigma=0.001280 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 (-8.5, -18.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00156093 Jy ! Component: 100 - total flux cleaned = 0.0016923 Jy ! Component: 150 - total flux cleaned = 0.00169279 Jy ! Component: 200 - total flux cleaned = 0.00169382 Jy ! Total flux subtracted in 200 components = 0.00169382 Jy ! Clean residual min=-0.001745 max=0.001936 Jy/beam ! Clean residual mean=-0.000064 rms=0.000470 Jy/beam ! Combined flux in latest and established models = 0.454953 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 97 components and 0.454953 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151258Jy sigma=0.001280 ! Fit after self-cal, rms=0.151258Jy sigma=0.001280 ! 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.151258Jy sigma=0.001280 ! Fit after self-cal, rms=0.151251Jy sigma=0.001279 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.26 mas, bmaj=10.84 mas, bpa=-85.06 degrees ! Estimated noise=480.553 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 9.63603e-05 Jy ! Component: 100 - total flux cleaned = 0.000223721 Jy ! Component: 150 - total flux cleaned = 0.000333753 Jy ! Component: 200 - total flux cleaned = 0.000397745 Jy ! Total flux subtracted in 200 components = 0.000397745 Jy ! Clean residual min=-0.001432 max=0.001415 Jy/beam ! Clean residual mean=-0.000113 rms=0.000417 Jy/beam ! Combined flux in latest and established models = 0.455351 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 119 components and 0.455351 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151248Jy sigma=0.001279 ! Fit after self-cal, rms=0.151249Jy 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 = 6.17555e-05 Jy ! Component: 100 - total flux cleaned = 8.92014e-05 Jy ! Component: 150 - total flux cleaned = 0.000115259 Jy ! Component: 200 - total flux cleaned = 0.000126985 Jy ! Total flux subtracted in 200 components = 0.000126985 Jy ! Clean residual min=-0.001423 max=0.001385 Jy/beam ! Clean residual mean=-0.000121 rms=0.000408 Jy/beam ! Combined flux in latest and established models = 0.455478 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 128 components and 0.455478 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151248Jy sigma=0.001279 ! Fit after self-cal, rms=0.151249Jy sigma=0.001279 ! 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=2.213 mas, bmaj=4.161 mas, bpa=28.24 degrees ! Estimated noise=379.51 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.213 x 4.161 at 28.24 degrees (North through East) ! Clean map min=-0.0036195 max=0.34081 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=1.838 mas, bmaj=3.518 mas, bpa=28.59 degrees ! Estimated noise=864.769 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.273954 Jy ! Component: 100 - total flux cleaned = 0.363351 Jy ! Component: 150 - total flux cleaned = 0.400681 Jy ! Component: 200 - total flux cleaned = 0.420516 Jy ! Total flux subtracted in 200 components = 0.420516 Jy ! Clean residual min=-0.007697 max=0.009836 Jy/beam ! Clean residual mean=0.000073 rms=0.001879 Jy/beam ! Combined flux in latest and established models = 0.420516 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 12 model components to the UV plane model. ! The established model now contains 12 components and 0.420516 Jy ! Inverting map and beam ! Estimated beam: bmin=2.213 mas, bmaj=4.161 mas, bpa=28.24 degrees ! Estimated noise=379.51 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.0162645 Jy ! Component: 100 - total flux cleaned = 0.0241667 Jy ! Component: 150 - total flux cleaned = 0.0289866 Jy ! Component: 200 - total flux cleaned = 0.0312966 Jy ! Total flux subtracted in 200 components = 0.0312966 Jy ! Clean residual min=-0.002469 max=0.003232 Jy/beam ! Clean residual mean=0.000023 rms=0.000694 Jy/beam ! Combined flux in latest and established models = 0.451813 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 38 components and 0.451813 Jy ! Inverting map ! Added new window around map position (4, -0.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00125084 Jy ! Component: 100 - total flux cleaned = 0.0016181 Jy ! Component: 150 - total flux cleaned = 0.00195577 Jy ! Component: 200 - total flux cleaned = 0.00216656 Jy ! Total flux subtracted in 200 components = 0.00216656 Jy ! Clean residual min=-0.002134 max=0.002353 Jy/beam ! Clean residual mean=-0.000021 rms=0.000591 Jy/beam ! Combined flux in latest and established models = 0.453979 Jy ! Adding 29 model components to the UV plane model. ! The established model now contains 55 components and 0.453979 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=9.26 mas, bmaj=10.84 mas, bpa=-85.06 degrees ! Estimated noise=480.553 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00147367 Jy ! Component: 100 - total flux cleaned = 0.0018006 Jy ! Component: 150 - total flux cleaned = 0.0019219 Jy ! Component: 200 - total flux cleaned = 0.0020003 Jy ! Total flux subtracted in 200 components = 0.0020003 Jy ! Clean residual min=-0.001615 max=0.001447 Jy/beam ! Clean residual mean=-0.000148 rms=0.000435 Jy/beam ! Combined flux in latest and established models = 0.45598 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 = 4.54875e-05 Jy ! Component: 100 - total flux cleaned = 2.49912e-05 Jy ! Component: 150 - total flux cleaned = 6.31819e-06 Jy ! Component: 200 - total flux cleaned = -1.15361e-05 Jy ! Total flux subtracted in 200 components = -1.15361e-05 Jy ! Clean residual min=-0.001573 max=0.001414 Jy/beam ! Clean residual mean=-0.000148 rms=0.000421 Jy/beam ! Combined flux in latest and established models = 0.455968 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 81 components and 0.455968 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.213 mas, bmaj=4.161 mas, bpa=28.24 degrees ! Estimated noise=379.51 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00093703 Jy ! Component: 100 - total flux cleaned = -0.00110659 Jy ! Component: 150 - total flux cleaned = -0.00110788 Jy ! Component: 200 - total flux cleaned = -0.00110887 Jy ! Total flux subtracted in 200 components = -0.00110887 Jy ! Clean residual min=-0.002051 max=0.002032 Jy/beam ! Clean residual mean=-0.000040 rms=0.000514 Jy/beam ! Combined flux in latest and established models = 0.454859 Jy selfcal ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 93 components and 0.454859 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.151425Jy sigma=0.001280 ! Fit after self-cal, rms=0.151319Jy sigma=0.001280 wmodel J0137+3122_S_2010_10_13_pus_map.mod ! Writing 93 model components to file: J0137+3122_S_2010_10_13_pus_map.mod wobs J0137+3122_S_2010_10_13_pus_uvs.fits ! Writing UV FITS file: J0137+3122_S_2010_10_13_pus_uvs.fits wwins J0137+3122_S_2010_10_13_pus_map.win ! wwins: Wrote 6 windows to J0137+3122_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 = 0.000869977 Jy ! Component: 100 - total flux cleaned = 0.00104114 Jy ! Component: 150 - total flux cleaned = 0.00107395 Jy ! Component: 200 - total flux cleaned = 0.00113548 Jy ! Component: 250 - total flux cleaned = 0.00116546 Jy ! Component: 300 - total flux cleaned = 0.00116544 Jy ! Component: 350 - total flux cleaned = 0.00119428 Jy ! Component: 400 - total flux cleaned = 0.00119426 Jy ! Component: 450 - total flux cleaned = 0.00113946 Jy ! Component: 500 - total flux cleaned = 0.00113988 Jy ! Component: 550 - total flux cleaned = 0.00111326 Jy ! Component: 600 - total flux cleaned = 0.00103481 Jy ! Component: 650 - total flux cleaned = 0.000983348 Jy ! Component: 700 - total flux cleaned = 0.000957905 Jy ! Component: 750 - total flux cleaned = 0.000957536 Jy ! Component: 800 - total flux cleaned = 0.000957211 Jy ! Component: 850 - total flux cleaned = 0.000884387 Jy ! Component: 900 - total flux cleaned = 0.000908373 Jy ! Component: 950 - total flux cleaned = 0.000908288 Jy ! Component: 1000 - total flux cleaned = 0.000884882 Jy ! Component: 1050 - total flux cleaned = 0.000861634 Jy ! Component: 1100 - total flux cleaned = 0.000861699 Jy ! Component: 1150 - total flux cleaned = 0.000793727 Jy ! Component: 1200 - total flux cleaned = 0.000793969 Jy ! Component: 1250 - total flux cleaned = 0.000749838 Jy ! Component: 1300 - total flux cleaned = 0.000727929 Jy ! Component: 1350 - total flux cleaned = 0.000684682 Jy ! Component: 1400 - total flux cleaned = 0.000641855 Jy ! Component: 1450 - total flux cleaned = 0.000642216 Jy ! Component: 1500 - total flux cleaned = 0.000663262 Jy ! Component: 1550 - total flux cleaned = 0.000621363 Jy ! Component: 1600 - total flux cleaned = 0.000580018 Jy ! Component: 1650 - total flux cleaned = 0.000539188 Jy ! Component: 1700 - total flux cleaned = 0.000478545 Jy ! Component: 1750 - total flux cleaned = 0.000478634 Jy ! Component: 1800 - total flux cleaned = 0.000399176 Jy ! Component: 1850 - total flux cleaned = 0.000379644 Jy ! Component: 1900 - total flux cleaned = 0.000360182 Jy ! Component: 1950 - total flux cleaned = 0.00032131 Jy ! Component: 2000 - total flux cleaned = 0.000302121 Jy ! Total flux subtracted in 2048 components = 0.00024477 Jy ! Clean residual min=-0.001085 max=0.001101 Jy/beam ! Clean residual mean=-0.000036 rms=0.000344 Jy/beam ! Combined flux in latest and established models = 0.455104 Jy keep ! Adding 128 model components to the UV plane model. ! The established model now contains 216 components and 0.455104 Jy ![Exited script file: muppet] wmap "J0137+3122_S_2010_10_13_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.213 x 4.161 at 28.24 degrees (North through East) ! Clean map min=-0.0025117 max=0.34002 Jy/beam ! Writing clean map to FITS file: J0137+3122_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.34002 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000343012 device "J0137+3122_S_2010_10_13_pus\_map.eps/VPS" ! Attempting to open device: 'J0137+3122_S_2010_10_13_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.30264 0.30264 0.605279 1.21056 2.42112 4.84224 9.68447 19.3689 38.7379 77.4758 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.34 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.213 x 4.161 at 28.24 degrees (North through East) ! Clean map min=-0.0025117 max=0.34002 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0137+3122_S_2010_10_13_pus\_map.gif/vgif" ! Attempting to open device: 'J0137+3122_S_2010_10_13_pus_map.gif/vgif' mapplot cln