! Started logfile: /scr/pima/s3111a_uvs/J1931+0937_X_uvs.log on Mon Jul 23 07:19:01 2012 obs /scr/pima/s3111a_uvs/J1931+0937_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111a_uvs/J1931+0937_X_uva.fits ! AN table 1: 75 integrations on 55 of 55 possible baselines. ! Apparent sampling: 0.926788 visibilities/baseline/integration-bin. ! Found source: J1931+0937 ! ! 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 8.41193e+09 1.6e+07 1 1.6e+07 ! 02 2 8.42793e+09 1.6e+07 1 1.6e+07 ! 03 3 8.52393e+09 1.6e+07 1 1.6e+07 ! 04 4 8.57193e+09 1.6e+07 1 1.6e+07 ! 05 5 8.65193e+09 1.6e+07 1 1.6e+07 ! 06 6 8.82793e+09 1.6e+07 1 1.6e+07 ! 07 7 8.85993e+09 1.6e+07 1 1.6e+07 ! 08 8 8.89193e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 30584 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 = 512 print "field_cell =",field_cell ! field_cell = 0.1 print "taper_size =",taper_size ! taper_size = 120 ![@/home/lpetrov/bin/01_muppet /scr/pima/s3111a_uvs/J1931+0937_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 = 512x512 pixels with 0.100x0.100 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 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 183 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 34 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.001582Jy sigma=0.708221 ! Fit after self-cal, rms=0.974303Jy sigma=0.688932 ! 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.6635 mas, bmaj=1.774 mas, bpa=-0.06614 degrees ! Estimated noise=13.1586 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.0192662 Jy ! Component: 100 - total flux cleaned = 0.0239665 Jy ! Total flux subtracted in 100 components = 0.0239665 Jy ! Clean residual min=-0.001604 max=0.002421 Jy/beam ! Clean residual mean=0.000017 rms=0.000485 Jy/beam ! Combined flux in latest and established models = 0.0239665 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.0239665 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.027964Jy sigma=0.019773 ! Fit after self-cal, rms=0.026041Jy sigma=0.018414 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00331795 Jy ! Component: 100 - total flux cleaned = 0.00408024 Jy ! Total flux subtracted in 100 components = 0.00408024 Jy ! Clean residual min=-0.001304 max=0.002055 Jy/beam ! Clean residual mean=0.000016 rms=0.000428 Jy/beam ! Combined flux in latest and established models = 0.0280467 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 12 components and 0.0280467 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.025554Jy sigma=0.018069 ! Fit after self-cal, rms=0.025552Jy sigma=0.018068 ! 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=0.8421 mas, bmaj=2.066 mas, bpa=-0.009179 degrees ! Estimated noise=5.84819 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.0012729 Jy ! Component: 100 - total flux cleaned = 0.00189088 Jy ! Component: 150 - total flux cleaned = 0.00223273 Jy ! Component: 200 - total flux cleaned = 0.00230796 Jy ! Total flux subtracted in 200 components = 0.00230796 Jy ! Clean residual min=-0.000963 max=0.001517 Jy/beam ! Clean residual mean=0.000002 rms=0.000321 Jy/beam ! Combined flux in latest and established models = 0.0303546 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 29 components and 0.0303546 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.025494Jy sigma=0.018027 ! Fit after self-cal, rms=0.025492Jy sigma=0.018026 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.18 FD 0.90 GB 1.01 HN 0.93 ! KP 0.90 LA 1.10 MK 1.08 NL 1.11 ! OV 1.14 PT 0.94 SC 0.88 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.14 FD 0.94 GB 1.00 HN 0.94 ! KP 0.91 LA 1.08 MK 1.04 NL 1.12 ! OV 1.13 PT 0.96 SC 0.88 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.19 FD 0.91 GB 1.00 HN 0.90 ! KP 0.90 LA 1.05 MK 1.01 NL 1.07 ! OV 1.12 PT 0.96 SC 0.90 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.15 FD 0.94 GB 0.99 HN 0.94 ! KP 0.84 LA 1.04 MK 1.08 NL 1.21 ! OV 1.15 PT 0.95 SC 0.95 ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 FD 0.88 GB 0.97 HN 0.87 ! KP 0.86 LA 1.07 MK 0.97 NL 1.10 ! OV 1.15 PT 0.97 SC 0.89 ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.17 FD 0.90 GB 1.03 HN 0.91 ! KP 0.84 LA 1.07 MK 1.03 NL 1.11 ! OV 1.16 PT 1.00 SC 0.93 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 0.92 GB 1.03 HN 0.98 ! KP 0.82 LA 1.09 MK 1.00* NL 1.05 ! OV 1.06 PT 1.03 SC 0.92 ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 0.95 GB 1.00 HN 1.00 ! KP 0.86 LA 1.07 MK 1.01 NL 1.07 ! OV 1.13 PT 0.96 SC 1.00 ! ! ! Fit before self-cal, rms=0.025492Jy sigma=0.018026 ! Fit after self-cal, rms=0.025857Jy sigma=0.017836 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.835 mas, bmaj=2.062 mas, bpa=0.442 degrees ! Estimated noise=5.82404 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.000330567 Jy ! Component: 100 - total flux cleaned = 0.000377598 Jy ! Component: 150 - total flux cleaned = 0.000425431 Jy ! Component: 200 - total flux cleaned = 0.000453271 Jy ! Total flux subtracted in 200 components = 0.000453271 Jy ! Clean residual min=-0.000677 max=0.000840 Jy/beam ! Clean residual mean=-0.000003 rms=0.000226 Jy/beam ! Combined flux in latest and established models = 0.0308079 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 36 components and 0.0308079 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.025848Jy sigma=0.017831 ! Fit after self-cal, rms=0.025887Jy sigma=0.017820 ! 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.025887Jy sigma=0.017820 ! Fit after self-cal, rms=0.026041Jy sigma=0.017775 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8296 mas, bmaj=2.048 mas, bpa=0.5683 degrees ! Estimated noise=5.83858 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000354794 Jy ! Component: 100 - total flux cleaned = 0.000429942 Jy ! Component: 150 - total flux cleaned = 0.000466369 Jy ! Component: 200 - total flux cleaned = 0.000492507 Jy ! Total flux subtracted in 200 components = 0.000492507 Jy ! Clean residual min=-0.000653 max=0.000830 Jy/beam ! Clean residual mean=-0.000006 rms=0.000199 Jy/beam ! Combined flux in latest and established models = 0.0313004 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 38 components and 0.0313004 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.026035Jy sigma=0.017772 ! Fit after self-cal, rms=0.026040Jy sigma=0.017771 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.34059e-05 Jy ! Component: 100 - total flux cleaned = 4.79367e-05 Jy ! Component: 150 - total flux cleaned = 4.77207e-05 Jy ! Component: 200 - total flux cleaned = 5.10217e-05 Jy ! Total flux subtracted in 200 components = 5.10217e-05 Jy ! Clean residual min=-0.000653 max=0.000829 Jy/beam ! Clean residual mean=-0.000006 rms=0.000198 Jy/beam ! Combined flux in latest and established models = 0.0313515 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 43 components and 0.0313515 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.026038Jy sigma=0.017770 ! Fit after self-cal, rms=0.026038Jy sigma=0.017770 ! 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.026038Jy sigma=0.017770 ! Fit after self-cal, rms=0.026103Jy sigma=0.017766 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8245 mas, bmaj=2.037 mas, bpa=0.6692 degrees ! Estimated noise=5.83792 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000258586 Jy ! Component: 100 - total flux cleaned = 0.000327489 Jy ! Component: 150 - total flux cleaned = 0.000364133 Jy ! Component: 200 - total flux cleaned = 0.000398653 Jy ! Total flux subtracted in 200 components = 0.000398653 Jy ! Clean residual min=-0.000641 max=0.000847 Jy/beam ! Clean residual mean=-0.000007 rms=0.000195 Jy/beam ! Combined flux in latest and established models = 0.0317501 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 49 components and 0.0317501 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.026099Jy sigma=0.017765 ! Fit after self-cal, rms=0.026100Jy sigma=0.017765 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 (-1.6, -8.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00087323 Jy ! Component: 100 - total flux cleaned = 0.00136074 Jy ! Component: 150 - total flux cleaned = 0.00160962 Jy ! Component: 200 - total flux cleaned = 0.0017605 Jy ! Total flux subtracted in 200 components = 0.0017605 Jy ! Clean residual min=-0.000588 max=0.000768 Jy/beam ! Clean residual mean=-0.000012 rms=0.000167 Jy/beam ! Combined flux in latest and established models = 0.0335106 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 75 components and 0.0335106 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.026065Jy sigma=0.017745 ! Fit after self-cal, rms=0.026060Jy sigma=0.017743 ! Inverting map ! Added new window around map position (-12.8, -10.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000688933 Jy ! Component: 100 - total flux cleaned = 0.00105118 Jy ! Component: 150 - total flux cleaned = 0.0013303 Jy ! Component: 200 - total flux cleaned = 0.00154638 Jy ! Total flux subtracted in 200 components = 0.00154638 Jy ! Clean residual min=-0.000553 max=0.000489 Jy/beam ! Clean residual mean=-0.000007 rms=0.000157 Jy/beam ! Combined flux in latest and established models = 0.035057 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 97 components and 0.035057 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.026037Jy sigma=0.017730 ! Fit after self-cal, rms=0.026036Jy sigma=0.017729 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 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.026036Jy sigma=0.017729 ! Fit after self-cal, rms=0.026031Jy sigma=0.017726 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.235 mas, bmaj=2.467 mas, bpa=-0.3947 degrees ! Estimated noise=6.61316 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000326102 Jy ! Component: 100 - total flux cleaned = 0.000448873 Jy ! Component: 150 - total flux cleaned = 0.000569985 Jy ! Component: 200 - total flux cleaned = 0.000691542 Jy ! Total flux subtracted in 200 components = 0.000691542 Jy ! Clean residual min=-0.000703 max=0.000522 Jy/beam ! Clean residual mean=-0.000011 rms=0.000179 Jy/beam ! Combined flux in latest and established models = 0.0357485 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 115 components and 0.0357485 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.026024Jy sigma=0.017723 ! Fit after self-cal, rms=0.026023Jy sigma=0.017723 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.000140169 Jy ! Component: 100 - total flux cleaned = 0.000232228 Jy ! Component: 150 - total flux cleaned = 0.000319327 Jy ! Component: 200 - total flux cleaned = 0.000381616 Jy ! Total flux subtracted in 200 components = 0.000381616 Jy ! Clean residual min=-0.000698 max=0.000542 Jy/beam ! Clean residual mean=-0.000011 rms=0.000177 Jy/beam ! Combined flux in latest and established models = 0.0361301 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 125 components and 0.0361301 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.026021Jy sigma=0.017722 ! Fit after self-cal, rms=0.026021Jy sigma=0.017722 ! 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=0.8225 mas, bmaj=2.033 mas, bpa=0.6776 degrees ! Estimated noise=5.83586 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8225 x 2.033 at 0.6776 degrees (North through East) ! Clean map min=-0.00054423 max=0.027611 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.6465 mas, bmaj=1.757 mas, bpa=0.3894 degrees ! Estimated noise=13.1666 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.021147 Jy ! Component: 100 - total flux cleaned = 0.026602 Jy ! Component: 150 - total flux cleaned = 0.0287622 Jy ! Component: 200 - total flux cleaned = 0.0298181 Jy ! Total flux subtracted in 200 components = 0.0298181 Jy ! Clean residual min=-0.001057 max=0.000961 Jy/beam ! Clean residual mean=0.000006 rms=0.000305 Jy/beam ! Combined flux in latest and established models = 0.0298181 Jy uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Adding 16 model components to the UV plane model. ! The established model now contains 16 components and 0.0298181 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8225 mas, bmaj=2.033 mas, bpa=0.6776 degrees ! Estimated noise=5.83586 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.00134864 Jy ! Component: 100 - total flux cleaned = 0.00225527 Jy ! Component: 150 - total flux cleaned = 0.00296187 Jy ! Component: 200 - total flux cleaned = 0.00353559 Jy ! Total flux subtracted in 200 components = 0.00353559 Jy ! Clean residual min=-0.000642 max=0.000557 Jy/beam ! Clean residual mean=-0.000003 rms=0.000177 Jy/beam ! Combined flux in latest and established models = 0.0333537 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 64 components and 0.0333536 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.235 mas, bmaj=2.467 mas, bpa=-0.3947 degrees ! Estimated noise=6.61316 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000680719 Jy ! Component: 100 - total flux cleaned = 0.00117777 Jy ! Component: 150 - total flux cleaned = 0.00143585 Jy ! Component: 200 - total flux cleaned = 0.00164373 Jy ! Total flux subtracted in 200 components = 0.00164373 Jy ! Clean residual min=-0.000745 max=0.000515 Jy/beam ! Clean residual mean=-0.000009 rms=0.000189 Jy/beam ! Combined flux in latest and established models = 0.0349974 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.000184327 Jy ! Component: 100 - total flux cleaned = 0.000348794 Jy ! Component: 150 - total flux cleaned = 0.000496143 Jy ! Component: 200 - total flux cleaned = 0.000620127 Jy ! Total flux subtracted in 200 components = 0.000620127 Jy ! Clean residual min=-0.000729 max=0.000521 Jy/beam ! Clean residual mean=-0.000009 rms=0.000182 Jy/beam ! Combined flux in latest and established models = 0.0356175 Jy ! Adding 61 model components to the UV plane model. ! The established model now contains 117 components and 0.0356175 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8225 mas, bmaj=2.033 mas, bpa=0.6776 degrees ! Estimated noise=5.83586 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0001856 Jy ! Component: 100 - total flux cleaned = 0.000288485 Jy ! Component: 150 - total flux cleaned = 0.00035448 Jy ! Component: 200 - total flux cleaned = 0.000400641 Jy ! Total flux subtracted in 200 components = 0.000400641 Jy ! Clean residual min=-0.000576 max=0.000458 Jy/beam ! Clean residual mean=-0.000006 rms=0.000154 Jy/beam ! Combined flux in latest and established models = 0.0360181 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 139 components and 0.0360181 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.026025Jy sigma=0.017725 ! Fit after self-cal, rms=0.026023Jy sigma=0.017724 wmodel /scr/pima/s3111a_uvs/J1931+0937_X_map.mod ! Writing 139 model components to file: /scr/pima/s3111a_uvs/J1931+0937_X_map.mod wobs /scr/pima/s3111a_uvs/J1931+0937_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111a_uvs/J1931+0937_X_uvs.fits wwins /scr/pima/s3111a_uvs/J1931+0937_X_map.win ! wwins: Wrote 3 windows to /scr/pima/s3111a_uvs/J1931+0937_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=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.000246762 Jy ! Component: 100 - total flux cleaned = -0.000410928 Jy ! Component: 150 - total flux cleaned = -0.000500397 Jy ! Component: 200 - total flux cleaned = -0.000531377 Jy ! Component: 250 - total flux cleaned = -0.000516522 Jy ! Component: 300 - total flux cleaned = -0.000509323 Jy ! Component: 350 - total flux cleaned = -0.000481002 Jy ! Component: 400 - total flux cleaned = -0.000460349 Jy ! Component: 450 - total flux cleaned = -0.000446688 Jy ! Component: 500 - total flux cleaned = -0.00041385 Jy ! Component: 550 - total flux cleaned = -0.000394644 Jy ! Component: 600 - total flux cleaned = -0.000356797 Jy ! Component: 650 - total flux cleaned = -0.000332128 Jy ! Component: 700 - total flux cleaned = -0.0003078 Jy ! Component: 750 - total flux cleaned = -0.000277873 Jy ! Component: 800 - total flux cleaned = -0.000242702 Jy ! Component: 850 - total flux cleaned = -0.000225405 Jy ! Component: 900 - total flux cleaned = -0.000191423 Jy ! Component: 950 - total flux cleaned = -0.000163609 Jy ! Component: 1000 - total flux cleaned = -0.000152801 Jy ! Component: 1050 - total flux cleaned = -0.000152887 Jy ! Component: 1100 - total flux cleaned = -0.000147629 Jy ! Component: 1150 - total flux cleaned = -0.000152811 Jy ! Component: 1200 - total flux cleaned = -0.000142451 Jy ! Component: 1250 - total flux cleaned = -0.000137331 Jy ! Component: 1300 - total flux cleaned = -0.000132365 Jy ! Component: 1350 - total flux cleaned = -0.000137395 Jy ! Component: 1400 - total flux cleaned = -0.000137376 Jy ! Component: 1450 - total flux cleaned = -0.000132432 Jy ! Component: 1500 - total flux cleaned = -0.000118109 Jy ! Component: 1550 - total flux cleaned = -0.000113421 Jy ! Component: 1600 - total flux cleaned = -0.000108751 Jy ! Component: 1650 - total flux cleaned = -9.95851e-05 Jy ! Component: 1700 - total flux cleaned = -0.000108722 Jy ! Component: 1750 - total flux cleaned = -9.51333e-05 Jy ! Component: 1800 - total flux cleaned = -8.61474e-05 Jy ! Component: 1850 - total flux cleaned = -7.7307e-05 Jy ! Component: 1900 - total flux cleaned = -5.98649e-05 Jy ! Component: 1950 - total flux cleaned = -7.28718e-05 Jy ! Component: 2000 - total flux cleaned = -5.14343e-05 Jy ! Total flux subtracted in 2048 components = -5.56942e-05 Jy ! Clean residual min=-0.000236 max=0.000249 Jy/beam ! Clean residual mean=-0.000005 rms=0.000098 Jy/beam ! Combined flux in latest and established models = 0.0359624 Jy keep ! Adding 172 model components to the UV plane model. ! The established model now contains 311 components and 0.0359624 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s3111a_uvs/J1931+0937_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8225 x 2.033 at 0.6776 degrees (North through East) ! Clean map min=-0.00045319 max=0.027581 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111a_uvs/J1931+0937_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0275807 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 9.79655e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.06559 1.06559 2.13117 4.26235 8.5247 17.0494 34.0988 68.1976 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.027 quit ! Quitting program ! Log file /scr/pima/s3111a_uvs/J1931+0937_X_uvs.log closed on Mon Jul 23 07:19:04 2012