! Started logfile: /scr/pima/bg219e_uvs/J1041+523A_S_uvs.log on Thu Apr 7 06:42:09 2016 obs /scr/pima/bg219e_uvs/J1041+523A_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219e_uvs/J1041+523A_S_uva.fits ! AN table 1: 16 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.8 visibilities/baseline/integration-bin. ! Found source: J1041+523A ! ! 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 2304 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/bg219e_uvs/J1041+523A_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 13 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 13 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 13 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 13 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.136301Jy sigma=22.593607 ! Fit after self-cal, rms=0.502790Jy sigma=9.931341 ! 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.257 mas, bmaj=4.736 mas, bpa=-28.47 degrees ! Estimated noise=0.970301 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.38319 Jy ! Component: 100 - total flux cleaned = 0.47809 Jy ! Total flux subtracted in 100 components = 0.47809 Jy ! Clean residual min=-0.012205 max=0.036498 Jy/beam ! Clean residual mean=-0.000073 rms=0.003751 Jy/beam ! Combined flux in latest and established models = 0.47809 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.47809 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.085898Jy sigma=1.645825 ! Fit after self-cal, rms=0.085862Jy sigma=1.644632 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0362334 Jy ! Component: 100 - total flux cleaned = 0.0528883 Jy ! Total flux subtracted in 100 components = 0.0528883 Jy ! Clean residual min=-0.008216 max=0.012287 Jy/beam ! Clean residual mean=-0.000040 rms=0.002177 Jy/beam ! Combined flux in latest and established models = 0.530978 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 22 components and 0.530978 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068951Jy sigma=1.279939 ! Fit after self-cal, rms=0.068919Jy sigma=1.278991 ! 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.877 mas, bmaj=5.674 mas, bpa=-28.29 degrees ! Estimated noise=0.764175 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 (17, 35). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.01351 Jy ! Component: 100 - total flux cleaned = 0.0212709 Jy ! Component: 150 - total flux cleaned = 0.0264655 Jy ! Component: 200 - total flux cleaned = 0.0297436 Jy ! Total flux subtracted in 200 components = 0.0297436 Jy ! Clean residual min=-0.007449 max=0.007951 Jy/beam ! Clean residual mean=-0.000047 rms=0.001702 Jy/beam ! Combined flux in latest and established models = 0.560722 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 40 components and 0.560722 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065922Jy sigma=1.220284 ! Fit after self-cal, rms=0.065743Jy sigma=1.215110 ! 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.877 x 5.674 at -28.29 degrees (North through East) ! Clean map min=-0.0076045 max=0.49441 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.01 HN 0.97 KP 0.98 ! LA 1.00 MK 1.03 NL 1.01 OV 0.99 ! PT 0.99 SC 1.06 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.01 HN 0.97 KP 1.01 ! LA 0.98 MK 0.97 NL 1.02 OV 0.99 ! PT 0.98 SC 1.06 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.01 HN 0.97 KP 0.99 ! LA 1.01 MK 1.02 NL 0.95 OV 0.98 ! PT 0.98 SC 1.04 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.02 HN 0.97 KP 0.98 ! LA 1.00 MK 1.00 NL 1.00 OV 0.98 ! PT 1.00 SC 1.06 ! ! ! Fit before self-cal, rms=0.065743Jy sigma=1.215110 ! Fit after self-cal, rms=0.063827Jy sigma=1.174125 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.892 mas, bmaj=5.732 mas, bpa=-28.78 degrees ! Estimated noise=0.762177 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.000574166 Jy ! Component: 100 - total flux cleaned = 0.00114842 Jy ! Component: 150 - total flux cleaned = 0.00115179 Jy ! Component: 200 - total flux cleaned = 0.00115039 Jy ! Total flux subtracted in 200 components = 0.00115039 Jy ! Clean residual min=-0.005472 max=0.006823 Jy/beam ! Clean residual mean=-0.000038 rms=0.001404 Jy/beam ! Combined flux in latest and established models = 0.561872 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 59 components and 0.561872 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.063466Jy sigma=1.168349 ! Fit after self-cal, rms=0.063478Jy sigma=1.167985 ! 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.063478Jy sigma=1.167985 ! Fit after self-cal, rms=0.062135Jy sigma=1.142046 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.906 mas, bmaj=5.688 mas, bpa=-28.44 degrees ! Estimated noise=0.761119 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000364495 Jy ! Component: 100 - total flux cleaned = 0.00121726 Jy ! Component: 150 - total flux cleaned = 0.00175363 Jy ! Component: 200 - total flux cleaned = 0.00194554 Jy ! Total flux subtracted in 200 components = 0.00194554 Jy ! Clean residual min=-0.004556 max=0.006442 Jy/beam ! Clean residual mean=-0.000013 rms=0.001245 Jy/beam ! Combined flux in latest and established models = 0.563818 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 84 components and 0.563818 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061992Jy sigma=1.139516 ! Fit after self-cal, rms=0.061992Jy sigma=1.139198 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 (27, 58.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00524369 Jy ! Component: 100 - total flux cleaned = 0.00770852 Jy ! Component: 150 - total flux cleaned = 0.00951441 Jy ! Component: 200 - total flux cleaned = 0.0109915 Jy ! Total flux subtracted in 200 components = 0.0109915 Jy ! Clean residual min=-0.004246 max=0.005239 Jy/beam ! Clean residual mean=-0.000016 rms=0.001133 Jy/beam ! Combined flux in latest and established models = 0.57481 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 103 components and 0.57481 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061529Jy sigma=1.129386 ! Fit after self-cal, rms=0.061521Jy sigma=1.129003 ! Inverting map ! Added new window around map position (8, 22). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00503774 Jy ! Component: 100 - total flux cleaned = 0.00736966 Jy ! Component: 150 - total flux cleaned = 0.0080154 Jy ! Component: 200 - total flux cleaned = 0.00879574 Jy ! Total flux subtracted in 200 components = 0.00879574 Jy ! Clean residual min=-0.004042 max=0.004072 Jy/beam ! Clean residual mean=-0.000010 rms=0.001007 Jy/beam ! Combined flux in latest and established models = 0.583605 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 137 components and 0.583605 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061068Jy sigma=1.119476 ! Fit after self-cal, rms=0.061051Jy sigma=1.119252 ! 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.061051Jy sigma=1.119252 ! Fit after self-cal, rms=0.060950Jy sigma=1.118286 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.913 mas, bmaj=5.689 mas, bpa=-28.36 degrees ! Estimated noise=0.760042 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000254787 Jy ! Component: 100 - total flux cleaned = 0.000311432 Jy ! Component: 150 - total flux cleaned = 0.000311615 Jy ! Component: 200 - total flux cleaned = 0.000464638 Jy ! Total flux subtracted in 200 components = 0.000464638 Jy ! Clean residual min=-0.003902 max=0.003886 Jy/beam ! Clean residual mean=-0.000002 rms=0.000968 Jy/beam ! Combined flux in latest and established models = 0.58407 Jy selfcal ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 157 components and 0.58407 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060844Jy sigma=1.116351 ! Fit after self-cal, rms=0.060845Jy sigma=1.116308 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.77657e-05 Jy ! Component: 100 - total flux cleaned = 0.000140754 Jy ! Component: 150 - total flux cleaned = 0.000227363 Jy ! Component: 200 - total flux cleaned = 0.000390264 Jy ! Total flux subtracted in 200 components = 0.000390264 Jy ! Clean residual min=-0.003800 max=0.003827 Jy/beam ! Clean residual mean=-0.000001 rms=0.000956 Jy/beam ! Combined flux in latest and established models = 0.58446 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 168 components and 0.58446 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060783Jy sigma=1.115213 ! Fit after self-cal, rms=0.060781Jy sigma=1.115195 ! 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.060781Jy sigma=1.115195 ! Fit after self-cal, rms=0.060765Jy sigma=1.115010 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.171 mas, bmaj=9.172 mas, bpa=-22.22 degrees ! Estimated noise=0.926499 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000921002 Jy ! Component: 100 - total flux cleaned = -0.000764433 Jy ! Component: 150 - total flux cleaned = -0.000580243 Jy ! Component: 200 - total flux cleaned = -0.000416605 Jy ! Total flux subtracted in 200 components = -0.000416605 Jy ! Clean residual min=-0.003862 max=0.003843 Jy/beam ! Clean residual mean=0.000000 rms=0.001100 Jy/beam ! Combined flux in latest and established models = 0.584043 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 180 components and 0.584043 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060726Jy sigma=1.114251 ! Fit after self-cal, rms=0.060719Jy sigma=1.114133 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.66538e-05 Jy ! Component: 100 - total flux cleaned = 7.16323e-05 Jy ! Component: 150 - total flux cleaned = 0.000173871 Jy ! Component: 200 - total flux cleaned = 0.00023862 Jy ! Total flux subtracted in 200 components = 0.00023862 Jy ! Clean residual min=-0.003893 max=0.003722 Jy/beam ! Clean residual mean=-0.000000 rms=0.001086 Jy/beam ! Combined flux in latest and established models = 0.584282 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 195 components and 0.584282 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060704Jy sigma=1.113853 ! Fit after self-cal, rms=0.060702Jy sigma=1.113827 ! 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.916 mas, bmaj=5.69 mas, bpa=-28.32 degrees ! Estimated noise=0.759659 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.916 x 5.69 at -28.32 degrees (North through East) ! Clean map min=-0.0037386 max=0.49275 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.288 mas, bmaj=4.744 mas, bpa=-28.45 degrees ! Estimated noise=0.971314 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.383468 Jy ! Component: 100 - total flux cleaned = 0.477041 Jy ! Component: 150 - total flux cleaned = 0.512031 Jy ! Component: 200 - total flux cleaned = 0.527594 Jy ! Total flux subtracted in 200 components = 0.527594 Jy ! Clean residual min=-0.006855 max=0.007828 Jy/beam ! Clean residual mean=-0.000024 rms=0.001695 Jy/beam ! Combined flux in latest and established models = 0.527594 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 16 model components to the UV plane model. ! The established model now contains 16 components and 0.527594 Jy ! Inverting map and beam ! Estimated beam: bmin=3.916 mas, bmaj=5.69 mas, bpa=-28.32 degrees ! Estimated noise=0.759659 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.0108392 Jy ! Component: 100 - total flux cleaned = 0.0183614 Jy ! Component: 150 - total flux cleaned = 0.0244054 Jy ! Component: 200 - total flux cleaned = 0.0294132 Jy ! Total flux subtracted in 200 components = 0.0294132 Jy ! Clean residual min=-0.004455 max=0.004692 Jy/beam ! Clean residual mean=-0.000016 rms=0.001190 Jy/beam ! Combined flux in latest and established models = 0.557007 Jy ! Adding 35 model components to the UV plane model. ! The established model now contains 42 components and 0.557007 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.171 mas, bmaj=9.172 mas, bpa=-22.22 degrees ! Estimated noise=0.926499 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00601344 Jy ! Component: 100 - total flux cleaned = 0.010547 Jy ! Component: 150 - total flux cleaned = 0.0142514 Jy ! Component: 200 - total flux cleaned = 0.0172992 Jy ! Total flux subtracted in 200 components = 0.0172992 Jy ! Clean residual min=-0.004116 max=0.003933 Jy/beam ! Clean residual mean=-0.000009 rms=0.001234 Jy/beam ! Combined flux in latest and established models = 0.574307 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.00224108 Jy ! Component: 100 - total flux cleaned = 0.00355466 Jy ! Component: 150 - total flux cleaned = 0.00448622 Jy ! Component: 200 - total flux cleaned = 0.00518488 Jy ! Total flux subtracted in 200 components = 0.00518488 Jy ! Clean residual min=-0.003717 max=0.003754 Jy/beam ! Clean residual mean=-0.000004 rms=0.001141 Jy/beam ! Combined flux in latest and established models = 0.579491 Jy ! Adding 76 model components to the UV plane model. ! The established model now contains 116 components and 0.579491 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.916 mas, bmaj=5.69 mas, bpa=-28.32 degrees ! Estimated noise=0.759659 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00153247 Jy ! Component: 100 - total flux cleaned = 0.00228568 Jy ! Component: 150 - total flux cleaned = 0.00273298 Jy ! Component: 200 - total flux cleaned = 0.00326973 Jy ! Total flux subtracted in 200 components = 0.00326973 Jy ! Clean residual min=-0.003535 max=0.003839 Jy/beam ! Clean residual mean=-0.000000 rms=0.000961 Jy/beam ! Combined flux in latest and established models = 0.582761 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 134 components and 0.582761 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060867Jy sigma=1.117632 ! Fit after self-cal, rms=0.060856Jy sigma=1.117387 wmodel /scr/pima/bg219e_uvs/J1041+523A_S_map.mod ! Writing 134 model components to file: /scr/pima/bg219e_uvs/J1041+523A_S_map.mod wobs /scr/pima/bg219e_uvs/J1041+523A_S_uvs.fits ! Writing UV FITS file: /scr/pima/bg219e_uvs/J1041+523A_S_uvs.fits wwins /scr/pima/bg219e_uvs/J1041+523A_S_map.win ! wwins: Wrote 4 windows to /scr/pima/bg219e_uvs/J1041+523A_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.000587268 Jy ! Component: 100 - total flux cleaned = 0.000971445 Jy ! Component: 150 - total flux cleaned = 0.00152287 Jy ! Component: 200 - total flux cleaned = 0.00187614 Jy ! Component: 250 - total flux cleaned = 0.00227672 Jy ! Component: 300 - total flux cleaned = 0.0028282 Jy ! Component: 350 - total flux cleaned = 0.0033103 Jy ! Component: 400 - total flux cleaned = 0.0037295 Jy ! Component: 450 - total flux cleaned = 0.00413762 Jy ! Component: 500 - total flux cleaned = 0.00428603 Jy ! Component: 550 - total flux cleaned = 0.00453064 Jy ! Component: 600 - total flux cleaned = 0.00481739 Jy ! Component: 650 - total flux cleaned = 0.00477027 Jy ! Component: 700 - total flux cleaned = 0.00500215 Jy ! Component: 750 - total flux cleaned = 0.00518288 Jy ! Component: 800 - total flux cleaned = 0.00531564 Jy ! Component: 850 - total flux cleaned = 0.0054894 Jy ! Component: 900 - total flux cleaned = 0.00557481 Jy ! Component: 950 - total flux cleaned = 0.00565917 Jy ! Component: 1000 - total flux cleaned = 0.00565873 Jy ! Component: 1050 - total flux cleaned = 0.00565948 Jy ! Component: 1100 - total flux cleaned = 0.00578023 Jy ! Component: 1150 - total flux cleaned = 0.00581976 Jy ! Component: 1200 - total flux cleaned = 0.00581897 Jy ! Component: 1250 - total flux cleaned = 0.00578042 Jy ! Component: 1300 - total flux cleaned = 0.00585684 Jy ! Component: 1350 - total flux cleaned = 0.00581993 Jy ! Component: 1400 - total flux cleaned = 0.00589373 Jy ! Component: 1450 - total flux cleaned = 0.00589418 Jy ! Component: 1500 - total flux cleaned = 0.00589464 Jy ! Component: 1550 - total flux cleaned = 0.00589485 Jy ! Component: 1600 - total flux cleaned = 0.0058254 Jy ! Component: 1650 - total flux cleaned = 0.00592945 Jy ! Component: 1700 - total flux cleaned = 0.00599727 Jy ! Component: 1750 - total flux cleaned = 0.00606464 Jy ! Component: 1800 - total flux cleaned = 0.00606441 Jy ! Component: 1850 - total flux cleaned = 0.00613039 Jy ! Component: 1900 - total flux cleaned = 0.00622826 Jy ! Component: 1950 - total flux cleaned = 0.00632456 Jy ! Component: 2000 - total flux cleaned = 0.00622853 Jy ! Component: 2050 - total flux cleaned = 0.00654351 Jy ! Component: 2100 - total flux cleaned = 0.00663652 Jy ! Component: 2150 - total flux cleaned = 0.00666676 Jy ! Component: 2200 - total flux cleaned = 0.00672838 Jy ! Component: 2250 - total flux cleaned = 0.00693886 Jy ! Component: 2300 - total flux cleaned = 0.00711742 Jy ! Component: 2350 - total flux cleaned = 0.00723513 Jy ! Component: 2400 - total flux cleaned = 0.00726387 Jy ! Component: 2450 - total flux cleaned = 0.00737938 Jy ! Component: 2500 - total flux cleaned = 0.00746527 Jy ! Component: 2550 - total flux cleaned = 0.00757875 Jy ! Component: 2600 - total flux cleaned = 0.00771916 Jy ! Component: 2650 - total flux cleaned = 0.00788574 Jy ! Component: 2700 - total flux cleaned = 0.00799557 Jy ! Component: 2750 - total flux cleaned = 0.00807719 Jy ! Component: 2800 - total flux cleaned = 0.00821221 Jy ! Component: 2850 - total flux cleaned = 0.00834587 Jy ! Component: 2900 - total flux cleaned = 0.00842546 Jy ! Component: 2950 - total flux cleaned = 0.00863563 Jy ! Component: 3000 - total flux cleaned = 0.00871365 Jy ! Component: 3050 - total flux cleaned = 0.0088431 Jy ! Component: 3100 - total flux cleaned = 0.00902217 Jy ! Component: 3150 - total flux cleaned = 0.00919953 Jy ! Component: 3200 - total flux cleaned = 0.00927464 Jy ! Component: 3250 - total flux cleaned = 0.00927473 Jy ! Component: 3300 - total flux cleaned = 0.0093984 Jy ! Component: 3350 - total flux cleaned = 0.00949634 Jy ! Component: 3400 - total flux cleaned = 0.00959375 Jy ! Component: 3450 - total flux cleaned = 0.0097386 Jy ! Component: 3500 - total flux cleaned = 0.00981027 Jy ! Component: 3550 - total flux cleaned = 0.00985761 Jy ! Component: 3600 - total flux cleaned = 0.0100462 Jy ! Component: 3650 - total flux cleaned = 0.0100932 Jy ! Component: 3700 - total flux cleaned = 0.0102091 Jy ! Component: 3750 - total flux cleaned = 0.0102093 Jy ! Component: 3800 - total flux cleaned = 0.010324 Jy ! Component: 3850 - total flux cleaned = 0.0104374 Jy ! Component: 3900 - total flux cleaned = 0.0104824 Jy ! Component: 3950 - total flux cleaned = 0.0106387 Jy ! Component: 4000 - total flux cleaned = 0.0107275 Jy ! Component: 4050 - total flux cleaned = 0.0107496 Jy ! Total flux subtracted in 4096 components = 0.0107717 Jy ! Clean residual min=-0.001228 max=0.001261 Jy/beam ! Clean residual mean=-0.000002 rms=0.000404 Jy/beam ! Combined flux in latest and established models = 0.593533 Jy keep ! Adding 292 model components to the UV plane model. ! The established model now contains 426 components and 0.593533 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219e_uvs/J1041+523A_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.916 x 5.69 at -28.32 degrees (North through East) ! Clean map min=-0.0022938 max=0.49276 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219e_uvs/J1041+523A_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.492757 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000400565 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.243871 0.243871 0.487743 0.975485 1.95097 3.90194 7.80388 15.6078 31.2155 62.4311 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0012 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.492 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1230.16 quit ! Quitting program ! Log file /scr/pima/bg219e_uvs/J1041+523A_S_uvs.log closed on Thu Apr 7 06:42:13 2016