! Started logfile: /scr/pima/bg219i_uvs/J0509+3528_S_uvs.log on Wed Apr 6 22:52:40 2016 obs /scr/pima/bg219i_uvs/J0509+3528_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219i_uvs/J0509+3528_S_uva.fits ! AN table 1: 36 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0509+3528 ! ! 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 2.22e+09 3.2e+07 1 3.2e+07 ! 02 2 2.252e+09 3.2e+07 1 3.2e+07 ! 03 3 2.284e+09 3.2e+07 1 3.2e+07 ! 04 4 2.348e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 54 lines of history. ! ! Reading 6480 visibilities. select rr, 1,2,3,4,6,7,8 ! Restricting channel ranges to the available 4 channels. ! 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.5 print "taper_size =", taper_size ! taper_size = 20 ![@/home/lpetrov/bin/01_muppet /scr/pima/bg219i_uvs/J0509+3528_S] 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.500x0.500 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 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 40 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.041886Jy sigma=25.121142 ! Fit after self-cal, rms=0.746336Jy sigma=18.023449 ! 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=3.064 mas, bmaj=4.782 mas, bpa=-8.371 degrees ! Estimated noise=0.506355 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.192354 Jy ! Component: 100 - total flux cleaned = 0.237144 Jy ! Total flux subtracted in 100 components = 0.237144 Jy ! Clean residual min=-0.007383 max=0.017781 Jy/beam ! Clean residual mean=0.000010 rms=0.001915 Jy/beam ! Combined flux in latest and established models = 0.237144 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 14 components and 0.237144 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068572Jy sigma=1.554926 ! Fit after self-cal, rms=0.068553Jy sigma=1.554727 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0199545 Jy ! Component: 100 - total flux cleaned = 0.0310623 Jy ! Total flux subtracted in 100 components = 0.0310623 Jy ! Clean residual min=-0.004455 max=0.005453 Jy/beam ! Clean residual mean=0.000005 rms=0.001153 Jy/beam ! Combined flux in latest and established models = 0.268207 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 18 components and 0.268207 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061436Jy sigma=1.386519 ! Fit after self-cal, rms=0.061400Jy sigma=1.386270 ! 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=3.654 mas, bmaj=5.545 mas, bpa=-7.914 degrees ! Estimated noise=0.395562 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.00731768 Jy ! Component: 100 - total flux cleaned = 0.0110116 Jy ! Component: 150 - total flux cleaned = 0.0130291 Jy ! Component: 200 - total flux cleaned = 0.0142716 Jy ! Total flux subtracted in 200 components = 0.0142716 Jy ! Clean residual min=-0.004667 max=0.004806 Jy/beam ! Clean residual mean=0.000002 rms=0.001088 Jy/beam ! Combined flux in latest and established models = 0.282478 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 37 components and 0.282478 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060514Jy sigma=1.366721 ! Fit after self-cal, rms=0.060504Jy sigma=1.366691 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.654 x 5.545 at -7.914 degrees (North through East) ! Clean map min=-0.004567 max=0.25212 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.97 FD 0.97 HN 1.01 KP 0.99 ! LA 0.98 MK 1.03 NL 1.00 OV 0.99 ! PT 1.02 SC 1.02 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.99 HN 1.02 KP 0.97 ! LA 0.94 MK 1.03 NL 1.04 OV 0.99 ! PT 1.00 SC 1.00 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.01 HN 0.99 KP 0.99 ! LA 1.00 MK 1.02 NL 1.09 OV 0.99 ! PT 1.00 SC 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.04 HN 0.98 KP 0.96 ! LA 0.99 MK 1.02 NL 0.99 OV 0.96 ! PT 1.02 SC 1.01 ! ! ! Fit before self-cal, rms=0.060504Jy sigma=1.366691 ! Fit after self-cal, rms=0.059850Jy sigma=1.346331 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.682 mas, bmaj=5.574 mas, bpa=-7.629 degrees ! Estimated noise=0.39621 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.00129312 Jy ! Component: 100 - total flux cleaned = -0.00144187 Jy ! Component: 150 - total flux cleaned = -0.00153869 Jy ! Component: 200 - total flux cleaned = -0.00160343 Jy ! Total flux subtracted in 200 components = -0.00160343 Jy ! Clean residual min=-0.005206 max=0.004313 Jy/beam ! Clean residual mean=0.000002 rms=0.000982 Jy/beam ! Combined flux in latest and established models = 0.280875 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 49 components and 0.280875 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059819Jy sigma=1.345514 ! Fit after self-cal, rms=0.059813Jy sigma=1.345455 ! 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.059813Jy sigma=1.345455 ! Fit after self-cal, rms=0.058039Jy sigma=1.293190 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.683 mas, bmaj=5.574 mas, bpa=-7.593 degrees ! Estimated noise=0.395988 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000565903 Jy ! Component: 100 - total flux cleaned = -0.000694284 Jy ! Component: 150 - total flux cleaned = -0.000807062 Jy ! Component: 200 - total flux cleaned = -0.000891087 Jy ! Total flux subtracted in 200 components = -0.000891087 Jy ! Clean residual min=-0.001946 max=0.002325 Jy/beam ! Clean residual mean=-0.000003 rms=0.000504 Jy/beam ! Combined flux in latest and established models = 0.279984 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 54 components and 0.279984 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058026Jy sigma=1.292856 ! Fit after self-cal, rms=0.058042Jy sigma=1.292733 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-50, -36). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00155252 Jy ! Component: 100 - total flux cleaned = 0.00167732 Jy ! Component: 150 - total flux cleaned = 0.00174112 Jy ! Component: 200 - total flux cleaned = 0.00179406 Jy ! Total flux subtracted in 200 components = 0.00179406 Jy ! Clean residual min=-0.001849 max=0.002118 Jy/beam ! Clean residual mean=-0.000003 rms=0.000480 Jy/beam ! Combined flux in latest and established models = 0.281778 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 72 components and 0.281778 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057965Jy sigma=1.291046 ! Fit after self-cal, rms=0.057959Jy sigma=1.290941 ! Inverting map ! Added new window around map position (-12, 92). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00138543 Jy ! Component: 100 - total flux cleaned = 0.00150828 Jy ! Component: 150 - total flux cleaned = 0.00170521 Jy ! Component: 200 - total flux cleaned = 0.00195559 Jy ! Total flux subtracted in 200 components = 0.00195559 Jy ! Clean residual min=-0.001651 max=0.001774 Jy/beam ! Clean residual mean=-0.000002 rms=0.000446 Jy/beam ! Combined flux in latest and established models = 0.283734 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 101 components and 0.283734 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057891Jy sigma=1.289280 ! Fit after self-cal, rms=0.057889Jy sigma=1.289202 ! 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.057889Jy sigma=1.289202 ! Fit after self-cal, rms=0.057898Jy sigma=1.288998 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.687 mas, bmaj=5.579 mas, bpa=-7.525 degrees ! Estimated noise=0.395999 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000569429 Jy ! Component: 100 - total flux cleaned = 0.000620441 Jy ! Component: 150 - total flux cleaned = 0.00066571 Jy ! Component: 200 - total flux cleaned = 0.000666116 Jy ! Total flux subtracted in 200 components = 0.000666116 Jy ! Clean residual min=-0.001630 max=0.001777 Jy/beam ! Clean residual mean=-0.000002 rms=0.000438 Jy/beam ! Combined flux in latest and established models = 0.2844 Jy selfcal ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 117 components and 0.2844 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057879Jy sigma=1.288557 ! Fit after self-cal, rms=0.057879Jy sigma=1.288547 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.000152273 Jy ! Component: 100 - total flux cleaned = 0.000191629 Jy ! Component: 150 - total flux cleaned = 0.000228782 Jy ! Component: 200 - total flux cleaned = 0.000263421 Jy ! Total flux subtracted in 200 components = 0.000263421 Jy ! Clean residual min=-0.001620 max=0.001786 Jy/beam ! Clean residual mean=-0.000002 rms=0.000435 Jy/beam ! Combined flux in latest and established models = 0.284663 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 122 components and 0.284663 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057869Jy sigma=1.288291 ! Fit after self-cal, rms=0.057868Jy sigma=1.288290 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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.057868Jy sigma=1.288290 ! Fit after self-cal, rms=0.057874Jy sigma=1.288267 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.553 mas, bmaj=9.183 mas, bpa=-4.749 degrees ! Estimated noise=0.503905 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.68716e-05 Jy ! Component: 100 - total flux cleaned = 1.54718e-05 Jy ! Component: 150 - total flux cleaned = 0.000106654 Jy ! Component: 200 - total flux cleaned = 0.0001865 Jy ! Total flux subtracted in 200 components = 0.0001865 Jy ! Clean residual min=-0.002006 max=0.001973 Jy/beam ! Clean residual mean=-0.000005 rms=0.000553 Jy/beam ! Combined flux in latest and established models = 0.28485 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 132 components and 0.28485 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057872Jy sigma=1.288278 ! Fit after self-cal, rms=0.057870Jy sigma=1.288220 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 = -5.26616e-06 Jy ! Component: 100 - total flux cleaned = 5.62633e-05 Jy ! Component: 150 - total flux cleaned = 9.53367e-05 Jy ! Component: 200 - total flux cleaned = 0.000107754 Jy ! Total flux subtracted in 200 components = 0.000107754 Jy ! Clean residual min=-0.002000 max=0.001946 Jy/beam ! Clean residual mean=-0.000005 rms=0.000549 Jy/beam ! Combined flux in latest and established models = 0.284957 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 137 components and 0.284957 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057872Jy sigma=1.288292 ! Fit after self-cal, rms=0.057871Jy sigma=1.288262 ! 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=3.688 mas, bmaj=5.58 mas, bpa=-7.512 degrees ! Estimated noise=0.395944 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.688 x 5.58 at -7.512 degrees (North through East) ! Clean map min=-0.0016017 max=0.25272 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=3.094 mas, bmaj=4.812 mas, bpa=-8.023 degrees ! Estimated noise=0.509607 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.193542 Jy ! Component: 100 - total flux cleaned = 0.237769 Jy ! Component: 150 - total flux cleaned = 0.256109 Jy ! Component: 200 - total flux cleaned = 0.266258 Jy ! Total flux subtracted in 200 components = 0.266258 Jy ! Clean residual min=-0.003238 max=0.005000 Jy/beam ! Clean residual mean=0.000001 rms=0.000798 Jy/beam ! Combined flux in latest and established models = 0.266258 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 21 model components to the UV plane model. ! The established model now contains 21 components and 0.266258 Jy ! Inverting map and beam ! Estimated beam: bmin=3.688 mas, bmaj=5.58 mas, bpa=-7.512 degrees ! Estimated noise=0.395944 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.0066828 Jy ! Component: 100 - total flux cleaned = 0.0102015 Jy ! Component: 150 - total flux cleaned = 0.0126401 Jy ! Component: 200 - total flux cleaned = 0.0144017 Jy ! Total flux subtracted in 200 components = 0.0144017 Jy ! Clean residual min=-0.001801 max=0.001906 Jy/beam ! Clean residual mean=-0.000002 rms=0.000478 Jy/beam ! Combined flux in latest and established models = 0.28066 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 39 components and 0.28066 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.553 mas, bmaj=9.183 mas, bpa=-4.749 degrees ! Estimated noise=0.503905 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00168847 Jy ! Component: 100 - total flux cleaned = 0.00274661 Jy ! Component: 150 - total flux cleaned = 0.00319951 Jy ! Component: 200 - total flux cleaned = 0.00346787 Jy ! Total flux subtracted in 200 components = 0.00346787 Jy ! Clean residual min=-0.002058 max=0.002039 Jy/beam ! Clean residual mean=-0.000005 rms=0.000560 Jy/beam ! Combined flux in latest and established models = 0.284128 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.000259757 Jy ! Component: 100 - total flux cleaned = 0.000441255 Jy ! Component: 150 - total flux cleaned = 0.000602755 Jy ! Component: 200 - total flux cleaned = 0.000675475 Jy ! Total flux subtracted in 200 components = 0.000675475 Jy ! Clean residual min=-0.002021 max=0.001995 Jy/beam ! Clean residual mean=-0.000005 rms=0.000551 Jy/beam ! Combined flux in latest and established models = 0.284803 Jy ! Adding 41 model components to the UV plane model. ! The established model now contains 77 components and 0.284803 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.688 mas, bmaj=5.58 mas, bpa=-7.512 degrees ! Estimated noise=0.395944 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000252959 Jy ! Component: 100 - total flux cleaned = -0.000253011 Jy ! Component: 150 - total flux cleaned = -0.000218755 Jy ! Component: 200 - total flux cleaned = -0.000186644 Jy ! Total flux subtracted in 200 components = -0.000186644 Jy ! Clean residual min=-0.001723 max=0.001806 Jy/beam ! Clean residual mean=-0.000002 rms=0.000444 Jy/beam ! Combined flux in latest and established models = 0.284617 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 96 components and 0.284617 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057922Jy sigma=1.289526 ! Fit after self-cal, rms=0.057924Jy sigma=1.289503 wmodel /scr/pima/bg219i_uvs/J0509+3528_S_map.mod ! Writing 96 model components to file: /scr/pima/bg219i_uvs/J0509+3528_S_map.mod wobs /scr/pima/bg219i_uvs/J0509+3528_S_uvs.fits ! Writing UV FITS file: /scr/pima/bg219i_uvs/J0509+3528_S_uvs.fits wwins /scr/pima/bg219i_uvs/J0509+3528_S_map.win ! wwins: Wrote 3 windows to /scr/pima/bg219i_uvs/J0509+3528_S_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.000433616 Jy ! Component: 100 - total flux cleaned = 0.000526954 Jy ! Component: 150 - total flux cleaned = 0.0006465 Jy ! Component: 200 - total flux cleaned = 0.000646306 Jy ! Component: 250 - total flux cleaned = 0.000618994 Jy ! Component: 300 - total flux cleaned = 0.000726868 Jy ! Component: 350 - total flux cleaned = 0.000805101 Jy ! Component: 400 - total flux cleaned = 0.000908059 Jy ! Component: 450 - total flux cleaned = 0.00100934 Jy ! Component: 500 - total flux cleaned = 0.00115778 Jy ! Component: 550 - total flux cleaned = 0.0012548 Jy ! Component: 600 - total flux cleaned = 0.00137389 Jy ! Component: 650 - total flux cleaned = 0.00146801 Jy ! Component: 700 - total flux cleaned = 0.00153787 Jy ! Component: 750 - total flux cleaned = 0.0016287 Jy ! Component: 800 - total flux cleaned = 0.00174035 Jy ! Component: 850 - total flux cleaned = 0.00182815 Jy ! Component: 900 - total flux cleaned = 0.00191513 Jy ! Component: 950 - total flux cleaned = 0.00200065 Jy ! Component: 1000 - total flux cleaned = 0.00212677 Jy ! Component: 1050 - total flux cleaned = 0.00214736 Jy ! Component: 1100 - total flux cleaned = 0.00216837 Jy ! Component: 1150 - total flux cleaned = 0.0022288 Jy ! Component: 1200 - total flux cleaned = 0.00224865 Jy ! Component: 1250 - total flux cleaned = 0.0022882 Jy ! Component: 1300 - total flux cleaned = 0.00224906 Jy ! Component: 1350 - total flux cleaned = 0.00226823 Jy ! Component: 1400 - total flux cleaned = 0.00230638 Jy ! Component: 1450 - total flux cleaned = 0.0022876 Jy ! Component: 1500 - total flux cleaned = 0.00230623 Jy ! Component: 1550 - total flux cleaned = 0.00234261 Jy ! Component: 1600 - total flux cleaned = 0.00226991 Jy ! Component: 1650 - total flux cleaned = 0.00232364 Jy ! Component: 1700 - total flux cleaned = 0.00234147 Jy ! Component: 1750 - total flux cleaned = 0.00241138 Jy ! Component: 1800 - total flux cleaned = 0.00242879 Jy ! Component: 1850 - total flux cleaned = 0.00244619 Jy ! Component: 1900 - total flux cleaned = 0.00248051 Jy ! Component: 1950 - total flux cleaned = 0.00254803 Jy ! Component: 2000 - total flux cleaned = 0.00256464 Jy ! Component: 2050 - total flux cleaned = 0.00263093 Jy ! Component: 2100 - total flux cleaned = 0.00266365 Jy ! Component: 2150 - total flux cleaned = 0.00271206 Jy ! Component: 2200 - total flux cleaned = 0.00272811 Jy ! Component: 2250 - total flux cleaned = 0.00280739 Jy ! Component: 2300 - total flux cleaned = 0.00285434 Jy ! Component: 2350 - total flux cleaned = 0.00290124 Jy ! Component: 2400 - total flux cleaned = 0.00297862 Jy ! Component: 2450 - total flux cleaned = 0.00307042 Jy ! Component: 2500 - total flux cleaned = 0.00303985 Jy ! Component: 2550 - total flux cleaned = 0.00305485 Jy ! Component: 2600 - total flux cleaned = 0.0031144 Jy ! Component: 2650 - total flux cleaned = 0.00320325 Jy ! Component: 2700 - total flux cleaned = 0.00321802 Jy ! Component: 2750 - total flux cleaned = 0.00330533 Jy ! Component: 2800 - total flux cleaned = 0.00336282 Jy ! Component: 2850 - total flux cleaned = 0.003377 Jy ! Component: 2900 - total flux cleaned = 0.00340557 Jy ! Component: 2950 - total flux cleaned = 0.00346203 Jy ! Component: 3000 - total flux cleaned = 0.00347606 Jy ! Component: 3050 - total flux cleaned = 0.00351779 Jy ! Component: 3100 - total flux cleaned = 0.00357269 Jy ! Component: 3150 - total flux cleaned = 0.00358622 Jy ! Component: 3200 - total flux cleaned = 0.00361345 Jy ! Component: 3250 - total flux cleaned = 0.00366722 Jy ! Component: 3300 - total flux cleaned = 0.00370736 Jy ! Component: 3350 - total flux cleaned = 0.00374698 Jy ! Component: 3400 - total flux cleaned = 0.00378658 Jy ! Component: 3450 - total flux cleaned = 0.00382561 Jy ! Component: 3500 - total flux cleaned = 0.00381267 Jy ! Component: 3550 - total flux cleaned = 0.00390304 Jy ! Component: 3600 - total flux cleaned = 0.0039414 Jy ! Component: 3650 - total flux cleaned = 0.00399227 Jy ! Component: 3700 - total flux cleaned = 0.00403033 Jy ! Component: 3750 - total flux cleaned = 0.00411826 Jy ! Component: 3800 - total flux cleaned = 0.00415554 Jy ! Component: 3850 - total flux cleaned = 0.00419265 Jy ! Component: 3900 - total flux cleaned = 0.00426627 Jy ! Component: 3950 - total flux cleaned = 0.00425401 Jy ! Component: 4000 - total flux cleaned = 0.00431478 Jy ! Component: 4050 - total flux cleaned = 0.00437505 Jy ! Total flux subtracted in 4096 components = 0.00445898 Jy ! Clean residual min=-0.000686 max=0.000701 Jy/beam ! Clean residual mean=0.000000 rms=0.000215 Jy/beam ! Combined flux in latest and established models = 0.289076 Jy keep ! Adding 309 model components to the UV plane model. ! The established model now contains 405 components and 0.289076 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219i_uvs/J0509+3528_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.688 x 5.58 at -7.512 degrees (North through East) ! Clean map min=-0.001258 max=0.25316 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219i_uvs/J0509+3528_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.253163 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00021463 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.254338 0.254338 0.508676 1.01735 2.0347 4.06941 8.13881 16.2776 32.5552 65.1105 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0006 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.253 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1179.53 quit ! Quitting program ! Log file /scr/pima/bg219i_uvs/J0509+3528_S_uvs.log closed on Wed Apr 6 22:52:44 2016