! Started logfile: /scr/pima/bp171af_uvs/J0117+3206_X_uvs.log on Thu Oct 10 16:47:14 2013 obs /scr/pima/bp171af_uvs/J0117+3206_X_uva.fits ! Reading UV FITS file: /scr/pima/bp171af_uvs/J0117+3206_X_uva.fits ! AN table 1: 3 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.714286 visibilities/baseline/integration-bin. ! Found source: J0117+3206 ! ! 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 480 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/bp171af_uvs/J0117+3206_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=0.998856Jy sigma=3.136648 ! Fit after self-cal, rms=0.944630Jy sigma=2.783443 ! 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.222 mas, bmaj=2.258 mas, bpa=11.43 degrees ! Estimated noise=20.5359 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0795516 Jy ! Component: 100 - total flux cleaned = 0.111171 Jy ! Total flux subtracted in 100 components = 0.111171 Jy ! Clean residual min=-0.013029 max=0.013763 Jy/beam ! Clean residual mean=0.000028 rms=0.004542 Jy/beam ! Combined flux in latest and established models = 0.111171 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 38 components and 0.111171 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.028433Jy sigma=0.111895 ! Fit after self-cal, rms=0.024998Jy sigma=0.109350 ! 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.621 mas, bmaj=2.391 mas, bpa=13 degrees ! Estimated noise=13.1601 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.0163224 Jy ! Component: 100 - total flux cleaned = 0.020417 Jy ! Component: 150 - total flux cleaned = 0.022792 Jy ! Component: 200 - total flux cleaned = 0.0241641 Jy ! Total flux subtracted in 200 components = 0.0241641 Jy ! Clean residual min=-0.002943 max=0.002960 Jy/beam ! Clean residual mean=0.000010 rms=0.001425 Jy/beam ! Combined flux in latest and established models = 0.135335 Jy ! Performing phase self-cal ! Adding 102 model components to the UV plane model. ! The established model now contains 136 components and 0.135335 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.017345Jy sigma=0.053381 ! Fit after self-cal, rms=0.017152Jy sigma=0.053240 ! 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.09 HN 1.08 KP 0.90 MK 1.13 ! NL 0.92 OV 1.04 PT 0.90 SC 0.85 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.14 HN 0.75 KP 0.90 MK 0.78 ! NL 1.17 OV 0.97 PT 0.92 SC 1.37 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 HN 0.88 KP 1.03 MK 0.73 ! NL 1.10 OV 0.98 PT 0.98 SC 1.19 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 HN 0.99 KP 0.88 MK 1.52 ! NL 0.91 OV 1.01 PT 1.03 SC 1.01 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 HN 0.94 KP 1.06 MK 0.82 ! NL 0.89 OV 0.95 PT 0.95 SC 0.97 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 HN 1.17 KP 1.02 MK 0.77 ! NL 1.05 OV 1.03 PT 0.98 SC 0.91 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 HN 1.00 KP 0.95 MK 1.18 ! NL 1.03 OV 1.07 PT 0.95 SC 0.86 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.13 HN 1.10 KP 1.05 MK 0.77 ! NL 0.87 OV 1.04 PT 0.92 SC 0.97 ! ! ! Fit before self-cal, rms=0.017152Jy sigma=0.053240 ! Fit after self-cal, rms=0.015567Jy sigma=0.036241 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.577 mas, bmaj=2.403 mas, bpa=11.43 degrees ! Estimated noise=12.6174 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.00263841 Jy ! Component: 100 - total flux cleaned = 0.00400052 Jy ! Component: 150 - total flux cleaned = 0.00486475 Jy ! Component: 200 - total flux cleaned = 0.00542873 Jy ! Total flux subtracted in 200 components = 0.00542873 Jy ! Clean residual min=-0.000721 max=0.000725 Jy/beam ! Clean residual mean=0.000000 rms=0.000241 Jy/beam ! Combined flux in latest and established models = 0.140764 Jy ! Performing phase self-cal ! Adding 47 model components to the UV plane model. ! The established model now contains 183 components and 0.140764 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.014657Jy sigma=0.034431 ! Fit after self-cal, rms=0.014610Jy sigma=0.034371 ! 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.014610Jy sigma=0.034371 ! Fit after self-cal, rms=0.014177Jy sigma=0.034222 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.522 mas, bmaj=2.404 mas, bpa=10.44 degrees ! Estimated noise=12.4065 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000259286 Jy ! Component: 100 - total flux cleaned = 0.000758746 Jy ! Component: 150 - total flux cleaned = 0.00122911 Jy ! Component: 200 - total flux cleaned = 0.00156168 Jy ! Total flux subtracted in 200 components = 0.00156168 Jy ! Clean residual min=-0.000482 max=0.000487 Jy/beam ! Clean residual mean=0.000000 rms=0.000159 Jy/beam ! Combined flux in latest and established models = 0.142326 Jy selfcal ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 220 components and 0.142326 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.013739Jy sigma=0.033983 ! Fit after self-cal, rms=0.013719Jy sigma=0.033965 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.000327922 Jy ! Component: 100 - total flux cleaned = 0.00063775 Jy ! Component: 150 - total flux cleaned = 0.000952359 Jy ! Component: 200 - total flux cleaned = 0.00115802 Jy ! Total flux subtracted in 200 components = 0.00115802 Jy ! Clean residual min=-0.000371 max=0.000371 Jy/beam ! Clean residual mean=-0.000000 rms=0.000123 Jy/beam ! Combined flux in latest and established models = 0.143484 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 247 components and 0.143484 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.013512Jy sigma=0.033851 ! Fit after self-cal, rms=0.013499Jy sigma=0.033844 ! 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.013499Jy sigma=0.033844 ! Fit after self-cal, rms=0.013132Jy sigma=0.033756 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.47 mas, bmaj=2.404 mas, bpa=9.762 degrees ! Estimated noise=12.1632 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000393758 Jy ! Component: 100 - total flux cleaned = -0.000255033 Jy ! Component: 150 - total flux cleaned = -7.04325e-05 Jy ! Component: 200 - total flux cleaned = 0.000140853 Jy ! Total flux subtracted in 200 components = 0.000140853 Jy ! Clean residual min=-0.000307 max=0.000308 Jy/beam ! Clean residual mean=0.000000 rms=0.000100 Jy/beam ! Combined flux in latest and established models = 0.143625 Jy selfcal ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 278 components and 0.143625 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.012881Jy sigma=0.033729 ! Fit after self-cal, rms=0.012875Jy sigma=0.033723 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.000194422 Jy ! Component: 100 - total flux cleaned = 0.000280764 Jy ! Component: 150 - total flux cleaned = 0.000297405 Jy ! Component: 200 - total flux cleaned = 0.000329346 Jy ! Total flux subtracted in 200 components = 0.000329346 Jy ! Clean residual min=-0.000257 max=0.000257 Jy/beam ! Clean residual mean=0.000000 rms=0.000084 Jy/beam ! Combined flux in latest and established models = 0.143954 Jy ! Performing phase self-cal ! Adding 50 model components to the UV plane model. ! The established model now contains 299 components and 0.143954 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.012775Jy sigma=0.033670 ! Fit after self-cal, rms=0.012770Jy sigma=0.033666 ! 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.012770Jy sigma=0.033666 ! Fit after self-cal, rms=0.012515Jy sigma=0.033592 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.677 mas, bmaj=2.872 mas, bpa=60.56 degrees ! Estimated noise=10.1427 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000384113 Jy ! Component: 100 - total flux cleaned = -0.000409702 Jy ! Component: 150 - total flux cleaned = -0.000431292 Jy ! Component: 200 - total flux cleaned = -0.000441921 Jy ! Total flux subtracted in 200 components = -0.000441921 Jy ! Clean residual min=-0.000168 max=0.000165 Jy/beam ! Clean residual mean=-0.000000 rms=0.000054 Jy/beam ! Combined flux in latest and established models = 0.143512 Jy selfcal ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 330 components and 0.143512 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.012378Jy sigma=0.033609 ! Fit after self-cal, rms=0.012378Jy sigma=0.033605 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 = 1.31234e-06 Jy ! Component: 100 - total flux cleaned = -3.58985e-05 Jy ! Component: 150 - total flux cleaned = -2.69692e-05 Jy ! Component: 200 - total flux cleaned = 7.81664e-06 Jy ! Total flux subtracted in 200 components = 7.81664e-06 Jy ! Clean residual min=-0.000140 max=0.000142 Jy/beam ! Clean residual mean=-0.000000 rms=0.000046 Jy/beam ! Combined flux in latest and established models = 0.14352 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 353 components and 0.14352 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.012345Jy sigma=0.033583 ! Fit after self-cal, rms=0.012346Jy sigma=0.033580 ! 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.429 mas, bmaj=2.404 mas, bpa=9.35 degrees ! Estimated noise=11.9405 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.429 x 2.404 at 9.35 degrees (North through East) ! Clean map min=-0.0015076 max=0.056761 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.073 mas, bmaj=2.275 mas, bpa=9.589 degrees ! Estimated noise=18.2605 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0734585 Jy ! Component: 100 - total flux cleaned = 0.10431 Jy ! Component: 150 - total flux cleaned = 0.114744 Jy ! Component: 200 - total flux cleaned = 0.118917 Jy ! Total flux subtracted in 200 components = 0.118917 Jy ! Clean residual min=-0.004680 max=0.004712 Jy/beam ! Clean residual mean=0.000013 rms=0.001769 Jy/beam ! Combined flux in latest and established models = 0.118917 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 94 model components to the UV plane model. ! The established model now contains 94 components and 0.118917 Jy ! Inverting map and beam ! Estimated beam: bmin=1.429 mas, bmaj=2.404 mas, bpa=9.35 degrees ! Estimated noise=11.9405 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.00608965 Jy ! Component: 100 - total flux cleaned = 0.00749125 Jy ! Component: 150 - total flux cleaned = 0.0077541 Jy ! Component: 200 - total flux cleaned = 0.00755168 Jy ! Total flux subtracted in 200 components = 0.00755168 Jy ! Clean residual min=-0.001465 max=0.001455 Jy/beam ! Clean residual mean=0.000006 rms=0.000628 Jy/beam ! Combined flux in latest and established models = 0.126469 Jy ! Adding 100 model components to the UV plane model. ! The established model now contains 191 components and 0.126469 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.677 mas, bmaj=2.872 mas, bpa=60.56 degrees ! Estimated noise=10.1427 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000520834 Jy ! Component: 100 - total flux cleaned = 0.000205888 Jy ! Component: 150 - total flux cleaned = 0.000195584 Jy ! Component: 200 - total flux cleaned = 0.000520237 Jy ! Total flux subtracted in 200 components = 0.000520237 Jy ! Clean residual min=-0.000645 max=0.000644 Jy/beam ! Clean residual mean=0.000002 rms=0.000251 Jy/beam ! Combined flux in latest and established models = 0.126989 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.0002999 Jy ! Component: 100 - total flux cleaned = 0.0005903 Jy ! Component: 150 - total flux cleaned = 0.000590061 Jy ! Component: 200 - total flux cleaned = 0.00058959 Jy ! Total flux subtracted in 200 components = 0.00058959 Jy ! Clean residual min=-0.000652 max=0.000655 Jy/beam ! Clean residual mean=0.000001 rms=0.000204 Jy/beam ! Combined flux in latest and established models = 0.127578 Jy ! Adding 108 model components to the UV plane model. ! The established model now contains 294 components and 0.127578 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.429 mas, bmaj=2.404 mas, bpa=9.35 degrees ! Estimated noise=11.9405 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.32634e-05 Jy ! Component: 100 - total flux cleaned = -0.000142121 Jy ! Component: 150 - total flux cleaned = -0.000114639 Jy ! Component: 200 - total flux cleaned = -0.00013757 Jy ! Total flux subtracted in 200 components = -0.00013757 Jy ! Clean residual min=-0.000370 max=0.000368 Jy/beam ! Clean residual mean=-0.000000 rms=0.000127 Jy/beam ! Combined flux in latest and established models = 0.127441 Jy selfcal ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 343 components and 0.127441 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.012424Jy sigma=0.033808 ! Fit after self-cal, rms=0.012388Jy sigma=0.033749 wmodel /scr/pima/bp171af_uvs/J0117+3206_X_map.mod ! Writing 343 model components to file: /scr/pima/bp171af_uvs/J0117+3206_X_map.mod wobs /scr/pima/bp171af_uvs/J0117+3206_X_uvs.fits ! Writing UV FITS file: /scr/pima/bp171af_uvs/J0117+3206_X_uvs.fits wwins /scr/pima/bp171af_uvs/J0117+3206_X_map.win ! wwins: No CLEAN windows to write. ! Error occured in command: wwins ![Exited script file: /home/lpetrov/bin/01_muppet] ! wmap "/scr/pima/bp171af_uvs/J0117+3206_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.429 x 2.404 at 9.35 degrees (North through East) ! Clean map min=-0.0013916 max=0.057582 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171af_uvs/J0117+3206_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0575824 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000125121 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.651871 0.651871 1.30374 2.60748 5.21496 10.4299 20.8599 41.7197 83.4394 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.057 quit ! Quitting program ! Log file /scr/pima/bp171af_uvs/J0117+3206_X_uvs.log closed on Thu Oct 10 16:47:18 2013