! Started logfile: /scr/pima/bg219i_uvs/J2228+4419_S_uvs.log on Wed Apr 6 23:18:21 2016 obs /scr/pima/bg219i_uvs/J2228+4419_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219i_uvs/J2228+4419_S_uva.fits ! AN table 1: 57 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.901754 visibilities/baseline/integration-bin. ! Found source: J2228+4419 ! ! 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 9252 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/J2228+4419_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 38 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 38 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 38 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 38 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.015511Jy sigma=24.149644 ! Fit after self-cal, rms=0.887912Jy sigma=21.188440 ! 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.098 mas, bmaj=4.643 mas, bpa=-43.06 degrees ! Estimated noise=0.541089 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.0800383 Jy ! Component: 100 - total flux cleaned = 0.10874 Jy ! Total flux subtracted in 100 components = 0.10874 Jy ! Clean residual min=-0.008167 max=0.014725 Jy/beam ! Clean residual mean=0.000006 rms=0.001897 Jy/beam ! Combined flux in latest and established models = 0.10874 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 13 components and 0.10874 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068269Jy sigma=1.555729 ! Fit after self-cal, rms=0.067991Jy sigma=1.550632 ! Inverting map ! Added new window around map position (4, 1). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0177818 Jy ! Component: 100 - total flux cleaned = 0.0290315 Jy ! Total flux subtracted in 100 components = 0.0290315 Jy ! Clean residual min=-0.005754 max=0.006500 Jy/beam ! Clean residual mean=0.000005 rms=0.001240 Jy/beam ! Combined flux in latest and established models = 0.137771 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 29 components and 0.137771 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060942Jy sigma=1.385939 ! Fit after self-cal, rms=0.060871Jy sigma=1.383979 ! 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=4.01 mas, bmaj=5.485 mas, bpa=-40.78 degrees ! Estimated noise=0.31791 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.0108006 Jy ! Component: 100 - total flux cleaned = 0.0166536 Jy ! Component: 150 - total flux cleaned = 0.0202709 Jy ! Component: 200 - total flux cleaned = 0.0225767 Jy ! Total flux subtracted in 200 components = 0.0225767 Jy ! Clean residual min=-0.003423 max=0.003559 Jy/beam ! Clean residual mean=0.000009 rms=0.000683 Jy/beam ! Combined flux in latest and established models = 0.160348 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 54 components and 0.160348 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058877Jy sigma=1.336861 ! Fit after self-cal, rms=0.058818Jy sigma=1.334858 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.01 x 5.485 at -40.78 degrees (North through East) ! Clean map min=-0.0035293 max=0.10199 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 FD 1.02 HN 1.03 KP 0.99 ! LA 0.97 MK 1.07 NL 0.98 OV 0.98 ! PT 1.00 SC 1.04 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.00 HN 1.00 KP 1.00 ! LA 0.94 MK 1.03 NL 1.05 OV 0.99 ! PT 0.98 SC 1.01 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.01 HN 1.00 KP 1.03 ! LA 1.00 MK 0.98 NL 0.98 OV 0.97 ! PT 0.98 SC 0.99 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.02 HN 1.04 KP 0.96 ! LA 0.95 MK 1.00 NL 0.97 OV 0.97 ! PT 0.98 SC 1.01 ! ! ! Fit before self-cal, rms=0.058818Jy sigma=1.334858 ! Fit after self-cal, rms=0.058509Jy sigma=1.331265 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.04 mas, bmaj=5.506 mas, bpa=-40.76 degrees ! Estimated noise=0.316287 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.000282889 Jy ! Component: 100 - total flux cleaned = -0.000337285 Jy ! Component: 150 - total flux cleaned = -0.00042619 Jy ! Component: 200 - total flux cleaned = -0.000499592 Jy ! Total flux subtracted in 200 components = -0.000499592 Jy ! Clean residual min=-0.003187 max=0.003298 Jy/beam ! Clean residual mean=0.000013 rms=0.000616 Jy/beam ! Combined flux in latest and established models = 0.159848 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 61 components and 0.159848 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058417Jy sigma=1.329063 ! Fit after self-cal, rms=0.058411Jy sigma=1.328715 ! Inverting map ! Added new window around map position (12, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0024394 Jy ! Component: 100 - total flux cleaned = 0.00286322 Jy ! Component: 150 - total flux cleaned = 0.00297618 Jy ! Component: 200 - total flux cleaned = 0.00297677 Jy ! Total flux subtracted in 200 components = 0.00297677 Jy ! Clean residual min=-0.003333 max=0.002230 Jy/beam ! Clean residual mean=0.000015 rms=0.000546 Jy/beam ! Combined flux in latest and established models = 0.162825 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 83 components and 0.162825 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058232Jy sigma=1.323901 ! Fit after self-cal, rms=0.058225Jy sigma=1.323654 ! 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.058225Jy sigma=1.323654 ! Fit after self-cal, rms=0.058938Jy sigma=1.321264 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.055 mas, bmaj=5.48 mas, bpa=-41.11 degrees ! Estimated noise=0.316597 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00013066 Jy ! Component: 100 - total flux cleaned = 0.000322758 Jy ! Component: 150 - total flux cleaned = 0.000537165 Jy ! Component: 200 - total flux cleaned = 0.000614416 Jy ! Total flux subtracted in 200 components = 0.000614416 Jy ! Clean residual min=-0.002923 max=0.001893 Jy/beam ! Clean residual mean=0.000016 rms=0.000497 Jy/beam ! Combined flux in latest and established models = 0.163439 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 94 components and 0.163439 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058864Jy sigma=1.319597 ! Fit after self-cal, rms=0.058873Jy sigma=1.319393 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.49946e-05 Jy ! Component: 100 - total flux cleaned = 9.69314e-05 Jy ! Component: 150 - total flux cleaned = 0.0001304 Jy ! Component: 200 - total flux cleaned = 0.000162764 Jy ! Total flux subtracted in 200 components = 0.000162764 Jy ! Clean residual min=-0.002713 max=0.001847 Jy/beam ! Clean residual mean=0.000016 rms=0.000482 Jy/beam ! Combined flux in latest and established models = 0.163602 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 97 components and 0.163602 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058829Jy sigma=1.318364 ! Fit after self-cal, rms=0.058825Jy sigma=1.318221 ! 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.058825Jy sigma=1.318221 ! Fit after self-cal, rms=0.058753Jy sigma=1.318147 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.055 mas, bmaj=5.472 mas, bpa=-41.19 degrees ! Estimated noise=0.315878 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000144302 Jy ! Component: 100 - total flux cleaned = 1.73688e-05 Jy ! Component: 150 - total flux cleaned = 4.77638e-05 Jy ! Component: 200 - total flux cleaned = 0.00010402 Jy ! Total flux subtracted in 200 components = 0.00010402 Jy ! Clean residual min=-0.002509 max=0.001830 Jy/beam ! Clean residual mean=0.000016 rms=0.000467 Jy/beam ! Combined flux in latest and established models = 0.163706 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 101 components and 0.163706 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058717Jy sigma=1.317328 ! Fit after self-cal, rms=0.058715Jy sigma=1.317202 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.8241e-05 Jy ! Component: 100 - total flux cleaned = 8.96573e-05 Jy ! Component: 150 - total flux cleaned = 0.000115077 Jy ! Component: 200 - total flux cleaned = 0.000115294 Jy ! Total flux subtracted in 200 components = 0.000115294 Jy ! Clean residual min=-0.002384 max=0.001779 Jy/beam ! Clean residual mean=0.000016 rms=0.000457 Jy/beam ! Combined flux in latest and established models = 0.163821 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 106 components and 0.163821 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058689Jy sigma=1.316627 ! Fit after self-cal, rms=0.058685Jy sigma=1.316513 ! 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.058685Jy sigma=1.316513 ! Fit after self-cal, rms=0.058630Jy sigma=1.316483 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.348 mas, bmaj=8.814 mas, bpa=-42.62 degrees ! Estimated noise=0.389823 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000897275 Jy ! Component: 100 - total flux cleaned = -0.000814489 Jy ! Component: 150 - total flux cleaned = -0.000747215 Jy ! Component: 200 - total flux cleaned = -0.00073293 Jy ! Total flux subtracted in 200 components = -0.00073293 Jy ! Clean residual min=-0.002406 max=0.001705 Jy/beam ! Clean residual mean=0.000034 rms=0.000532 Jy/beam ! Combined flux in latest and established models = 0.163089 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 126 components and 0.163089 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058618Jy sigma=1.316681 ! Fit after self-cal, rms=0.058608Jy sigma=1.316408 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.30966e-05 Jy ! Component: 100 - total flux cleaned = -2.01404e-05 Jy ! Component: 150 - total flux cleaned = 6.62086e-06 Jy ! Component: 200 - total flux cleaned = -4.94825e-06 Jy ! Total flux subtracted in 200 components = -4.94825e-06 Jy ! Clean residual min=-0.002322 max=0.001645 Jy/beam ! Clean residual mean=0.000034 rms=0.000525 Jy/beam ! Combined flux in latest and established models = 0.163084 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 142 components and 0.163084 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058599Jy sigma=1.316479 ! Fit after self-cal, rms=0.058593Jy sigma=1.316268 ! 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=4.056 mas, bmaj=5.464 mas, bpa=-41.23 degrees ! Estimated noise=0.315501 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.056 x 5.464 at -41.23 degrees (North through East) ! Clean map min=-0.002132 max=0.10147 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.129 mas, bmaj=4.615 mas, bpa=-43.51 degrees ! Estimated noise=0.539255 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0808353 Jy ! Component: 100 - total flux cleaned = 0.110161 Jy ! Component: 150 - total flux cleaned = 0.12602 Jy ! Component: 200 - total flux cleaned = 0.136112 Jy ! Total flux subtracted in 200 components = 0.136112 Jy ! Clean residual min=-0.004691 max=0.005409 Jy/beam ! Clean residual mean=0.000006 rms=0.001050 Jy/beam ! Combined flux in latest and established models = 0.136112 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 30 model components to the UV plane model. ! The established model now contains 30 components and 0.136112 Jy ! Inverting map and beam ! Estimated beam: bmin=4.056 mas, bmaj=5.464 mas, bpa=-41.23 degrees ! Estimated noise=0.315501 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.00952417 Jy ! Component: 100 - total flux cleaned = 0.0151497 Jy ! Component: 150 - total flux cleaned = 0.0190195 Jy ! Component: 200 - total flux cleaned = 0.021825 Jy ! Total flux subtracted in 200 components = 0.021825 Jy ! Clean residual min=-0.002690 max=0.002014 Jy/beam ! Clean residual mean=0.000014 rms=0.000531 Jy/beam ! Combined flux in latest and established models = 0.157937 Jy ! Adding 46 model components to the UV plane model. ! The established model now contains 68 components and 0.157937 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=8.348 mas, bmaj=8.814 mas, bpa=-42.62 degrees ! Estimated noise=0.389823 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00250883 Jy ! Component: 100 - total flux cleaned = 0.00375742 Jy ! Component: 150 - total flux cleaned = 0.00416076 Jy ! Component: 200 - total flux cleaned = 0.00446486 Jy ! Total flux subtracted in 200 components = 0.00446486 Jy ! Clean residual min=-0.002436 max=0.001696 Jy/beam ! Clean residual mean=0.000033 rms=0.000516 Jy/beam ! Combined flux in latest and established models = 0.162402 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.000233103 Jy ! Component: 100 - total flux cleaned = 0.000328518 Jy ! Component: 150 - total flux cleaned = 0.000377311 Jy ! Component: 200 - total flux cleaned = 0.000377466 Jy ! Total flux subtracted in 200 components = 0.000377466 Jy ! Clean residual min=-0.002362 max=0.001657 Jy/beam ! Clean residual mean=0.000033 rms=0.000512 Jy/beam ! Combined flux in latest and established models = 0.162779 Jy ! Adding 47 model components to the UV plane model. ! The established model now contains 106 components and 0.162779 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=4.056 mas, bmaj=5.464 mas, bpa=-41.23 degrees ! Estimated noise=0.315501 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000288807 Jy ! Component: 100 - total flux cleaned = -0.000337268 Jy ! Component: 150 - total flux cleaned = -0.00033659 Jy ! Component: 200 - total flux cleaned = -0.000294388 Jy ! Total flux subtracted in 200 components = -0.000294388 Jy ! Clean residual min=-0.002401 max=0.001761 Jy/beam ! Clean residual mean=0.000016 rms=0.000467 Jy/beam ! Combined flux in latest and established models = 0.162485 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 118 components and 0.162485 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058650Jy sigma=1.318108 ! Fit after self-cal, rms=0.058637Jy sigma=1.317245 wmodel /scr/pima/bg219i_uvs/J2228+4419_S_map.mod ! Writing 118 model components to file: /scr/pima/bg219i_uvs/J2228+4419_S_map.mod wobs /scr/pima/bg219i_uvs/J2228+4419_S_uvs.fits ! Writing UV FITS file: /scr/pima/bg219i_uvs/J2228+4419_S_uvs.fits wwins /scr/pima/bg219i_uvs/J2228+4419_S_map.win ! wwins: Wrote 3 windows to /scr/pima/bg219i_uvs/J2228+4419_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.00100616 Jy ! Component: 100 - total flux cleaned = -0.00133919 Jy ! Component: 150 - total flux cleaned = -0.00140059 Jy ! Component: 200 - total flux cleaned = -0.00139945 Jy ! Component: 250 - total flux cleaned = -0.00139863 Jy ! Component: 300 - total flux cleaned = -0.00145197 Jy ! Component: 350 - total flux cleaned = -0.00150427 Jy ! Component: 400 - total flux cleaned = -0.00155559 Jy ! Component: 450 - total flux cleaned = -0.00168033 Jy ! Component: 500 - total flux cleaned = -0.00182607 Jy ! Component: 550 - total flux cleaned = -0.00192068 Jy ! Component: 600 - total flux cleaned = -0.00205956 Jy ! Component: 650 - total flux cleaned = -0.00208199 Jy ! Component: 700 - total flux cleaned = -0.00219368 Jy ! Component: 750 - total flux cleaned = -0.00225953 Jy ! Component: 800 - total flux cleaned = -0.00236702 Jy ! Component: 850 - total flux cleaned = -0.00247284 Jy ! Component: 900 - total flux cleaned = -0.00249368 Jy ! Component: 950 - total flux cleaned = -0.00255547 Jy ! Component: 1000 - total flux cleaned = -0.00257563 Jy ! Component: 1050 - total flux cleaned = -0.002615 Jy ! Component: 1100 - total flux cleaned = -0.00261498 Jy ! Component: 1150 - total flux cleaned = -0.00259639 Jy ! Component: 1200 - total flux cleaned = -0.00263409 Jy ! Component: 1250 - total flux cleaned = -0.00265271 Jy ! Component: 1300 - total flux cleaned = -0.00263421 Jy ! Component: 1350 - total flux cleaned = -0.00263433 Jy ! Component: 1400 - total flux cleaned = -0.00263422 Jy ! Component: 1450 - total flux cleaned = -0.00266911 Jy ! Component: 1500 - total flux cleaned = -0.00263408 Jy ! Component: 1550 - total flux cleaned = -0.00261734 Jy ! Component: 1600 - total flux cleaned = -0.00266813 Jy ! Component: 1650 - total flux cleaned = -0.0026847 Jy ! Component: 1700 - total flux cleaned = -0.00268481 Jy ! Component: 1750 - total flux cleaned = -0.00273343 Jy ! Component: 1800 - total flux cleaned = -0.00273332 Jy ! Component: 1850 - total flux cleaned = -0.00278084 Jy ! Component: 1900 - total flux cleaned = -0.00271815 Jy ! Component: 1950 - total flux cleaned = -0.0027027 Jy ! Component: 2000 - total flux cleaned = -0.00267206 Jy ! Component: 2050 - total flux cleaned = -0.00270253 Jy ! Component: 2100 - total flux cleaned = -0.00271722 Jy ! Component: 2150 - total flux cleaned = -0.0026432 Jy ! Component: 2200 - total flux cleaned = -0.00265792 Jy ! Component: 2250 - total flux cleaned = -0.00262887 Jy ! Component: 2300 - total flux cleaned = -0.00264332 Jy ! Component: 2350 - total flux cleaned = -0.00262911 Jy ! Component: 2400 - total flux cleaned = -0.00261497 Jy ! Component: 2450 - total flux cleaned = -0.00254539 Jy ! Component: 2500 - total flux cleaned = -0.00258677 Jy ! Component: 2550 - total flux cleaned = -0.00251849 Jy ! Component: 2600 - total flux cleaned = -0.0025184 Jy ! Component: 2650 - total flux cleaned = -0.00257188 Jy ! Component: 2700 - total flux cleaned = -0.00253213 Jy ! Component: 2750 - total flux cleaned = -0.00251896 Jy ! Component: 2800 - total flux cleaned = -0.00249313 Jy ! Component: 2850 - total flux cleaned = -0.00248027 Jy ! Component: 2900 - total flux cleaned = -0.00244212 Jy ! Component: 2950 - total flux cleaned = -0.00244209 Jy ! Component: 3000 - total flux cleaned = -0.00240431 Jy ! Component: 3050 - total flux cleaned = -0.00240451 Jy ! Component: 3100 - total flux cleaned = -0.00236751 Jy ! Component: 3150 - total flux cleaned = -0.00237965 Jy ! Component: 3200 - total flux cleaned = -0.00234331 Jy ! Component: 3250 - total flux cleaned = -0.00225924 Jy ! Component: 3300 - total flux cleaned = -0.00229517 Jy ! Component: 3350 - total flux cleaned = -0.00225967 Jy ! Component: 3400 - total flux cleaned = -0.0022479 Jy ! Component: 3450 - total flux cleaned = -0.00221303 Jy ! Component: 3500 - total flux cleaned = -0.00222451 Jy ! Component: 3550 - total flux cleaned = -0.00221307 Jy ! Component: 3600 - total flux cleaned = -0.00219037 Jy ! Component: 3650 - total flux cleaned = -0.00223532 Jy ! Component: 3700 - total flux cleaned = -0.00220194 Jy ! Component: 3750 - total flux cleaned = -0.00223514 Jy ! Component: 3800 - total flux cleaned = -0.00218008 Jy ! Component: 3850 - total flux cleaned = -0.00220206 Jy ! Component: 3900 - total flux cleaned = -0.00220207 Jy ! Component: 3950 - total flux cleaned = -0.00218047 Jy ! Component: 4000 - total flux cleaned = -0.00219118 Jy ! Component: 4050 - total flux cleaned = -0.00219126 Jy ! Total flux subtracted in 4096 components = -0.00219121 Jy ! Clean residual min=-0.000622 max=0.000616 Jy/beam ! Clean residual mean=0.000004 rms=0.000192 Jy/beam ! Combined flux in latest and established models = 0.160293 Jy keep ! Adding 296 model components to the UV plane model. ! The established model now contains 413 components and 0.160294 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219i_uvs/J2228+4419_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.056 x 5.464 at -41.23 degrees (North through East) ! Clean map min=-0.0015138 max=0.10146 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219i_uvs/J2228+4419_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.101458 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000189431 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.560125 0.560125 1.12025 2.2405 4.481 8.962 17.924 35.848 71.696 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0005 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.101 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 535.594 quit ! Quitting program ! Log file /scr/pima/bg219i_uvs/J2228+4419_S_uvs.log closed on Wed Apr 6 23:18:27 2016