! Started logfile: /d2/scr/pima/bp177b_uvs/J0739+0137_C_uvs.log on Sat Mar 22 08:06:54 2014 obs /d2/scr/pima/bp177b_uvs/J0739+0137_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177b_uvs/J0739+0137_C_uva.fits ! AN table 1: 6 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.888889 visibilities/baseline/integration-bin. ! Found source: J0739+0137 ! ! 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 4.128e+09 3.2e+07 1 3.2e+07 ! 02 2 4.16e+09 3.2e+07 1 3.2e+07 ! 03 3 4.192e+09 3.2e+07 1 3.2e+07 ! 04 4 4.224e+09 3.2e+07 1 3.2e+07 ! 05 5 4.416e+09 3.2e+07 1 3.2e+07 ! 06 6 4.512e+09 3.2e+07 1 3.2e+07 ! 07 7 4.544e+09 3.2e+07 1 3.2e+07 ! 08 8 4.576e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 1536 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.3 print "taper_size =", taper_size ! taper_size = 40 ![@/home/lpetrov/bin/01_muppet /d2/scr/pima/bp177b_uvs/J0739+0137_C] 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.300x0.300 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.176465Jy sigma=48.813460 ! Fit after self-cal, rms=0.530063Jy sigma=21.348328 ! 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.35 mas, bmaj=3.404 mas, bpa=-5.461 degrees ! Estimated noise=0.610185 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.341672 Jy ! Component: 100 - total flux cleaned = 0.469716 Jy ! Total flux subtracted in 100 components = 0.469716 Jy ! Clean residual min=-0.027861 max=0.060635 Jy/beam ! Clean residual mean=0.000233 rms=0.009454 Jy/beam ! Combined flux in latest and established models = 0.469716 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 6 components and 0.469716 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.144085Jy sigma=6.140049 ! Fit after self-cal, rms=0.142853Jy sigma=6.104760 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0709886 Jy ! Component: 100 - total flux cleaned = 0.109511 Jy ! Total flux subtracted in 100 components = 0.109511 Jy ! Clean residual min=-0.016238 max=0.023241 Jy/beam ! Clean residual mean=0.000175 rms=0.005537 Jy/beam ! Combined flux in latest and established models = 0.579227 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 10 components and 0.579227 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.088721Jy sigma=3.786183 ! Fit after self-cal, rms=0.088218Jy sigma=3.772987 ! 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.856 mas, bmaj=4.009 mas, bpa=3.162 degrees ! Estimated noise=0.449153 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.0303618 Jy ! Component: 100 - total flux cleaned = 0.0443018 Jy ! Component: 150 - total flux cleaned = 0.0521297 Jy ! Component: 200 - total flux cleaned = 0.0570439 Jy ! Total flux subtracted in 200 components = 0.0570439 Jy ! Clean residual min=-0.019127 max=0.037425 Jy/beam ! Clean residual mean=0.000307 rms=0.008160 Jy/beam ! Combined flux in latest and established models = 0.636271 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 27 components and 0.636271 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.078684Jy sigma=3.357722 ! Fit after self-cal, rms=0.078598Jy sigma=3.352753 ! 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.856 x 4.009 at 3.162 degrees (North through East) ! Clean map min=-0.018742 max=0.48723 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 0.99 FD 1.06 HN 1.03 LA 0.97 ! MK 1.07 NL 1.03 OV 1.04 PT 0.83 ! SC 0.96 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.10 HN 1.05 LA 1.04 ! MK 1.00 NL 1.08 OV 1.08 PT 0.98 ! SC 0.99 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 FD 0.91 HN 1.01 LA 0.97 ! MK 0.91 NL 0.91 OV 1.06 PT 0.94 ! SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.07 HN 1.04 LA 1.00 ! MK 1.03 NL 0.98 OV 1.04 PT 0.98 ! SC 0.99 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 1.06 LA 0.97 ! MK 1.02 NL 0.99 OV 1.03 PT 0.91 ! SC 1.01 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.01 HN 1.08 LA 0.99 ! MK 1.00 NL 0.97 OV 1.03 PT 1.01 ! SC 1.03 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 0.96 HN 1.02 LA 0.93 ! MK 0.99 NL 0.98 OV 1.02 PT 0.93 ! SC 0.96 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 0.97 HN 1.05 LA 0.93 ! MK 0.99 NL 0.97 OV 1.06 PT 0.90 ! SC 0.99 ! ! ! Fit before self-cal, rms=0.078598Jy sigma=3.352753 ! Fit after self-cal, rms=0.065802Jy sigma=2.895019 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.86 mas, bmaj=4.023 mas, bpa=3.205 degrees ! Estimated noise=0.448925 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.00293579 Jy ! Component: 100 - total flux cleaned = -0.00335746 Jy ! Component: 150 - total flux cleaned = -0.00389426 Jy ! Component: 200 - total flux cleaned = -0.00405607 Jy ! Total flux subtracted in 200 components = -0.00405607 Jy ! Clean residual min=-0.017165 max=0.036646 Jy/beam ! Clean residual mean=0.000233 rms=0.007342 Jy/beam ! Combined flux in latest and established models = 0.632215 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 32 components and 0.632215 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.065394Jy sigma=2.884306 ! Fit after self-cal, rms=0.065430Jy sigma=2.880933 ! 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.065430Jy sigma=2.880933 ! Fit after self-cal, rms=0.065335Jy sigma=2.880034 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.862 mas, bmaj=4.027 mas, bpa=3.181 degrees ! Estimated noise=0.448459 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0025168 Jy ! Component: 100 - total flux cleaned = -0.0028706 Jy ! Component: 150 - total flux cleaned = -0.00309144 Jy ! Component: 200 - total flux cleaned = -0.00329065 Jy ! Total flux subtracted in 200 components = -0.00329065 Jy ! Clean residual min=-0.017061 max=0.036608 Jy/beam ! Clean residual mean=0.000232 rms=0.007301 Jy/beam ! Combined flux in latest and established models = 0.628925 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 33 components and 0.628925 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.065043Jy sigma=2.873255 ! Fit after self-cal, rms=0.065046Jy sigma=2.871321 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 (-5.4, 1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0351017 Jy ! Component: 100 - total flux cleaned = 0.0527891 Jy ! Component: 150 - total flux cleaned = 0.0630757 Jy ! Component: 200 - total flux cleaned = 0.0670447 Jy ! Total flux subtracted in 200 components = 0.0670447 Jy ! Clean residual min=-0.010331 max=0.021717 Jy/beam ! Clean residual mean=0.000139 rms=0.004946 Jy/beam ! Combined flux in latest and established models = 0.69597 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 71 components and 0.695969 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.045138Jy sigma=1.983794 ! Fit after self-cal, rms=0.043226Jy sigma=1.908497 ! 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.043226Jy sigma=1.908497 ! Fit after self-cal, rms=0.041225Jy sigma=1.832246 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.863 mas, bmaj=4.034 mas, bpa=2.98 degrees ! Estimated noise=0.445222 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0114803 Jy ! Component: 100 - total flux cleaned = 0.018209 Jy ! Component: 150 - total flux cleaned = 0.0215481 Jy ! Component: 200 - total flux cleaned = 0.0225221 Jy ! Total flux subtracted in 200 components = 0.0225221 Jy ! Clean residual min=-0.008662 max=0.019145 Jy/beam ! Clean residual mean=0.000109 rms=0.004072 Jy/beam ! Combined flux in latest and established models = 0.718492 Jy selfcal ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 115 components and 0.718492 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.037935Jy sigma=1.670486 ! Fit after self-cal, rms=0.037502Jy sigma=1.650415 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 (-12.6, 3.9). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0194413 Jy ! Component: 100 - total flux cleaned = 0.030088 Jy ! Component: 150 - total flux cleaned = 0.03754 Jy ! Component: 200 - total flux cleaned = 0.0433792 Jy ! Total flux subtracted in 200 components = 0.0433792 Jy ! Clean residual min=-0.006019 max=0.010844 Jy/beam ! Clean residual mean=0.000053 rms=0.002265 Jy/beam ! Combined flux in latest and established models = 0.761871 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 148 components and 0.761871 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.026803Jy sigma=1.078900 ! Fit after self-cal, rms=0.026515Jy sigma=1.065288 ! Inverting map ! Added new window around map position (3.3, -15.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00999476 Jy ! Component: 100 - total flux cleaned = 0.0157432 Jy ! Component: 150 - total flux cleaned = 0.0202528 Jy ! Component: 200 - total flux cleaned = 0.0240435 Jy ! Total flux subtracted in 200 components = 0.0240435 Jy ! Clean residual min=-0.005160 max=0.006502 Jy/beam ! Clean residual mean=0.000027 rms=0.001479 Jy/beam ! Combined flux in latest and established models = 0.785914 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 185 components and 0.785915 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.022065Jy sigma=0.841523 ! Fit after self-cal, rms=0.021833Jy sigma=0.831917 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 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.021833Jy sigma=0.831917 ! Fit after self-cal, rms=0.021130Jy sigma=0.806744 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.671 mas, bmaj=6.319 mas, bpa=10.64 degrees ! Estimated noise=0.512 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00651072 Jy ! Component: 100 - total flux cleaned = 0.0110271 Jy ! Component: 150 - total flux cleaned = 0.0127204 Jy ! Component: 200 - total flux cleaned = 0.0136728 Jy ! Total flux subtracted in 200 components = 0.0136728 Jy ! Clean residual min=-0.005274 max=0.006057 Jy/beam ! Clean residual mean=0.000015 rms=0.001535 Jy/beam ! Combined flux in latest and established models = 0.799587 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 207 components and 0.799587 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.019924Jy sigma=0.744938 ! Fit after self-cal, rms=0.019821Jy sigma=0.739648 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.00165045 Jy ! Component: 100 - total flux cleaned = 0.00241884 Jy ! Component: 150 - total flux cleaned = 0.0029077 Jy ! Component: 200 - total flux cleaned = 0.0032619 Jy ! Total flux subtracted in 200 components = 0.0032619 Jy ! Clean residual min=-0.004522 max=0.005036 Jy/beam ! Clean residual mean=0.000007 rms=0.001263 Jy/beam ! Combined flux in latest and established models = 0.802849 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 225 components and 0.802849 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.019565Jy sigma=0.726304 ! Fit after self-cal, rms=0.019489Jy sigma=0.723331 ! 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.868 mas, bmaj=4.042 mas, bpa=2.944 degrees ! Estimated noise=0.443354 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.868 x 4.042 at 2.944 degrees (North through East) ! Clean map min=-0.0041485 max=0.48942 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.355 mas, bmaj=3.431 mas, bpa=-5.668 degrees ! Estimated noise=0.607964 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.341033 Jy ! Component: 100 - total flux cleaned = 0.469115 Jy ! Component: 150 - total flux cleaned = 0.537421 Jy ! Component: 200 - total flux cleaned = 0.576013 Jy ! Total flux subtracted in 200 components = 0.576013 Jy ! Clean residual min=-0.016115 max=0.021015 Jy/beam ! Clean residual mean=0.000139 rms=0.005074 Jy/beam ! Combined flux in latest and established models = 0.576013 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 13 model components to the UV plane model. ! The established model now contains 13 components and 0.576013 Jy ! Inverting map and beam ! Estimated beam: bmin=1.868 mas, bmaj=4.042 mas, bpa=2.944 degrees ! Estimated noise=0.443354 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.0403368 Jy ! Component: 100 - total flux cleaned = 0.0687511 Jy ! Component: 150 - total flux cleaned = 0.0906604 Jy ! Component: 200 - total flux cleaned = 0.108748 Jy ! Total flux subtracted in 200 components = 0.108748 Jy ! Clean residual min=-0.011125 max=0.014716 Jy/beam ! Clean residual mean=0.000154 rms=0.004366 Jy/beam ! Combined flux in latest and established models = 0.68476 Jy ! Adding 51 model components to the UV plane model. ! The established model now contains 58 components and 0.68476 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.671 mas, bmaj=6.319 mas, bpa=10.64 degrees ! Estimated noise=0.512 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0257724 Jy ! Component: 100 - total flux cleaned = 0.0450745 Jy ! Component: 150 - total flux cleaned = 0.0600208 Jy ! Component: 200 - total flux cleaned = 0.0716849 Jy ! Total flux subtracted in 200 components = 0.0716849 Jy ! Clean residual min=-0.008394 max=0.011338 Jy/beam ! Clean residual mean=0.000120 rms=0.003282 Jy/beam ! Combined flux in latest and established models = 0.756445 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.00918865 Jy ! Component: 100 - total flux cleaned = 0.0165248 Jy ! Component: 150 - total flux cleaned = 0.0225078 Jy ! Component: 200 - total flux cleaned = 0.0274711 Jy ! Total flux subtracted in 200 components = 0.0274711 Jy ! Clean residual min=-0.005944 max=0.006542 Jy/beam ! Clean residual mean=0.000054 rms=0.001785 Jy/beam ! Combined flux in latest and established models = 0.783916 Jy ! Adding 85 model components to the UV plane model. ! The established model now contains 133 components and 0.783916 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.868 mas, bmaj=4.042 mas, bpa=2.944 degrees ! Estimated noise=0.443354 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0054762 Jy ! Component: 100 - total flux cleaned = 0.00928842 Jy ! Component: 150 - total flux cleaned = 0.0118817 Jy ! Component: 200 - total flux cleaned = 0.0137326 Jy ! Total flux subtracted in 200 components = 0.0137326 Jy ! Clean residual min=-0.004639 max=0.005596 Jy/beam ! Clean residual mean=0.000010 rms=0.001101 Jy/beam ! Combined flux in latest and established models = 0.797649 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 162 components and 0.797649 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.022889Jy sigma=0.855334 ! Fit after self-cal, rms=0.022459Jy sigma=0.838701 wmodel /d2/scr/pima/bp177b_uvs/J0739+0137_C_map.mod ! Writing 162 model components to file: /d2/scr/pima/bp177b_uvs/J0739+0137_C_map.mod wobs /d2/scr/pima/bp177b_uvs/J0739+0137_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177b_uvs/J0739+0137_C_uvs.fits wwins /d2/scr/pima/bp177b_uvs/J0739+0137_C_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp177b_uvs/J0739+0137_C_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.00229507 Jy ! Component: 100 - total flux cleaned = 0.00418661 Jy ! Component: 150 - total flux cleaned = 0.00517785 Jy ! Component: 200 - total flux cleaned = 0.00537653 Jy ! Component: 250 - total flux cleaned = 0.00531425 Jy ! Component: 300 - total flux cleaned = 0.00554672 Jy ! Component: 350 - total flux cleaned = 0.00560353 Jy ! Component: 400 - total flux cleaned = 0.0056029 Jy ! Component: 450 - total flux cleaned = 0.00555177 Jy ! Component: 500 - total flux cleaned = 0.00545206 Jy ! Component: 550 - total flux cleaned = 0.00535527 Jy ! Component: 600 - total flux cleaned = 0.00512109 Jy ! Component: 650 - total flux cleaned = 0.00489312 Jy ! Component: 700 - total flux cleaned = 0.00462985 Jy ! Component: 750 - total flux cleaned = 0.00450282 Jy ! Component: 800 - total flux cleaned = 0.00437806 Jy ! Component: 850 - total flux cleaned = 0.0042572 Jy ! Component: 900 - total flux cleaned = 0.00405932 Jy ! Component: 950 - total flux cleaned = 0.00405979 Jy ! Component: 1000 - total flux cleaned = 0.00390883 Jy ! Component: 1050 - total flux cleaned = 0.00387207 Jy ! Component: 1100 - total flux cleaned = 0.00376403 Jy ! Component: 1150 - total flux cleaned = 0.00372973 Jy ! Component: 1200 - total flux cleaned = 0.00379807 Jy ! Component: 1250 - total flux cleaned = 0.00362869 Jy ! Component: 1300 - total flux cleaned = 0.00356301 Jy ! Component: 1350 - total flux cleaned = 0.00359523 Jy ! Component: 1400 - total flux cleaned = 0.00349929 Jy ! Component: 1450 - total flux cleaned = 0.0034368 Jy ! Component: 1500 - total flux cleaned = 0.00346772 Jy ! Component: 1550 - total flux cleaned = 0.00340782 Jy ! Component: 1600 - total flux cleaned = 0.00331935 Jy ! Component: 1650 - total flux cleaned = 0.00329076 Jy ! Component: 1700 - total flux cleaned = 0.00329083 Jy ! Component: 1750 - total flux cleaned = 0.0032908 Jy ! Component: 1800 - total flux cleaned = 0.00329042 Jy ! Component: 1850 - total flux cleaned = 0.00320964 Jy ! Component: 1900 - total flux cleaned = 0.00315705 Jy ! Component: 1950 - total flux cleaned = 0.00318336 Jy ! Component: 2000 - total flux cleaned = 0.003183 Jy ! Component: 2050 - total flux cleaned = 0.00315733 Jy ! Component: 2100 - total flux cleaned = 0.00313288 Jy ! Component: 2150 - total flux cleaned = 0.0031325 Jy ! Component: 2200 - total flux cleaned = 0.0031086 Jy ! Component: 2250 - total flux cleaned = 0.00310869 Jy ! Component: 2300 - total flux cleaned = 0.0030857 Jy ! Component: 2350 - total flux cleaned = 0.00306314 Jy ! Component: 2400 - total flux cleaned = 0.00315244 Jy ! Component: 2450 - total flux cleaned = 0.0031298 Jy ! Component: 2500 - total flux cleaned = 0.00315196 Jy ! Component: 2550 - total flux cleaned = 0.00319425 Jy ! Component: 2600 - total flux cleaned = 0.00325779 Jy ! Component: 2650 - total flux cleaned = 0.00329953 Jy ! Component: 2700 - total flux cleaned = 0.00340202 Jy ! Component: 2750 - total flux cleaned = 0.0034019 Jy ! Component: 2800 - total flux cleaned = 0.00342201 Jy ! Component: 2850 - total flux cleaned = 0.00350114 Jy ! Component: 2900 - total flux cleaned = 0.00359855 Jy ! Component: 2950 - total flux cleaned = 0.00359907 Jy ! Component: 3000 - total flux cleaned = 0.00373214 Jy ! Component: 3050 - total flux cleaned = 0.00380722 Jy ! Component: 3100 - total flux cleaned = 0.00389944 Jy ! Component: 3150 - total flux cleaned = 0.00389969 Jy ! Component: 3200 - total flux cleaned = 0.00395401 Jy ! Component: 3250 - total flux cleaned = 0.003972 Jy ! Component: 3300 - total flux cleaned = 0.00400742 Jy ! Component: 3350 - total flux cleaned = 0.00404216 Jy ! Component: 3400 - total flux cleaned = 0.00405954 Jy ! Component: 3450 - total flux cleaned = 0.00414437 Jy ! Component: 3500 - total flux cleaned = 0.00411081 Jy ! Component: 3550 - total flux cleaned = 0.00414384 Jy ! Component: 3600 - total flux cleaned = 0.00420909 Jy ! Component: 3650 - total flux cleaned = 0.00420892 Jy ! Component: 3700 - total flux cleaned = 0.00417686 Jy ! Component: 3750 - total flux cleaned = 0.00420842 Jy ! Component: 3800 - total flux cleaned = 0.00416135 Jy ! Component: 3850 - total flux cleaned = 0.00417669 Jy ! Component: 3900 - total flux cleaned = 0.00413073 Jy ! Component: 3950 - total flux cleaned = 0.00416119 Jy ! Component: 4000 - total flux cleaned = 0.00419079 Jy ! Component: 4050 - total flux cleaned = 0.00416083 Jy ! Total flux subtracted in 4096 components = 0.00414604 Jy ! Clean residual min=-0.000796 max=0.000758 Jy/beam ! Clean residual mean=0.000001 rms=0.000247 Jy/beam ! Combined flux in latest and established models = 0.801795 Jy keep ! Adding 251 model components to the UV plane model. ! The established model now contains 410 components and 0.801796 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177b_uvs/J0739+0137_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.868 x 4.042 at 2.944 degrees (North through East) ! Clean map min=-0.0021991 max=0.48879 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177b_uvs/J0739+0137_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.488788 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00024533 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.150574 0.150574 0.301148 0.602297 1.20459 2.40919 4.81838 9.63675 19.2735 38.547 77.094 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0007 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.488 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1992.37 quit ! Quitting program ! Log file /d2/scr/pima/bp177b_uvs/J0739+0137_C_uvs.log closed on Sat Mar 22 08:06:58 2014