! Started logfile: /scr/pima/s3111b_uvs/J2116+3339_X_uvs.log on Mon Jul 23 22:53:56 2012 obs /scr/pima/s3111b_uvs/J2116+3339_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111b_uvs/J2116+3339_X_uva.fits ! AN table 1: 71 integrations on 55 of 55 possible baselines. ! Apparent sampling: 0.888604 visibilities/baseline/integration-bin. ! Found source: J2116+3339 ! ! 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 8.41193e+09 1.6e+07 1 1.6e+07 ! 02 2 8.42793e+09 1.6e+07 1 1.6e+07 ! 03 3 8.52393e+09 1.6e+07 1 1.6e+07 ! 04 4 8.57193e+09 1.6e+07 1 1.6e+07 ! 05 5 8.65193e+09 1.6e+07 1 1.6e+07 ! 06 6 8.82793e+09 1.6e+07 1 1.6e+07 ! 07 7 8.85993e+09 1.6e+07 1 1.6e+07 ! 08 8 8.89193e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 27760 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 = 512 print "field_cell =",field_cell ! field_cell = 0.1 print "taper_size =",taper_size ! taper_size = 120 ![@/home/lpetrov/bin/01_muppet /scr/pima/s3111b_uvs/J2116+3339_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 = 512x512 pixels with 0.100x0.100 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 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 199 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 63 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.000484Jy sigma=0.707419 ! Fit after self-cal, rms=0.949314Jy sigma=0.671242 ! 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.7045 mas, bmaj=1.401 mas, bpa=-2.191 degrees ! Estimated noise=12.3548 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.038421 Jy ! Component: 100 - total flux cleaned = 0.0468588 Jy ! Total flux subtracted in 100 components = 0.0468588 Jy ! Clean residual min=-0.003156 max=0.005395 Jy/beam ! Clean residual mean=0.000087 rms=0.001084 Jy/beam ! Combined flux in latest and established models = 0.0468588 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.0468588 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.035963Jy sigma=0.025429 ! Fit after self-cal, rms=0.035677Jy sigma=0.025227 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9044 mas, bmaj=1.765 mas, bpa=-1.212 degrees ! Estimated noise=6.1388 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.0043999 Jy ! Component: 100 - total flux cleaned = 0.00637212 Jy ! Component: 150 - total flux cleaned = 0.00742879 Jy ! Component: 200 - total flux cleaned = 0.00807634 Jy ! Total flux subtracted in 200 components = 0.00807634 Jy ! Clean residual min=-0.002438 max=0.005377 Jy/beam ! Clean residual mean=0.000118 rms=0.001022 Jy/beam ! Combined flux in latest and established models = 0.0549352 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 33 components and 0.0549352 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.035185Jy sigma=0.024879 ! Fit after self-cal, rms=0.035177Jy sigma=0.024873 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.10 FD 1.03 GB 0.90 HN 0.98 ! KP 0.88 LA 0.92 MK 1.12 NL 2.32 ! OV 1.10 PT 0.90 SC 1.08 ! ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.01 GB 0.89 HN 0.99 ! KP 0.87 LA 0.91 MK 1.11 NL 2.33 ! OV 1.09 PT 0.96 SC 1.08 ! ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.96 GB 0.92 HN 0.92 ! KP 0.88 LA 0.93 MK 1.05 NL 2.21 ! OV 1.06 PT 0.89 SC 1.07 ! ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.97 GB 0.96 HN 0.95 ! KP 0.83 LA 0.92 MK 1.06 NL 2.25 ! OV 1.08 PT 0.96 SC 1.09 ! ! ! Correcting IF 5. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 0.87 GB 0.89 HN 0.95 ! KP 0.86 LA 0.88 MK 0.98 NL 2.26 ! OV 1.07 PT 0.89 SC 1.04 ! ! ! Correcting IF 6. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.84 GB 0.95 HN 0.99 ! KP 0.79 LA 0.90 MK 1.01 NL 2.21 ! OV 1.03 PT 0.91 SC 1.03 ! ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.84 GB 0.96 HN 1.00* ! KP 0.75 LA 0.89 MK 1.00* NL 2.15 ! OV 1.04 PT 0.88 SC 0.99 ! ! ! Correcting IF 8. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.86 FD 0.78 GB 0.83 HN 0.99 ! KP 0.80 LA 0.83 MK 0.83 NL 1.93 ! OV 0.95 PT 0.82 SC 0.94 ! ! ! Fit before self-cal, rms=0.035177Jy sigma=0.024873 ! Fit after self-cal, rms=0.036984Jy sigma=0.022427 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9084 mas, bmaj=1.78 mas, bpa=-1.279 degrees ! Estimated noise=6.13829 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 (1, -2.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00155285 Jy ! Component: 100 - total flux cleaned = 0.00243932 Jy ! Component: 150 - total flux cleaned = 0.00290083 Jy ! Component: 200 - total flux cleaned = 0.00301365 Jy ! Total flux subtracted in 200 components = 0.00301365 Jy ! Clean residual min=-0.000854 max=0.000887 Jy/beam ! Clean residual mean=-0.000006 rms=0.000233 Jy/beam ! Combined flux in latest and established models = 0.0579488 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 64 components and 0.0579488 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.036919Jy sigma=0.022361 ! Fit after self-cal, rms=0.037113Jy sigma=0.022316 ! 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.037113Jy sigma=0.022316 ! Fit after self-cal, rms=0.037818Jy sigma=0.022216 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9046 mas, bmaj=1.778 mas, bpa=-0.8604 degrees ! Estimated noise=6.1477 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000726582 Jy ! Component: 100 - total flux cleaned = 0.0010359 Jy ! Component: 150 - total flux cleaned = 0.00104837 Jy ! Component: 200 - total flux cleaned = 0.00106691 Jy ! Total flux subtracted in 200 components = 0.00106691 Jy ! Clean residual min=-0.000664 max=0.000627 Jy/beam ! Clean residual mean=0.000001 rms=0.000162 Jy/beam ! Combined flux in latest and established models = 0.0590158 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 81 components and 0.0590157 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.037804Jy sigma=0.022202 ! Fit after self-cal, rms=0.037812Jy sigma=0.022199 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.00017834 Jy ! Component: 100 - total flux cleaned = 0.000210934 Jy ! Component: 150 - total flux cleaned = 0.000232236 Jy ! Component: 200 - total flux cleaned = 0.000238765 Jy ! Total flux subtracted in 200 components = 0.000238765 Jy ! Clean residual min=-0.000645 max=0.000595 Jy/beam ! Clean residual mean=-0.000001 rms=0.000160 Jy/beam ! Combined flux in latest and established models = 0.0592545 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 98 components and 0.0592545 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.037810Jy sigma=0.022196 ! Fit after self-cal, rms=0.037810Jy sigma=0.022196 ! 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.037810Jy sigma=0.022196 ! Fit after self-cal, rms=0.037863Jy sigma=0.022193 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9013 mas, bmaj=1.776 mas, bpa=-0.8482 degrees ! Estimated noise=6.14333 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000337276 Jy ! Component: 100 - total flux cleaned = 0.000432093 Jy ! Component: 150 - total flux cleaned = 0.000460349 Jy ! Component: 200 - total flux cleaned = 0.000473114 Jy ! Total flux subtracted in 200 components = 0.000473114 Jy ! Clean residual min=-0.000630 max=0.000566 Jy/beam ! Clean residual mean=0.000002 rms=0.000152 Jy/beam ! Combined flux in latest and established models = 0.0597276 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 110 components and 0.0597276 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.037860Jy sigma=0.022189 ! Fit after self-cal, rms=0.037860Jy sigma=0.022189 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 = 5.30347e-05 Jy ! Component: 100 - total flux cleaned = 5.85392e-05 Jy ! Component: 150 - total flux cleaned = 6.90411e-05 Jy ! Component: 200 - total flux cleaned = 7.90006e-05 Jy ! Total flux subtracted in 200 components = 7.90006e-05 Jy ! Clean residual min=-0.000627 max=0.000557 Jy/beam ! Clean residual mean=0.000001 rms=0.000151 Jy/beam ! Combined flux in latest and established models = 0.0598066 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 114 components and 0.0598066 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.037859Jy sigma=0.022188 ! Fit after self-cal, rms=0.037859Jy sigma=0.022188 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 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.037859Jy sigma=0.022188 ! Fit after self-cal, rms=0.037916Jy sigma=0.022187 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.325 mas, bmaj=2.221 mas, bpa=0.3604 degrees ! Estimated noise=6.77084 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000303271 Jy ! Component: 100 - total flux cleaned = 0.000303373 Jy ! Component: 150 - total flux cleaned = 0.000303723 Jy ! Component: 200 - total flux cleaned = 0.000308465 Jy ! Total flux subtracted in 200 components = 0.000308465 Jy ! Clean residual min=-0.000525 max=0.000596 Jy/beam ! Clean residual mean=0.000003 rms=0.000156 Jy/beam ! Combined flux in latest and established models = 0.0601151 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 126 components and 0.0601151 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.037915Jy sigma=0.022186 ! Fit after self-cal, rms=0.037915Jy sigma=0.022185 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 9.43547e-05 Jy ! Component: 100 - total flux cleaned = 0.000110829 Jy ! Component: 150 - total flux cleaned = 0.000114109 Jy ! Component: 200 - total flux cleaned = 0.000114167 Jy ! Total flux subtracted in 200 components = 0.000114167 Jy ! Clean residual min=-0.000514 max=0.000573 Jy/beam ! Clean residual mean=0.000002 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.0602293 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 136 components and 0.0602293 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.037915Jy sigma=0.022185 ! Fit after self-cal, rms=0.037915Jy sigma=0.022185 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.8996 mas, bmaj=1.775 mas, bpa=-0.797 degrees ! Estimated noise=6.14647 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8996 x 1.775 at -0.797 degrees (North through East) ! Clean map min=-0.00058769 max=0.051054 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.6961 mas, bmaj=1.41 mas, bpa=-1.564 degrees ! Estimated noise=12.5017 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0389845 Jy ! Component: 100 - total flux cleaned = 0.0478217 Jy ! Component: 150 - total flux cleaned = 0.0512881 Jy ! Component: 200 - total flux cleaned = 0.0533355 Jy ! Total flux subtracted in 200 components = 0.0533355 Jy ! Clean residual min=-0.001224 max=0.001169 Jy/beam ! Clean residual mean=0.000021 rms=0.000366 Jy/beam ! Combined flux in latest and established models = 0.0533355 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 19 model components to the UV plane model. ! The established model now contains 19 components and 0.0533355 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8996 mas, bmaj=1.775 mas, bpa=-0.797 degrees ! Estimated noise=6.14647 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.00188138 Jy ! Component: 100 - total flux cleaned = 0.00309866 Jy ! Component: 150 - total flux cleaned = 0.00400193 Jy ! Component: 200 - total flux cleaned = 0.0046896 Jy ! Total flux subtracted in 200 components = 0.0046896 Jy ! Clean residual min=-0.000625 max=0.000675 Jy/beam ! Clean residual mean=0.000015 rms=0.000172 Jy/beam ! Combined flux in latest and established models = 0.0580251 Jy ! Adding 68 model components to the UV plane model. ! The established model now contains 82 components and 0.0580251 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.325 mas, bmaj=2.221 mas, bpa=0.3604 degrees ! Estimated noise=6.77084 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000732669 Jy ! Component: 100 - total flux cleaned = 0.00122471 Jy ! Component: 150 - total flux cleaned = 0.00155079 Jy ! Component: 200 - total flux cleaned = 0.00169265 Jy ! Total flux subtracted in 200 components = 0.00169265 Jy ! Clean residual min=-0.000525 max=0.000618 Jy/beam ! Clean residual mean=0.000007 rms=0.000161 Jy/beam ! Combined flux in latest and established models = 0.0597177 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.000115491 Jy ! Component: 100 - total flux cleaned = 0.000189325 Jy ! Component: 150 - total flux cleaned = 0.000252145 Jy ! Component: 200 - total flux cleaned = 0.000300767 Jy ! Total flux subtracted in 200 components = 0.000300767 Jy ! Clean residual min=-0.000517 max=0.000575 Jy/beam ! Clean residual mean=0.000004 rms=0.000156 Jy/beam ! Combined flux in latest and established models = 0.0600185 Jy ! Adding 76 model components to the UV plane model. ! The established model now contains 146 components and 0.0600185 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8996 mas, bmaj=1.775 mas, bpa=-0.797 degrees ! Estimated noise=6.14647 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -7.07431e-05 Jy ! Component: 100 - total flux cleaned = -5.46792e-05 Jy ! Component: 150 - total flux cleaned = -4.00603e-05 Jy ! Component: 200 - total flux cleaned = -2.00613e-05 Jy ! Total flux subtracted in 200 components = -2.00613e-05 Jy ! Clean residual min=-0.000618 max=0.000534 Jy/beam ! Clean residual mean=0.000002 rms=0.000145 Jy/beam ! Combined flux in latest and established models = 0.0599985 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 162 components and 0.0599984 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.037914Jy sigma=0.022184 ! Fit after self-cal, rms=0.037915Jy sigma=0.022184 wmodel /scr/pima/s3111b_uvs/J2116+3339_X_map.mod ! Writing 162 model components to file: /scr/pima/s3111b_uvs/J2116+3339_X_map.mod wobs /scr/pima/s3111b_uvs/J2116+3339_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111b_uvs/J2116+3339_X_uvs.fits wwins /scr/pima/s3111b_uvs/J2116+3339_X_map.win ! wwins: Wrote 2 windows to /scr/pima/s3111b_uvs/J2116+3339_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=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -2.3339e-05 Jy ! Component: 100 - total flux cleaned = 6.75145e-05 Jy ! Component: 150 - total flux cleaned = 0.000142375 Jy ! Component: 200 - total flux cleaned = 0.000196532 Jy ! Component: 250 - total flux cleaned = 0.000254632 Jy ! Component: 300 - total flux cleaned = 0.000303115 Jy ! Component: 350 - total flux cleaned = 0.000349801 Jy ! Component: 400 - total flux cleaned = 0.000369178 Jy ! Component: 450 - total flux cleaned = 0.000381708 Jy ! Component: 500 - total flux cleaned = 0.000394084 Jy ! Component: 550 - total flux cleaned = 0.00040017 Jy ! Component: 600 - total flux cleaned = 0.000429328 Jy ! Component: 650 - total flux cleaned = 0.00042361 Jy ! Component: 700 - total flux cleaned = 0.000412575 Jy ! Component: 750 - total flux cleaned = 0.000401673 Jy ! Component: 800 - total flux cleaned = 0.000390861 Jy ! Component: 850 - total flux cleaned = 0.000369807 Jy ! Component: 900 - total flux cleaned = 0.000364618 Jy ! Component: 950 - total flux cleaned = 0.000329016 Jy ! Component: 1000 - total flux cleaned = 0.000329052 Jy ! Component: 1050 - total flux cleaned = 0.000314221 Jy ! Component: 1100 - total flux cleaned = 0.000294727 Jy ! Component: 1150 - total flux cleaned = 0.000270784 Jy ! Component: 1200 - total flux cleaned = 0.000266039 Jy ! Component: 1250 - total flux cleaned = 0.000247525 Jy ! Component: 1300 - total flux cleaned = 0.000238395 Jy ! Component: 1350 - total flux cleaned = 0.000229379 Jy ! Component: 1400 - total flux cleaned = 0.000224921 Jy ! Component: 1450 - total flux cleaned = 0.000216124 Jy ! Component: 1500 - total flux cleaned = 0.000203137 Jy ! Component: 1550 - total flux cleaned = 0.000203114 Jy ! Component: 1600 - total flux cleaned = 0.000186109 Jy ! Component: 1650 - total flux cleaned = 0.000173542 Jy ! Component: 1700 - total flux cleaned = 0.000161041 Jy ! Component: 1750 - total flux cleaned = 0.000140431 Jy ! Component: 1800 - total flux cleaned = 0.00012822 Jy ! Component: 1850 - total flux cleaned = 0.000116137 Jy ! Component: 1900 - total flux cleaned = 9.62432e-05 Jy ! Component: 1950 - total flux cleaned = 9.23399e-05 Jy ! Component: 2000 - total flux cleaned = 8.06243e-05 Jy ! Total flux subtracted in 2048 components = 7.67085e-05 Jy ! Clean residual min=-0.000230 max=0.000224 Jy/beam ! Clean residual mean=-0.000004 rms=0.000085 Jy/beam ! Combined flux in latest and established models = 0.0600752 Jy keep ! Adding 146 model components to the UV plane model. ! The established model now contains 308 components and 0.0600752 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s3111b_uvs/J2116+3339_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8996 x 1.775 at -0.797 degrees (North through East) ! Clean map min=-0.00054828 max=0.051012 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111b_uvs/J2116+3339_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0510121 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 8.38196e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.492939 0.492939 0.985879 1.97176 3.94351 7.88703 15.7741 31.5481 63.0962 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.051 quit ! Quitting program ! Log file /scr/pima/s3111b_uvs/J2116+3339_X_uvs.log closed on Mon Jul 23 22:53:58 2012