! Started logfile: /scr/pima/bp171ad_uvs/J0217+0144_X_uvs.log on Mon Dec 9 01:55:48 2013 obs /scr/pima/bp171ad_uvs/J0217+0144_X_uva.fits ! Reading UV FITS file: /scr/pima/bp171ad_uvs/J0217+0144_X_uva.fits ! AN table 1: 5 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.884444 visibilities/baseline/integration-bin. ! Found source: J0217+0144 ! ! 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 1592 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 /scr/pima/bp171ad_uvs/J0217+0144_X] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 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. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.140234Jy sigma=20.128470 ! Fit after self-cal, rms=0.531955Jy sigma=8.251518 ! 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.9389 mas, bmaj=2.075 mas, bpa=0.3578 degrees ! Estimated noise=1.74647 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.360485 Jy ! Component: 100 - total flux cleaned = 0.468909 Jy ! Total flux subtracted in 100 components = 0.468909 Jy ! Clean residual min=-0.023333 max=0.049440 Jy/beam ! Clean residual mean=-0.000101 rms=0.008128 Jy/beam ! Combined flux in latest and established models = 0.468909 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.468909 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.100345Jy sigma=2.031774 ! Fit after self-cal, rms=0.100286Jy sigma=2.030592 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.054333 Jy ! Component: 100 - total flux cleaned = 0.0849002 Jy ! Total flux subtracted in 100 components = 0.0849002 Jy ! Clean residual min=-0.018256 max=0.018456 Jy/beam ! Clean residual mean=-0.000067 rms=0.004445 Jy/beam ! Combined flux in latest and established models = 0.55381 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 21 components and 0.55381 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.061077Jy sigma=1.197177 ! Fit after self-cal, rms=0.060886Jy sigma=1.195941 ! 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.226 mas, bmaj=2.639 mas, bpa=-3.137 degrees ! Estimated noise=1.07871 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.0248325 Jy ! Component: 100 - total flux cleaned = 0.0385224 Jy ! Component: 150 - total flux cleaned = 0.0467577 Jy ! Component: 200 - total flux cleaned = 0.0518546 Jy ! Total flux subtracted in 200 components = 0.0518546 Jy ! Clean residual min=-0.019151 max=0.014197 Jy/beam ! Clean residual mean=-0.000075 rms=0.004455 Jy/beam ! Combined flux in latest and established models = 0.605664 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 45 components and 0.605664 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.053142Jy sigma=0.978288 ! Fit after self-cal, rms=0.053076Jy sigma=0.978063 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.226 x 2.639 at -3.137 degrees (North through East) ! Clean map min=-0.018401 max=0.49171 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.11 HN 0.93 KP 0.95 ! LA 1.01 MK 1.01 NL 1.05 OV 1.04 ! PT 0.87 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 FD 1.01 HN 0.93 KP 0.95 ! LA 0.96 MK 1.04 NL 1.06 OV 1.02 ! PT 0.89 SC 0.96 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.86 FD 1.10 HN 0.98 KP 1.07 ! LA 0.95 MK 1.08 NL 1.05 OV 1.05 ! PT 0.91 SC 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.12 HN 1.03 KP 0.94 ! LA 0.97 MK 1.11 NL 1.02 OV 1.06 ! PT 0.93 SC 1.03 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.01 HN 1.01 KP 1.07 ! LA 0.99 MK 1.02 NL 0.97 OV 1.03 ! PT 0.89 SC 0.98 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.04 HN 1.11 KP 1.03 ! LA 1.05 MK 1.06 NL 1.04 OV 1.09 ! PT 0.93 SC 1.01 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.03 HN 1.03 KP 1.04 ! LA 0.96 MK 1.04 NL 1.03 OV 1.10 ! PT 0.90 SC 0.99 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 FD 1.03 HN 1.01 KP 1.06 ! LA 0.90 MK 1.00 NL 1.02 OV 1.10 ! PT 0.85 SC 1.11 ! ! ! Fit before self-cal, rms=0.053076Jy sigma=0.978063 ! Fit after self-cal, rms=0.025972Jy sigma=0.398384 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.236 mas, bmaj=2.657 mas, bpa=-2.879 degrees ! Estimated noise=1.08417 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 (4, -1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00933263 Jy ! Component: 100 - total flux cleaned = 0.0127354 Jy ! Component: 150 - total flux cleaned = 0.013659 Jy ! Component: 200 - total flux cleaned = 0.014437 Jy ! Total flux subtracted in 200 components = 0.014437 Jy ! Clean residual min=-0.003837 max=0.005445 Jy/beam ! Clean residual mean=-0.000002 rms=0.001052 Jy/beam ! Combined flux in latest and established models = 0.620101 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 62 components and 0.620101 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.022392Jy sigma=0.319815 ! Fit after self-cal, rms=0.022088Jy sigma=0.316933 ! Inverting map ! Added new window around map position (6.8, 0). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00437073 Jy ! Component: 100 - total flux cleaned = 0.0057542 Jy ! Component: 150 - total flux cleaned = 0.00662057 Jy ! Component: 200 - total flux cleaned = 0.00730016 Jy ! Total flux subtracted in 200 components = 0.00730016 Jy ! Clean residual min=-0.003696 max=0.003112 Jy/beam ! Clean residual mean=0.000001 rms=0.000798 Jy/beam ! Combined flux in latest and established models = 0.627401 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 87 components and 0.627401 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.020824Jy sigma=0.291939 ! Fit after self-cal, rms=0.020791Jy sigma=0.291581 ! 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.020791Jy sigma=0.291581 ! Fit after self-cal, rms=0.020466Jy sigma=0.285159 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.237 mas, bmaj=2.658 mas, bpa=-2.824 degrees ! Estimated noise=1.08243 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0011504 Jy ! Component: 100 - total flux cleaned = 0.00137699 Jy ! Component: 150 - total flux cleaned = 0.00163368 Jy ! Component: 200 - total flux cleaned = 0.00174669 Jy ! Total flux subtracted in 200 components = 0.00174669 Jy ! Clean residual min=-0.003033 max=0.002440 Jy/beam ! Clean residual mean=-0.000001 rms=0.000616 Jy/beam ! Combined flux in latest and established models = 0.629148 Jy selfcal ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 117 components and 0.629148 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.019908Jy sigma=0.276864 ! Fit after self-cal, rms=0.019879Jy sigma=0.276618 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.000412018 Jy ! Component: 100 - total flux cleaned = 0.000413087 Jy ! Component: 150 - total flux cleaned = 0.000505455 Jy ! Component: 200 - total flux cleaned = 0.000548055 Jy ! Total flux subtracted in 200 components = 0.000548055 Jy ! Clean residual min=-0.002848 max=0.002323 Jy/beam ! Clean residual mean=-0.000001 rms=0.000583 Jy/beam ! Combined flux in latest and established models = 0.629696 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 131 components and 0.629696 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.019576Jy sigma=0.273508 ! Fit after self-cal, rms=0.019575Jy sigma=0.273432 ! 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.019575Jy sigma=0.273432 ! Fit after self-cal, rms=0.019513Jy sigma=0.272438 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.238 mas, bmaj=2.659 mas, bpa=-2.798 degrees ! Estimated noise=1.08157 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -7.09527e-05 Jy ! Component: 100 - total flux cleaned = -2.58688e-05 Jy ! Component: 150 - total flux cleaned = 1.53814e-05 Jy ! Component: 200 - total flux cleaned = 1.63128e-05 Jy ! Total flux subtracted in 200 components = 1.63128e-05 Jy ! Clean residual min=-0.002489 max=0.002071 Jy/beam ! Clean residual mean=-0.000002 rms=0.000531 Jy/beam ! Combined flux in latest and established models = 0.629712 Jy selfcal ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 141 components and 0.629712 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.019270Jy sigma=0.269658 ! Fit after self-cal, rms=0.019264Jy sigma=0.269609 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.00023182 Jy ! Component: 100 - total flux cleaned = 0.000266086 Jy ! Component: 150 - total flux cleaned = 0.000266036 Jy ! Component: 200 - total flux cleaned = 0.000298173 Jy ! Total flux subtracted in 200 components = 0.000298173 Jy ! Clean residual min=-0.002317 max=0.002025 Jy/beam ! Clean residual mean=-0.000001 rms=0.000514 Jy/beam ! Combined flux in latest and established models = 0.630011 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 145 components and 0.630011 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.019100Jy sigma=0.268051 ! Fit after self-cal, rms=0.019100Jy sigma=0.268016 ! 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.019100Jy sigma=0.268016 ! Fit after self-cal, rms=0.019076Jy sigma=0.267677 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.393 mas, bmaj=3.753 mas, bpa=-9.876 degrees ! Estimated noise=1.13642 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000117948 Jy ! Component: 100 - total flux cleaned = -0.000119299 Jy ! Component: 150 - total flux cleaned = -3.79858e-05 Jy ! Component: 200 - total flux cleaned = 5.71535e-05 Jy ! Total flux subtracted in 200 components = 5.71535e-05 Jy ! Clean residual min=-0.002205 max=0.002015 Jy/beam ! Clean residual mean=-0.000003 rms=0.000614 Jy/beam ! Combined flux in latest and established models = 0.630068 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 154 components and 0.630068 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.019000Jy sigma=0.266344 ! Fit after self-cal, rms=0.018977Jy sigma=0.266262 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.000137209 Jy ! Component: 100 - total flux cleaned = 0.000201981 Jy ! Component: 150 - total flux cleaned = 0.000241526 Jy ! Component: 200 - total flux cleaned = 0.000259582 Jy ! Total flux subtracted in 200 components = 0.000259582 Jy ! Clean residual min=-0.002187 max=0.002021 Jy/beam ! Clean residual mean=-0.000002 rms=0.000600 Jy/beam ! Combined flux in latest and established models = 0.630327 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 160 components and 0.630327 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.018947Jy sigma=0.265718 ! Fit after self-cal, rms=0.018923Jy sigma=0.265650 ! 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.238 mas, bmaj=2.659 mas, bpa=-2.776 degrees ! Estimated noise=1.08088 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.238 x 2.659 at -2.776 degrees (North through East) ! Clean map min=-0.0035239 max=0.49428 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.9464 mas, bmaj=2.092 mas, bpa=0.9703 degrees ! Estimated noise=1.76008 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.3633 Jy ! Component: 100 - total flux cleaned = 0.470105 Jy ! Component: 150 - total flux cleaned = 0.522383 Jy ! Component: 200 - total flux cleaned = 0.549683 Jy ! Total flux subtracted in 200 components = 0.549683 Jy ! Clean residual min=-0.008512 max=0.013397 Jy/beam ! Clean residual mean=-0.000036 rms=0.002727 Jy/beam ! Combined flux in latest and established models = 0.549683 Jy uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Adding 14 model components to the UV plane model. ! The established model now contains 14 components and 0.549683 Jy ! Inverting map and beam ! Estimated beam: bmin=1.238 mas, bmaj=2.659 mas, bpa=-2.776 degrees ! Estimated noise=1.08088 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.0217701 Jy ! Component: 100 - total flux cleaned = 0.0352285 Jy ! Component: 150 - total flux cleaned = 0.0449521 Jy ! Component: 200 - total flux cleaned = 0.0523228 Jy ! Total flux subtracted in 200 components = 0.0523228 Jy ! Clean residual min=-0.003997 max=0.006136 Jy/beam ! Clean residual mean=-0.000018 rms=0.001381 Jy/beam ! Combined flux in latest and established models = 0.602006 Jy ! Adding 56 model components to the UV plane model. ! The established model now contains 62 components and 0.602006 Jy ! Inverting map ! Added new window around map position (1.6, -1.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00631073 Jy ! Component: 100 - total flux cleaned = 0.0109531 Jy ! Component: 150 - total flux cleaned = 0.0146482 Jy ! Component: 200 - total flux cleaned = 0.0176406 Jy ! Total flux subtracted in 200 components = 0.0176406 Jy ! Clean residual min=-0.002813 max=0.002830 Jy/beam ! Clean residual mean=-0.000008 rms=0.000709 Jy/beam ! Combined flux in latest and established models = 0.619647 Jy ! Adding 31 model components to the UV plane model. ! The established model now contains 91 components and 0.619647 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.393 mas, bmaj=3.753 mas, bpa=-9.876 degrees ! Estimated noise=1.13642 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00295757 Jy ! Component: 100 - total flux cleaned = 0.00444021 Jy ! Component: 150 - total flux cleaned = 0.00561389 Jy ! Component: 200 - total flux cleaned = 0.00651933 Jy ! Total flux subtracted in 200 components = 0.00651933 Jy ! Clean residual min=-0.002381 max=0.002265 Jy/beam ! Clean residual mean=-0.000007 rms=0.000661 Jy/beam ! Combined flux in latest and established models = 0.626166 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.000762656 Jy ! Component: 100 - total flux cleaned = 0.00121399 Jy ! Component: 150 - total flux cleaned = 0.00157234 Jy ! Component: 200 - total flux cleaned = 0.00185711 Jy ! Total flux subtracted in 200 components = 0.00185711 Jy ! Clean residual min=-0.002337 max=0.002079 Jy/beam ! Clean residual mean=-0.000005 rms=0.000602 Jy/beam ! Combined flux in latest and established models = 0.628023 Jy ! Adding 53 model components to the UV plane model. ! The established model now contains 137 components and 0.628023 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.238 mas, bmaj=2.659 mas, bpa=-2.776 degrees ! Estimated noise=1.08088 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000461722 Jy ! Component: 100 - total flux cleaned = -0.000403276 Jy ! Component: 150 - total flux cleaned = -0.000403649 Jy ! Component: 200 - total flux cleaned = -0.00035353 Jy ! Total flux subtracted in 200 components = -0.00035353 Jy ! Clean residual min=-0.001887 max=0.001932 Jy/beam ! Clean residual mean=-0.000003 rms=0.000486 Jy/beam ! Combined flux in latest and established models = 0.62767 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 152 components and 0.62767 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.019665Jy sigma=0.268407 ! Fit after self-cal, rms=0.019587Jy sigma=0.267912 wmodel /scr/pima/bp171ad_uvs/J0217+0144_X_map.mod ! Writing 152 model components to file: /scr/pima/bp171ad_uvs/J0217+0144_X_map.mod wobs /scr/pima/bp171ad_uvs/J0217+0144_X_uvs.fits ! Writing UV FITS file: /scr/pima/bp171ad_uvs/J0217+0144_X_uvs.fits wwins /scr/pima/bp171ad_uvs/J0217+0144_X_map.win ! wwins: Wrote 4 windows to /scr/pima/bp171ad_uvs/J0217+0144_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.000164735 Jy ! Component: 100 - total flux cleaned = -0.000442743 Jy ! Component: 150 - total flux cleaned = -0.000734832 Jy ! Component: 200 - total flux cleaned = -0.000873757 Jy ! Component: 250 - total flux cleaned = -0.000953188 Jy ! Component: 300 - total flux cleaned = -0.00105344 Jy ! Component: 350 - total flux cleaned = -0.00119808 Jy ! Component: 400 - total flux cleaned = -0.00131411 Jy ! Component: 450 - total flux cleaned = -0.00144877 Jy ! Component: 500 - total flux cleaned = -0.00151381 Jy ! Component: 550 - total flux cleaned = -0.00155589 Jy ! Component: 600 - total flux cleaned = -0.00153485 Jy ! Component: 650 - total flux cleaned = -0.00155501 Jy ! Component: 700 - total flux cleaned = -0.00159379 Jy ! Component: 750 - total flux cleaned = -0.00166928 Jy ! Component: 800 - total flux cleaned = -0.00165084 Jy ! Component: 850 - total flux cleaned = -0.00174074 Jy ! Component: 900 - total flux cleaned = -0.00177574 Jy ! Component: 950 - total flux cleaned = -0.00181058 Jy ! Component: 1000 - total flux cleaned = -0.00187814 Jy ! Component: 1050 - total flux cleaned = -0.00194342 Jy ! Component: 1100 - total flux cleaned = -0.00200723 Jy ! Component: 1150 - total flux cleaned = -0.00205422 Jy ! Component: 1200 - total flux cleaned = -0.00210033 Jy ! Component: 1250 - total flux cleaned = -0.00219071 Jy ! Component: 1300 - total flux cleaned = -0.00224953 Jy ! Component: 1350 - total flux cleaned = -0.00230746 Jy ! Component: 1400 - total flux cleaned = -0.00236437 Jy ! Component: 1450 - total flux cleaned = -0.00237834 Jy ! Component: 1500 - total flux cleaned = -0.0023783 Jy ! Component: 1550 - total flux cleaned = -0.00240534 Jy ! Component: 1600 - total flux cleaned = -0.00240544 Jy ! Component: 1650 - total flux cleaned = -0.00245743 Jy ! Component: 1700 - total flux cleaned = -0.00241854 Jy ! Component: 1750 - total flux cleaned = -0.00245658 Jy ! Component: 1800 - total flux cleaned = -0.00239393 Jy ! Component: 1850 - total flux cleaned = -0.00240629 Jy ! Component: 1900 - total flux cleaned = -0.0023453 Jy ! Component: 1950 - total flux cleaned = -0.00236924 Jy ! Component: 2000 - total flux cleaned = -0.00234523 Jy ! Component: 2050 - total flux cleaned = -0.00229825 Jy ! Component: 2100 - total flux cleaned = -0.00228663 Jy ! Component: 2150 - total flux cleaned = -0.00225237 Jy ! Component: 2200 - total flux cleaned = -0.00224101 Jy ! Component: 2250 - total flux cleaned = -0.00225202 Jy ! Component: 2300 - total flux cleaned = -0.00220802 Jy ! Component: 2350 - total flux cleaned = -0.00215398 Jy ! Component: 2400 - total flux cleaned = -0.0021648 Jy ! Component: 2450 - total flux cleaned = -0.00214364 Jy ! Component: 2500 - total flux cleaned = -0.00210185 Jy ! Component: 2550 - total flux cleaned = -0.00210195 Jy ! Component: 2600 - total flux cleaned = -0.00206109 Jy ! Component: 2650 - total flux cleaned = -0.00208117 Jy ! Component: 2700 - total flux cleaned = -0.00206098 Jy ! Component: 2750 - total flux cleaned = -0.00199203 Jy ! Component: 2800 - total flux cleaned = -0.00195319 Jy ! Component: 2850 - total flux cleaned = -0.00194363 Jy ! Component: 2900 - total flux cleaned = -0.00188653 Jy ! Component: 2950 - total flux cleaned = -0.00184882 Jy ! Component: 3000 - total flux cleaned = -0.00179291 Jy ! Component: 3050 - total flux cleaned = -0.0017652 Jy ! Component: 3100 - total flux cleaned = -0.00171053 Jy ! Component: 3150 - total flux cleaned = -0.00167444 Jy ! Component: 3200 - total flux cleaned = -0.00163888 Jy ! Component: 3250 - total flux cleaned = -0.00161255 Jy ! Component: 3300 - total flux cleaned = -0.00159501 Jy ! Component: 3350 - total flux cleaned = -0.00153446 Jy ! Component: 3400 - total flux cleaned = -0.00150876 Jy ! Component: 3450 - total flux cleaned = -0.00144077 Jy ! Component: 3500 - total flux cleaned = -0.00140723 Jy ! Component: 3550 - total flux cleaned = -0.0013656 Jy ! Component: 3600 - total flux cleaned = -0.00134086 Jy ! Component: 3650 - total flux cleaned = -0.00132447 Jy ! Component: 3700 - total flux cleaned = -0.00128371 Jy ! Component: 3750 - total flux cleaned = -0.00122728 Jy ! Component: 3800 - total flux cleaned = -0.00119539 Jy ! Component: 3850 - total flux cleaned = -0.00111621 Jy ! Component: 3900 - total flux cleaned = -0.00108486 Jy ! Component: 3950 - total flux cleaned = -0.00105376 Jy ! Component: 4000 - total flux cleaned = -0.00102285 Jy ! Component: 4050 - total flux cleaned = -0.000946322 Jy ! Total flux subtracted in 4096 components = -0.000931192 Jy ! Clean residual min=-0.000423 max=0.000462 Jy/beam ! Clean residual mean=-0.000000 rms=0.000128 Jy/beam ! Combined flux in latest and established models = 0.626738 Jy keep ! Adding 238 model components to the UV plane model. ! The established model now contains 388 components and 0.626738 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171ad_uvs/J0217+0144_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.238 x 2.659 at -2.776 degrees (North through East) ! Clean map min=-0.0014313 max=0.49756 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171ad_uvs/J0217+0144_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.497557 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000123243 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.0743092 0.0743092 0.148618 0.297237 0.594473 1.18895 2.37789 4.75579 9.51157 19.0231 38.0463 76.0926 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.497 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 4037.19 quit ! Quitting program ! Log file /scr/pima/bp171ad_uvs/J0217+0144_X_uvs.log closed on Mon Dec 9 01:55:53 2013