! Started logfile: /g0/scr/pima/s4195b_uvs/J0946+0104_X_uvs.log on Tue Dec 31 19:34:27 2013 obs /g0/scr/pima/s4195b_uvs/J0946+0104_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/s4195b_uvs/J0946+0104_X_uva.fits ! AN table 1: 10 integrations on 28 of 28 possible baselines. ! AN table 2: 10 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.627907 visibilities/baseline/integration-bin. ! Found source: J0946+0104 ! ! 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 2160 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 /g0/scr/pima/s4195b_uvs/J0946+0104_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 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 20 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.000021Jy sigma=0.741514 ! Fit after self-cal, rms=0.993358Jy sigma=0.734415 ! 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.321 mas, bmaj=3.755 mas, bpa=-13.57 degrees ! Estimated noise=39.6588 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.00738656 Jy ! Component: 100 - total flux cleaned = 0.00877909 Jy ! Total flux subtracted in 100 components = 0.00877909 Jy ! Clean residual min=-0.001568 max=0.001638 Jy/beam ! Clean residual mean=0.000000 rms=0.000422 Jy/beam ! Combined flux in latest and established models = 0.00877909 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.00877909 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.013937Jy sigma=0.011503 ! Fit after self-cal, rms=0.012435Jy sigma=0.010212 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00248751 Jy ! Component: 100 - total flux cleaned = 0.00266483 Jy ! Total flux subtracted in 100 components = 0.00266483 Jy ! Clean residual min=-0.001198 max=0.001224 Jy/beam ! Clean residual mean=0.000000 rms=0.000315 Jy/beam ! Combined flux in latest and established models = 0.0114439 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 11 components and 0.0114439 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.012726Jy sigma=0.009390 ! Fit after self-cal, rms=0.012701Jy sigma=0.009381 ! 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.554 mas, bmaj=3.891 mas, bpa=-12.16 degrees ! Estimated noise=24.0075 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.000674831 Jy ! Component: 100 - total flux cleaned = 0.00094983 Jy ! Component: 150 - total flux cleaned = 0.00100264 Jy ! Component: 200 - total flux cleaned = 0.00101721 Jy ! Total flux subtracted in 200 components = 0.00101721 Jy ! Clean residual min=-0.000896 max=0.000909 Jy/beam ! Clean residual mean=-0.000000 rms=0.000260 Jy/beam ! Combined flux in latest and established models = 0.0124611 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 25 components and 0.0124611 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.012852Jy sigma=0.009235 ! Fit after self-cal, rms=0.012854Jy sigma=0.009233 ! 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.554 x 3.891 at -12.16 degrees (North through East) ! Clean map min=-0.00087751 max=0.012363 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.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! NL 1.00* OV 1.00* ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.84 HN 1.00* LA 0.88 ! NL 1.00* OV 0.96 ! ! ! Fit before self-cal, rms=0.012854Jy sigma=0.009233 ! Fit after self-cal, rms=0.012832Jy sigma=0.009227 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.558 mas, bmaj=3.884 mas, bpa=-12.13 degrees ! Estimated noise=23.8753 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 = -6.31581e-06 Jy ! Component: 100 - total flux cleaned = 1.30047e-06 Jy ! Component: 150 - total flux cleaned = 7.6095e-06 Jy ! Component: 200 - total flux cleaned = 1.94955e-05 Jy ! Total flux subtracted in 200 components = 1.94955e-05 Jy ! Clean residual min=-0.000864 max=0.000908 Jy/beam ! Clean residual mean=-0.000000 rms=0.000252 Jy/beam ! Combined flux in latest and established models = 0.0124806 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 32 components and 0.0124806 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.012836Jy sigma=0.009215 ! Fit after self-cal, rms=0.012838Jy sigma=0.009214 ! 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.012838Jy sigma=0.009214 ! Fit after self-cal, rms=0.012838Jy sigma=0.009214 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.558 mas, bmaj=3.884 mas, bpa=-12.13 degrees ! Estimated noise=23.875 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.93496e-05 Jy ! Component: 100 - total flux cleaned = -1.35721e-05 Jy ! Component: 150 - total flux cleaned = -2.6257e-06 Jy ! Component: 200 - total flux cleaned = 1.31994e-05 Jy ! Total flux subtracted in 200 components = 1.31994e-05 Jy ! Clean residual min=-0.000861 max=0.000909 Jy/beam ! Clean residual mean=-0.000000 rms=0.000250 Jy/beam ! Combined flux in latest and established models = 0.0124938 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 37 components and 0.0124938 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.012843Jy sigma=0.009203 ! Fit after self-cal, rms=0.012845Jy sigma=0.009202 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.67913e-05 Jy ! Component: 100 - total flux cleaned = -2.70671e-05 Jy ! Component: 150 - total flux cleaned = -6.63343e-06 Jy ! Component: 200 - total flux cleaned = 7.93147e-06 Jy ! Total flux subtracted in 200 components = 7.93147e-06 Jy ! Clean residual min=-0.000861 max=0.000908 Jy/beam ! Clean residual mean=-0.000000 rms=0.000249 Jy/beam ! Combined flux in latest and established models = 0.0125018 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 41 components and 0.0125018 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.012849Jy sigma=0.009193 ! Fit after self-cal, rms=0.012850Jy sigma=0.009192 ! 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.012850Jy sigma=0.009192 ! Fit after self-cal, rms=0.012850Jy sigma=0.009192 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.558 mas, bmaj=3.885 mas, bpa=-12.13 degrees ! Estimated noise=23.8799 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.25568e-05 Jy ! Component: 100 - total flux cleaned = -2.81677e-05 Jy ! Component: 150 - total flux cleaned = -1.40916e-05 Jy ! Component: 200 - total flux cleaned = -5.20378e-06 Jy ! Total flux subtracted in 200 components = -5.20378e-06 Jy ! Clean residual min=-0.000865 max=0.000906 Jy/beam ! Clean residual mean=-0.000000 rms=0.000247 Jy/beam ! Combined flux in latest and established models = 0.0124966 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 44 components and 0.0124966 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.012851Jy sigma=0.009186 ! Fit after self-cal, rms=0.012851Jy sigma=0.009186 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.92425e-05 Jy ! Component: 100 - total flux cleaned = -2.92087e-05 Jy ! Component: 150 - total flux cleaned = -1.57167e-05 Jy ! Component: 200 - total flux cleaned = -3.03923e-06 Jy ! Total flux subtracted in 200 components = -3.03923e-06 Jy ! Clean residual min=-0.000866 max=0.000906 Jy/beam ! Clean residual mean=-0.000000 rms=0.000246 Jy/beam ! Combined flux in latest and established models = 0.0124935 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 47 components and 0.0124935 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.012847Jy sigma=0.009184 ! Fit after self-cal, rms=0.012848Jy sigma=0.009183 ! 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.012848Jy sigma=0.009183 ! Fit after self-cal, rms=0.012848Jy sigma=0.009183 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.471 mas, bmaj=3.94 mas, bpa=-0.4321 degrees ! Estimated noise=25.628 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.42439e-05 Jy ! Component: 100 - total flux cleaned = 4.06966e-05 Jy ! Component: 150 - total flux cleaned = 5.86568e-05 Jy ! Component: 200 - total flux cleaned = 7.80226e-05 Jy ! Total flux subtracted in 200 components = 7.80226e-05 Jy ! Clean residual min=-0.000870 max=0.000811 Jy/beam ! Clean residual mean=-0.000001 rms=0.000250 Jy/beam ! Combined flux in latest and established models = 0.0125715 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 59 components and 0.0125715 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.012841Jy sigma=0.009185 ! Fit after self-cal, rms=0.012843Jy sigma=0.009183 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 = -3.26799e-05 Jy ! Component: 100 - total flux cleaned = -1.29682e-05 Jy ! Component: 150 - total flux cleaned = 3.14916e-06 Jy ! Component: 200 - total flux cleaned = 1.01105e-05 Jy ! Total flux subtracted in 200 components = 1.01105e-05 Jy ! Clean residual min=-0.000870 max=0.000811 Jy/beam ! Clean residual mean=-0.000001 rms=0.000249 Jy/beam ! Combined flux in latest and established models = 0.0125817 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 60 components and 0.0125817 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.012841Jy sigma=0.009183 ! Fit after self-cal, rms=0.012842Jy sigma=0.009182 ! 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.558 mas, bmaj=3.886 mas, bpa=-12.14 degrees ! Estimated noise=23.8839 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.558 x 3.886 at -12.14 degrees (North through East) ! Clean map min=-0.00086676 max=0.01211 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.324 mas, bmaj=3.744 mas, bpa=-13.55 degrees ! Estimated noise=39.4151 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00933844 Jy ! Component: 100 - total flux cleaned = 0.0113634 Jy ! Component: 150 - total flux cleaned = 0.0114575 Jy ! Component: 200 - total flux cleaned = 0.0114834 Jy ! Total flux subtracted in 200 components = 0.0114834 Jy ! Clean residual min=-0.001235 max=0.001199 Jy/beam ! Clean residual mean=-0.000000 rms=0.000318 Jy/beam ! Combined flux in latest and established models = 0.0114834 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.0114834 Jy ! Inverting map and beam ! Estimated beam: bmin=1.558 mas, bmaj=3.886 mas, bpa=-12.14 degrees ! Estimated noise=23.8839 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.00078454 Jy ! Component: 100 - total flux cleaned = 0.000929791 Jy ! Component: 150 - total flux cleaned = 0.000955753 Jy ! Component: 200 - total flux cleaned = 0.000977704 Jy ! Total flux subtracted in 200 components = 0.000977704 Jy ! Clean residual min=-0.000910 max=0.000958 Jy/beam ! Clean residual mean=-0.000000 rms=0.000256 Jy/beam ! Combined flux in latest and established models = 0.0124611 Jy ! Adding 15 model components to the UV plane model. ! The established model now contains 23 components and 0.0124611 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.471 mas, bmaj=3.94 mas, bpa=-0.4321 degrees ! Estimated noise=25.628 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.0856e-05 Jy ! Component: 100 - total flux cleaned = 0.000110572 Jy ! Component: 150 - total flux cleaned = 0.000111155 Jy ! Component: 200 - total flux cleaned = 0.00011582 Jy ! Total flux subtracted in 200 components = 0.00011582 Jy ! Clean residual min=-0.000877 max=0.000823 Jy/beam ! Clean residual mean=-0.000001 rms=0.000254 Jy/beam ! Combined flux in latest and established models = 0.0125769 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 = -8.08225e-08 Jy ! Component: 100 - total flux cleaned = 4.33637e-06 Jy ! Component: 150 - total flux cleaned = 8.73244e-06 Jy ! Component: 200 - total flux cleaned = 1.28859e-05 Jy ! Total flux subtracted in 200 components = 1.28859e-05 Jy ! Clean residual min=-0.000873 max=0.000815 Jy/beam ! Clean residual mean=-0.000001 rms=0.000252 Jy/beam ! Combined flux in latest and established models = 0.0125898 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 35 components and 0.0125898 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.558 mas, bmaj=3.886 mas, bpa=-12.14 degrees ! Estimated noise=23.8839 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000101378 Jy ! Component: 100 - total flux cleaned = -8.81188e-05 Jy ! Component: 150 - total flux cleaned = -7.19841e-05 Jy ! Component: 200 - total flux cleaned = -6.21234e-05 Jy ! Total flux subtracted in 200 components = -6.21234e-05 Jy ! Clean residual min=-0.000868 max=0.000902 Jy/beam ! Clean residual mean=-0.000000 rms=0.000247 Jy/beam ! Combined flux in latest and established models = 0.0125276 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 43 components and 0.0125276 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.012812Jy sigma=0.009199 ! Fit after self-cal, rms=0.012809Jy sigma=0.009198 wmodel /g0/scr/pima/s4195b_uvs/J0946+0104_X_map.mod ! Writing 43 model components to file: /g0/scr/pima/s4195b_uvs/J0946+0104_X_map.mod wobs /g0/scr/pima/s4195b_uvs/J0946+0104_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/s4195b_uvs/J0946+0104_X_uvs.fits wwins /g0/scr/pima/s4195b_uvs/J0946+0104_X_map.win ! wwins: Wrote 1 windows to /g0/scr/pima/s4195b_uvs/J0946+0104_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 = 4.24287e-05 Jy ! Component: 100 - total flux cleaned = -0.000145071 Jy ! Component: 150 - total flux cleaned = -0.000212323 Jy ! Component: 200 - total flux cleaned = -0.000263354 Jy ! Component: 250 - total flux cleaned = -0.000311196 Jy ! Component: 300 - total flux cleaned = -0.000311095 Jy ! Component: 350 - total flux cleaned = -0.000311563 Jy ! Component: 400 - total flux cleaned = -0.000301994 Jy ! Component: 450 - total flux cleaned = -0.000283544 Jy ! Component: 500 - total flux cleaned = -0.000302133 Jy ! Component: 550 - total flux cleaned = -0.000319805 Jy ! Component: 600 - total flux cleaned = -0.000320084 Jy ! Component: 650 - total flux cleaned = -0.000328144 Jy ! Component: 700 - total flux cleaned = -0.000359055 Jy ! Component: 750 - total flux cleaned = -0.000388816 Jy ! Component: 800 - total flux cleaned = -0.000388866 Jy ! Component: 850 - total flux cleaned = -0.000388805 Jy ! Component: 900 - total flux cleaned = -0.000368359 Jy ! Component: 950 - total flux cleaned = -0.000348229 Jy ! Component: 1000 - total flux cleaned = -0.000335194 Jy ! Component: 1050 - total flux cleaned = -0.000328687 Jy ! Component: 1100 - total flux cleaned = -0.000316232 Jy ! Component: 1150 - total flux cleaned = -0.0003284 Jy ! Component: 1200 - total flux cleaned = -0.000310422 Jy ! Component: 1250 - total flux cleaned = -0.000316135 Jy ! Component: 1300 - total flux cleaned = -0.00030475 Jy ! Component: 1350 - total flux cleaned = -0.000321739 Jy ! Component: 1400 - total flux cleaned = -0.000332938 Jy ! Component: 1450 - total flux cleaned = -0.000354643 Jy ! Component: 1500 - total flux cleaned = -0.000343942 Jy ! Component: 1550 - total flux cleaned = -0.000349251 Jy ! Component: 1600 - total flux cleaned = -0.000364665 Jy ! Component: 1650 - total flux cleaned = -0.000359554 Jy ! Component: 1700 - total flux cleaned = -0.00036454 Jy ! Component: 1750 - total flux cleaned = -0.000364561 Jy ! Component: 1800 - total flux cleaned = -0.000379104 Jy ! Component: 1850 - total flux cleaned = -0.000379123 Jy ! Component: 1900 - total flux cleaned = -0.000388547 Jy ! Component: 1950 - total flux cleaned = -0.000393195 Jy ! Component: 2000 - total flux cleaned = -0.000402448 Jy ! Component: 2050 - total flux cleaned = -0.000411675 Jy ! Component: 2100 - total flux cleaned = -0.000425225 Jy ! Component: 2150 - total flux cleaned = -0.000416203 Jy ! Component: 2200 - total flux cleaned = -0.000416255 Jy ! Component: 2250 - total flux cleaned = -0.00042066 Jy ! Component: 2300 - total flux cleaned = -0.000420697 Jy ! Component: 2350 - total flux cleaned = -0.00042505 Jy ! Component: 2400 - total flux cleaned = -0.000420804 Jy ! Component: 2450 - total flux cleaned = -0.00043354 Jy ! Component: 2500 - total flux cleaned = -0.000437698 Jy ! Component: 2550 - total flux cleaned = -0.000441834 Jy ! Component: 2600 - total flux cleaned = -0.000441812 Jy ! Component: 2650 - total flux cleaned = -0.000441843 Jy ! Component: 2700 - total flux cleaned = -0.000458142 Jy ! Component: 2750 - total flux cleaned = -0.000450056 Jy ! Component: 2800 - total flux cleaned = -0.000466135 Jy ! Component: 2850 - total flux cleaned = -0.000470119 Jy ! Component: 2900 - total flux cleaned = -0.000474075 Jy ! Component: 2950 - total flux cleaned = -0.000478011 Jy ! Component: 3000 - total flux cleaned = -0.000485842 Jy ! Component: 3050 - total flux cleaned = -0.000489737 Jy ! Component: 3100 - total flux cleaned = -0.000505203 Jy ! Component: 3150 - total flux cleaned = -0.000509058 Jy ! Component: 3200 - total flux cleaned = -0.000516727 Jy ! Component: 3250 - total flux cleaned = -0.000512932 Jy ! Component: 3300 - total flux cleaned = -0.000524335 Jy ! Component: 3350 - total flux cleaned = -0.000539473 Jy ! Component: 3400 - total flux cleaned = -0.000543253 Jy ! Component: 3450 - total flux cleaned = -0.000547016 Jy ! Component: 3500 - total flux cleaned = -0.000565751 Jy ! Component: 3550 - total flux cleaned = -0.000576962 Jy ! Component: 3600 - total flux cleaned = -0.000576958 Jy ! Component: 3650 - total flux cleaned = -0.000591856 Jy ! Component: 3700 - total flux cleaned = -0.000591852 Jy ! Component: 3750 - total flux cleaned = -0.00060298 Jy ! Component: 3800 - total flux cleaned = -0.000606691 Jy ! Component: 3850 - total flux cleaned = -0.000617792 Jy ! Component: 3900 - total flux cleaned = -0.000617794 Jy ! Component: 3950 - total flux cleaned = -0.000625191 Jy ! Component: 4000 - total flux cleaned = -0.000625195 Jy ! Component: 4050 - total flux cleaned = -0.000632564 Jy ! Total flux subtracted in 4096 components = -0.000636255 Jy ! Clean residual min=-0.000235 max=0.000223 Jy/beam ! Clean residual mean=-0.000000 rms=0.000067 Jy/beam ! Combined flux in latest and established models = 0.0118914 Jy keep ! Adding 299 model components to the UV plane model. ! The established model now contains 342 components and 0.0118914 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/s4195b_uvs/J0946+0104_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.558 x 3.886 at -12.14 degrees (North through East) ! Clean map min=-0.00080495 max=0.011838 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/s4195b_uvs/J0946+0104_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0118378 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 6.28565e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.59295 1.59295 3.1859 6.3718 12.7436 25.4872 50.9744 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.011 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 188.329 quit ! Quitting program ! Log file /g0/scr/pima/s4195b_uvs/J0946+0104_X_uvs.log closed on Tue Dec 31 19:34:33 2013