! Started logfile: /scr/pima/bg219b_uvs/J1239+0443_S_uvs.log on Thu Apr 7 01:23:07 2016 obs /scr/pima/bg219b_uvs/J1239+0443_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219b_uvs/J1239+0443_S_uva.fits ! AN table 1: 28 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.769048 visibilities/baseline/integration-bin. ! Found source: J1239+0443 ! ! 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 3876 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/bg219b_uvs/J1239+0443_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 57 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 57 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 57 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 57 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.100742Jy sigma=21.958410 ! Fit after self-cal, rms=0.534780Jy sigma=10.547170 ! 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=2.837 mas, bmaj=6.804 mas, bpa=-0.4443 degrees ! Estimated noise=0.817992 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.363936 Jy ! Component: 100 - total flux cleaned = 0.443698 Jy ! Total flux subtracted in 100 components = 0.443698 Jy ! Clean residual min=-0.009888 max=0.024899 Jy/beam ! Clean residual mean=0.000010 rms=0.003140 Jy/beam ! Combined flux in latest and established models = 0.443698 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.443698 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.083516Jy sigma=1.585703 ! Fit after self-cal, rms=0.083507Jy sigma=1.585603 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0265209 Jy ! Component: 100 - total flux cleaned = 0.0398387 Jy ! Total flux subtracted in 100 components = 0.0398387 Jy ! Clean residual min=-0.007063 max=0.011404 Jy/beam ! Clean residual mean=-0.000003 rms=0.002103 Jy/beam ! Combined flux in latest and established models = 0.483537 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 8 components and 0.483537 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.074510Jy sigma=1.363870 ! Fit after self-cal, rms=0.074453Jy sigma=1.362767 ! 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.32 mas, bmaj=7.446 mas, bpa=1.631 degrees ! Estimated noise=0.649831 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 (-14.5, -61). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0127113 Jy ! Component: 100 - total flux cleaned = 0.0196818 Jy ! Component: 150 - total flux cleaned = 0.02433 Jy ! Component: 200 - total flux cleaned = 0.0263813 Jy ! Total flux subtracted in 200 components = 0.0263813 Jy ! Clean residual min=-0.006996 max=0.011468 Jy/beam ! Clean residual mean=-0.000009 rms=0.002077 Jy/beam ! Combined flux in latest and established models = 0.509918 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 34 components and 0.509918 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071981Jy sigma=1.315885 ! Fit after self-cal, rms=0.071716Jy sigma=1.309378 ! 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.32 x 7.446 at 1.631 degrees (North through East) ! Clean map min=-0.0064102 max=0.46863 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.96 HN 0.99 KP 0.98 ! LA 0.98 MK 1.00 NL 1.00 OV 0.99 ! PT 1.05 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.99 HN 1.00 KP 1.01 ! LA 0.98 MK 1.02 NL 0.99 OV 1.01 ! PT 1.06 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.99 HN 0.99 KP 1.00 ! LA 0.96 MK 1.02 NL 0.99 OV 0.98 ! PT 1.02 SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.95 HN 0.97 KP 1.00 ! LA 0.98 MK 1.03 NL 0.99 OV 0.98 ! PT 1.03 SC 1.00 ! ! ! Fit before self-cal, rms=0.071716Jy sigma=1.309378 ! Fit after self-cal, rms=0.068852Jy sigma=1.270878 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.334 mas, bmaj=7.472 mas, bpa=1.632 degrees ! Estimated noise=0.647235 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.00319815 Jy ! Component: 100 - total flux cleaned = -0.00449553 Jy ! Component: 150 - total flux cleaned = -0.00537451 Jy ! Component: 200 - total flux cleaned = -0.00604634 Jy ! Total flux subtracted in 200 components = -0.00604634 Jy ! Clean residual min=-0.006783 max=0.007650 Jy/beam ! Clean residual mean=-0.000001 rms=0.001803 Jy/beam ! Combined flux in latest and established models = 0.503872 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 59 components and 0.503872 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068504Jy sigma=1.265830 ! Fit after self-cal, rms=0.068482Jy sigma=1.265441 ! 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.068482Jy sigma=1.265441 ! Fit after self-cal, rms=0.070223Jy sigma=1.300682 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.345 mas, bmaj=7.498 mas, bpa=1.789 degrees ! Estimated noise=0.638921 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00537729 Jy ! Component: 100 - total flux cleaned = -0.00674855 Jy ! Component: 150 - total flux cleaned = -0.00724005 Jy ! Component: 200 - total flux cleaned = -0.00743811 Jy ! Total flux subtracted in 200 components = -0.00743811 Jy ! Clean residual min=-0.006049 max=0.008697 Jy/beam ! Clean residual mean=-0.000010 rms=0.001915 Jy/beam ! Combined flux in latest and established models = 0.496434 Jy selfcal ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 90 components and 0.496434 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.069251Jy sigma=1.291316 ! Fit after self-cal, rms=0.069245Jy sigma=1.290770 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 (-68.5, 50.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00784608 Jy ! Component: 100 - total flux cleaned = 0.0095403 Jy ! Component: 150 - total flux cleaned = 0.0102614 Jy ! Component: 200 - total flux cleaned = 0.0108793 Jy ! Total flux subtracted in 200 components = 0.0108793 Jy ! Clean residual min=-0.005934 max=0.007595 Jy/beam ! Clean residual mean=-0.000011 rms=0.001754 Jy/beam ! Combined flux in latest and established models = 0.507313 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 125 components and 0.507313 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067924Jy sigma=1.273503 ! Fit after self-cal, rms=0.067827Jy sigma=1.270424 ! Inverting map ! Added new window around map position (50, 69.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00602517 Jy ! Component: 100 - total flux cleaned = 0.00717626 Jy ! Component: 150 - total flux cleaned = 0.00817815 Jy ! Component: 200 - total flux cleaned = 0.00868715 Jy ! Total flux subtracted in 200 components = 0.00868715 Jy ! Clean residual min=-0.005524 max=0.006963 Jy/beam ! Clean residual mean=-0.000010 rms=0.001611 Jy/beam ! Combined flux in latest and established models = 0.516 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 151 components and 0.516 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.066704Jy sigma=1.256788 ! Fit after self-cal, rms=0.066629Jy sigma=1.254371 ! 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.066629Jy sigma=1.254371 ! Fit after self-cal, rms=0.066289Jy sigma=1.251826 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.345 mas, bmaj=7.499 mas, bpa=1.792 degrees ! Estimated noise=0.636044 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.01687e-05 Jy ! Component: 100 - total flux cleaned = 0.000839071 Jy ! Component: 150 - total flux cleaned = 0.00106582 Jy ! Component: 200 - total flux cleaned = 0.0014773 Jy ! Total flux subtracted in 200 components = 0.0014773 Jy ! Clean residual min=-0.004871 max=0.006649 Jy/beam ! Clean residual mean=-0.000011 rms=0.001510 Jy/beam ! Combined flux in latest and established models = 0.517477 Jy selfcal ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 169 components and 0.517477 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065636Jy sigma=1.245715 ! Fit after self-cal, rms=0.065622Jy sigma=1.244986 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 (-8.5, 118). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00551693 Jy ! Component: 100 - total flux cleaned = 0.00794621 Jy ! Component: 150 - total flux cleaned = 0.00951698 Jy ! Component: 200 - total flux cleaned = 0.0105355 Jy ! Total flux subtracted in 200 components = 0.0105355 Jy ! Clean residual min=-0.005094 max=0.006094 Jy/beam ! Clean residual mean=-0.000009 rms=0.001398 Jy/beam ! Combined flux in latest and established models = 0.528013 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 194 components and 0.528013 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064918Jy sigma=1.235396 ! Fit after self-cal, rms=0.064907Jy sigma=1.234733 ! 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.064907Jy sigma=1.234733 ! Fit after self-cal, rms=0.061682Jy sigma=1.178239 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.3 mas, bmaj=11.17 mas, bpa=3.878 degrees ! Estimated noise=0.8032 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00428469 Jy ! Component: 100 - total flux cleaned = -0.00594424 Jy ! Component: 150 - total flux cleaned = -0.00699181 Jy ! Component: 200 - total flux cleaned = -0.00788642 Jy ! Total flux subtracted in 200 components = -0.00788642 Jy ! Clean residual min=-0.004296 max=0.003961 Jy/beam ! Clean residual mean=-0.000007 rms=0.001181 Jy/beam ! Combined flux in latest and established models = 0.520127 Jy selfcal ! Performing phase self-cal ! Adding 58 model components to the UV plane model. ! The established model now contains 246 components and 0.520127 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061471Jy sigma=1.173113 ! Fit after self-cal, rms=0.061438Jy sigma=1.172645 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.00100692 Jy ! Component: 100 - total flux cleaned = -0.0015206 Jy ! Component: 150 - total flux cleaned = -0.00204189 Jy ! Component: 200 - total flux cleaned = -0.00246451 Jy ! Total flux subtracted in 200 components = -0.00246451 Jy ! Clean residual min=-0.004174 max=0.003740 Jy/beam ! Clean residual mean=-0.000008 rms=0.001131 Jy/beam ! Combined flux in latest and established models = 0.517662 Jy ! Performing phase self-cal ! Adding 40 model components to the UV plane model. ! The established model now contains 272 components and 0.517662 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061356Jy sigma=1.170678 ! Fit after self-cal, rms=0.061336Jy sigma=1.170565 ! 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.343 mas, bmaj=7.488 mas, bpa=1.676 degrees ! Estimated noise=0.639083 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.343 x 7.488 at 1.676 degrees (North through East) ! Clean map min=-0.0030873 max=0.45575 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=2.855 mas, bmaj=6.836 mas, bpa=-0.3247 degrees ! Estimated noise=0.804604 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.357852 Jy ! Component: 100 - total flux cleaned = 0.436162 Jy ! Component: 150 - total flux cleaned = 0.460449 Jy ! Component: 200 - total flux cleaned = 0.473928 Jy ! Total flux subtracted in 200 components = 0.473928 Jy ! Clean residual min=-0.006138 max=0.007316 Jy/beam ! Clean residual mean=-0.000000 rms=0.001540 Jy/beam ! Combined flux in latest and established models = 0.473928 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.473928 Jy ! Inverting map and beam ! Estimated beam: bmin=3.343 mas, bmaj=7.488 mas, bpa=1.676 degrees ! Estimated noise=0.639083 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.0112044 Jy ! Component: 100 - total flux cleaned = 0.0187636 Jy ! Component: 150 - total flux cleaned = 0.0244668 Jy ! Component: 200 - total flux cleaned = 0.0285349 Jy ! Total flux subtracted in 200 components = 0.0285349 Jy ! Clean residual min=-0.003980 max=0.003989 Jy/beam ! Clean residual mean=-0.000006 rms=0.001021 Jy/beam ! Combined flux in latest and established models = 0.502463 Jy ! Adding 47 model components to the UV plane model. ! The established model now contains 56 components and 0.502463 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.3 mas, bmaj=11.17 mas, bpa=3.878 degrees ! Estimated noise=0.8032 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0048854 Jy ! Component: 100 - total flux cleaned = 0.00763995 Jy ! Component: 150 - total flux cleaned = 0.00850949 Jy ! Component: 200 - total flux cleaned = 0.00937389 Jy ! Total flux subtracted in 200 components = 0.00937389 Jy ! Clean residual min=-0.003834 max=0.004214 Jy/beam ! Clean residual mean=-0.000012 rms=0.001190 Jy/beam ! Combined flux in latest and established models = 0.511837 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.000852005 Jy ! Component: 100 - total flux cleaned = 0.00160731 Jy ! Component: 150 - total flux cleaned = 0.00208562 Jy ! Component: 200 - total flux cleaned = 0.00252262 Jy ! Total flux subtracted in 200 components = 0.00252262 Jy ! Clean residual min=-0.003649 max=0.004089 Jy/beam ! Clean residual mean=-0.000010 rms=0.001137 Jy/beam ! Combined flux in latest and established models = 0.514359 Jy ! Adding 61 model components to the UV plane model. ! The established model now contains 107 components and 0.51436 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.343 mas, bmaj=7.488 mas, bpa=1.676 degrees ! Estimated noise=0.639083 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000780403 Jy ! Component: 100 - total flux cleaned = 0.00128823 Jy ! Component: 150 - total flux cleaned = 0.00159419 Jy ! Component: 200 - total flux cleaned = 0.00187814 Jy ! Total flux subtracted in 200 components = 0.00187814 Jy ! Clean residual min=-0.003226 max=0.003596 Jy/beam ! Clean residual mean=-0.000005 rms=0.000840 Jy/beam ! Combined flux in latest and established models = 0.516238 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 131 components and 0.516238 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061709Jy sigma=1.174767 ! Fit after self-cal, rms=0.061610Jy sigma=1.173033 wmodel /scr/pima/bg219b_uvs/J1239+0443_S_map.mod ! Writing 131 model components to file: /scr/pima/bg219b_uvs/J1239+0443_S_map.mod wobs /scr/pima/bg219b_uvs/J1239+0443_S_uvs.fits ! Writing UV FITS file: /scr/pima/bg219b_uvs/J1239+0443_S_uvs.fits wwins /scr/pima/bg219b_uvs/J1239+0443_S_map.win ! wwins: Wrote 5 windows to /scr/pima/bg219b_uvs/J1239+0443_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.00141707 Jy ! Component: 100 - total flux cleaned = 0.00241534 Jy ! Component: 150 - total flux cleaned = 0.00313487 Jy ! Component: 200 - total flux cleaned = 0.00361079 Jy ! Component: 250 - total flux cleaned = 0.00386498 Jy ! Component: 300 - total flux cleaned = 0.00410942 Jy ! Component: 350 - total flux cleaned = 0.00429882 Jy ! Component: 400 - total flux cleaned = 0.00448138 Jy ! Component: 450 - total flux cleaned = 0.00456937 Jy ! Component: 500 - total flux cleaned = 0.00465611 Jy ! Component: 550 - total flux cleaned = 0.00469773 Jy ! Component: 600 - total flux cleaned = 0.0048215 Jy ! Component: 650 - total flux cleaned = 0.00490199 Jy ! Component: 700 - total flux cleaned = 0.00498143 Jy ! Component: 750 - total flux cleaned = 0.00498141 Jy ! Component: 800 - total flux cleaned = 0.00490638 Jy ! Component: 850 - total flux cleaned = 0.00494397 Jy ! Component: 900 - total flux cleaned = 0.00497955 Jy ! Component: 950 - total flux cleaned = 0.00490769 Jy ! Component: 1000 - total flux cleaned = 0.00504925 Jy ! Component: 1050 - total flux cleaned = 0.00504984 Jy ! Component: 1100 - total flux cleaned = 0.00518692 Jy ! Component: 1150 - total flux cleaned = 0.00515259 Jy ! Component: 1200 - total flux cleaned = 0.00521884 Jy ! Component: 1250 - total flux cleaned = 0.00518541 Jy ! Component: 1300 - total flux cleaned = 0.00518511 Jy ! Component: 1350 - total flux cleaned = 0.00521676 Jy ! Component: 1400 - total flux cleaned = 0.00512215 Jy ! Component: 1450 - total flux cleaned = 0.00521529 Jy ! Component: 1500 - total flux cleaned = 0.00521478 Jy ! Component: 1550 - total flux cleaned = 0.00509443 Jy ! Component: 1600 - total flux cleaned = 0.00515466 Jy ! Component: 1650 - total flux cleaned = 0.0051254 Jy ! Component: 1700 - total flux cleaned = 0.00509631 Jy ! Component: 1750 - total flux cleaned = 0.00506767 Jy ! Component: 1800 - total flux cleaned = 0.00506767 Jy ! Component: 1850 - total flux cleaned = 0.00495598 Jy ! Component: 1900 - total flux cleaned = 0.00498378 Jy ! Component: 1950 - total flux cleaned = 0.00487449 Jy ! Component: 2000 - total flux cleaned = 0.00487418 Jy ! Component: 2050 - total flux cleaned = 0.00468719 Jy ! Component: 2100 - total flux cleaned = 0.00474056 Jy ! Component: 2150 - total flux cleaned = 0.00479294 Jy ! Component: 2200 - total flux cleaned = 0.0047409 Jy ! Component: 2250 - total flux cleaned = 0.00466379 Jy ! Component: 2300 - total flux cleaned = 0.00461334 Jy ! Component: 2350 - total flux cleaned = 0.00461366 Jy ! Component: 2400 - total flux cleaned = 0.00458872 Jy ! Component: 2450 - total flux cleaned = 0.00458898 Jy ! Component: 2500 - total flux cleaned = 0.00461299 Jy ! Component: 2550 - total flux cleaned = 0.00441928 Jy ! Component: 2600 - total flux cleaned = 0.00441932 Jy ! Component: 2650 - total flux cleaned = 0.00432419 Jy ! Component: 2700 - total flux cleaned = 0.00430081 Jy ! Component: 2750 - total flux cleaned = 0.00425396 Jy ! Component: 2800 - total flux cleaned = 0.0041613 Jy ! Component: 2850 - total flux cleaned = 0.00416141 Jy ! Component: 2900 - total flux cleaned = 0.00420687 Jy ! Component: 2950 - total flux cleaned = 0.00416144 Jy ! Component: 3000 - total flux cleaned = 0.00409456 Jy ! Component: 3050 - total flux cleaned = 0.00405027 Jy ! Component: 3100 - total flux cleaned = 0.00398413 Jy ! Component: 3150 - total flux cleaned = 0.0039188 Jy ! Component: 3200 - total flux cleaned = 0.00385395 Jy ! Component: 3250 - total flux cleaned = 0.00376817 Jy ! Component: 3300 - total flux cleaned = 0.00376823 Jy ! Component: 3350 - total flux cleaned = 0.0038525 Jy ! Component: 3400 - total flux cleaned = 0.00374748 Jy ! Component: 3450 - total flux cleaned = 0.00376814 Jy ! Component: 3500 - total flux cleaned = 0.00366463 Jy ! Component: 3550 - total flux cleaned = 0.00366451 Jy ! Component: 3600 - total flux cleaned = 0.00354233 Jy ! Component: 3650 - total flux cleaned = 0.00358258 Jy ! Component: 3700 - total flux cleaned = 0.00352274 Jy ! Component: 3750 - total flux cleaned = 0.00344327 Jy ! Component: 3800 - total flux cleaned = 0.0034825 Jy ! Component: 3850 - total flux cleaned = 0.00340423 Jy ! Component: 3900 - total flux cleaned = 0.00336542 Jy ! Component: 3950 - total flux cleaned = 0.00336544 Jy ! Component: 4000 - total flux cleaned = 0.00334624 Jy ! Component: 4050 - total flux cleaned = 0.00330826 Jy ! Total flux subtracted in 4096 components = 0.00327054 Jy ! Clean residual min=-0.001070 max=0.001132 Jy/beam ! Clean residual mean=-0.000004 rms=0.000359 Jy/beam ! Combined flux in latest and established models = 0.519508 Jy keep ! Adding 298 model components to the UV plane model. ! The established model now contains 429 components and 0.519508 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219b_uvs/J1239+0443_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.343 x 7.488 at 1.676 degrees (North through East) ! Clean map min=-0.0021272 max=0.45762 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219b_uvs/J1239+0443_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.457621 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000352873 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.231331 0.231331 0.462662 0.925324 1.85065 3.7013 7.40259 14.8052 29.6104 59.2208 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.457 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1296.84 quit ! Quitting program ! Log file /scr/pima/bg219b_uvs/J1239+0443_S_uvs.log closed on Thu Apr 7 01:23:11 2016