! Started logfile: /scr/pima/bp171ag_uvs/J2207+0041_C_uvs.log on Fri Oct 11 03:47:03 2013 obs /scr/pima/bp171ag_uvs/J2207+0041_C_uva.fits ! Reading UV FITS file: /scr/pima/bp171ag_uvs/J2207+0041_C_uva.fits ! AN table 1: 3 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J2207+0041 ! ! 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 1080 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 /scr/pima/bp171ag_uvs/J2207+0041_C] 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. ! ! 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.004396Jy sigma=3.606540 ! Fit after self-cal, rms=0.948726Jy sigma=3.163492 ! 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.241 mas, bmaj=3.508 mas, bpa=-3.263 degrees ! Estimated noise=10.5738 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.0629335 Jy ! Component: 100 - total flux cleaned = 0.0839484 Jy ! Total flux subtracted in 100 components = 0.0839484 Jy ! Clean residual min=-0.010819 max=0.028105 Jy/beam ! Clean residual mean=0.000010 rms=0.003825 Jy/beam ! Combined flux in latest and established models = 0.0839484 Jy ! Performing phase self-cal ! Adding 3 model components to the UV plane model. ! The established model now contains 3 components and 0.0839484 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.062188Jy sigma=0.213304 ! Fit after self-cal, rms=0.058695Jy sigma=0.204532 ! Inverting map ! Added new window around map position (-0.3, -5.7). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.022486 Jy ! Component: 100 - total flux cleaned = 0.0297453 Jy ! Total flux subtracted in 100 components = 0.0297453 Jy ! Clean residual min=-0.008810 max=0.021918 Jy/beam ! Clean residual mean=0.000003 rms=0.002665 Jy/beam ! Combined flux in latest and established models = 0.113694 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 10 components and 0.113694 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.049683Jy sigma=0.151291 ! Fit after self-cal, rms=0.048450Jy sigma=0.142574 ! 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.619 mas, bmaj=4.089 mas, bpa=-2.476 degrees ! Estimated noise=7.6273 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.0146473 Jy ! Component: 100 - total flux cleaned = 0.0212398 Jy ! Component: 150 - total flux cleaned = 0.0233828 Jy ! Component: 200 - total flux cleaned = 0.0238972 Jy ! Total flux subtracted in 200 components = 0.0238972 Jy ! Clean residual min=-0.007100 max=0.010512 Jy/beam ! Clean residual mean=-0.000004 rms=0.002123 Jy/beam ! Combined flux in latest and established models = 0.137591 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 22 components and 0.137591 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.045566Jy sigma=0.114462 ! Fit after self-cal, rms=0.045408Jy sigma=0.112261 ! 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 0.98 FD 1.04 HN 1.53 KP 0.82 ! LA 0.98 MK 0.84 NL 1.04 OV 1.09 ! PT 0.84 SC 0.83 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.09 HN 1.53 KP 0.85 ! LA 1.02 MK 0.78 NL 1.17 OV 1.10 ! PT 0.96 SC 0.91 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.03 HN 1.59 KP 0.57 ! LA 1.00 MK 0.77 NL 1.01 OV 1.05 ! PT 0.95 SC 0.89 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.07 HN 1.64 KP 0.95 ! LA 1.02 MK 0.80 NL 1.12 OV 1.07 ! PT 0.96 SC 0.95 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.01 HN 1.61 KP 0.94 ! LA 1.07 MK 0.91 NL 1.06 OV 1.02 ! PT 0.90 SC 0.88 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.02 HN 1.57 KP 0.93 ! LA 1.10 MK 0.89 NL 1.09 OV 1.01 ! PT 0.98 SC 0.96 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 0.94 HN 1.65 KP 0.91 ! LA 0.99 MK 0.86 NL 1.12 OV 1.02 ! PT 0.95 SC 0.87 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 0.95 HN 1.63 KP 0.96 ! LA 0.99 MK 0.82 NL 1.13 OV 1.03 ! PT 0.92 SC 0.91 ! ! ! Fit before self-cal, rms=0.045408Jy sigma=0.112261 ! Fit after self-cal, rms=0.044628Jy sigma=0.077976 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.585 mas, bmaj=4.038 mas, bpa=-2.067 degrees ! Estimated noise=7.34089 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.00273125 Jy ! Component: 100 - total flux cleaned = -0.00269884 Jy ! Component: 150 - total flux cleaned = -0.00304367 Jy ! Component: 200 - total flux cleaned = -0.00304963 Jy ! Total flux subtracted in 200 components = -0.00304963 Jy ! Clean residual min=-0.003361 max=0.006409 Jy/beam ! Clean residual mean=-0.000000 rms=0.000924 Jy/beam ! Combined flux in latest and established models = 0.134541 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 24 components and 0.134541 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.041134Jy sigma=0.077758 ! Fit after self-cal, rms=0.041097Jy sigma=0.076876 ! Inverting map ! Added new window around map position (4.2, -1.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00222572 Jy ! Component: 100 - total flux cleaned = 0.00234996 Jy ! Component: 150 - total flux cleaned = 0.00246 Jy ! Component: 200 - total flux cleaned = 0.00246588 Jy ! Total flux subtracted in 200 components = 0.00246588 Jy ! Clean residual min=-0.003370 max=0.004713 Jy/beam ! Clean residual mean=-0.000001 rms=0.000782 Jy/beam ! Combined flux in latest and established models = 0.137007 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 40 components and 0.137007 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.039328Jy sigma=0.074273 ! Fit after self-cal, rms=0.039314Jy sigma=0.073795 ! Inverting map ! Added new window around map position (0.3, 6.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00126101 Jy ! Component: 100 - total flux cleaned = 0.00138168 Jy ! Component: 150 - total flux cleaned = 0.00148786 Jy ! Component: 200 - total flux cleaned = 0.00166449 Jy ! Total flux subtracted in 200 components = 0.00166449 Jy ! Clean residual min=-0.002920 max=0.002945 Jy/beam ! Clean residual mean=-0.000002 rms=0.000676 Jy/beam ! Combined flux in latest and established models = 0.138672 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 56 components and 0.138672 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.037286Jy sigma=0.072369 ! Fit after self-cal, rms=0.037285Jy sigma=0.072168 ! 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.037285Jy sigma=0.072168 ! Fit after self-cal, rms=0.036550Jy sigma=0.071425 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.576 mas, bmaj=4.028 mas, bpa=-1.918 degrees ! Estimated noise=7.17414 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000875874 Jy ! Component: 100 - total flux cleaned = -0.000481241 Jy ! Component: 150 - total flux cleaned = -0.000345893 Jy ! Component: 200 - total flux cleaned = -0.000167956 Jy ! Total flux subtracted in 200 components = -0.000167956 Jy ! Clean residual min=-0.002793 max=0.002653 Jy/beam ! Clean residual mean=-0.000002 rms=0.000618 Jy/beam ! Combined flux in latest and established models = 0.138504 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 62 components and 0.138504 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.035343Jy sigma=0.071321 ! Fit after self-cal, rms=0.035349Jy sigma=0.071182 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.000432944 Jy ! Component: 100 - total flux cleaned = 0.000484406 Jy ! Component: 150 - total flux cleaned = 0.000575924 Jy ! Component: 200 - total flux cleaned = 0.000574696 Jy ! Total flux subtracted in 200 components = 0.000574696 Jy ! Clean residual min=-0.002822 max=0.002604 Jy/beam ! Clean residual mean=-0.000002 rms=0.000605 Jy/beam ! Combined flux in latest and established models = 0.139079 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 66 components and 0.139079 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.034906Jy sigma=0.071097 ! Fit after self-cal, rms=0.034921Jy sigma=0.071012 ! 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.034921Jy sigma=0.071012 ! Fit after self-cal, rms=0.035040Jy sigma=0.070822 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.576 mas, bmaj=4.026 mas, bpa=-1.856 degrees ! Estimated noise=7.12518 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000307125 Jy ! Component: 100 - total flux cleaned = -0.000347233 Jy ! Component: 150 - total flux cleaned = -0.000274977 Jy ! Component: 200 - total flux cleaned = -0.000211274 Jy ! Total flux subtracted in 200 components = -0.000211274 Jy ! Clean residual min=-0.002790 max=0.002594 Jy/beam ! Clean residual mean=-0.000003 rms=0.000596 Jy/beam ! Combined flux in latest and established models = 0.138867 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 74 components and 0.138867 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.034645Jy sigma=0.070959 ! Fit after self-cal, rms=0.034658Jy sigma=0.070885 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 6.41428e-05 Jy ! Component: 100 - total flux cleaned = 0.000125103 Jy ! Component: 150 - total flux cleaned = 0.000181295 Jy ! Component: 200 - total flux cleaned = 0.000234436 Jy ! Total flux subtracted in 200 components = 0.000234436 Jy ! Clean residual min=-0.002866 max=0.002527 Jy/beam ! Clean residual mean=-0.000003 rms=0.000595 Jy/beam ! Combined flux in latest and established models = 0.139102 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 88 components and 0.139102 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.034504Jy sigma=0.070873 ! Fit after self-cal, rms=0.034527Jy sigma=0.070821 ! 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.034527Jy sigma=0.070821 ! Fit after self-cal, rms=0.034515Jy sigma=0.070672 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.711 mas, bmaj=8.745 mas, bpa=5.541 degrees ! Estimated noise=7.2872 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00092456 Jy ! Component: 100 - total flux cleaned = -0.00095974 Jy ! Component: 150 - total flux cleaned = -0.00098958 Jy ! Component: 200 - total flux cleaned = -0.0010187 Jy ! Total flux subtracted in 200 components = -0.0010187 Jy ! Clean residual min=-0.003192 max=0.002526 Jy/beam ! Clean residual mean=-0.000004 rms=0.000697 Jy/beam ! Combined flux in latest and established models = 0.138083 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 103 components and 0.138083 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.034453Jy sigma=0.070800 ! Fit after self-cal, rms=0.034473Jy sigma=0.070744 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.000124858 Jy ! Component: 100 - total flux cleaned = 0.000124398 Jy ! Component: 150 - total flux cleaned = 0.00012434 Jy ! Component: 200 - total flux cleaned = 0.000124143 Jy ! Total flux subtracted in 200 components = 0.000124143 Jy ! Clean residual min=-0.003111 max=0.002474 Jy/beam ! Clean residual mean=-0.000004 rms=0.000689 Jy/beam ! Combined flux in latest and established models = 0.138207 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 111 components and 0.138207 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.034469Jy sigma=0.070816 ! Fit after self-cal, rms=0.034497Jy sigma=0.070773 ! 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.577 mas, bmaj=4.029 mas, bpa=-1.888 degrees ! Estimated noise=7.09064 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.577 x 4.029 at -1.888 degrees (North through East) ! Clean map min=-0.0027545 max=0.052914 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.204 mas, bmaj=3.468 mas, bpa=-2.35 degrees ! Estimated noise=9.81153 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0658197 Jy ! Component: 100 - total flux cleaned = 0.093262 Jy ! Component: 150 - total flux cleaned = 0.10861 Jy ! Component: 200 - total flux cleaned = 0.118874 Jy ! Total flux subtracted in 200 components = 0.118874 Jy ! Clean residual min=-0.004932 max=0.006155 Jy/beam ! Clean residual mean=0.000001 rms=0.001397 Jy/beam ! Combined flux in latest and established models = 0.118874 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 29 model components to the UV plane model. ! The established model now contains 29 components and 0.118874 Jy ! Inverting map and beam ! Estimated beam: bmin=1.577 mas, bmaj=4.029 mas, bpa=-1.888 degrees ! Estimated noise=7.09064 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.00929632 Jy ! Component: 100 - total flux cleaned = 0.0147752 Jy ! Component: 150 - total flux cleaned = 0.0169036 Jy ! Component: 200 - total flux cleaned = 0.0180438 Jy ! Total flux subtracted in 200 components = 0.0180438 Jy ! Clean residual min=-0.003012 max=0.003400 Jy/beam ! Clean residual mean=-0.000004 rms=0.000763 Jy/beam ! Combined flux in latest and established models = 0.136918 Jy ! Adding 43 model components to the UV plane model. ! The established model now contains 54 components and 0.136918 Jy ! Inverting map ! Added new window around map position (-6.3, -1.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00293989 Jy ! Component: 100 - total flux cleaned = 0.00377636 Jy ! Component: 150 - total flux cleaned = 0.00426255 Jy ! Component: 200 - total flux cleaned = 0.0044826 Jy ! Total flux subtracted in 200 components = 0.0044826 Jy ! Clean residual min=-0.002817 max=0.002555 Jy/beam ! Clean residual mean=-0.000005 rms=0.000654 Jy/beam ! Combined flux in latest and established models = 0.1414 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 75 components and 0.1414 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=4.711 mas, bmaj=8.745 mas, bpa=5.541 degrees ! Estimated noise=7.2872 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000464071 Jy ! Component: 100 - total flux cleaned = -0.000620162 Jy ! Component: 150 - total flux cleaned = -0.000748445 Jy ! Component: 200 - total flux cleaned = -0.000940903 Jy ! Total flux subtracted in 200 components = -0.000940903 Jy ! Clean residual min=-0.002857 max=0.002166 Jy/beam ! Clean residual mean=-0.000007 rms=0.000736 Jy/beam ! Combined flux in latest and established models = 0.14046 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.000143181 Jy ! Component: 100 - total flux cleaned = -0.000310677 Jy ! Component: 150 - total flux cleaned = -0.000435482 Jy ! Component: 200 - total flux cleaned = -0.000524958 Jy ! Total flux subtracted in 200 components = -0.000524958 Jy ! Clean residual min=-0.002813 max=0.002151 Jy/beam ! Clean residual mean=-0.000006 rms=0.000714 Jy/beam ! Combined flux in latest and established models = 0.139935 Jy ! Adding 26 model components to the UV plane model. ! The established model now contains 98 components and 0.139935 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.577 mas, bmaj=4.029 mas, bpa=-1.888 degrees ! Estimated noise=7.09064 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000445294 Jy ! Component: 100 - total flux cleaned = 0.0004427 Jy ! Component: 150 - total flux cleaned = 0.000444435 Jy ! Component: 200 - total flux cleaned = 0.000537294 Jy ! Total flux subtracted in 200 components = 0.000537294 Jy ! Clean residual min=-0.002522 max=0.002572 Jy/beam ! Clean residual mean=-0.000004 rms=0.000587 Jy/beam ! Combined flux in latest and established models = 0.140472 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 122 components and 0.140472 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.033618Jy sigma=0.070640 ! Fit after self-cal, rms=0.033572Jy sigma=0.070259 wmodel /scr/pima/bp171ag_uvs/J2207+0041_C_map.mod ! Writing 122 model components to file: /scr/pima/bp171ag_uvs/J2207+0041_C_map.mod wobs /scr/pima/bp171ag_uvs/J2207+0041_C_uvs.fits ! Writing UV FITS file: /scr/pima/bp171ag_uvs/J2207+0041_C_uvs.fits wwins /scr/pima/bp171ag_uvs/J2207+0041_C_map.win ! wwins: Wrote 5 windows to /scr/pima/bp171ag_uvs/J2207+0041_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.000322052 Jy ! Component: 100 - total flux cleaned = 0.000603969 Jy ! Component: 150 - total flux cleaned = 0.00102106 Jy ! Component: 200 - total flux cleaned = 0.00134488 Jy ! Component: 250 - total flux cleaned = 0.00172595 Jy ! Component: 300 - total flux cleaned = 0.00199229 Jy ! Component: 350 - total flux cleaned = 0.00228299 Jy ! Component: 400 - total flux cleaned = 0.00256453 Jy ! Component: 450 - total flux cleaned = 0.00277643 Jy ! Component: 500 - total flux cleaned = 0.00295319 Jy ! Component: 550 - total flux cleaned = 0.0031829 Jy ! Component: 600 - total flux cleaned = 0.00343481 Jy ! Component: 650 - total flux cleaned = 0.00365405 Jy ! Component: 700 - total flux cleaned = 0.00384144 Jy ! Component: 750 - total flux cleaned = 0.00405101 Jy ! Component: 800 - total flux cleaned = 0.00423047 Jy ! Component: 850 - total flux cleaned = 0.00435596 Jy ! Component: 900 - total flux cleaned = 0.00450278 Jy ! Component: 950 - total flux cleaned = 0.00457462 Jy ! Component: 1000 - total flux cleaned = 0.00469256 Jy ! Component: 1050 - total flux cleaned = 0.00485449 Jy ! Component: 1100 - total flux cleaned = 0.00496787 Jy ! Component: 1150 - total flux cleaned = 0.00505709 Jy ! Component: 1200 - total flux cleaned = 0.00521065 Jy ! Component: 1250 - total flux cleaned = 0.00531845 Jy ! Component: 1300 - total flux cleaned = 0.00546708 Jy ! Component: 1350 - total flux cleaned = 0.00557159 Jy ! Component: 1400 - total flux cleaned = 0.00567449 Jy ! Component: 1450 - total flux cleaned = 0.00577569 Jy ! Component: 1500 - total flux cleaned = 0.00587594 Jy ! Component: 1550 - total flux cleaned = 0.00595486 Jy ! Component: 1600 - total flux cleaned = 0.00599402 Jy ! Component: 1650 - total flux cleaned = 0.00607133 Jy ! Component: 1700 - total flux cleaned = 0.00610966 Jy ! Component: 1750 - total flux cleaned = 0.00620391 Jy ! Component: 1800 - total flux cleaned = 0.00624113 Jy ! Component: 1850 - total flux cleaned = 0.00629657 Jy ! Component: 1900 - total flux cleaned = 0.00633291 Jy ! Component: 1950 - total flux cleaned = 0.00644124 Jy ! Component: 2000 - total flux cleaned = 0.00649483 Jy ! Component: 2050 - total flux cleaned = 0.00658299 Jy ! Component: 2100 - total flux cleaned = 0.00656561 Jy ! Component: 2150 - total flux cleaned = 0.00666951 Jy ! Component: 2200 - total flux cleaned = 0.00675513 Jy ! Component: 2250 - total flux cleaned = 0.00680612 Jy ! Component: 2300 - total flux cleaned = 0.00682324 Jy ! Component: 2350 - total flux cleaned = 0.00695633 Jy ! Component: 2400 - total flux cleaned = 0.00702225 Jy ! Component: 2450 - total flux cleaned = 0.00712046 Jy ! Component: 2500 - total flux cleaned = 0.00718541 Jy ! Component: 2550 - total flux cleaned = 0.00724959 Jy ! Component: 2600 - total flux cleaned = 0.00736105 Jy ! Component: 2650 - total flux cleaned = 0.00742402 Jy ! Component: 2700 - total flux cleaned = 0.0075336 Jy ! Component: 2750 - total flux cleaned = 0.00754925 Jy ! Component: 2800 - total flux cleaned = 0.00767271 Jy ! Component: 2850 - total flux cleaned = 0.00781029 Jy ! Component: 2900 - total flux cleaned = 0.00784059 Jy ! Component: 2950 - total flux cleaned = 0.00788587 Jy ! Component: 3000 - total flux cleaned = 0.00797563 Jy ! Component: 3050 - total flux cleaned = 0.00804996 Jy ! Component: 3100 - total flux cleaned = 0.00818247 Jy ! Component: 3150 - total flux cleaned = 0.00822633 Jy ! Component: 3200 - total flux cleaned = 0.00828429 Jy ! Component: 3250 - total flux cleaned = 0.00832738 Jy ! Component: 3300 - total flux cleaned = 0.00837043 Jy ! Component: 3350 - total flux cleaned = 0.00839887 Jy ! Component: 3400 - total flux cleaned = 0.00842708 Jy ! Component: 3450 - total flux cleaned = 0.00842704 Jy ! Component: 3500 - total flux cleaned = 0.00848311 Jy ! Component: 3550 - total flux cleaned = 0.00848315 Jy ! Component: 3600 - total flux cleaned = 0.00852461 Jy ! Component: 3650 - total flux cleaned = 0.00855207 Jy ! Component: 3700 - total flux cleaned = 0.00853835 Jy ! Component: 3750 - total flux cleaned = 0.00857927 Jy ! Component: 3800 - total flux cleaned = 0.00857925 Jy ! Component: 3850 - total flux cleaned = 0.00860614 Jy ! Component: 3900 - total flux cleaned = 0.00861944 Jy ! Component: 3950 - total flux cleaned = 0.00860617 Jy ! Component: 4000 - total flux cleaned = 0.00863285 Jy ! Component: 4050 - total flux cleaned = 0.00861959 Jy ! Total flux subtracted in 4096 components = 0.00865915 Jy ! Clean residual min=-0.000689 max=0.000700 Jy/beam ! Clean residual mean=-0.000001 rms=0.000241 Jy/beam ! Combined flux in latest and established models = 0.149131 Jy keep ! Adding 274 model components to the UV plane model. ! The established model now contains 396 components and 0.149131 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171ag_uvs/J2207+0041_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.577 x 4.029 at -1.888 degrees (North through East) ! Clean map min=-0.0029267 max=0.053483 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171ag_uvs/J2207+0041_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0534827 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000236005 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.32382 1.32382 2.64765 5.29529 10.5906 21.1812 42.3623 84.7247 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0007 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.053 quit ! Quitting program ! Log file /scr/pima/bp171ag_uvs/J2207+0041_C_uvs.log closed on Fri Oct 11 03:47:07 2013