! Started logfile: /scr/pima/bp171a0_uvs/J0340-2119_X_uvs.log on Fri Mar 15 12:52:26 2013 obs /scr/pima/bp171a0_uvs/J0340-2119_X_uva.fits ! Reading UV FITS file: /scr/pima/bp171a0_uvs/J0340-2119_X_uva.fits ! AN table 1: 9 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.994709 visibilities/baseline/integration-bin. ! Found source: J0340-2119 ! ! 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 1504 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/bp171a0_uvs/J0340-2119_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.062832Jy sigma=0.751485 ! Fit after self-cal, rms=0.686624Jy sigma=0.485486 ! 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.147 mas, bmaj=9.064 mas, bpa=25.82 degrees ! Estimated noise=32.6422 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.232459 Jy ! Component: 100 - total flux cleaned = 0.311749 Jy ! Total flux subtracted in 100 components = 0.311749 Jy ! Clean residual min=-0.026017 max=0.039547 Jy/beam ! Clean residual mean=-0.000196 rms=0.009834 Jy/beam ! Combined flux in latest and established models = 0.311749 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 19 components and 0.311749 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.092330Jy sigma=0.065282 ! Fit after self-cal, rms=0.092129Jy sigma=0.065141 ! 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=2.503 mas, bmaj=8.934 mas, bpa=24.75 degrees ! Estimated noise=25.7872 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.0572297 Jy ! Component: 100 - total flux cleaned = 0.0873415 Jy ! Component: 150 - total flux cleaned = 0.106143 Jy ! Component: 200 - total flux cleaned = 0.119003 Jy ! Total flux subtracted in 200 components = 0.119003 Jy ! Clean residual min=-0.013179 max=0.016693 Jy/beam ! Clean residual mean=-0.000121 rms=0.004523 Jy/beam ! Combined flux in latest and established models = 0.430752 Jy ! Performing phase self-cal ! Adding 60 model components to the UV plane model. ! The established model now contains 76 components and 0.430752 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.045804Jy sigma=0.032386 ! Fit after self-cal, rms=0.045564Jy sigma=0.032216 ! 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 FD 0.99 KP 1.05 LA 0.99 ! NL 1.04 OV 1.02 PT 0.89 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.13 FD 0.91 KP 1.06 LA 0.92 ! NL 1.04 OV 0.94 PT 0.93 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.87 FD 0.99 KP 1.18 LA 0.90 ! NL 1.05 OV 0.96 PT 0.94 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.01 KP 1.02 LA 0.93 ! NL 1.05 OV 0.97 PT 0.95 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.92 KP 1.15 LA 0.93 ! NL 1.00 OV 0.95 PT 0.93 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.92 KP 1.13 LA 0.96 ! NL 1.04 OV 0.99 PT 0.96 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 0.94 KP 1.12 LA 0.91 ! NL 1.06 OV 1.03 PT 0.94 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.17 FD 0.94 KP 1.20 LA 0.88 ! NL 1.06 OV 1.02 PT 0.88 ! ! ! Fit before self-cal, rms=0.045564Jy sigma=0.032216 ! Fit after self-cal, rms=0.027715Jy sigma=0.019633 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.533 mas, bmaj=9.135 mas, bpa=24.82 degrees ! Estimated noise=25.5078 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.000741171 Jy ! Component: 100 - total flux cleaned = 0.00087213 Jy ! Component: 150 - total flux cleaned = 0.000598461 Jy ! Component: 200 - total flux cleaned = 0.000519616 Jy ! Total flux subtracted in 200 components = 0.000519616 Jy ! Clean residual min=-0.003653 max=0.003667 Jy/beam ! Clean residual mean=-0.000008 rms=0.000988 Jy/beam ! Combined flux in latest and established models = 0.431272 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 96 components and 0.431272 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.026717Jy sigma=0.018954 ! Fit after self-cal, rms=0.026727Jy sigma=0.018931 ! 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.026727Jy sigma=0.018931 ! Fit after self-cal, rms=0.026688Jy sigma=0.018894 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.535 mas, bmaj=9.149 mas, bpa=24.83 degrees ! Estimated noise=25.4734 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000926503 Jy ! Component: 100 - total flux cleaned = -0.00107927 Jy ! Component: 150 - total flux cleaned = -0.00134165 Jy ! Component: 200 - total flux cleaned = -0.00130317 Jy ! Total flux subtracted in 200 components = -0.00130317 Jy ! Clean residual min=-0.003126 max=0.003290 Jy/beam ! Clean residual mean=-0.000007 rms=0.000855 Jy/beam ! Combined flux in latest and established models = 0.429969 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 108 components and 0.429969 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.026456Jy sigma=0.018747 ! Fit after self-cal, rms=0.026453Jy sigma=0.018744 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.2352e-05 Jy ! Component: 100 - total flux cleaned = 7.26354e-05 Jy ! Component: 150 - total flux cleaned = 0.000155089 Jy ! Component: 200 - total flux cleaned = 0.000180663 Jy ! Total flux subtracted in 200 components = 0.000180663 Jy ! Clean residual min=-0.003124 max=0.003156 Jy/beam ! Clean residual mean=-0.000006 rms=0.000823 Jy/beam ! Combined flux in latest and established models = 0.430149 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 124 components and 0.430149 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.026393Jy sigma=0.018703 ! Fit after self-cal, rms=0.026391Jy sigma=0.018701 ! 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.026391Jy sigma=0.018701 ! Fit after self-cal, rms=0.026407Jy sigma=0.018688 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.537 mas, bmaj=9.159 mas, bpa=24.83 degrees ! Estimated noise=25.4671 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000681519 Jy ! Component: 100 - total flux cleaned = -0.000944343 Jy ! Component: 150 - total flux cleaned = -0.00101329 Jy ! Component: 200 - total flux cleaned = -0.00105536 Jy ! Total flux subtracted in 200 components = -0.00105536 Jy ! Clean residual min=-0.003014 max=0.003092 Jy/beam ! Clean residual mean=-0.000005 rms=0.000781 Jy/beam ! Combined flux in latest and established models = 0.429094 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 143 components and 0.429094 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.026352Jy sigma=0.018656 ! Fit after self-cal, rms=0.026351Jy sigma=0.018655 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 = -7.64222e-05 Jy ! Component: 100 - total flux cleaned = -5.7986e-05 Jy ! Component: 150 - total flux cleaned = -5.73983e-05 Jy ! Component: 200 - total flux cleaned = -2.3126e-05 Jy ! Total flux subtracted in 200 components = -2.3126e-05 Jy ! Clean residual min=-0.002979 max=0.002959 Jy/beam ! Clean residual mean=-0.000005 rms=0.000765 Jy/beam ! Combined flux in latest and established models = 0.429071 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 159 components and 0.429071 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.026327Jy sigma=0.018638 ! Fit after self-cal, rms=0.026325Jy sigma=0.018637 ! 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.026325Jy sigma=0.018637 ! Fit after self-cal, rms=0.026346Jy sigma=0.018630 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.866 mas, bmaj=9.275 mas, bpa=24.08 degrees ! Estimated noise=25.8132 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000544427 Jy ! Component: 100 - total flux cleaned = -0.000693398 Jy ! Component: 150 - total flux cleaned = -0.000767869 Jy ! Component: 200 - total flux cleaned = -0.000818981 Jy ! Total flux subtracted in 200 components = -0.000818981 Jy ! Clean residual min=-0.002829 max=0.002903 Jy/beam ! Clean residual mean=-0.000005 rms=0.000785 Jy/beam ! Combined flux in latest and established models = 0.428252 Jy selfcal ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 177 components and 0.428252 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.026314Jy sigma=0.018612 ! Fit after self-cal, rms=0.026313Jy sigma=0.018611 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.00015301 Jy ! Component: 100 - total flux cleaned = -0.000119099 Jy ! Component: 150 - total flux cleaned = -0.000119197 Jy ! Component: 200 - total flux cleaned = -0.000120106 Jy ! Total flux subtracted in 200 components = -0.000120106 Jy ! Clean residual min=-0.002792 max=0.002792 Jy/beam ! Clean residual mean=-0.000005 rms=0.000772 Jy/beam ! Combined flux in latest and established models = 0.428132 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 190 components and 0.428132 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.026297Jy sigma=0.018600 ! Fit after self-cal, rms=0.026296Jy sigma=0.018599 ! 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=2.539 mas, bmaj=9.166 mas, bpa=24.83 degrees ! Estimated noise=25.4672 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.539 x 9.166 at 24.83 degrees (North through East) ! Clean map min=-0.0028059 max=0.32277 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.171 mas, bmaj=9.317 mas, bpa=25.88 degrees ! Estimated noise=32.328 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.229887 Jy ! Component: 100 - total flux cleaned = 0.306033 Jy ! Component: 150 - total flux cleaned = 0.350153 Jy ! Component: 200 - total flux cleaned = 0.376057 Jy ! Total flux subtracted in 200 components = 0.376057 Jy ! Clean residual min=-0.009706 max=0.013199 Jy/beam ! Clean residual mean=-0.000068 rms=0.003384 Jy/beam ! Combined flux in latest and established models = 0.376057 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 26 model components to the UV plane model. ! The established model now contains 26 components and 0.376057 Jy ! Inverting map and beam ! Estimated beam: bmin=2.539 mas, bmaj=9.166 mas, bpa=24.83 degrees ! Estimated noise=25.4672 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.0196892 Jy ! Component: 100 - total flux cleaned = 0.0308358 Jy ! Component: 150 - total flux cleaned = 0.0379583 Jy ! Component: 200 - total flux cleaned = 0.0429818 Jy ! Total flux subtracted in 200 components = 0.0429818 Jy ! Clean residual min=-0.004161 max=0.005331 Jy/beam ! Clean residual mean=-0.000028 rms=0.001263 Jy/beam ! Combined flux in latest and established models = 0.419038 Jy ! Adding 54 model components to the UV plane model. ! The established model now contains 77 components and 0.419038 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.866 mas, bmaj=9.275 mas, bpa=24.08 degrees ! Estimated noise=25.8132 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00390305 Jy ! Component: 100 - total flux cleaned = 0.00656957 Jy ! Component: 150 - total flux cleaned = 0.0077058 Jy ! Component: 200 - total flux cleaned = 0.00829561 Jy ! Total flux subtracted in 200 components = 0.00829561 Jy ! Clean residual min=-0.003461 max=0.003751 Jy/beam ! Clean residual mean=-0.000009 rms=0.000996 Jy/beam ! Combined flux in latest and established models = 0.427334 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.000518972 Jy ! Component: 100 - total flux cleaned = 0.000828274 Jy ! Component: 150 - total flux cleaned = 0.00101569 Jy ! Component: 200 - total flux cleaned = 0.00123161 Jy ! Total flux subtracted in 200 components = 0.00123161 Jy ! Clean residual min=-0.003170 max=0.003377 Jy/beam ! Clean residual mean=-0.000005 rms=0.000916 Jy/beam ! Combined flux in latest and established models = 0.428566 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 126 components and 0.428566 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.539 mas, bmaj=9.166 mas, bpa=24.83 degrees ! Estimated noise=25.4672 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000353066 Jy ! Component: 100 - total flux cleaned = 0.000353665 Jy ! Component: 150 - total flux cleaned = 0.000353977 Jy ! Component: 200 - total flux cleaned = 0.00038859 Jy ! Total flux subtracted in 200 components = 0.00038859 Jy ! Clean residual min=-0.003052 max=0.003142 Jy/beam ! Clean residual mean=-0.000003 rms=0.000825 Jy/beam ! Combined flux in latest and established models = 0.428954 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 137 components and 0.428954 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.026455Jy sigma=0.018717 ! Fit after self-cal, rms=0.026441Jy sigma=0.018708 wmodel /scr/pima/bp171a0_uvs/J0340-2119_X_map.mod ! Writing 137 model components to file: /scr/pima/bp171a0_uvs/J0340-2119_X_map.mod wobs /scr/pima/bp171a0_uvs/J0340-2119_X_uvs.fits ! Writing UV FITS file: /scr/pima/bp171a0_uvs/J0340-2119_X_uvs.fits wwins /scr/pima/bp171a0_uvs/J0340-2119_X_map.win ! wwins: Wrote 1 windows to /scr/pima/bp171a0_uvs/J0340-2119_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 = -9.60122e-05 Jy ! Component: 100 - total flux cleaned = -0.000408626 Jy ! Component: 150 - total flux cleaned = -0.000451106 Jy ! Component: 200 - total flux cleaned = -0.000345355 Jy ! Component: 250 - total flux cleaned = -0.000347063 Jy ! Component: 300 - total flux cleaned = -0.00029163 Jy ! Component: 350 - total flux cleaned = -0.000240188 Jy ! Component: 400 - total flux cleaned = -0.00019137 Jy ! Component: 450 - total flux cleaned = -0.000122833 Jy ! Component: 500 - total flux cleaned = -5.99325e-05 Jy ! Component: 550 - total flux cleaned = -4.08834e-05 Jy ! Component: 600 - total flux cleaned = -2.315e-05 Jy ! Component: 650 - total flux cleaned = -6.34803e-06 Jy ! Component: 700 - total flux cleaned = -2.3022e-05 Jy ! Component: 750 - total flux cleaned = -7.61624e-06 Jy ! Component: 800 - total flux cleaned = 6.73769e-06 Jy ! Component: 850 - total flux cleaned = -2.15434e-05 Jy ! Component: 900 - total flux cleaned = -3.47927e-05 Jy ! Component: 950 - total flux cleaned = -7.38341e-05 Jy ! Component: 1000 - total flux cleaned = -7.39262e-05 Jy ! Component: 1050 - total flux cleaned = -8.57315e-05 Jy ! Component: 1100 - total flux cleaned = -7.42588e-05 Jy ! Component: 1150 - total flux cleaned = -0.000117861 Jy ! Component: 1200 - total flux cleaned = -0.000171242 Jy ! Component: 1250 - total flux cleaned = -0.000274678 Jy ! Component: 1300 - total flux cleaned = -0.000355007 Jy ! Component: 1350 - total flux cleaned = -0.000462869 Jy ! Component: 1400 - total flux cleaned = -0.000558298 Jy ! Component: 1450 - total flux cleaned = -0.000632924 Jy ! Component: 1500 - total flux cleaned = -0.000687522 Jy ! Component: 1550 - total flux cleaned = -0.00074081 Jy ! Component: 1600 - total flux cleaned = -0.000775496 Jy ! Component: 1650 - total flux cleaned = -0.000792421 Jy ! Component: 1700 - total flux cleaned = -0.000825886 Jy ! Component: 1750 - total flux cleaned = -0.000817565 Jy ! Component: 1800 - total flux cleaned = -0.000841775 Jy ! Component: 1850 - total flux cleaned = -0.000833716 Jy ! Component: 1900 - total flux cleaned = -0.00081803 Jy ! Component: 1950 - total flux cleaned = -0.000818055 Jy ! Component: 2000 - total flux cleaned = -0.000802702 Jy ! Component: 2050 - total flux cleaned = -0.000795176 Jy ! Component: 2100 - total flux cleaned = -0.000780229 Jy ! Component: 2150 - total flux cleaned = -0.000772911 Jy ! Component: 2200 - total flux cleaned = -0.000758272 Jy ! Component: 2250 - total flux cleaned = -0.000729524 Jy ! Component: 2300 - total flux cleaned = -0.000708188 Jy ! Component: 2350 - total flux cleaned = -0.000672897 Jy ! Component: 2400 - total flux cleaned = -0.000651871 Jy ! Component: 2450 - total flux cleaned = -0.000637905 Jy ! Component: 2500 - total flux cleaned = -0.000617069 Jy ! Component: 2550 - total flux cleaned = -0.000589521 Jy ! Component: 2600 - total flux cleaned = -0.000582667 Jy ! Component: 2650 - total flux cleaned = -0.000575819 Jy ! Component: 2700 - total flux cleaned = -0.000555469 Jy ! Component: 2750 - total flux cleaned = -0.000555479 Jy ! Component: 2800 - total flux cleaned = -0.000562225 Jy ! Component: 2850 - total flux cleaned = -0.0005555 Jy ! Component: 2900 - total flux cleaned = -0.00056215 Jy ! Component: 2950 - total flux cleaned = -0.000555496 Jy ! Component: 3000 - total flux cleaned = -0.000568799 Jy ! Component: 3050 - total flux cleaned = -0.000575422 Jy ! Component: 3100 - total flux cleaned = -0.000575443 Jy ! Component: 3150 - total flux cleaned = -0.000621582 Jy ! Component: 3200 - total flux cleaned = -0.000634712 Jy ! Component: 3250 - total flux cleaned = -0.000654373 Jy ! Component: 3300 - total flux cleaned = -0.000674022 Jy ! Component: 3350 - total flux cleaned = -0.000687174 Jy ! Component: 3400 - total flux cleaned = -0.000706756 Jy ! Component: 3450 - total flux cleaned = -0.00071329 Jy ! Component: 3500 - total flux cleaned = -0.000719816 Jy ! Component: 3550 - total flux cleaned = -0.00073293 Jy ! Component: 3600 - total flux cleaned = -0.000752476 Jy ! Component: 3650 - total flux cleaned = -0.000765542 Jy ! Component: 3700 - total flux cleaned = -0.000778618 Jy ! Component: 3750 - total flux cleaned = -0.000791658 Jy ! Component: 3800 - total flux cleaned = -0.000811258 Jy ! Component: 3850 - total flux cleaned = -0.000817772 Jy ! Component: 3900 - total flux cleaned = -0.000850414 Jy ! Component: 3950 - total flux cleaned = -0.000863477 Jy ! Component: 4000 - total flux cleaned = -0.000883108 Jy ! Component: 4050 - total flux cleaned = -0.000896203 Jy ! Total flux subtracted in 4096 components = -0.000896244 Jy ! Clean residual min=-0.000439 max=0.000386 Jy/beam ! Clean residual mean=-0.000001 rms=0.000125 Jy/beam ! Combined flux in latest and established models = 0.428058 Jy keep ! Adding 302 model components to the UV plane model. ! The established model now contains 439 components and 0.428058 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171a0_uvs/J0340-2119_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.539 x 9.166 at 24.83 degrees (North through East) ! Clean map min=-0.0014252 max=0.32368 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171a0_uvs/J0340-2119_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.323676 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000119385 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.110652 0.110652 0.221305 0.44261 0.885219 1.77044 3.54088 7.08175 14.1635 28.327 56.654 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.323 quit ! Quitting program ! Log file /scr/pima/bp171a0_uvs/J0340-2119_X_uvs.log closed on Fri Mar 15 12:52:30 2013