! Started logfile: /scr/pima/bp171a1_uvs/J0331-4302_X_uvs.log on Fri Mar 15 16:06:49 2013 obs /scr/pima/bp171a1_uvs/J0331-4302_X_uva.fits ! Reading UV FITS file: /scr/pima/bp171a1_uvs/J0331-4302_X_uva.fits ! AN table 1: 9 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.992593 visibilities/baseline/integration-bin. ! Found source: J0331-4302 ! ! 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.40797e+09 3.2e+07 1 3.2e+07 ! 02 2 7.43997e+09 3.2e+07 1 3.2e+07 ! 03 3 7.47197e+09 3.2e+07 1 3.2e+07 ! 04 4 7.56797e+09 3.2e+07 1 3.2e+07 ! 05 5 7.75997e+09 3.2e+07 1 3.2e+07 ! 06 6 7.79197e+09 3.2e+07 1 3.2e+07 ! 07 7 7.82397e+09 3.2e+07 1 3.2e+07 ! 08 8 7.85597e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 1072 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/bp171a1_uvs/J0331-4302_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. ! ! 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=1.009961Jy sigma=0.714113 ! Fit after self-cal, rms=0.938564Jy sigma=0.663631 ! 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=0.8272 mas, bmaj=9.605 mas, bpa=-9.769 degrees ! Estimated noise=45.3426 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.0422887 Jy ! Component: 100 - total flux cleaned = 0.0607931 Jy ! Total flux subtracted in 100 components = 0.0607931 Jy ! Clean residual min=-0.005601 max=0.008742 Jy/beam ! Clean residual mean=-0.000231 rms=0.002040 Jy/beam ! Combined flux in latest and established models = 0.0607931 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 17 components and 0.0607931 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.037289Jy sigma=0.026366 ! Fit after self-cal, rms=0.037115Jy sigma=0.026242 ! 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.05 mas, bmaj=9.489 mas, bpa=-9.58 degrees ! Estimated noise=30.5439 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.0122125 Jy ! Component: 100 - total flux cleaned = 0.016785 Jy ! Component: 150 - total flux cleaned = 0.0187635 Jy ! Component: 200 - total flux cleaned = 0.0197891 Jy ! Total flux subtracted in 200 components = 0.0197891 Jy ! Clean residual min=-0.002810 max=0.003096 Jy/beam ! Clean residual mean=-0.000071 rms=0.001040 Jy/beam ! Combined flux in latest and established models = 0.0805822 Jy ! Performing phase self-cal ! Adding 56 model components to the UV plane model. ! The established model now contains 64 components and 0.0805822 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.033603Jy sigma=0.023760 ! Fit after self-cal, rms=0.033593Jy sigma=0.023752 ! 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: ! FD 1.05 KP 0.98 LA 0.97 MK 1.08 ! OV 1.02 PT 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.96 KP 1.14 LA 0.99 MK 1.00 ! OV 0.97 PT 0.84 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 KP 1.14 LA 0.97 MK 0.94 ! OV 1.14 PT 0.85 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 0.95 KP 1.06 LA 0.98 MK 1.23 ! OV 0.99 PT 0.95 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 1.15 LA 0.92 MK 0.96 ! OV 0.90 PT 0.95 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! FD 0.95 KP 1.15 LA 1.00 MK 0.98 ! OV 1.02 PT 0.99 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 1.14 LA 0.97 MK 0.88 ! OV 1.10 PT 0.94 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! FD 0.93 KP 1.11 LA 0.90 MK 1.22 ! OV 1.15 PT 0.91 ! ! ! Fit before self-cal, rms=0.033593Jy sigma=0.023752 ! Fit after self-cal, rms=0.033185Jy sigma=0.023211 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.056 mas, bmaj=9.525 mas, bpa=-9.511 degrees ! Estimated noise=30.558 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 = -3.83516e-05 Jy ! Component: 100 - total flux cleaned = -3.81732e-05 Jy ! Component: 150 - total flux cleaned = -3.86212e-05 Jy ! Component: 200 - total flux cleaned = -3.1294e-05 Jy ! Total flux subtracted in 200 components = -3.1294e-05 Jy ! Clean residual min=-0.002035 max=0.001916 Jy/beam ! Clean residual mean=0.000022 rms=0.000534 Jy/beam ! Combined flux in latest and established models = 0.0805509 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 84 components and 0.0805509 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.033179Jy sigma=0.023208 ! Fit after self-cal, rms=0.033236Jy sigma=0.023194 ! 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.033236Jy sigma=0.023194 ! Fit after self-cal, rms=0.033262Jy sigma=0.023193 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.057 mas, bmaj=9.525 mas, bpa=-9.507 degrees ! Estimated noise=30.5618 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.68246e-05 Jy ! Component: 100 - total flux cleaned = -5.71873e-05 Jy ! Component: 150 - total flux cleaned = -3.73867e-05 Jy ! Component: 200 - total flux cleaned = -2.52103e-05 Jy ! Total flux subtracted in 200 components = -2.52103e-05 Jy ! Clean residual min=-0.002038 max=0.001925 Jy/beam ! Clean residual mean=0.000022 rms=0.000532 Jy/beam ! Combined flux in latest and established models = 0.0805257 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 97 components and 0.0805257 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.033259Jy sigma=0.023192 ! Fit after self-cal, rms=0.033262Jy sigma=0.023192 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 = -8.69264e-07 Jy ! Component: 100 - total flux cleaned = 2.30021e-05 Jy ! Component: 150 - total flux cleaned = 4.54602e-05 Jy ! Component: 200 - total flux cleaned = 5.59045e-05 Jy ! Total flux subtracted in 200 components = 5.59045e-05 Jy ! Clean residual min=-0.002041 max=0.001929 Jy/beam ! Clean residual mean=0.000023 rms=0.000530 Jy/beam ! Combined flux in latest and established models = 0.0805816 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 102 components and 0.0805816 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.033259Jy sigma=0.023191 ! Fit after self-cal, rms=0.033260Jy sigma=0.023191 ! 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.033260Jy sigma=0.023191 ! Fit after self-cal, rms=0.033242Jy sigma=0.023190 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.057 mas, bmaj=9.524 mas, bpa=-9.507 degrees ! Estimated noise=30.553 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.15343e-05 Jy ! Component: 100 - total flux cleaned = -2.59701e-05 Jy ! Component: 150 - total flux cleaned = -2.59803e-05 Jy ! Component: 200 - total flux cleaned = -1.13368e-05 Jy ! Total flux subtracted in 200 components = -1.13368e-05 Jy ! Clean residual min=-0.002042 max=0.001927 Jy/beam ! Clean residual mean=0.000024 rms=0.000528 Jy/beam ! Combined flux in latest and established models = 0.0805703 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 104 components and 0.0805703 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.033240Jy sigma=0.023190 ! Fit after self-cal, rms=0.033240Jy sigma=0.023190 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.10798e-07 Jy ! Component: 100 - total flux cleaned = 1.55389e-05 Jy ! Component: 150 - total flux cleaned = 2.485e-05 Jy ! Component: 200 - total flux cleaned = 3.35286e-05 Jy ! Total flux subtracted in 200 components = 3.35286e-05 Jy ! Clean residual min=-0.002045 max=0.001927 Jy/beam ! Clean residual mean=0.000024 rms=0.000527 Jy/beam ! Combined flux in latest and established models = 0.0806038 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 107 components and 0.0806038 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.033239Jy sigma=0.023189 ! Fit after self-cal, rms=0.033239Jy sigma=0.023189 ! 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.033239Jy sigma=0.023189 ! Fit after self-cal, rms=0.033234Jy sigma=0.023189 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.024 mas, bmaj=11.75 mas, bpa=2.741 degrees ! Estimated noise=36.4032 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -9.66675e-05 Jy ! Component: 100 - total flux cleaned = -0.000101111 Jy ! Component: 150 - total flux cleaned = -0.000105057 Jy ! Component: 200 - total flux cleaned = -0.000105003 Jy ! Total flux subtracted in 200 components = -0.000105003 Jy ! Clean residual min=-0.001705 max=0.001984 Jy/beam ! Clean residual mean=0.000037 rms=0.000625 Jy/beam ! Combined flux in latest and established models = 0.0804988 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 114 components and 0.0804988 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.033234Jy sigma=0.023188 ! Fit after self-cal, rms=0.033233Jy sigma=0.023188 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 = -8.79289e-06 Jy ! Component: 100 - total flux cleaned = -5.13618e-06 Jy ! Component: 150 - total flux cleaned = -8.78763e-06 Jy ! Component: 200 - total flux cleaned = -1.22109e-05 Jy ! Total flux subtracted in 200 components = -1.22109e-05 Jy ! Clean residual min=-0.001693 max=0.001989 Jy/beam ! Clean residual mean=0.000037 rms=0.000624 Jy/beam ! Combined flux in latest and established models = 0.0804866 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 116 components and 0.0804866 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.033233Jy sigma=0.023188 ! Fit after self-cal, rms=0.033233Jy sigma=0.023188 ! 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.058 mas, bmaj=9.524 mas, bpa=-9.507 degrees ! Estimated noise=30.5568 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.058 x 9.524 at -9.507 degrees (North through East) ! Clean map min=-0.0019401 max=0.048718 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=0.8297 mas, bmaj=9.677 mas, bpa=-9.627 degrees ! Estimated noise=45.9383 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0426141 Jy ! Component: 100 - total flux cleaned = 0.0609533 Jy ! Component: 150 - total flux cleaned = 0.0700341 Jy ! Component: 200 - total flux cleaned = 0.0745525 Jy ! Total flux subtracted in 200 components = 0.0745525 Jy ! Clean residual min=-0.003404 max=0.002484 Jy/beam ! Clean residual mean=-0.000047 rms=0.000861 Jy/beam ! Combined flux in latest and established models = 0.0745525 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 27 model components to the UV plane model. ! The established model now contains 27 components and 0.0745525 Jy ! Inverting map and beam ! Estimated beam: bmin=1.058 mas, bmaj=9.524 mas, bpa=-9.507 degrees ! Estimated noise=30.5568 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.00320331 Jy ! Component: 100 - total flux cleaned = 0.00449921 Jy ! Component: 150 - total flux cleaned = 0.00520507 Jy ! Component: 200 - total flux cleaned = 0.00561925 Jy ! Total flux subtracted in 200 components = 0.00561925 Jy ! Clean residual min=-0.001980 max=0.001860 Jy/beam ! Clean residual mean=0.000019 rms=0.000546 Jy/beam ! Combined flux in latest and established models = 0.0801717 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 61 components and 0.0801717 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=3.024 mas, bmaj=11.75 mas, bpa=2.741 degrees ! Estimated noise=36.4032 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00023367 Jy ! Component: 100 - total flux cleaned = 0.000251194 Jy ! Component: 150 - total flux cleaned = 0.000267483 Jy ! Component: 200 - total flux cleaned = 0.000267896 Jy ! Total flux subtracted in 200 components = 0.000267896 Jy ! Clean residual min=-0.001711 max=0.001900 Jy/beam ! Clean residual mean=0.000038 rms=0.000641 Jy/beam ! Combined flux in latest and established models = 0.0804396 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 = 7.78405e-06 Jy ! Component: 100 - total flux cleaned = 7.97959e-06 Jy ! Component: 150 - total flux cleaned = 8.36596e-06 Jy ! Component: 200 - total flux cleaned = 8.8568e-06 Jy ! Total flux subtracted in 200 components = 8.8568e-06 Jy ! Clean residual min=-0.001712 max=0.001922 Jy/beam ! Clean residual mean=0.000038 rms=0.000637 Jy/beam ! Combined flux in latest and established models = 0.0804485 Jy ! Adding 15 model components to the UV plane model. ! The established model now contains 73 components and 0.0804485 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.058 mas, bmaj=9.524 mas, bpa=-9.507 degrees ! Estimated noise=30.5568 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.1883e-05 Jy ! Component: 100 - total flux cleaned = -5.29019e-05 Jy ! Component: 150 - total flux cleaned = -4.43814e-05 Jy ! Component: 200 - total flux cleaned = -3.56562e-05 Jy ! Total flux subtracted in 200 components = -3.56562e-05 Jy ! Clean residual min=-0.001991 max=0.001872 Jy/beam ! Clean residual mean=0.000023 rms=0.000534 Jy/beam ! Combined flux in latest and established models = 0.0804128 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 90 components and 0.0804128 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.033238Jy sigma=0.023191 ! Fit after self-cal, rms=0.033235Jy sigma=0.023191 wmodel /scr/pima/bp171a1_uvs/J0331-4302_X_map.mod ! Writing 90 model components to file: /scr/pima/bp171a1_uvs/J0331-4302_X_map.mod wobs /scr/pima/bp171a1_uvs/J0331-4302_X_uvs.fits ! Writing UV FITS file: /scr/pima/bp171a1_uvs/J0331-4302_X_uvs.fits wwins /scr/pima/bp171a1_uvs/J0331-4302_X_map.win ! wwins: Wrote 1 windows to /scr/pima/bp171a1_uvs/J0331-4302_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.000319661 Jy ! Component: 100 - total flux cleaned = -0.0004351 Jy ! Component: 150 - total flux cleaned = -0.000559593 Jy ! Component: 200 - total flux cleaned = -0.000627612 Jy ! Component: 250 - total flux cleaned = -0.000608233 Jy ! Component: 300 - total flux cleaned = -0.00062651 Jy ! Component: 350 - total flux cleaned = -0.000679555 Jy ! Component: 400 - total flux cleaned = -0.000765235 Jy ! Component: 450 - total flux cleaned = -0.000880636 Jy ! Component: 500 - total flux cleaned = -0.00102366 Jy ! Component: 550 - total flux cleaned = -0.00111636 Jy ! Component: 600 - total flux cleaned = -0.00119187 Jy ! Component: 650 - total flux cleaned = -0.00127997 Jy ! Component: 700 - total flux cleaned = -0.00133725 Jy ! Component: 750 - total flux cleaned = -0.00142099 Jy ! Component: 800 - total flux cleaned = -0.00150284 Jy ! Component: 850 - total flux cleaned = -0.00159654 Jy ! Component: 900 - total flux cleaned = -0.00163626 Jy ! Component: 950 - total flux cleaned = -0.00164943 Jy ! Component: 1000 - total flux cleaned = -0.00166245 Jy ! Component: 1050 - total flux cleaned = -0.00168801 Jy ! Component: 1100 - total flux cleaned = -0.00170064 Jy ! Component: 1150 - total flux cleaned = -0.00173848 Jy ! Component: 1200 - total flux cleaned = -0.00176358 Jy ! Component: 1250 - total flux cleaned = -0.00181364 Jy ! Component: 1300 - total flux cleaned = -0.00185077 Jy ! Component: 1350 - total flux cleaned = -0.00188784 Jy ! Component: 1400 - total flux cleaned = -0.00191242 Jy ! Component: 1450 - total flux cleaned = -0.00191247 Jy ! Component: 1500 - total flux cleaned = -0.00194918 Jy ! Component: 1550 - total flux cleaned = -0.00194926 Jy ! Component: 1600 - total flux cleaned = -0.00198631 Jy ! Component: 1650 - total flux cleaned = -0.00198634 Jy ! Component: 1700 - total flux cleaned = -0.00199865 Jy ! Component: 1750 - total flux cleaned = -0.00201093 Jy ! Component: 1800 - total flux cleaned = -0.00203601 Jy ! Component: 1850 - total flux cleaned = -0.00204873 Jy ! Component: 1900 - total flux cleaned = -0.00207449 Jy ! Component: 1950 - total flux cleaned = -0.00210048 Jy ! Component: 2000 - total flux cleaned = -0.00211377 Jy ! Component: 2050 - total flux cleaned = -0.00212702 Jy ! Component: 2100 - total flux cleaned = -0.00214062 Jy ! Component: 2150 - total flux cleaned = -0.0021543 Jy ! Component: 2200 - total flux cleaned = -0.0021403 Jy ! Component: 2250 - total flux cleaned = -0.00214011 Jy ! Component: 2300 - total flux cleaned = -0.00214026 Jy ! Component: 2350 - total flux cleaned = -0.00212581 Jy ! Component: 2400 - total flux cleaned = -0.00211083 Jy ! Component: 2450 - total flux cleaned = -0.00208061 Jy ! Component: 2500 - total flux cleaned = -0.00203391 Jy ! Component: 2550 - total flux cleaned = -0.00198588 Jy ! Component: 2600 - total flux cleaned = -0.00195332 Jy ! Component: 2650 - total flux cleaned = -0.00190351 Jy ! Component: 2700 - total flux cleaned = -0.00186954 Jy ! Component: 2750 - total flux cleaned = -0.0018174 Jy ! Component: 2800 - total flux cleaned = -0.0017642 Jy ! Component: 2850 - total flux cleaned = -0.00170957 Jy ! Component: 2900 - total flux cleaned = -0.00165349 Jy ! Component: 2950 - total flux cleaned = -0.00159627 Jy ! Component: 3000 - total flux cleaned = -0.00153737 Jy ! Component: 3050 - total flux cleaned = -0.00147717 Jy ! Component: 3100 - total flux cleaned = -0.00141506 Jy ! Component: 3150 - total flux cleaned = -0.00135161 Jy ! Component: 3200 - total flux cleaned = -0.00128645 Jy ! Component: 3250 - total flux cleaned = -0.00124166 Jy ! Component: 3300 - total flux cleaned = -0.00117309 Jy ! Component: 3350 - total flux cleaned = -0.00112618 Jy ! Component: 3400 - total flux cleaned = -0.00105376 Jy ! Component: 3450 - total flux cleaned = -0.00097932 Jy ! Component: 3500 - total flux cleaned = -0.000928372 Jy ! Component: 3550 - total flux cleaned = -0.000850006 Jy ! Component: 3600 - total flux cleaned = -0.000796397 Jy ! Component: 3650 - total flux cleaned = -0.000713256 Jy ! Component: 3700 - total flux cleaned = -0.00065612 Jy ! Component: 3750 - total flux cleaned = -0.000626718 Jy ! Component: 3800 - total flux cleaned = -0.000566592 Jy ! Component: 3850 - total flux cleaned = -0.000504287 Jy ! Component: 3900 - total flux cleaned = -0.000471806 Jy ! Component: 3950 - total flux cleaned = -0.00043908 Jy ! Component: 4000 - total flux cleaned = -0.000371257 Jy ! Component: 4050 - total flux cleaned = -0.000336316 Jy ! Total flux subtracted in 4096 components = -0.000300771 Jy ! Clean residual min=-0.001870 max=0.001949 Jy/beam ! Clean residual mean=-0.000018 rms=0.000595 Jy/beam ! Combined flux in latest and established models = 0.080112 Jy keep ! Adding 174 model components to the UV plane model. ! The established model now contains 264 components and 0.0801121 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171a1_uvs/J0331-4302_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.058 x 9.524 at -9.507 degrees (North through East) ! Clean map min=-0.004467 max=0.050643 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171a1_uvs/J0331-4302_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0506427 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00054618 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -3.23549 3.23549 6.47098 12.942 25.8839 51.7678 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0016 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.05 quit ! Quitting program ! Log file /scr/pima/bp171a1_uvs/J0331-4302_X_uvs.log closed on Fri Mar 15 16:06:53 2013