! Started logfile: /scr/pima/bg219b_uvs/J2257+0743_S_dfm.log on Thu May 19 20:38:51 2016 float field_size field_size = 1024 float field_cell field_cell = 0.5000 float taper_size taper_size = 20.0 float freq freq = 2.22000 obs /scr/pima/bg219b_uvs/J2257+0743_S_uva.fits ! Reading UV FITS file: /scr/pima/bg219b_uvs/J2257+0743_S_uva.fits ! AN table 1: 23 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.796135 visibilities/baseline/integration-bin. ! Found source: J2257+0743 ! ! 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 3 lines of history. ! ! Reading 3296 visibilities. select rr, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ! 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 ![@/opt64/bin/pima_mupet_01.dfm J2257+0743_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 55 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 55 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 55 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 55 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.090876Jy sigma=27.929820 ! Fit after self-cal, rms=0.625955Jy sigma=16.535468 ! 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.866 mas, bmaj=6.935 mas, bpa=-6.39 degrees ! Estimated noise=0.661671 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.275285 Jy ! Component: 100 - total flux cleaned = 0.363893 Jy ! Total flux subtracted in 100 components = 0.363893 Jy ! Clean residual min=-0.011652 max=0.037418 Jy/beam ! Clean residual mean=0.000053 rms=0.003795 Jy/beam ! Combined flux in latest and established models = 0.363893 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.363893 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.099022Jy sigma=2.284976 ! Fit after self-cal, rms=0.098721Jy sigma=2.274043 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0410518 Jy ! Component: 100 - total flux cleaned = 0.0610844 Jy ! Total flux subtracted in 100 components = 0.0610844 Jy ! Clean residual min=-0.008819 max=0.011805 Jy/beam ! Clean residual mean=0.000022 rms=0.002059 Jy/beam ! Combined flux in latest and established models = 0.424977 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 16 components and 0.424977 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.074412Jy sigma=1.708657 ! Fit after self-cal, rms=0.074172Jy sigma=1.698410 ! Inverting map ! Added new window around map position (-5, -0.5). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0136754 Jy ! Component: 100 - total flux cleaned = 0.0219605 Jy ! Total flux subtracted in 100 components = 0.0219605 Jy ! Clean residual min=-0.007554 max=0.007230 Jy/beam ! Clean residual mean=0.000012 rms=0.001691 Jy/beam ! Combined flux in latest and established models = 0.446938 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 28 components and 0.446938 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070198Jy sigma=1.627479 ! Fit after self-cal, rms=0.070009Jy sigma=1.621594 ! 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.434 mas, bmaj=7.769 mas, bpa=-6.076 degrees ! Estimated noise=0.54582 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.00764568 Jy ! Component: 100 - total flux cleaned = 0.0116423 Jy ! Component: 150 - total flux cleaned = 0.0139757 Jy ! Component: 200 - total flux cleaned = 0.0151341 Jy ! Total flux subtracted in 200 components = 0.0151341 Jy ! Clean residual min=-0.005238 max=0.005582 Jy/beam ! Clean residual mean=-0.000001 rms=0.001318 Jy/beam ! Combined flux in latest and established models = 0.462072 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 48 components and 0.462072 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.068681Jy sigma=1.611745 ! Fit after self-cal, rms=0.068607Jy sigma=1.609518 ! 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.434 x 7.769 at -6.076 degrees (North through East) ! Clean map min=-0.0051187 max=0.36344 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.01 FD 0.85 HN 0.98 KP 1.04 ! LA 1.19 MK 1.02 NL 0.95 OV 1.00 ! PT 1.01 SC 0.98 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.00 HN 1.02 KP 1.01 ! LA 1.11 MK 1.00 NL 1.07 OV 1.02 ! PT 0.98 SC 1.00 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 FD 1.14 HN 1.02 KP 0.91 ! LA 0.91 MK 1.04 NL 1.01 OV 0.96 ! PT 1.00 SC 1.04 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 0.96 KP 0.87 ! LA 0.85 MK 1.02 NL 1.00 OV 1.01 ! PT 1.05 SC 0.99 ! ! ! Fit before self-cal, rms=0.068607Jy sigma=1.609518 ! Fit after self-cal, rms=0.054340Jy sigma=1.293983 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.45 mas, bmaj=7.78 mas, bpa=-5.919 degrees ! Estimated noise=0.546604 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.000250929 Jy ! Component: 100 - total flux cleaned = 0.000299247 Jy ! Component: 150 - total flux cleaned = 0.000258303 Jy ! Component: 200 - total flux cleaned = 0.000258844 Jy ! Total flux subtracted in 200 components = 0.000258844 Jy ! Clean residual min=-0.003653 max=0.003438 Jy/beam ! Clean residual mean=0.000002 rms=0.000857 Jy/beam ! Combined flux in latest and established models = 0.462331 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 58 components and 0.462331 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054265Jy sigma=1.292131 ! Fit after self-cal, rms=0.054258Jy sigma=1.291467 ! 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.054258Jy sigma=1.291467 ! Fit after self-cal, rms=0.053467Jy sigma=1.271327 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.449 mas, bmaj=7.776 mas, bpa=-5.897 degrees ! Estimated noise=0.546516 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000277293 Jy ! Component: 100 - total flux cleaned = -0.000243764 Jy ! Component: 150 - total flux cleaned = -0.000159142 Jy ! Component: 200 - total flux cleaned = -6.01494e-05 Jy ! Total flux subtracted in 200 components = -6.01494e-05 Jy ! Clean residual min=-0.003179 max=0.003101 Jy/beam ! Clean residual mean=-0.000000 rms=0.000739 Jy/beam ! Combined flux in latest and established models = 0.462271 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 65 components and 0.462271 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053432Jy sigma=1.270287 ! Fit after self-cal, rms=0.053432Jy sigma=1.270158 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 (-11.5, -4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00234986 Jy ! Component: 100 - total flux cleaned = 0.00260981 Jy ! Component: 150 - total flux cleaned = 0.00266497 Jy ! Component: 200 - total flux cleaned = 0.00262398 Jy ! Total flux subtracted in 200 components = 0.00262398 Jy ! Clean residual min=-0.003035 max=0.002866 Jy/beam ! Clean residual mean=-0.000001 rms=0.000701 Jy/beam ! Combined flux in latest and established models = 0.464895 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 79 components and 0.464895 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053249Jy sigma=1.266095 ! Fit after self-cal, rms=0.053231Jy sigma=1.265730 ! 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.053231Jy sigma=1.265730 ! Fit after self-cal, rms=0.053197Jy sigma=1.265513 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.451 mas, bmaj=7.773 mas, bpa=-5.834 degrees ! Estimated noise=0.546528 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000667283 Jy ! Component: 100 - total flux cleaned = 0.000704814 Jy ! Component: 150 - total flux cleaned = 0.000671785 Jy ! Component: 200 - total flux cleaned = 0.000671351 Jy ! Total flux subtracted in 200 components = 0.000671351 Jy ! Clean residual min=-0.003034 max=0.002881 Jy/beam ! Clean residual mean=-0.000000 rms=0.000687 Jy/beam ! Combined flux in latest and established models = 0.465566 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 95 components and 0.465566 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053145Jy sigma=1.264432 ! Fit after self-cal, rms=0.053142Jy sigma=1.264355 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.000140444 Jy ! Component: 100 - total flux cleaned = 0.000224348 Jy ! Component: 150 - total flux cleaned = 0.000224087 Jy ! Component: 200 - total flux cleaned = 0.00029616 Jy ! Total flux subtracted in 200 components = 0.00029616 Jy ! Clean residual min=-0.002958 max=0.002884 Jy/beam ! Clean residual mean=-0.000000 rms=0.000681 Jy/beam ! Combined flux in latest and established models = 0.465862 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 104 components and 0.465862 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053117Jy sigma=1.263729 ! Fit after self-cal, rms=0.053117Jy sigma=1.263700 ! 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.053117Jy sigma=1.263700 ! Fit after self-cal, rms=0.053097Jy sigma=1.263626 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.491 mas, bmaj=11.23 mas, bpa=-6.997 degrees ! Estimated noise=0.681408 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000749782 Jy ! Component: 100 - total flux cleaned = 0.000840183 Jy ! Component: 150 - total flux cleaned = 0.000894061 Jy ! Component: 200 - total flux cleaned = 0.000910397 Jy ! Total flux subtracted in 200 components = 0.000910397 Jy ! Clean residual min=-0.003209 max=0.003336 Jy/beam ! Clean residual mean=-0.000001 rms=0.000867 Jy/beam ! Combined flux in latest and established models = 0.466773 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 134 components and 0.466773 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053094Jy sigma=1.263483 ! Fit after self-cal, rms=0.053093Jy sigma=1.263441 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.000211805 Jy ! Component: 100 - total flux cleaned = 0.000184671 Jy ! Component: 150 - total flux cleaned = 0.00019706 Jy ! Component: 200 - total flux cleaned = 0.000197669 Jy ! Total flux subtracted in 200 components = 0.000197669 Jy ! Clean residual min=-0.003167 max=0.003309 Jy/beam ! Clean residual mean=-0.000001 rms=0.000862 Jy/beam ! Combined flux in latest and established models = 0.46697 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 145 components and 0.46697 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053091Jy sigma=1.263449 ! Fit after self-cal, rms=0.053092Jy sigma=1.263437 ! 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.452 mas, bmaj=7.772 mas, bpa=-5.803 degrees ! Estimated noise=0.546443 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.452 x 7.772 at -5.803 degrees (North through East) ! Clean map min=-0.0029537 max=0.36451 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.878 mas, bmaj=6.933 mas, bpa=-6.119 degrees ! Estimated noise=0.662764 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.275583 Jy ! Component: 100 - total flux cleaned = 0.365368 Jy ! Component: 150 - total flux cleaned = 0.405821 Jy ! Component: 200 - total flux cleaned = 0.426622 Jy ! Total flux subtracted in 200 components = 0.426622 Jy ! Clean residual min=-0.005653 max=0.010570 Jy/beam ! Clean residual mean=0.000019 rms=0.001491 Jy/beam ! Combined flux in latest and established models = 0.426622 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.426622 Jy ! Inverting map and beam ! Estimated beam: bmin=3.452 mas, bmaj=7.772 mas, bpa=-5.803 degrees ! Estimated noise=0.546443 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.0161408 Jy ! Component: 100 - total flux cleaned = 0.0249199 Jy ! Component: 150 - total flux cleaned = 0.0303319 Jy ! Component: 200 - total flux cleaned = 0.0338914 Jy ! Total flux subtracted in 200 components = 0.0338914 Jy ! Clean residual min=-0.003236 max=0.002816 Jy/beam ! Clean residual mean=0.000003 rms=0.000756 Jy/beam ! Combined flux in latest and established models = 0.460514 Jy ! Adding 33 model components to the UV plane model. ! The established model now contains 45 components and 0.460514 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.491 mas, bmaj=11.23 mas, bpa=-6.997 degrees ! Estimated noise=0.681408 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00339893 Jy ! Component: 100 - total flux cleaned = 0.00538562 Jy ! Component: 150 - total flux cleaned = 0.00580375 Jy ! Component: 200 - total flux cleaned = 0.0060442 Jy ! Total flux subtracted in 200 components = 0.0060442 Jy ! Clean residual min=-0.003400 max=0.003184 Jy/beam ! Clean residual mean=-0.000001 rms=0.000886 Jy/beam ! Combined flux in latest and established models = 0.466558 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.000161009 Jy ! Component: 100 - total flux cleaned = 0.000298064 Jy ! Component: 150 - total flux cleaned = 0.000355645 Jy ! Component: 200 - total flux cleaned = 0.000408328 Jy ! Total flux subtracted in 200 components = 0.000408328 Jy ! Clean residual min=-0.003237 max=0.003174 Jy/beam ! Clean residual mean=-0.000001 rms=0.000870 Jy/beam ! Combined flux in latest and established models = 0.466966 Jy ! Adding 51 model components to the UV plane model. ! The established model now contains 90 components and 0.466966 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.452 mas, bmaj=7.772 mas, bpa=-5.803 degrees ! Estimated noise=0.546443 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 9.7499e-05 Jy ! Component: 100 - total flux cleaned = 0.000146233 Jy ! Component: 150 - total flux cleaned = 0.000107003 Jy ! Component: 200 - total flux cleaned = 7.38801e-05 Jy ! Total flux subtracted in 200 components = 7.38801e-05 Jy ! Clean residual min=-0.002816 max=0.002889 Jy/beam ! Clean residual mean=-0.000001 rms=0.000687 Jy/beam ! Combined flux in latest and established models = 0.46704 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 106 components and 0.46704 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053168Jy sigma=1.265400 ! Fit after self-cal, rms=0.053164Jy sigma=1.265129 wmodel /J2257+0743_S_map.mod ! wmodel: Unable to open new model file: /J2257+0743_S_map.mod ! Error occured in command: wmodel ![Exited script file: /opt64/bin/pima_mupet_01.dfm] ! wmap /scr/pima/bg219b_uvs/J2257+0743_S_map.fits ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.452 x 7.772 at -5.803 degrees (North through East) ! Clean map min=-0.0027387 max=0.36434 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219b_uvs/J2257+0743_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is", peak_flux ! The peak flux is 0.364335 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000684984 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.564028 0.564028 1.12806 2.25611 4.51222 9.02444 18.0489 36.0978 72.1955 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.364 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 531.888 quit ! Quitting program ! Log file /scr/pima/bg219b_uvs/J2257+0743_S_dfm.log closed on Thu May 19 20:38:53 2016