! Started logfile: /g0/scr/pima/npcsa_uvs/J0203+8106_X_uvs.log on Sun Oct 6 10:25:59 2013 obs /g0/scr/pima/npcsa_uvs/J0203+8106_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/npcsa_uvs/J0203+8106_X_uva.fits ! AN table 1: 55 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.962424 visibilities/baseline/integration-bin. ! Found source: J0203+8106 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 9528 visibilities. select RR ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 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/npcsa_uvs/J0203+8106_X] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 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 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.014153Jy sigma=1.490108 ! Fit after self-cal, rms=0.837099Jy sigma=1.150463 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.6074 mas, bmaj=2.729 mas, bpa=2.433 degrees ! Estimated noise=10.609 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.141168 Jy ! Component: 100 - total flux cleaned = 0.174712 Jy ! Total flux subtracted in 100 components = 0.174712 Jy ! Clean residual min=-0.009373 max=0.013577 Jy/beam ! Clean residual mean=-0.000020 rms=0.002097 Jy/beam ! Combined flux in latest and established models = 0.174712 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.174712 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095495Jy sigma=0.145277 ! Fit after self-cal, rms=0.095498Jy sigma=0.145243 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0149666 Jy ! Component: 100 - total flux cleaned = 0.022073 Jy ! Total flux subtracted in 100 components = 0.022073 Jy ! Clean residual min=-0.007926 max=0.010965 Jy/beam ! Clean residual mean=-0.000012 rms=0.001653 Jy/beam ! Combined flux in latest and established models = 0.196785 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 7 components and 0.196785 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095515Jy sigma=0.135016 ! Fit after self-cal, rms=0.095539Jy sigma=0.134992 ! Inverting map ! Added new window around map position (-0.8, -1.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00938809 Jy ! Component: 100 - total flux cleaned = 0.0131901 Jy ! Total flux subtracted in 100 components = 0.0131901 Jy ! Clean residual min=-0.006460 max=0.007494 Jy/beam ! Clean residual mean=-0.000007 rms=0.001473 Jy/beam ! Combined flux in latest and established models = 0.209975 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 21 components and 0.209975 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.094822Jy sigma=0.131797 ! Fit after self-cal, rms=0.094770Jy sigma=0.131676 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8617 mas, bmaj=2.873 mas, bpa=1.423 degrees ! Estimated noise=5.3754 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-1.8, -2.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00959555 Jy ! Component: 100 - total flux cleaned = 0.0139623 Jy ! Component: 150 - total flux cleaned = 0.0154898 Jy ! Component: 200 - total flux cleaned = 0.0166268 Jy ! Total flux subtracted in 200 components = 0.0166268 Jy ! Clean residual min=-0.004403 max=0.004774 Jy/beam ! Clean residual mean=0.000001 rms=0.001129 Jy/beam ! Combined flux in latest and established models = 0.226602 Jy ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 61 components and 0.226602 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.094165Jy sigma=0.129148 ! Fit after self-cal, rms=0.094066Jy sigma=0.128990 ! 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 1.00 FD 0.97 HN 0.96 KP 0.99 ! LA 1.00 MK 0.99 NL 1.03 OV 0.98 ! PT 1.00 SC 0.95 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.95 HN 0.95 KP 0.92 ! LA 0.96 MK 0.91 NL 1.00 OV 0.94 ! PT 1.03 SC 0.91 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.94 HN 0.92 KP 0.84 ! LA 0.95 MK 0.89 NL 0.98 OV 0.96 ! PT 0.98 SC 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 FD 0.95 HN 0.90 KP 0.88 ! LA 0.91 MK 0.91 NL 0.94 OV 0.95 ! PT 1.04 SC 0.95 ! ! ! Fit before self-cal, rms=0.094066Jy sigma=0.128990 ! Fit after self-cal, rms=0.089538Jy sigma=0.124413 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8507 mas, bmaj=2.859 mas, bpa=1.434 degrees ! Estimated noise=4.88946 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.0125362 Jy ! Component: 100 - total flux cleaned = -0.0136033 Jy ! Component: 150 - total flux cleaned = -0.0128066 Jy ! Component: 200 - total flux cleaned = -0.0123089 Jy ! Total flux subtracted in 200 components = -0.0123089 Jy ! Clean residual min=-0.003032 max=0.003079 Jy/beam ! Clean residual mean=-0.000004 rms=0.000720 Jy/beam ! Combined flux in latest and established models = 0.214293 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 78 components and 0.214293 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.084405Jy sigma=0.126649 ! Fit after self-cal, rms=0.084397Jy sigma=0.126613 ! 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. ! ! Fit before self-cal, rms=0.084397Jy sigma=0.126613 ! Fit after self-cal, rms=0.082018Jy sigma=0.124322 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8453 mas, bmaj=2.856 mas, bpa=1.468 degrees ! Estimated noise=4.50493 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0113552 Jy ! Component: 100 - total flux cleaned = -0.0133437 Jy ! Component: 150 - total flux cleaned = -0.0131462 Jy ! Component: 200 - total flux cleaned = -0.0129877 Jy ! Total flux subtracted in 200 components = -0.0129877 Jy ! Clean residual min=-0.002781 max=0.002659 Jy/beam ! Clean residual mean=-0.000004 rms=0.000649 Jy/beam ! Combined flux in latest and established models = 0.201305 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 95 components and 0.201305 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077449Jy sigma=0.126619 ! Fit after self-cal, rms=0.077441Jy sigma=0.126605 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.000695242 Jy ! Component: 100 - total flux cleaned = 0.000800013 Jy ! Component: 150 - total flux cleaned = 0.00089334 Jy ! Component: 200 - total flux cleaned = 0.000921398 Jy ! Total flux subtracted in 200 components = 0.000921398 Jy ! Clean residual min=-0.002708 max=0.002557 Jy/beam ! Clean residual mean=-0.000003 rms=0.000629 Jy/beam ! Combined flux in latest and established models = 0.202227 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 110 components and 0.202227 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077356Jy sigma=0.126610 ! Fit after self-cal, rms=0.077353Jy sigma=0.126602 ! 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. ! ! Fit before self-cal, rms=0.077353Jy sigma=0.126602 ! Fit after self-cal, rms=0.075139Jy sigma=0.124269 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8397 mas, bmaj=2.854 mas, bpa=1.535 degrees ! Estimated noise=4.14765 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0102836 Jy ! Component: 100 - total flux cleaned = -0.012607 Jy ! Component: 150 - total flux cleaned = -0.0130347 Jy ! Component: 200 - total flux cleaned = -0.0129766 Jy ! Total flux subtracted in 200 components = -0.0129766 Jy ! Clean residual min=-0.002468 max=0.002324 Jy/beam ! Clean residual mean=-0.000003 rms=0.000579 Jy/beam ! Combined flux in latest and established models = 0.18925 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 119 components and 0.18925 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071041Jy sigma=0.126592 ! Fit after self-cal, rms=0.071037Jy sigma=0.126583 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.000495193 Jy ! Component: 100 - total flux cleaned = 0.000571984 Jy ! Component: 150 - total flux cleaned = 0.000662271 Jy ! Component: 200 - total flux cleaned = 0.000662716 Jy ! Total flux subtracted in 200 components = 0.000662716 Jy ! Clean residual min=-0.002375 max=0.002325 Jy/beam ! Clean residual mean=-0.000003 rms=0.000568 Jy/beam ! Combined flux in latest and established models = 0.189913 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 135 components and 0.189913 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070985Jy sigma=0.126596 ! Fit after self-cal, rms=0.070984Jy sigma=0.126592 ! 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. ! ! Fit before self-cal, rms=0.070984Jy sigma=0.126592 ! Fit after self-cal, rms=0.068972Jy sigma=0.124276 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.138 mas, bmaj=3.378 mas, bpa=1.425 degrees ! Estimated noise=4.56855 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00943987 Jy ! Component: 100 - total flux cleaned = -0.0115714 Jy ! Component: 150 - total flux cleaned = -0.0116895 Jy ! Component: 200 - total flux cleaned = -0.0117151 Jy ! Total flux subtracted in 200 components = -0.0117151 Jy ! Clean residual min=-0.002673 max=0.002294 Jy/beam ! Clean residual mean=-0.000004 rms=0.000682 Jy/beam ! Combined flux in latest and established models = 0.178198 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 145 components and 0.178198 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065425Jy sigma=0.126423 ! Fit after self-cal, rms=0.065414Jy sigma=0.126397 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.000193172 Jy ! Component: 100 - total flux cleaned = 0.000235625 Jy ! Component: 150 - total flux cleaned = 0.000236005 Jy ! Component: 200 - total flux cleaned = 0.000254528 Jy ! Total flux subtracted in 200 components = 0.000254528 Jy ! Clean residual min=-0.002640 max=0.002213 Jy/beam ! Clean residual mean=-0.000004 rms=0.000667 Jy/beam ! Combined flux in latest and established models = 0.178452 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 151 components and 0.178452 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065386Jy sigma=0.126438 ! Fit after self-cal, rms=0.065386Jy sigma=0.126436 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.8342 mas, bmaj=2.854 mas, bpa=1.614 degrees ! Estimated noise=3.81995 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8342 x 2.854 at 1.614 degrees (North through East) ! Clean map min=-0.0020557 max=0.13358 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.5925 mas, bmaj=2.731 mas, bpa=2.595 degrees ! Estimated noise=7.28364 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0966255 Jy ! Component: 100 - total flux cleaned = 0.12238 Jy ! Component: 150 - total flux cleaned = 0.135535 Jy ! Component: 200 - total flux cleaned = 0.144241 Jy ! Total flux subtracted in 200 components = 0.144241 Jy ! Clean residual min=-0.004477 max=0.005014 Jy/beam ! Clean residual mean=-0.000013 rms=0.001153 Jy/beam ! Combined flux in latest and established models = 0.144241 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 12 model components to the UV plane model. ! The established model now contains 12 components and 0.144241 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8342 mas, bmaj=2.854 mas, bpa=1.614 degrees ! Estimated noise=3.81995 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.0113272 Jy ! Component: 100 - total flux cleaned = 0.0181973 Jy ! Component: 150 - total flux cleaned = 0.0228397 Jy ! Component: 200 - total flux cleaned = 0.0261763 Jy ! Total flux subtracted in 200 components = 0.0261763 Jy ! Clean residual min=-0.002707 max=0.003311 Jy/beam ! Clean residual mean=-0.000006 rms=0.000690 Jy/beam ! Combined flux in latest and established models = 0.170417 Jy ! Adding 73 model components to the UV plane model. ! The established model now contains 81 components and 0.170417 Jy ! Inverting map ! Added new window around map position (40.2, 2.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0029977 Jy ! Component: 100 - total flux cleaned = 0.00457389 Jy ! Component: 150 - total flux cleaned = 0.00544464 Jy ! Component: 200 - total flux cleaned = 0.0059789 Jy ! Total flux subtracted in 200 components = 0.0059789 Jy ! Clean residual min=-0.002361 max=0.002158 Jy/beam ! Clean residual mean=-0.000003 rms=0.000536 Jy/beam ! Combined flux in latest and established models = 0.176396 Jy ! Adding 44 model components to the UV plane model. ! The established model now contains 117 components and 0.176396 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.138 mas, bmaj=3.378 mas, bpa=1.425 degrees ! Estimated noise=4.56855 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00147512 Jy ! Component: 100 - total flux cleaned = 0.00168651 Jy ! Component: 150 - total flux cleaned = 0.0016853 Jy ! Component: 200 - total flux cleaned = 0.00171607 Jy ! Total flux subtracted in 200 components = 0.00171607 Jy ! Clean residual min=-0.002753 max=0.002313 Jy/beam ! Clean residual mean=-0.000004 rms=0.000667 Jy/beam ! Combined flux in latest and established models = 0.178112 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.87259e-07 Jy ! Component: 100 - total flux cleaned = -1.86948e-07 Jy ! Component: 150 - total flux cleaned = 2.29005e-05 Jy ! Component: 200 - total flux cleaned = 4.34854e-05 Jy ! Total flux subtracted in 200 components = 4.34854e-05 Jy ! Clean residual min=-0.002675 max=0.002264 Jy/beam ! Clean residual mean=-0.000004 rms=0.000644 Jy/beam ! Combined flux in latest and established models = 0.178156 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 162 components and 0.178156 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8342 mas, bmaj=2.854 mas, bpa=1.614 degrees ! Estimated noise=3.81995 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000402222 Jy ! Component: 100 - total flux cleaned = -0.000487901 Jy ! Component: 150 - total flux cleaned = -0.000513684 Jy ! Component: 200 - total flux cleaned = -0.000490337 Jy ! Total flux subtracted in 200 components = -0.000490337 Jy ! Clean residual min=-0.002051 max=0.002047 Jy/beam ! Clean residual mean=-0.000002 rms=0.000490 Jy/beam ! Combined flux in latest and established models = 0.177665 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 183 components and 0.177665 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065134Jy sigma=0.126520 ! Fit after self-cal, rms=0.065127Jy sigma=0.126477 wmodel /g0/scr/pima/npcsa_uvs/J0203+8106_X_map.mod ! Writing 183 model components to file: /g0/scr/pima/npcsa_uvs/J0203+8106_X_map.mod wobs /g0/scr/pima/npcsa_uvs/J0203+8106_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/npcsa_uvs/J0203+8106_X_uvs.fits wwins /g0/scr/pima/npcsa_uvs/J0203+8106_X_map.win ! wwins: Wrote 4 windows to /g0/scr/pima/npcsa_uvs/J0203+8106_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.000103651 Jy ! Component: 100 - total flux cleaned = -0.000293957 Jy ! Component: 150 - total flux cleaned = -2.18109e-05 Jy ! Component: 200 - total flux cleaned = 0.000210846 Jy ! Component: 250 - total flux cleaned = 0.000548358 Jy ! Component: 300 - total flux cleaned = 0.000767404 Jy ! Component: 350 - total flux cleaned = 0.00103517 Jy ! Component: 400 - total flux cleaned = 0.00129546 Jy ! Component: 450 - total flux cleaned = 0.00142267 Jy ! Component: 500 - total flux cleaned = 0.00152242 Jy ! Component: 550 - total flux cleaned = 0.00159592 Jy ! Component: 600 - total flux cleaned = 0.00174098 Jy ! Component: 650 - total flux cleaned = 0.00190746 Jy ! Component: 700 - total flux cleaned = 0.00202398 Jy ! Component: 750 - total flux cleaned = 0.00216186 Jy ! Component: 800 - total flux cleaned = 0.00229771 Jy ! Component: 850 - total flux cleaned = 0.0023197 Jy ! Component: 900 - total flux cleaned = 0.00238591 Jy ! Component: 950 - total flux cleaned = 0.00247299 Jy ! Component: 1000 - total flux cleaned = 0.00258039 Jy ! Component: 1050 - total flux cleaned = 0.00268669 Jy ! Component: 1100 - total flux cleaned = 0.00272873 Jy ! Component: 1150 - total flux cleaned = 0.002791 Jy ! Component: 1200 - total flux cleaned = 0.00279107 Jy ! Component: 1250 - total flux cleaned = 0.00283154 Jy ! Component: 1300 - total flux cleaned = 0.00287172 Jy ! Component: 1350 - total flux cleaned = 0.00291156 Jy ! Component: 1400 - total flux cleaned = 0.00289202 Jy ! Component: 1450 - total flux cleaned = 0.00298976 Jy ! Component: 1500 - total flux cleaned = 0.00302831 Jy ! Component: 1550 - total flux cleaned = 0.00312407 Jy ! Component: 1600 - total flux cleaned = 0.00316186 Jy ! Component: 1650 - total flux cleaned = 0.00319912 Jy ! Component: 1700 - total flux cleaned = 0.00323641 Jy ! Component: 1750 - total flux cleaned = 0.0032733 Jy ! Component: 1800 - total flux cleaned = 0.00336519 Jy ! Component: 1850 - total flux cleaned = 0.00340143 Jy ! Component: 1900 - total flux cleaned = 0.00345564 Jy ! Component: 1950 - total flux cleaned = 0.00347336 Jy ! Component: 2000 - total flux cleaned = 0.00352674 Jy ! Component: 2050 - total flux cleaned = 0.00352669 Jy ! Component: 2100 - total flux cleaned = 0.00361438 Jy ! Component: 2150 - total flux cleaned = 0.00363182 Jy ! Component: 2200 - total flux cleaned = 0.00371856 Jy ! Component: 2250 - total flux cleaned = 0.00371849 Jy ! Component: 2300 - total flux cleaned = 0.00376965 Jy ! Component: 2350 - total flux cleaned = 0.00378655 Jy ! Component: 2400 - total flux cleaned = 0.00380348 Jy ! Component: 2450 - total flux cleaned = 0.00383688 Jy ! Component: 2500 - total flux cleaned = 0.00393671 Jy ! Component: 2550 - total flux cleaned = 0.00398627 Jy ! Component: 2600 - total flux cleaned = 0.00390407 Jy ! Component: 2650 - total flux cleaned = 0.00393688 Jy ! Component: 2700 - total flux cleaned = 0.00396918 Jy ! Component: 2750 - total flux cleaned = 0.00395313 Jy ! Component: 2800 - total flux cleaned = 0.00401695 Jy ! Component: 2850 - total flux cleaned = 0.00392126 Jy ! Component: 2900 - total flux cleaned = 0.00387376 Jy ! Component: 2950 - total flux cleaned = 0.003921 Jy ! Component: 3000 - total flux cleaned = 0.00396801 Jy ! Component: 3050 - total flux cleaned = 0.00399932 Jy ! Component: 3100 - total flux cleaned = 0.00398382 Jy ! Component: 3150 - total flux cleaned = 0.00406072 Jy ! Component: 3200 - total flux cleaned = 0.00404544 Jy ! Component: 3250 - total flux cleaned = 0.00407583 Jy ! Component: 3300 - total flux cleaned = 0.00418202 Jy ! Component: 3350 - total flux cleaned = 0.00419702 Jy ! Component: 3400 - total flux cleaned = 0.00422691 Jy ! Component: 3450 - total flux cleaned = 0.00430148 Jy ! Component: 3500 - total flux cleaned = 0.0043609 Jy ! Component: 3550 - total flux cleaned = 0.00431646 Jy ! Component: 3600 - total flux cleaned = 0.00433122 Jy ! Component: 3650 - total flux cleaned = 0.00440451 Jy ! Component: 3700 - total flux cleaned = 0.00446283 Jy ! Component: 3750 - total flux cleaned = 0.00456414 Jy ! Component: 3800 - total flux cleaned = 0.00457858 Jy ! Component: 3850 - total flux cleaned = 0.0046359 Jy ! Component: 3900 - total flux cleaned = 0.00463595 Jy ! Component: 3950 - total flux cleaned = 0.00469273 Jy ! Component: 4000 - total flux cleaned = 0.00474935 Jy ! Component: 4050 - total flux cleaned = 0.00479152 Jy ! Total flux subtracted in 4096 components = 0.00474947 Jy ! Clean residual min=-0.000825 max=0.000876 Jy/beam ! Clean residual mean=-0.000001 rms=0.000255 Jy/beam ! Combined flux in latest and established models = 0.182415 Jy keep ! Adding 322 model components to the UV plane model. ! The established model now contains 505 components and 0.182415 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/npcsa_uvs/J0203+8106_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8342 x 2.854 at 1.614 degrees (North through East) ! Clean map min=-0.0015391 max=0.13208 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/npcsa_uvs/J0203+8106_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.132076 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000253152 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.575015 0.575015 1.15003 2.30006 4.60012 9.20024 18.4005 36.801 73.6019 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0007 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.132 quit ! Quitting program ! Log file /g0/scr/pima/npcsa_uvs/J0203+8106_X_uvs.log closed on Sun Oct 6 10:26:03 2013