! Started logfile: /scr/pima/bp171ae_uvs/J0013+4051_X_uvs.log on Sat Oct 12 00:30:50 2013 obs /scr/pima/bp171ae_uvs/J0013+4051_X_uva.fits ! Reading UV FITS file: /scr/pima/bp171ae_uvs/J0013+4051_X_uva.fits ! AN table 1: 4 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.883929 visibilities/baseline/integration-bin. ! Found source: J0013+4051 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 792 visibilities. select RR ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /scr/pima/bp171ae_uvs/J0013+4051_X] 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.200x0.200 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 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.100047Jy sigma=15.640547 ! Fit after self-cal, rms=0.561895Jy sigma=7.470699 ! 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=1.008 mas, bmaj=3.11 mas, bpa=73.7 degrees ! Estimated noise=3.05763 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.330374 Jy ! Component: 100 - total flux cleaned = 0.422349 Jy ! Total flux subtracted in 100 components = 0.422349 Jy ! Clean residual min=-0.022457 max=0.040186 Jy/beam ! Clean residual mean=-0.000240 rms=0.006606 Jy/beam ! Combined flux in latest and established models = 0.422349 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.422349 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.083647Jy sigma=1.335670 ! Fit after self-cal, rms=0.083550Jy sigma=1.334571 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0431599 Jy ! Component: 100 - total flux cleaned = 0.0637248 Jy ! Total flux subtracted in 100 components = 0.0637248 Jy ! Clean residual min=-0.014180 max=0.013118 Jy/beam ! Clean residual mean=-0.000163 rms=0.003321 Jy/beam ! Combined flux in latest and established models = 0.486074 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 10 components and 0.486074 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.052197Jy sigma=0.812686 ! Fit after self-cal, rms=0.052029Jy sigma=0.810999 ! 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=1.334 mas, bmaj=3.318 mas, bpa=71.07 degrees ! Estimated noise=1.84892 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.0182854 Jy ! Component: 100 - total flux cleaned = 0.0278841 Jy ! Component: 150 - total flux cleaned = 0.0341592 Jy ! Component: 200 - total flux cleaned = 0.0385237 Jy ! Total flux subtracted in 200 components = 0.0385237 Jy ! Clean residual min=-0.017948 max=0.013230 Jy/beam ! Clean residual mean=-0.000562 rms=0.004201 Jy/beam ! Combined flux in latest and established models = 0.524598 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 41 components and 0.524597 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.047395Jy sigma=0.696152 ! Fit after self-cal, rms=0.047312Jy sigma=0.695428 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.13 HN 0.94 KP 1.00 LA 1.02 ! NL 1.07 OV 1.10 PT 0.91 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 HN 0.94 KP 0.98 LA 0.98 ! NL 1.05 OV 1.01 PT 0.91 SC 0.95 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.87 HN 0.98 KP 1.12 LA 0.95 ! NL 1.03 OV 1.06 PT 0.92 SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 HN 1.02 KP 0.95 LA 1.00 ! NL 1.01 OV 1.06 PT 0.94 SC 1.03 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 HN 1.00 KP 1.10 LA 1.01 ! NL 0.95 OV 1.04 PT 0.89 SC 0.95 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 HN 1.09 KP 1.07 LA 1.10 ! NL 1.03 OV 1.09 PT 0.95 SC 1.00 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 HN 0.99 KP 1.04 LA 0.97 ! NL 0.99 OV 1.10 PT 0.89 SC 0.99 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.17 HN 1.01 KP 1.06 LA 0.91 ! NL 0.99 OV 1.09 PT 0.85 SC 1.08 ! ! ! Fit before self-cal, rms=0.047312Jy sigma=0.695428 ! Fit after self-cal, rms=0.021599Jy sigma=0.260838 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.336 mas, bmaj=3.324 mas, bpa=70.9 degrees ! Estimated noise=1.84259 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 (-4.8, -5.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00312706 Jy ! Component: 100 - total flux cleaned = 0.00341001 Jy ! Component: 150 - total flux cleaned = 0.00355854 Jy ! Component: 200 - total flux cleaned = 0.00361698 Jy ! Total flux subtracted in 200 components = 0.00361698 Jy ! Clean residual min=-0.002435 max=0.002863 Jy/beam ! Clean residual mean=0.000000 rms=0.000697 Jy/beam ! Combined flux in latest and established models = 0.528214 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 62 components and 0.528214 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020651Jy sigma=0.247130 ! Fit after self-cal, rms=0.020650Jy sigma=0.246699 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020650Jy sigma=0.246699 ! Fit after self-cal, rms=0.020636Jy sigma=0.246522 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.335 mas, bmaj=3.324 mas, bpa=70.9 degrees ! Estimated noise=1.84095 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000231159 Jy ! Component: 100 - total flux cleaned = 0.000234064 Jy ! Component: 150 - total flux cleaned = 0.000323292 Jy ! Component: 200 - total flux cleaned = 0.000361539 Jy ! Total flux subtracted in 200 components = 0.000361539 Jy ! Clean residual min=-0.002132 max=0.002659 Jy/beam ! Clean residual mean=0.000002 rms=0.000632 Jy/beam ! Combined flux in latest and established models = 0.528576 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 74 components and 0.528576 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020413Jy sigma=0.243376 ! Fit after self-cal, rms=0.020399Jy sigma=0.243174 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.11045e-05 Jy ! Component: 100 - total flux cleaned = 7.5962e-05 Jy ! Component: 150 - total flux cleaned = 0.000138157 Jy ! Component: 200 - total flux cleaned = 0.000138549 Jy ! Total flux subtracted in 200 components = 0.000138549 Jy ! Clean residual min=-0.002025 max=0.002546 Jy/beam ! Clean residual mean=0.000002 rms=0.000596 Jy/beam ! Combined flux in latest and established models = 0.528714 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 86 components and 0.528714 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020298Jy sigma=0.241634 ! Fit after self-cal, rms=0.020289Jy sigma=0.241511 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020289Jy sigma=0.241511 ! Fit after self-cal, rms=0.020270Jy sigma=0.241256 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.334 mas, bmaj=3.324 mas, bpa=70.89 degrees ! Estimated noise=1.83976 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000155759 Jy ! Component: 100 - total flux cleaned = -0.000248171 Jy ! Component: 150 - total flux cleaned = -0.000275669 Jy ! Component: 200 - total flux cleaned = -0.000277099 Jy ! Total flux subtracted in 200 components = -0.000277099 Jy ! Clean residual min=-0.001927 max=0.002425 Jy/beam ! Clean residual mean=0.000004 rms=0.000564 Jy/beam ! Combined flux in latest and established models = 0.528437 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 91 components and 0.528437 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020172Jy sigma=0.240170 ! Fit after self-cal, rms=0.020173Jy sigma=0.240110 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 (12.8, -10.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100324 Jy ! Component: 100 - total flux cleaned = 0.000725883 Jy ! Component: 150 - total flux cleaned = 0.000511865 Jy ! Component: 200 - total flux cleaned = 0.000481407 Jy ! Total flux subtracted in 200 components = 0.000481407 Jy ! Clean residual min=-0.001865 max=0.001880 Jy/beam ! Clean residual mean=0.000010 rms=0.000464 Jy/beam ! Combined flux in latest and established models = 0.528919 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 122 components and 0.528919 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.019875Jy sigma=0.236441 ! Fit after self-cal, rms=0.019900Jy sigma=0.236337 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.019900Jy sigma=0.236337 ! Fit after self-cal, rms=0.019886Jy sigma=0.236169 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.55 mas, bmaj=3.557 mas, bpa=65.24 degrees ! Estimated noise=1.9722 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.07893e-06 Jy ! Component: 100 - total flux cleaned = -3.12483e-05 Jy ! Component: 150 - total flux cleaned = -3.00876e-05 Jy ! Component: 200 - total flux cleaned = -6.17565e-06 Jy ! Total flux subtracted in 200 components = -6.17565e-06 Jy ! Clean residual min=-0.001606 max=0.001877 Jy/beam ! Clean residual mean=0.000017 rms=0.000481 Jy/beam ! Combined flux in latest and established models = 0.528913 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 141 components and 0.528913 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.019829Jy sigma=0.235381 ! Fit after self-cal, rms=0.019832Jy sigma=0.235360 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 = -9.63101e-05 Jy ! Component: 100 - total flux cleaned = -5.59981e-05 Jy ! Component: 150 - total flux cleaned = -3.77254e-05 Jy ! Component: 200 - total flux cleaned = -1.98741e-05 Jy ! Total flux subtracted in 200 components = -1.98741e-05 Jy ! Clean residual min=-0.001579 max=0.001729 Jy/beam ! Clean residual mean=0.000018 rms=0.000455 Jy/beam ! Combined flux in latest and established models = 0.528893 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 155 components and 0.528893 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.019799Jy sigma=0.234932 ! Fit after self-cal, rms=0.019798Jy sigma=0.234921 ! 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=1.334 mas, bmaj=3.324 mas, bpa=70.89 degrees ! Estimated noise=1.83884 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.334 x 3.324 at 70.89 degrees (North through East) ! Clean map min=-0.002232 max=0.44796 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=1.005 mas, bmaj=3.1 mas, bpa=73.62 degrees ! Estimated noise=3.04316 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.328954 Jy ! Component: 100 - total flux cleaned = 0.422181 Jy ! Component: 150 - total flux cleaned = 0.466221 Jy ! Component: 200 - total flux cleaned = 0.487492 Jy ! Total flux subtracted in 200 components = 0.487492 Jy ! Clean residual min=-0.005187 max=0.009547 Jy/beam ! Clean residual mean=-0.000055 rms=0.001694 Jy/beam ! Combined flux in latest and established models = 0.487492 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 11 model components to the UV plane model. ! The established model now contains 11 components and 0.487492 Jy ! Inverting map and beam ! Estimated beam: bmin=1.334 mas, bmaj=3.324 mas, bpa=70.89 degrees ! Estimated noise=1.83884 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.0158845 Jy ! Component: 100 - total flux cleaned = 0.023191 Jy ! Component: 150 - total flux cleaned = 0.0276201 Jy ! Component: 200 - total flux cleaned = 0.0302715 Jy ! Total flux subtracted in 200 components = 0.0302715 Jy ! Clean residual min=-0.002797 max=0.003370 Jy/beam ! Clean residual mean=-0.000070 rms=0.000951 Jy/beam ! Combined flux in latest and established models = 0.517764 Jy ! Adding 47 model components to the UV plane model. ! The established model now contains 51 components and 0.517764 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.55 mas, bmaj=3.557 mas, bpa=65.24 degrees ! Estimated noise=1.9722 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0034774 Jy ! Component: 100 - total flux cleaned = 0.00552802 Jy ! Component: 150 - total flux cleaned = 0.00691037 Jy ! Component: 200 - total flux cleaned = 0.00770722 Jy ! Total flux subtracted in 200 components = 0.00770722 Jy ! Clean residual min=-0.002263 max=0.002149 Jy/beam ! Clean residual mean=-0.000022 rms=0.000717 Jy/beam ! Combined flux in latest and established models = 0.525471 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.000622207 Jy ! Component: 100 - total flux cleaned = 0.00101533 Jy ! Component: 150 - total flux cleaned = 0.00136584 Jy ! Component: 200 - total flux cleaned = 0.00171609 Jy ! Total flux subtracted in 200 components = 0.00171609 Jy ! Clean residual min=-0.001972 max=0.001852 Jy/beam ! Clean residual mean=0.000000 rms=0.000579 Jy/beam ! Combined flux in latest and established models = 0.527187 Jy ! Adding 65 model components to the UV plane model. ! The established model now contains 109 components and 0.527187 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.334 mas, bmaj=3.324 mas, bpa=70.89 degrees ! Estimated noise=1.83884 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000164757 Jy ! Component: 100 - total flux cleaned = 8.00351e-05 Jy ! Component: 150 - total flux cleaned = 0.000326896 Jy ! Component: 200 - total flux cleaned = 0.000428559 Jy ! Total flux subtracted in 200 components = 0.000428559 Jy ! Clean residual min=-0.001989 max=0.001779 Jy/beam ! Clean residual mean=0.000003 rms=0.000481 Jy/beam ! Combined flux in latest and established models = 0.527616 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 131 components and 0.527616 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.020001Jy sigma=0.237037 ! Fit after self-cal, rms=0.019976Jy sigma=0.236789 wmodel /scr/pima/bp171ae_uvs/J0013+4051_X_map.mod ! Writing 131 model components to file: /scr/pima/bp171ae_uvs/J0013+4051_X_map.mod wobs /scr/pima/bp171ae_uvs/J0013+4051_X_uvs.fits ! Writing UV FITS file: /scr/pima/bp171ae_uvs/J0013+4051_X_uvs.fits wwins /scr/pima/bp171ae_uvs/J0013+4051_X_map.win ! wwins: Wrote 3 windows to /scr/pima/bp171ae_uvs/J0013+4051_X_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.000394997 Jy ! Component: 100 - total flux cleaned = -0.00051585 Jy ! Component: 150 - total flux cleaned = -0.000654006 Jy ! Component: 200 - total flux cleaned = -0.000680743 Jy ! Component: 250 - total flux cleaned = -0.000657591 Jy ! Component: 300 - total flux cleaned = -0.000657669 Jy ! Component: 350 - total flux cleaned = -0.000636798 Jy ! Component: 400 - total flux cleaned = -0.000616583 Jy ! Component: 450 - total flux cleaned = -0.00057751 Jy ! Component: 500 - total flux cleaned = -0.000558486 Jy ! Component: 550 - total flux cleaned = -0.000576259 Jy ! Component: 600 - total flux cleaned = -0.000644029 Jy ! Component: 650 - total flux cleaned = -0.000676262 Jy ! Component: 700 - total flux cleaned = -0.000739444 Jy ! Component: 750 - total flux cleaned = -0.000785389 Jy ! Component: 800 - total flux cleaned = -0.000844978 Jy ! Component: 850 - total flux cleaned = -0.000888237 Jy ! Component: 900 - total flux cleaned = -0.000958938 Jy ! Component: 950 - total flux cleaned = -0.00101395 Jy ! Component: 1000 - total flux cleaned = -0.00108145 Jy ! Component: 1050 - total flux cleaned = -0.00116085 Jy ! Component: 1100 - total flux cleaned = -0.00122564 Jy ! Component: 1150 - total flux cleaned = -0.00130155 Jy ! Component: 1200 - total flux cleaned = -0.00137586 Jy ! Component: 1250 - total flux cleaned = -0.00142433 Jy ! Component: 1300 - total flux cleaned = -0.00150747 Jy ! Component: 1350 - total flux cleaned = -0.00156596 Jy ! Component: 1400 - total flux cleaned = -0.00164606 Jy ! Component: 1450 - total flux cleaned = -0.00172466 Jy ! Component: 1500 - total flux cleaned = -0.0017801 Jy ! Component: 1550 - total flux cleaned = -0.00183427 Jy ! Component: 1600 - total flux cleaned = -0.00184505 Jy ! Component: 1650 - total flux cleaned = -0.00187682 Jy ! Component: 1700 - total flux cleaned = -0.00190802 Jy ! Component: 1750 - total flux cleaned = -0.00194886 Jy ! Component: 1800 - total flux cleaned = -0.00198917 Jy ! Component: 1850 - total flux cleaned = -0.00199914 Jy ! Component: 1900 - total flux cleaned = -0.00203844 Jy ! Component: 1950 - total flux cleaned = -0.00205773 Jy ! Component: 2000 - total flux cleaned = -0.00210568 Jy ! Component: 2050 - total flux cleaned = -0.0021624 Jy ! Component: 2100 - total flux cleaned = -0.00219031 Jy ! Component: 2150 - total flux cleaned = -0.00222717 Jy ! Component: 2200 - total flux cleaned = -0.00225451 Jy ! Component: 2250 - total flux cleaned = -0.00227252 Jy ! Component: 2300 - total flux cleaned = -0.00230816 Jy ! Component: 2350 - total flux cleaned = -0.00230818 Jy ! Component: 2400 - total flux cleaned = -0.00236083 Jy ! Component: 2450 - total flux cleaned = -0.00240421 Jy ! Component: 2500 - total flux cleaned = -0.00244721 Jy ! Component: 2550 - total flux cleaned = -0.0024898 Jy ! Component: 2600 - total flux cleaned = -0.00252373 Jy ! Component: 2650 - total flux cleaned = -0.00254901 Jy ! Component: 2700 - total flux cleaned = -0.00259907 Jy ! Component: 2750 - total flux cleaned = -0.00263226 Jy ! Component: 2800 - total flux cleaned = -0.00265708 Jy ! Component: 2850 - total flux cleaned = -0.0026736 Jy ! Component: 2900 - total flux cleaned = -0.0027227 Jy ! Component: 2950 - total flux cleaned = -0.00275527 Jy ! Component: 3000 - total flux cleaned = -0.00277963 Jy ! Component: 3050 - total flux cleaned = -0.00281187 Jy ! Component: 3100 - total flux cleaned = -0.0028199 Jy ! Component: 3150 - total flux cleaned = -0.00282791 Jy ! Component: 3200 - total flux cleaned = -0.00285982 Jy ! Component: 3250 - total flux cleaned = -0.00289954 Jy ! Component: 3300 - total flux cleaned = -0.00290747 Jy ! Component: 3350 - total flux cleaned = -0.00293904 Jy ! Component: 3400 - total flux cleaned = -0.00295477 Jy ! Component: 3450 - total flux cleaned = -0.00300187 Jy ! Component: 3500 - total flux cleaned = -0.00301754 Jy ! Component: 3550 - total flux cleaned = -0.00304878 Jy ! Component: 3600 - total flux cleaned = -0.00307223 Jy ! Component: 3650 - total flux cleaned = -0.00309554 Jy ! Component: 3700 - total flux cleaned = -0.00313441 Jy ! Component: 3750 - total flux cleaned = -0.00317324 Jy ! Component: 3800 - total flux cleaned = -0.0032042 Jy ! Component: 3850 - total flux cleaned = -0.00323521 Jy ! Component: 3900 - total flux cleaned = -0.00327391 Jy ! Component: 3950 - total flux cleaned = -0.00331258 Jy ! Component: 4000 - total flux cleaned = -0.00332808 Jy ! Component: 4050 - total flux cleaned = -0.00337442 Jy ! Total flux subtracted in 4096 components = -0.00342075 Jy ! Clean residual min=-0.000503 max=0.000484 Jy/beam ! Clean residual mean=-0.000002 rms=0.000127 Jy/beam ! Combined flux in latest and established models = 0.524195 Jy keep ! Adding 234 model components to the UV plane model. ! The established model now contains 365 components and 0.524195 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171ae_uvs/J0013+4051_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.334 x 3.324 at 70.89 degrees (North through East) ! Clean map min=-0.0013236 max=0.44827 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171ae_uvs/J0013+4051_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.448267 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000122611 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.0820566 0.0820566 0.164113 0.328226 0.656453 1.31291 2.62581 5.25162 10.5032 21.0065 42.013 84.026 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.448 quit ! Quitting program ! Log file /scr/pima/bp171ae_uvs/J0013+4051_X_uvs.log closed on Sat Oct 12 00:30:54 2013