! Started logfile: /g0/scr/pima/s4195b_uvs/J0148+0129_X_uvs.log on Tue Dec 31 19:28:32 2013 obs /g0/scr/pima/s4195b_uvs/J0148+0129_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/s4195b_uvs/J0148+0129_X_uva.fits ! AN table 1: 9 integrations on 28 of 28 possible baselines. ! AN table 2: 10 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.948052 visibilities/baseline/integration-bin. ! Found source: J0148+0129 ! ! 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 3504 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/J0148+0129_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 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 4 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.000610Jy sigma=1.023407 ! Fit after self-cal, rms=0.984886Jy sigma=0.999217 ! 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.076 mas, bmaj=3.969 mas, bpa=-17.42 degrees ! Estimated noise=22.8915 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.0141799 Jy ! Component: 100 - total flux cleaned = 0.0186295 Jy ! Total flux subtracted in 100 components = 0.0186295 Jy ! Clean residual min=-0.001754 max=0.001882 Jy/beam ! Clean residual mean=-0.000002 rms=0.000468 Jy/beam ! Combined flux in latest and established models = 0.0186295 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 15 components and 0.0186295 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.018029Jy sigma=0.019576 ! Fit after self-cal, rms=0.014782Jy sigma=0.016641 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00414051 Jy ! Component: 100 - total flux cleaned = 0.00611797 Jy ! Total flux subtracted in 100 components = 0.00611797 Jy ! Clean residual min=-0.001352 max=0.001389 Jy/beam ! Clean residual mean=-0.000002 rms=0.000358 Jy/beam ! Combined flux in latest and established models = 0.0247475 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 32 components and 0.0247475 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.014708Jy sigma=0.014577 ! Fit after self-cal, rms=0.014672Jy sigma=0.014560 ! 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.347 mas, bmaj=3.967 mas, bpa=-15.79 degrees ! Estimated noise=13.0088 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.001362 Jy ! Component: 100 - total flux cleaned = 0.00206599 Jy ! Component: 150 - total flux cleaned = 0.00234225 Jy ! Component: 200 - total flux cleaned = 0.00254258 Jy ! Total flux subtracted in 200 components = 0.00254258 Jy ! Clean residual min=-0.001094 max=0.001068 Jy/beam ! Clean residual mean=-0.000001 rms=0.000258 Jy/beam ! Combined flux in latest and established models = 0.0272901 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 46 components and 0.0272901 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.014771Jy sigma=0.014191 ! Fit after self-cal, rms=0.014747Jy sigma=0.014182 ! 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.347 x 3.967 at -15.79 degrees (North through East) ! Clean map min=-0.0010367 max=0.021917 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.92 HN 0.89 KP 0.98 LA 0.98 ! MK 0.91 NL 0.94 OV 1.01 PT 0.89 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 HN 0.94 KP 0.90 LA 0.98 ! NL 0.94 OV 0.95 PT 0.86 ! ! ! 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* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 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* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.87 HN 0.83 KP 0.96 LA 0.94 ! MK 1.11 NL 0.89 OV 1.02 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.98 HN 0.92 KP 0.90 LA 0.85 ! NL 1.02 OV 1.01 PT 0.89 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.90 HN 0.95 KP 0.95 LA 0.93 ! MK 0.93 NL 0.90 OV 0.96 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 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* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 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* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 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.17 HN 0.90 KP 1.02 LA 0.89 ! NL 0.90 OV 0.96 PT 0.84 ! ! ! Fit before self-cal, rms=0.014747Jy sigma=0.014182 ! Fit after self-cal, rms=0.014381Jy sigma=0.013969 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.347 mas, bmaj=3.984 mas, bpa=-15.84 degrees ! Estimated noise=12.3833 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.000673321 Jy ! Component: 100 - total flux cleaned = -0.000811894 Jy ! Component: 150 - total flux cleaned = -0.000928845 Jy ! Component: 200 - total flux cleaned = -0.000943565 Jy ! Total flux subtracted in 200 components = -0.000943565 Jy ! Clean residual min=-0.000940 max=0.000961 Jy/beam ! Clean residual mean=-0.000002 rms=0.000229 Jy/beam ! Combined flux in latest and established models = 0.0263465 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 55 components and 0.0263465 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.014157Jy sigma=0.014093 ! Fit after self-cal, rms=0.014153Jy sigma=0.014088 ! 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.014153Jy sigma=0.014088 ! Fit after self-cal, rms=0.014074Jy sigma=0.014075 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.346 mas, bmaj=3.986 mas, bpa=-15.88 degrees ! Estimated noise=12.1932 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000331445 Jy ! Component: 100 - total flux cleaned = -0.000389039 Jy ! Component: 150 - total flux cleaned = -0.000402139 Jy ! Component: 200 - total flux cleaned = -0.000402397 Jy ! Total flux subtracted in 200 components = -0.000402397 Jy ! Clean residual min=-0.000908 max=0.000931 Jy/beam ! Clean residual mean=-0.000001 rms=0.000224 Jy/beam ! Combined flux in latest and established models = 0.0259441 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 57 components and 0.0259441 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.013986Jy sigma=0.014133 ! Fit after self-cal, rms=0.013983Jy sigma=0.014132 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 = -1.36634e-05 Jy ! Component: 100 - total flux cleaned = -3.37519e-06 Jy ! Component: 150 - total flux cleaned = 5.80409e-06 Jy ! Component: 200 - total flux cleaned = 1.01637e-05 Jy ! Total flux subtracted in 200 components = 1.01637e-05 Jy ! Clean residual min=-0.000895 max=0.000922 Jy/beam ! Clean residual mean=-0.000001 rms=0.000223 Jy/beam ! Combined flux in latest and established models = 0.0259543 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 61 components and 0.0259543 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.013975Jy sigma=0.014132 ! Fit after self-cal, rms=0.013974Jy sigma=0.014132 ! 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.013974Jy sigma=0.014132 ! Fit after self-cal, rms=0.013941Jy sigma=0.014129 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.345 mas, bmaj=3.987 mas, bpa=-15.89 degrees ! Estimated noise=12.1069 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000165674 Jy ! Component: 100 - total flux cleaned = -0.000165626 Jy ! Component: 150 - total flux cleaned = -0.000161918 Jy ! Component: 200 - total flux cleaned = -0.000165422 Jy ! Total flux subtracted in 200 components = -0.000165422 Jy ! Clean residual min=-0.000897 max=0.000916 Jy/beam ! Clean residual mean=-0.000001 rms=0.000221 Jy/beam ! Combined flux in latest and established models = 0.0257889 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 68 components and 0.0257889 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.013905Jy sigma=0.014156 ! Fit after self-cal, rms=0.013903Jy sigma=0.014156 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 = -4.30554e-06 Jy ! Component: 100 - total flux cleaned = 2.99168e-06 Jy ! Component: 150 - total flux cleaned = 3.0125e-06 Jy ! Component: 200 - total flux cleaned = 6.39538e-06 Jy ! Total flux subtracted in 200 components = 6.39538e-06 Jy ! Clean residual min=-0.000892 max=0.000912 Jy/beam ! Clean residual mean=-0.000001 rms=0.000221 Jy/beam ! Combined flux in latest and established models = 0.0257953 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 72 components and 0.0257953 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.013899Jy sigma=0.014156 ! Fit after self-cal, rms=0.013898Jy sigma=0.014156 ! 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.013898Jy sigma=0.014156 ! Fit after self-cal, rms=0.013884Jy sigma=0.014156 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.311 mas, bmaj=4.244 mas, bpa=-10.59 degrees ! Estimated noise=12.723 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000122557 Jy ! Component: 100 - total flux cleaned = 0.00014278 Jy ! Component: 150 - total flux cleaned = 0.000147115 Jy ! Component: 200 - total flux cleaned = 0.000150755 Jy ! Total flux subtracted in 200 components = 0.000150755 Jy ! Clean residual min=-0.000975 max=0.001132 Jy/beam ! Clean residual mean=-0.000002 rms=0.000279 Jy/beam ! Combined flux in latest and established models = 0.025946 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 83 components and 0.025946 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.013869Jy sigma=0.014164 ! Fit after self-cal, rms=0.013867Jy sigma=0.014163 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.14888e-05 Jy ! Component: 100 - total flux cleaned = 3.90092e-05 Jy ! Component: 150 - total flux cleaned = 4.23296e-05 Jy ! Component: 200 - total flux cleaned = 4.24969e-05 Jy ! Total flux subtracted in 200 components = 4.24969e-05 Jy ! Clean residual min=-0.000970 max=0.001133 Jy/beam ! Clean residual mean=-0.000002 rms=0.000278 Jy/beam ! Combined flux in latest and established models = 0.0259885 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 93 components and 0.0259885 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.013862Jy sigma=0.014168 ! Fit after self-cal, rms=0.013860Jy sigma=0.014167 ! 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.345 mas, bmaj=3.988 mas, bpa=-15.9 degrees ! Estimated noise=12.0694 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.345 x 3.988 at -15.9 degrees (North through East) ! Clean map min=-0.00086418 max=0.020208 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.072 mas, bmaj=3.98 mas, bpa=-17.47 degrees ! Estimated noise=20.8759 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0150759 Jy ! Component: 100 - total flux cleaned = 0.0199038 Jy ! Component: 150 - total flux cleaned = 0.0222252 Jy ! Component: 200 - total flux cleaned = 0.0235836 Jy ! Total flux subtracted in 200 components = 0.0235836 Jy ! Clean residual min=-0.001228 max=0.001183 Jy/beam ! Clean residual mean=-0.000002 rms=0.000314 Jy/beam ! Combined flux in latest and established models = 0.0235836 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 27 model components to the UV plane model. ! The established model now contains 27 components and 0.0235836 Jy ! Inverting map and beam ! Estimated beam: bmin=1.345 mas, bmaj=3.988 mas, bpa=-15.9 degrees ! Estimated noise=12.0694 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.00109835 Jy ! Component: 100 - total flux cleaned = 0.00143597 Jy ! Component: 150 - total flux cleaned = 0.00164764 Jy ! Component: 200 - total flux cleaned = 0.00180339 Jy ! Total flux subtracted in 200 components = 0.00180339 Jy ! Clean residual min=-0.000893 max=0.001002 Jy/beam ! Clean residual mean=-0.000001 rms=0.000227 Jy/beam ! Combined flux in latest and established models = 0.025387 Jy ! Adding 21 model components to the UV plane model. ! The established model now contains 41 components and 0.025387 Jy ! Inverting map ! Added new window around map position (3.2, -0.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100116 Jy ! Component: 100 - total flux cleaned = 0.00159152 Jy ! Component: 150 - total flux cleaned = 0.0020209 Jy ! Component: 200 - total flux cleaned = 0.00236199 Jy ! Total flux subtracted in 200 components = 0.00236199 Jy ! Clean residual min=-0.000757 max=0.000605 Jy/beam ! Clean residual mean=-0.000002 rms=0.000182 Jy/beam ! Combined flux in latest and established models = 0.027749 Jy ! Adding 35 model components to the UV plane model. ! The established model now contains 75 components and 0.027749 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.311 mas, bmaj=4.244 mas, bpa=-10.59 degrees ! Estimated noise=12.723 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0003074 Jy ! Component: 100 - total flux cleaned = 0.000535308 Jy ! Component: 150 - total flux cleaned = 0.000690403 Jy ! Component: 200 - total flux cleaned = 0.00077759 Jy ! Total flux subtracted in 200 components = 0.00077759 Jy ! Clean residual min=-0.000758 max=0.000680 Jy/beam ! Clean residual mean=-0.000003 rms=0.000206 Jy/beam ! Combined flux in latest and established models = 0.0285266 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.09265e-05 Jy ! Component: 100 - total flux cleaned = 0.000123717 Jy ! Component: 150 - total flux cleaned = 0.000150138 Jy ! Component: 200 - total flux cleaned = 0.000178913 Jy ! Total flux subtracted in 200 components = 0.000178913 Jy ! Clean residual min=-0.000756 max=0.000685 Jy/beam ! Clean residual mean=-0.000003 rms=0.000204 Jy/beam ! Combined flux in latest and established models = 0.0287055 Jy ! Adding 48 model components to the UV plane model. ! The established model now contains 111 components and 0.0287055 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.345 mas, bmaj=3.988 mas, bpa=-15.9 degrees ! Estimated noise=12.0694 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -9.15627e-05 Jy ! Component: 100 - total flux cleaned = -9.19521e-05 Jy ! Component: 150 - total flux cleaned = -8.61763e-05 Jy ! Component: 200 - total flux cleaned = -9.18081e-05 Jy ! Total flux subtracted in 200 components = -9.18081e-05 Jy ! Clean residual min=-0.000735 max=0.000613 Jy/beam ! Clean residual mean=-0.000002 rms=0.000174 Jy/beam ! Combined flux in latest and established models = 0.0286137 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 134 components and 0.0286137 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.013794Jy sigma=0.014067 ! Fit after self-cal, rms=0.013775Jy sigma=0.014041 wmodel /g0/scr/pima/s4195b_uvs/J0148+0129_X_map.mod ! Writing 134 model components to file: /g0/scr/pima/s4195b_uvs/J0148+0129_X_map.mod wobs /g0/scr/pima/s4195b_uvs/J0148+0129_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/s4195b_uvs/J0148+0129_X_uvs.fits wwins /g0/scr/pima/s4195b_uvs/J0148+0129_X_map.win ! wwins: Wrote 2 windows to /g0/scr/pima/s4195b_uvs/J0148+0129_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00023492 Jy ! Component: 100 - total flux cleaned = -0.000405524 Jy ! Component: 150 - total flux cleaned = -0.000524851 Jy ! Component: 200 - total flux cleaned = -0.000590598 Jy ! Component: 250 - total flux cleaned = -0.000635264 Jy ! Component: 300 - total flux cleaned = -0.000721614 Jy ! Component: 350 - total flux cleaned = -0.000788407 Jy ! Component: 400 - total flux cleaned = -0.000869273 Jy ! Component: 450 - total flux cleaned = -0.000940138 Jy ! Component: 500 - total flux cleaned = -0.000986083 Jy ! Component: 550 - total flux cleaned = -0.00101601 Jy ! Component: 600 - total flux cleaned = -0.00104527 Jy ! Component: 650 - total flux cleaned = -0.00107368 Jy ! Component: 700 - total flux cleaned = -0.00110834 Jy ! Component: 750 - total flux cleaned = -0.00115571 Jy ! Component: 800 - total flux cleaned = -0.00119527 Jy ! Component: 850 - total flux cleaned = -0.00121469 Jy ! Component: 900 - total flux cleaned = -0.00124019 Jy ! Component: 950 - total flux cleaned = -0.00126519 Jy ! Component: 1000 - total flux cleaned = -0.0012898 Jy ! Component: 1050 - total flux cleaned = -0.00131972 Jy ! Component: 1100 - total flux cleaned = -0.0013256 Jy ! Component: 1150 - total flux cleaned = -0.00133727 Jy ! Component: 1200 - total flux cleaned = -0.00134861 Jy ! Component: 1250 - total flux cleaned = -0.00138789 Jy ! Component: 1300 - total flux cleaned = -0.00139887 Jy ! Component: 1350 - total flux cleaned = -0.00145313 Jy ! Component: 1400 - total flux cleaned = -0.0014692 Jy ! Component: 1450 - total flux cleaned = -0.0015061 Jy ! Component: 1500 - total flux cleaned = -0.0015165 Jy ! Component: 1550 - total flux cleaned = -0.00154227 Jy ! Component: 1600 - total flux cleaned = -0.0015473 Jy ! Component: 1650 - total flux cleaned = -0.00156733 Jy ! Component: 1700 - total flux cleaned = -0.00156732 Jy ! Component: 1750 - total flux cleaned = -0.00160141 Jy ! Component: 1800 - total flux cleaned = -0.00161579 Jy ! Component: 1850 - total flux cleaned = -0.00162517 Jy ! Component: 1900 - total flux cleaned = -0.00162039 Jy ! Component: 1950 - total flux cleaned = -0.00161577 Jy ! Component: 2000 - total flux cleaned = -0.00162031 Jy ! Component: 2050 - total flux cleaned = -0.00160217 Jy ! Component: 2100 - total flux cleaned = -0.00159765 Jy ! Component: 2150 - total flux cleaned = -0.00158431 Jy ! Component: 2200 - total flux cleaned = -0.00158866 Jy ! Component: 2250 - total flux cleaned = -0.00159288 Jy ! Component: 2300 - total flux cleaned = -0.00156718 Jy ! Component: 2350 - total flux cleaned = -0.00157573 Jy ! Component: 2400 - total flux cleaned = -0.00158414 Jy ! Component: 2450 - total flux cleaned = -0.0015717 Jy ! Component: 2500 - total flux cleaned = -0.00158407 Jy ! Component: 2550 - total flux cleaned = -0.00160451 Jy ! Component: 2600 - total flux cleaned = -0.00159639 Jy ! Component: 2650 - total flux cleaned = -0.00158434 Jy ! Component: 2700 - total flux cleaned = -0.00159227 Jy ! Component: 2750 - total flux cleaned = -0.0016041 Jy ! Component: 2800 - total flux cleaned = -0.001608 Jy ! Component: 2850 - total flux cleaned = -0.001608 Jy ! Component: 2900 - total flux cleaned = -0.00160419 Jy ! Component: 2950 - total flux cleaned = -0.00162696 Jy ! Component: 3000 - total flux cleaned = -0.00162321 Jy ! Component: 3050 - total flux cleaned = -0.00163813 Jy ! Component: 3100 - total flux cleaned = -0.00164178 Jy ! Component: 3150 - total flux cleaned = -0.00163807 Jy ! Component: 3200 - total flux cleaned = -0.00165261 Jy ! Component: 3250 - total flux cleaned = -0.00165262 Jy ! Component: 3300 - total flux cleaned = -0.0016598 Jy ! Component: 3350 - total flux cleaned = -0.00167761 Jy ! Component: 3400 - total flux cleaned = -0.00168816 Jy ! Component: 3450 - total flux cleaned = -0.00169514 Jy ! Component: 3500 - total flux cleaned = -0.00169163 Jy ! Component: 3550 - total flux cleaned = -0.00170894 Jy ! Component: 3600 - total flux cleaned = -0.00170891 Jy ! Component: 3650 - total flux cleaned = -0.00171912 Jy ! Component: 3700 - total flux cleaned = -0.00172255 Jy ! Component: 3750 - total flux cleaned = -0.00172589 Jy ! Component: 3800 - total flux cleaned = -0.00171251 Jy ! Component: 3850 - total flux cleaned = -0.00173252 Jy ! Component: 3900 - total flux cleaned = -0.00173585 Jy ! Component: 3950 - total flux cleaned = -0.00174241 Jy ! Component: 4000 - total flux cleaned = -0.00173912 Jy ! Component: 4050 - total flux cleaned = -0.00174239 Jy ! Total flux subtracted in 4096 components = -0.00174562 Jy ! Clean residual min=-0.000205 max=0.000194 Jy/beam ! Clean residual mean=-0.000000 rms=0.000062 Jy/beam ! Combined flux in latest and established models = 0.0268681 Jy keep ! Adding 296 model components to the UV plane model. ! The established model now contains 430 components and 0.0268681 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/s4195b_uvs/J0148+0129_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.345 x 3.988 at -15.9 degrees (North through East) ! Clean map min=-0.00050311 max=0.02023 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/s4195b_uvs/J0148+0129_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0202303 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 6.14782e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.911677 0.911677 1.82335 3.64671 7.29341 14.5868 29.1736 58.3473 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.02 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 329.064 quit ! Quitting program ! Log file /g0/scr/pima/s4195b_uvs/J0148+0129_X_uvs.log closed on Tue Dec 31 19:28:38 2013