! Started logfile: ./J0516+7351_X_uvs.log on Mon Oct 28 15:37:29 2013 obs J0516+7351_X_uva.fits ! Reading UV FITS file: J0516+7351_X_uva.fits ! AN table 1: 18 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.988889 visibilities/baseline/integration-bin. ! Found source: J0516+7351 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 6408 visibilities. select RR ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 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 ./J0516+7351_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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=1.000015Jy sigma=0.840667 ! Fit after self-cal, rms=0.992392Jy sigma=0.829089 ! 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.8833 mas, bmaj=0.9654 mas, bpa=-71.08 degrees ! Estimated noise=22.6192 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.00801633 Jy ! Component: 100 - total flux cleaned = 0.0100795 Jy ! Total flux subtracted in 100 components = 0.0100795 Jy ! Clean residual min=-0.001806 max=0.001518 Jy/beam ! Clean residual mean=0.000004 rms=0.000377 Jy/beam ! Combined flux in latest and established models = 0.0100795 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.0100795 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.016672Jy sigma=0.015807 ! Fit after self-cal, rms=0.014442Jy sigma=0.014074 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00318342 Jy ! Component: 100 - total flux cleaned = 0.00435814 Jy ! Total flux subtracted in 100 components = 0.00435814 Jy ! Clean residual min=-0.001580 max=0.001344 Jy/beam ! Clean residual mean=0.000004 rms=0.000317 Jy/beam ! Combined flux in latest and established models = 0.0144376 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 15 components and 0.0144376 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.014489Jy sigma=0.012814 ! Fit after self-cal, rms=0.014489Jy sigma=0.012812 ! 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=1.204 mas, bmaj=1.292 mas, bpa=-74.34 degrees ! Estimated noise=11.8211 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.2, -1.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00146903 Jy ! Component: 100 - total flux cleaned = 0.00227829 Jy ! Component: 150 - total flux cleaned = 0.00282613 Jy ! Component: 200 - total flux cleaned = 0.00321059 Jy ! Total flux subtracted in 200 components = 0.00321059 Jy ! Clean residual min=-0.000838 max=0.001036 Jy/beam ! Clean residual mean=0.000012 rms=0.000217 Jy/beam ! Combined flux in latest and established models = 0.0176482 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 36 components and 0.0176482 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.014556Jy sigma=0.012516 ! Fit after self-cal, rms=0.014506Jy sigma=0.012492 ! 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 1.00 FD 1.05 HN 0.82 KP 0.91 ! LA 0.93 MK 1.09 NL 0.95 OV 0.87 ! PT 0.83 SC 0.84 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 FD 0.96 HN 0.78 KP 1.02 ! LA 0.85 MK 0.77 NL 0.91 OV 0.94 ! PT 0.77 SC 0.78 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.85 FD 1.17 HN 0.86 KP 1.09 ! LA 0.87 MK 1.00 NL 0.94 OV 0.88 ! PT 0.81 SC 0.84 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.26 HN 0.92 KP 1.07 ! LA 0.78 MK 0.98 NL 0.94 OV 0.99 ! PT 0.81 SC 0.79 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.05 HN 0.79 KP 0.99 ! LA 0.93 MK 0.85 NL 0.86 OV 0.86 ! PT 0.80 SC 0.82 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.91 FD 1.06 HN 0.98 KP 1.07 ! LA 0.95 MK 0.93 NL 0.94 OV 1.00 ! PT 0.76 SC 0.90 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.94 HN 0.84 KP 0.96 ! LA 0.95 MK 0.79 NL 0.83 OV 0.91 ! PT 1.01 SC 0.93 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.92 HN 0.80 KP 1.07 ! LA 0.82 MK 0.85 NL 0.99 OV 0.89 ! PT 0.74 SC 1.09 ! ! ! Fit before self-cal, rms=0.014506Jy sigma=0.012492 ! Fit after self-cal, rms=0.012772Jy sigma=0.012001 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.186 mas, bmaj=1.274 mas, bpa=-74.74 degrees ! Estimated noise=9.74582 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.00182799 Jy ! Component: 100 - total flux cleaned = -0.00205036 Jy ! Component: 150 - total flux cleaned = -0.00198986 Jy ! Component: 200 - total flux cleaned = -0.00194651 Jy ! Total flux subtracted in 200 components = -0.00194651 Jy ! Clean residual min=-0.000567 max=0.000777 Jy/beam ! Clean residual mean=0.000004 rms=0.000146 Jy/beam ! Combined flux in latest and established models = 0.0157017 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 45 components and 0.0157017 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.012077Jy sigma=0.012205 ! Fit after self-cal, rms=0.012103Jy sigma=0.012192 ! Inverting map ! Added new window around map position (3, -6.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000699181 Jy ! Component: 100 - total flux cleaned = 0.00112128 Jy ! Component: 150 - total flux cleaned = 0.00133072 Jy ! Component: 200 - total flux cleaned = 0.00140672 Jy ! Total flux subtracted in 200 components = 0.00140672 Jy ! Clean residual min=-0.000533 max=0.000558 Jy/beam ! Clean residual mean=0.000002 rms=0.000127 Jy/beam ! Combined flux in latest and established models = 0.0171084 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 71 components and 0.0171084 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.012053Jy sigma=0.012142 ! Fit after self-cal, rms=0.012038Jy sigma=0.012129 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.012038Jy sigma=0.012129 ! Fit after self-cal, rms=0.010875Jy sigma=0.011806 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.161 mas, bmaj=1.252 mas, bpa=-74.54 degrees ! Estimated noise=8.27592 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00146674 Jy ! Component: 100 - total flux cleaned = -0.00159876 Jy ! Component: 150 - total flux cleaned = -0.00147589 Jy ! Component: 200 - total flux cleaned = -0.0014187 Jy ! Total flux subtracted in 200 components = -0.0014187 Jy ! Clean residual min=-0.000412 max=0.000495 Jy/beam ! Clean residual mean=0.000002 rms=0.000097 Jy/beam ! Combined flux in latest and established models = 0.0156897 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 82 components and 0.0156897 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.010351Jy sigma=0.011993 ! Fit after self-cal, rms=0.010358Jy sigma=0.011985 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 (-45.4, -16). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000289011 Jy ! Component: 100 - total flux cleaned = 0.000354301 Jy ! Component: 150 - total flux cleaned = 0.000413939 Jy ! Component: 200 - total flux cleaned = 0.000463255 Jy ! Total flux subtracted in 200 components = 0.000463255 Jy ! Clean residual min=-0.000366 max=0.000403 Jy/beam ! Clean residual mean=0.000001 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.016153 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 98 components and 0.016153 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.010332Jy sigma=0.011962 ! Fit after self-cal, rms=0.010324Jy sigma=0.011957 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.010324Jy sigma=0.011957 ! Fit after self-cal, rms=0.009230Jy sigma=0.011750 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.142 mas, bmaj=1.23 mas, bpa=-76.22 degrees ! Estimated noise=7.04191 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00122011 Jy ! Component: 100 - total flux cleaned = -0.00149948 Jy ! Component: 150 - total flux cleaned = -0.00154816 Jy ! Component: 200 - total flux cleaned = -0.00156538 Jy ! Total flux subtracted in 200 components = -0.00156538 Jy ! Clean residual min=-0.000321 max=0.000348 Jy/beam ! Clean residual mean=0.000001 rms=0.000079 Jy/beam ! Combined flux in latest and established models = 0.0145876 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 106 components and 0.0145876 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.008798Jy sigma=0.011938 ! Fit after self-cal, rms=0.008797Jy sigma=0.011935 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 = 1.83496e-05 Jy ! Component: 100 - total flux cleaned = 4.84363e-05 Jy ! Component: 150 - total flux cleaned = 6.67245e-05 Jy ! Component: 200 - total flux cleaned = 8.78623e-05 Jy ! Total flux subtracted in 200 components = 8.78623e-05 Jy ! Clean residual min=-0.000314 max=0.000340 Jy/beam ! Clean residual mean=0.000001 rms=0.000078 Jy/beam ! Combined flux in latest and established models = 0.0146754 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 114 components and 0.0146754 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.008787Jy sigma=0.011937 ! Fit after self-cal, rms=0.008781Jy sigma=0.011931 ! Inverting map ! Added new window around map position (-38.6, -24.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000137155 Jy ! Component: 100 - total flux cleaned = 0.00010749 Jy ! Component: 150 - total flux cleaned = 0.000130685 Jy ! Component: 200 - total flux cleaned = 0.000155982 Jy ! Total flux subtracted in 200 components = 0.000155982 Jy ! Clean residual min=-0.000306 max=0.000321 Jy/beam ! Clean residual mean=0.000001 rms=0.000076 Jy/beam ! Combined flux in latest and established models = 0.0148314 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 130 components and 0.0148314 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.008770Jy sigma=0.011912 ! Fit after self-cal, rms=0.008770Jy sigma=0.011909 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.008770Jy sigma=0.011909 ! Fit after self-cal, rms=0.007850Jy sigma=0.011706 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.345 mas, bmaj=2.511 mas, bpa=86.91 degrees ! Estimated noise=7.90536 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00109785 Jy ! Component: 100 - total flux cleaned = -0.00137453 Jy ! Component: 150 - total flux cleaned = -0.00141707 Jy ! Component: 200 - total flux cleaned = -0.00141283 Jy ! Total flux subtracted in 200 components = -0.00141283 Jy ! Clean residual min=-0.000368 max=0.000367 Jy/beam ! Clean residual mean=0.000001 rms=0.000086 Jy/beam ! Combined flux in latest and established models = 0.0134186 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 143 components and 0.0134186 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.007491Jy sigma=0.011892 ! Fit after self-cal, rms=0.007490Jy sigma=0.011888 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 = 2.3014e-05 Jy ! Component: 100 - total flux cleaned = 3.58241e-05 Jy ! Component: 150 - total flux cleaned = 4.34241e-05 Jy ! Component: 200 - total flux cleaned = 4.67973e-05 Jy ! Total flux subtracted in 200 components = 4.67973e-05 Jy ! Clean residual min=-0.000346 max=0.000357 Jy/beam ! Clean residual mean=0.000000 rms=0.000085 Jy/beam ! Combined flux in latest and established models = 0.0134654 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 151 components and 0.0134654 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.007485Jy sigma=0.011889 ! Fit after self-cal, rms=0.007485Jy sigma=0.011888 ! 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=1.127 mas, bmaj=1.212 mas, bpa=-79.35 degrees ! Estimated noise=5.99778 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.127 x 1.212 at -79.35 degrees (North through East) ! Clean map min=-0.00029502 max=0.0072412 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.8391 mas, bmaj=0.9133 mas, bpa=-78.07 degrees ! Estimated noise=10.7593 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00502422 Jy ! Component: 100 - total flux cleaned = 0.00652584 Jy ! Component: 150 - total flux cleaned = 0.00745689 Jy ! Component: 200 - total flux cleaned = 0.00815476 Jy ! Total flux subtracted in 200 components = 0.00815476 Jy ! Clean residual min=-0.000728 max=0.000618 Jy/beam ! Clean residual mean=0.000002 rms=0.000140 Jy/beam ! Combined flux in latest and established models = 0.00815477 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 15 model components to the UV plane model. ! The established model now contains 15 components and 0.00815477 Jy ! Inverting map and beam ! Estimated beam: bmin=1.127 mas, bmaj=1.212 mas, bpa=-79.35 degrees ! Estimated noise=5.99778 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.00100258 Jy ! Component: 100 - total flux cleaned = 0.00168824 Jy ! Component: 150 - total flux cleaned = 0.00224788 Jy ! Component: 200 - total flux cleaned = 0.00262607 Jy ! Total flux subtracted in 200 components = 0.00262607 Jy ! Clean residual min=-0.000379 max=0.000387 Jy/beam ! Clean residual mean=0.000004 rms=0.000091 Jy/beam ! Combined flux in latest and established models = 0.0107808 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 50 components and 0.0107808 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.345 mas, bmaj=2.511 mas, bpa=86.91 degrees ! Estimated noise=7.90536 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000724531 Jy ! Component: 100 - total flux cleaned = 0.00121225 Jy ! Component: 150 - total flux cleaned = 0.0015509 Jy ! Component: 200 - total flux cleaned = 0.0016912 Jy ! Total flux subtracted in 200 components = 0.0016912 Jy ! Clean residual min=-0.000402 max=0.000319 Jy/beam ! Clean residual mean=0.000004 rms=0.000098 Jy/beam ! Combined flux in latest and established models = 0.012472 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.000130316 Jy ! Component: 100 - total flux cleaned = 0.000234986 Jy ! Component: 150 - total flux cleaned = 0.000326734 Jy ! Component: 200 - total flux cleaned = 0.00040754 Jy ! Total flux subtracted in 200 components = 0.00040754 Jy ! Clean residual min=-0.000370 max=0.000314 Jy/beam ! Clean residual mean=0.000002 rms=0.000089 Jy/beam ! Combined flux in latest and established models = 0.0128796 Jy ! Adding 79 model components to the UV plane model. ! The established model now contains 118 components and 0.0128796 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.127 mas, bmaj=1.212 mas, bpa=-79.35 degrees ! Estimated noise=5.99778 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.83938e-05 Jy ! Component: 100 - total flux cleaned = 0.000142285 Jy ! Component: 150 - total flux cleaned = 0.00018013 Jy ! Component: 200 - total flux cleaned = 0.000212571 Jy ! Total flux subtracted in 200 components = 0.000212571 Jy ! Clean residual min=-0.000270 max=0.000271 Jy/beam ! Clean residual mean=0.000001 rms=0.000066 Jy/beam ! Combined flux in latest and established models = 0.0130921 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 135 components and 0.0130921 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.007464Jy sigma=0.011956 ! Fit after self-cal, rms=0.007467Jy sigma=0.011946 wmodel ./J0516+7351_X_map.mod ! Writing 135 model components to file: ./J0516+7351_X_map.mod wobs ./J0516+7351_X_uvs.fits ! Writing UV FITS file: ./J0516+7351_X_uvs.fits wwins ./J0516+7351_X_map.win ! wwins: Wrote 5 windows to ./J0516+7351_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 = -3.46802e-05 Jy ! Component: 100 - total flux cleaned = -6.33836e-05 Jy ! Component: 150 - total flux cleaned = -9.54485e-05 Jy ! Component: 200 - total flux cleaned = -0.000104257 Jy ! Component: 250 - total flux cleaned = -8.70148e-05 Jy ! Component: 300 - total flux cleaned = -7.01954e-05 Jy ! Component: 350 - total flux cleaned = -7.43358e-05 Jy ! Component: 400 - total flux cleaned = -6.21572e-05 Jy ! Component: 450 - total flux cleaned = -5.82084e-05 Jy ! Component: 500 - total flux cleaned = -6.60764e-05 Jy ! Component: 550 - total flux cleaned = -5.8372e-05 Jy ! Component: 600 - total flux cleaned = -5.45992e-05 Jy ! Component: 650 - total flux cleaned = -5.46241e-05 Jy ! Component: 700 - total flux cleaned = -5.09293e-05 Jy ! Component: 750 - total flux cleaned = -3.64643e-05 Jy ! Component: 800 - total flux cleaned = -3.65325e-05 Jy ! Component: 850 - total flux cleaned = -4.01163e-05 Jy ! Component: 900 - total flux cleaned = -3.31355e-05 Jy ! Component: 950 - total flux cleaned = -3.66226e-05 Jy ! Component: 1000 - total flux cleaned = -3.32302e-05 Jy ! Component: 1050 - total flux cleaned = -3.32503e-05 Jy ! Component: 1100 - total flux cleaned = -2.31493e-05 Jy ! Component: 1150 - total flux cleaned = -2.64741e-05 Jy ! Component: 1200 - total flux cleaned = -6.8265e-06 Jy ! Component: 1250 - total flux cleaned = -2.30379e-05 Jy ! Component: 1300 - total flux cleaned = -5.91657e-07 Jy ! Component: 1350 - total flux cleaned = 1.52377e-05 Jy ! Component: 1400 - total flux cleaned = 5.80447e-06 Jy ! Component: 1450 - total flux cleaned = 2.13994e-05 Jy ! Component: 1500 - total flux cleaned = 3.68044e-05 Jy ! Component: 1550 - total flux cleaned = 3.9854e-05 Jy ! Component: 1600 - total flux cleaned = 4.59261e-05 Jy ! Component: 1650 - total flux cleaned = 5.49728e-05 Jy ! Component: 1700 - total flux cleaned = 7.28568e-05 Jy ! Component: 1750 - total flux cleaned = 6.99577e-05 Jy ! Component: 1800 - total flux cleaned = 8.75757e-05 Jy ! Component: 1850 - total flux cleaned = 0.000102156 Jy ! Component: 1900 - total flux cleaned = 0.000107954 Jy ! Component: 1950 - total flux cleaned = 0.000119381 Jy ! Component: 2000 - total flux cleaned = 0.000125062 Jy ! Component: 2050 - total flux cleaned = 0.000144847 Jy ! Component: 2100 - total flux cleaned = 0.000147656 Jy ! Component: 2150 - total flux cleaned = 0.000167195 Jy ! Component: 2200 - total flux cleaned = 0.000178262 Jy ! Component: 2250 - total flux cleaned = 0.000205753 Jy ! Component: 2300 - total flux cleaned = 0.000208443 Jy ! Component: 2350 - total flux cleaned = 0.000230143 Jy ! Component: 2400 - total flux cleaned = 0.000232852 Jy ! Component: 2450 - total flux cleaned = 0.000248923 Jy ! Component: 2500 - total flux cleaned = 0.000264879 Jy ! Component: 2550 - total flux cleaned = 0.000280755 Jy ! Component: 2600 - total flux cleaned = 0.000286033 Jy ! Component: 2650 - total flux cleaned = 0.000301717 Jy ! Component: 2700 - total flux cleaned = 0.000309498 Jy ! Component: 2750 - total flux cleaned = 0.000319839 Jy ! Component: 2800 - total flux cleaned = 0.000330087 Jy ! Component: 2850 - total flux cleaned = 0.000337783 Jy ! Component: 2900 - total flux cleaned = 0.000355538 Jy ! Component: 2950 - total flux cleaned = 0.00036819 Jy ! Component: 3000 - total flux cleaned = 0.000363152 Jy ! Component: 3050 - total flux cleaned = 0.000385628 Jy ! Component: 3100 - total flux cleaned = 0.000385614 Jy ! Component: 3150 - total flux cleaned = 0.000400434 Jy ! Component: 3200 - total flux cleaned = 0.000407784 Jy ! Component: 3250 - total flux cleaned = 0.000420009 Jy ! Component: 3300 - total flux cleaned = 0.000432153 Jy ! Component: 3350 - total flux cleaned = 0.00045388 Jy ! Component: 3400 - total flux cleaned = 0.000451482 Jy ! Component: 3450 - total flux cleaned = 0.000458651 Jy ! Component: 3500 - total flux cleaned = 0.000475297 Jy ! Component: 3550 - total flux cleaned = 0.000475279 Jy ! Component: 3600 - total flux cleaned = 0.000487036 Jy ! Component: 3650 - total flux cleaned = 0.000503435 Jy ! Component: 3700 - total flux cleaned = 0.000498776 Jy ! Component: 3750 - total flux cleaned = 0.000508063 Jy ! Component: 3800 - total flux cleaned = 0.000514993 Jy ! Component: 3850 - total flux cleaned = 0.000521882 Jy ! Component: 3900 - total flux cleaned = 0.000528739 Jy ! Component: 3950 - total flux cleaned = 0.000528731 Jy ! Component: 4000 - total flux cleaned = 0.000537804 Jy ! Component: 4050 - total flux cleaned = 0.000540049 Jy ! Total flux subtracted in 4096 components = 0.000546786 Jy ! Clean residual min=-0.000138 max=0.000132 Jy/beam ! Clean residual mean=0.000000 rms=0.000038 Jy/beam ! Combined flux in latest and established models = 0.0136389 Jy keep ! Adding 321 model components to the UV plane model. ! The established model now contains 456 components and 0.0136389 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0516+7351_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.127 x 1.212 at -79.35 degrees (North through East) ! Clean map min=-0.00023436 max=0.0070729 Jy/beam ! Writing clean map to FITS file: ./J0516+7351_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.00707288 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 3.74186e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.58713 1.58713 3.17426 6.34851 12.697 25.3941 50.7881 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.007 quit ! Quitting program ! Log file ./J0516+7351_X_uvs.log closed on Mon Oct 28 15:37:43 2013