! Started logfile: /scr/pima/rdv93_uvs/J0121+0422_S_uvs.log on Tue Sep 24 10:02:50 2013 obs /scr/pima/rdv93_uvs/J0121+0422_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv93_uvs/J0121+0422_S_uva.fits ! AN table 1: 11 integrations on 10 of 10 possible baselines. ! AN table 2: 11 integrations on 6 of 6 possible baselines. ! AN table 3: 12 integrations on 21 of 21 possible baselines. ! AN table 4: 13 integrations on 36 of 36 possible baselines. ! AN table 5: 22 integrations on 21 of 21 possible baselines. ! AN table 6: 29 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.743131 visibilities/baseline/integration-bin. ! Found source: J0121+0422 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 2.23693e+09 1.6e+07 1 1.6e+07 ! 02 2 2.26693e+09 1.6e+07 1 1.6e+07 ! 03 3 2.35693e+09 1.6e+07 1 1.6e+07 ! 04 4 2.37693e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 7140 visibilities. select RR ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.5 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/01_muppet /scr/pima/rdv93_uvs/J0121+0422_S] 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.500x0.500 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! A total of 2 telescope corrections were flagged in sub-array 1. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 5 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 141 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 1. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 5 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 141 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 1. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 5 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 141 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 1. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 5 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! A total of 141 telescope corrections were flagged in sub-array 6. ! ! Fit before self-cal, rms=1.324773Jy sigma=9.737058 ! Fit after self-cal, rms=0.259360Jy sigma=1.506214 ! 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=3.833 mas, bmaj=8.157 mas, bpa=-7.165 degrees ! Estimated noise=1.73563 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.644133 Jy ! Component: 100 - total flux cleaned = 0.802871 Jy ! Total flux subtracted in 100 components = 0.802871 Jy ! Clean residual min=-0.019920 max=0.064718 Jy/beam ! Clean residual mean=-0.000032 rms=0.006245 Jy/beam ! Combined flux in latest and established models = 0.802871 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.802871 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.198267Jy sigma=1.415010 ! Fit after self-cal, rms=0.198267Jy sigma=1.414423 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0681307 Jy ! Component: 100 - total flux cleaned = 0.102272 Jy ! Total flux subtracted in 100 components = 0.102272 Jy ! Clean residual min=-0.015863 max=0.018026 Jy/beam ! Clean residual mean=0.000031 rms=0.003995 Jy/beam ! Combined flux in latest and established models = 0.905142 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 19 components and 0.905142 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.171246Jy sigma=1.167496 ! Fit after self-cal, rms=0.171289Jy sigma=1.167332 ! 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=5.039 mas, bmaj=9.832 mas, bpa=-6.332 degrees ! Estimated noise=1.20436 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.0232645 Jy ! Component: 100 - total flux cleaned = 0.0313556 Jy ! Component: 150 - total flux cleaned = 0.0320175 Jy ! Component: 200 - total flux cleaned = 0.0325672 Jy ! Total flux subtracted in 200 components = 0.0325672 Jy ! Clean residual min=-0.014266 max=0.016753 Jy/beam ! Clean residual mean=0.000034 rms=0.004301 Jy/beam ! Combined flux in latest and established models = 0.937709 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 32 components and 0.93771 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.168414Jy sigma=1.140629 ! Fit after self-cal, rms=0.168424Jy sigma=1.140555 ! 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: ! FD 1.00 KP 1.03 LA 1.14 OV 0.98 ! PT 1.07 ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.97 HN 0.96 NL 1.00 SC 0.98 ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.96 HN 0.93 KP 1.01 LA 1.14 ! NL 0.97 OV 0.97 PT 1.03 ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.98 FD 1.01 HN 0.92 KP 1.03 ! LA 1.13 NL 1.00 OV 0.98 PT 1.04 ! SC 0.97 ! ! Telescope amplitude corrections in sub-array 5: ! BR 0.96 FD 1.02 KP 1.04 LA 1.14 ! MK 0.96 OV 0.99 PT 1.05 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 0.95 FD 1.00 HN 0.94 KP 1.04 ! LA 1.14 MK 0.89 NL 1.13 OV 0.97 ! PT 1.04 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.07 KP 1.02 LA 1.04 OV 1.02 ! PT 1.06 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.06 HN 1.04 NL 1.01 SC 1.06 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 HN 1.03 KP 1.02 LA 1.01 ! NL 1.02 OV 1.00 PT 1.03 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.04 FD 1.05 HN 1.04 KP 1.02 ! LA 1.04 NL 1.02 OV 1.03 PT 1.04 ! SC 1.06 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.02 FD 1.08 KP 1.04 LA 1.04 ! MK 1.09 OV 1.01 PT 1.06 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.02 FD 1.08 HN 1.05 KP 1.02 ! LA 1.03 MK 1.05 NL 1.22 OV 1.01 ! PT 1.04 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.09 KP 0.91 LA 0.99 OV 1.02 ! PT 1.09 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.07 HN 0.98 NL 1.14 SC 0.93 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.06 HN 0.93 KP 0.87 LA 0.99 ! NL 1.11 OV 1.01 PT 1.07 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.03 FD 1.10 HN 0.94 KP 0.89 ! LA 0.99 NL 1.08 OV 1.01 PT 1.09 ! SC 0.98 ! ! Telescope amplitude corrections in sub-array 5: ! BR 1.04 FD 1.11 KP 0.91 LA 0.96 ! MK 1.02 OV 1.03 PT 1.09 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.04 FD 1.09 HN 0.98 KP 0.91 ! LA 0.97 MK 1.03 NL 1.25 OV 1.01 ! PT 1.08 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.08 KP 0.86 LA 0.83 OV 0.87 ! PT 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.06 HN 0.93 NL 1.04 SC 0.96 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.00 HN 0.93 KP 0.83 LA 0.81 ! NL 1.02 OV 0.88 PT 0.93 ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.97 FD 1.06 HN 0.91 KP 0.84 ! LA 0.82 NL 1.01 OV 0.87 PT 0.95 ! SC 1.03 ! ! Telescope amplitude corrections in sub-array 5: ! BR 0.97 FD 1.08 KP 0.85 LA 0.82 ! MK 1.26 OV 0.88 PT 0.97 ! ! A total of 3 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! BR 1.00 FD 1.03 HN 0.94 KP 0.84 ! LA 0.83 MK 1.27 NL 1.17 OV 0.88 ! PT 0.97 ! ! ! Fit before self-cal, rms=0.168424Jy sigma=1.140555 ! Fit after self-cal, rms=0.130788Jy sigma=0.729595 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.079 mas, bmaj=9.886 mas, bpa=-5.83 degrees ! Estimated noise=1.20219 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.00100236 Jy ! Component: 100 - total flux cleaned = -0.00135168 Jy ! Component: 150 - total flux cleaned = -0.00135398 Jy ! Component: 200 - total flux cleaned = -0.00135708 Jy ! Total flux subtracted in 200 components = -0.00135708 Jy ! Clean residual min=-0.003305 max=0.003489 Jy/beam ! Clean residual mean=0.000002 rms=0.000817 Jy/beam ! Combined flux in latest and established models = 0.936352 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 43 components and 0.936353 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130635Jy sigma=0.728962 ! Fit after self-cal, rms=0.130742Jy sigma=0.728727 ! 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. ! ! Fit before self-cal, rms=0.130742Jy sigma=0.728727 ! Fit after self-cal, rms=0.130671Jy sigma=0.727481 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.079 mas, bmaj=9.889 mas, bpa=-5.824 degrees ! Estimated noise=1.20145 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000908159 Jy ! Component: 100 - total flux cleaned = -0.00105496 Jy ! Component: 150 - total flux cleaned = -0.00112132 Jy ! Component: 200 - total flux cleaned = -0.00112201 Jy ! Total flux subtracted in 200 components = -0.00112201 Jy ! Clean residual min=-0.002991 max=0.003226 Jy/beam ! Clean residual mean=0.000004 rms=0.000773 Jy/beam ! Combined flux in latest and established models = 0.935231 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.935231 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130559Jy sigma=0.727075 ! Fit after self-cal, rms=0.130556Jy sigma=0.727053 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.76057e-05 Jy ! Component: 100 - total flux cleaned = 1.89551e-05 Jy ! Component: 150 - total flux cleaned = 1.83052e-05 Jy ! Component: 200 - total flux cleaned = 1.72968e-05 Jy ! Total flux subtracted in 200 components = 1.72968e-05 Jy ! Clean residual min=-0.002961 max=0.003163 Jy/beam ! Clean residual mean=0.000004 rms=0.000766 Jy/beam ! Combined flux in latest and established models = 0.935248 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 48 components and 0.935248 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130485Jy sigma=0.726815 ! Fit after self-cal, rms=0.130480Jy sigma=0.726794 ! 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. ! ! Fit before self-cal, rms=0.130480Jy sigma=0.726794 ! Fit after self-cal, rms=0.130538Jy sigma=0.726621 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.08 mas, bmaj=9.894 mas, bpa=-5.81 degrees ! Estimated noise=1.20088 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000853535 Jy ! Component: 100 - total flux cleaned = -0.000908255 Jy ! Component: 150 - total flux cleaned = -0.000907968 Jy ! Component: 200 - total flux cleaned = -0.000908583 Jy ! Total flux subtracted in 200 components = -0.000908583 Jy ! Clean residual min=-0.002844 max=0.003079 Jy/beam ! Clean residual mean=0.000004 rms=0.000753 Jy/beam ! Combined flux in latest and established models = 0.934339 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 51 components and 0.934339 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130464Jy sigma=0.726411 ! Fit after self-cal, rms=0.130461Jy sigma=0.726395 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.06475e-08 Jy ! Component: 100 - total flux cleaned = -1.49867e-08 Jy ! Component: 150 - total flux cleaned = 1.23317e-07 Jy ! Component: 200 - total flux cleaned = -1.40685e-06 Jy ! Total flux subtracted in 200 components = -1.40685e-06 Jy ! Clean residual min=-0.002818 max=0.003055 Jy/beam ! Clean residual mean=0.000004 rms=0.000749 Jy/beam ! Combined flux in latest and established models = 0.934338 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 53 components and 0.934338 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130411Jy sigma=0.726253 ! Fit after self-cal, rms=0.130406Jy sigma=0.726237 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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. ! ! Fit before self-cal, rms=0.130406Jy sigma=0.726237 ! Fit after self-cal, rms=0.130449Jy sigma=0.726198 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.526 mas, bmaj=13.11 mas, bpa=6.412 degrees ! Estimated noise=1.24895 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000926975 Jy ! Component: 100 - total flux cleaned = -0.000975502 Jy ! Component: 150 - total flux cleaned = -0.00097325 Jy ! Component: 200 - total flux cleaned = -0.000957475 Jy ! Total flux subtracted in 200 components = -0.000957475 Jy ! Clean residual min=-0.002718 max=0.002730 Jy/beam ! Clean residual mean=0.000006 rms=0.000772 Jy/beam ! Combined flux in latest and established models = 0.93338 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 60 components and 0.93338 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130441Jy sigma=0.726188 ! Fit after self-cal, rms=0.130438Jy sigma=0.726159 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.6844e-05 Jy ! Component: 100 - total flux cleaned = 1.63881e-05 Jy ! Component: 150 - total flux cleaned = 1.62967e-05 Jy ! Component: 200 - total flux cleaned = 2.96046e-05 Jy ! Total flux subtracted in 200 components = 2.96046e-05 Jy ! Clean residual min=-0.002719 max=0.002720 Jy/beam ! Clean residual mean=0.000006 rms=0.000771 Jy/beam ! Combined flux in latest and established models = 0.93341 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 63 components and 0.93341 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130438Jy sigma=0.726146 ! Fit after self-cal, rms=0.130436Jy sigma=0.726129 ! 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=5.081 mas, bmaj=9.899 mas, bpa=-5.794 degrees ! Estimated noise=1.20041 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.081 x 9.899 at -5.794 degrees (North through East) ! Clean map min=-0.0027435 max=0.85734 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 ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130436Jy sigma=0.726129 ! Fit after self-cal, rms=0.550289Jy sigma=0.541366 ! Inverting map and beam ! Estimated beam: bmin=5.083 mas, bmaj=9.906 mas, bpa=-5.786 degrees ! Estimated noise=1.20052 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000460562 Jy ! Component: 100 - total flux cleaned = -0.000459501 Jy ! Component: 150 - total flux cleaned = -0.000509046 Jy ! Component: 200 - total flux cleaned = -0.000548846 Jy ! Total flux subtracted in 200 components = -0.000548846 Jy ! Clean residual min=-0.002647 max=0.003056 Jy/beam ! Clean residual mean=0.000005 rms=0.000724 Jy/beam ! Combined flux in latest and established models = 0.932861 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 66 components and 0.932861 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.550280Jy sigma=0.541152 ! Fit after self-cal, rms=0.550280Jy sigma=0.541141 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.61409e-05 Jy ! Component: 100 - total flux cleaned = 2.55711e-05 Jy ! Component: 150 - total flux cleaned = 2.64989e-05 Jy ! Component: 200 - total flux cleaned = 2.55613e-05 Jy ! Total flux subtracted in 200 components = 2.55613e-05 Jy ! Clean residual min=-0.002653 max=0.003043 Jy/beam ! Clean residual mean=0.000005 rms=0.000722 Jy/beam ! Combined flux in latest and established models = 0.932887 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 69 components and 0.932887 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.550274Jy sigma=0.541021 ! Fit after self-cal, rms=0.550273Jy sigma=0.541010 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.550273Jy sigma=0.541010 ! Fit after self-cal, rms=0.553526Jy sigma=0.540960 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=3.862 mas, bmaj=8.219 mas, bpa=-6.698 degrees ! Estimated noise=1.74114 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.645272 Jy ! Component: 100 - total flux cleaned = 0.802653 Jy ! Component: 150 - total flux cleaned = 0.86975 Jy ! Component: 200 - total flux cleaned = 0.901474 Jy ! Total flux subtracted in 200 components = 0.901474 Jy ! Clean residual min=-0.006612 max=0.014323 Jy/beam ! Clean residual mean=-0.000015 rms=0.001562 Jy/beam ! Combined flux in latest and established models = 0.901473 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 21 model components to the UV plane model. ! The established model now contains 21 components and 0.901473 Jy ! Inverting map and beam ! Estimated beam: bmin=5.085 mas, bmaj=9.91 mas, bpa=-5.76 degrees ! Estimated noise=1.20051 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.0185839 Jy ! Component: 100 - total flux cleaned = 0.0256986 Jy ! Component: 150 - total flux cleaned = 0.0269317 Jy ! Component: 200 - total flux cleaned = 0.0280392 Jy ! Total flux subtracted in 200 components = 0.0280392 Jy ! Clean residual min=-0.003024 max=0.003340 Jy/beam ! Clean residual mean=0.000003 rms=0.000772 Jy/beam ! Combined flux in latest and established models = 0.929513 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 42 components and 0.929513 Jy ! Inverting map ! Added new window around map position (-49.5, 75.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00192477 Jy ! Component: 100 - total flux cleaned = 0.00247904 Jy ! Component: 150 - total flux cleaned = 0.00286513 Jy ! Component: 200 - total flux cleaned = 0.00311617 Jy ! Total flux subtracted in 200 components = 0.00311617 Jy ! Clean residual min=-0.002627 max=0.003235 Jy/beam ! Clean residual mean=0.000003 rms=0.000723 Jy/beam ! Combined flux in latest and established models = 0.932629 Jy ! Adding 17 model components to the UV plane model. ! The established model now contains 52 components and 0.932629 Jy ! Inverting map ! Added new window around map position (39, 52). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0019951 Jy ! Component: 100 - total flux cleaned = 0.00206809 Jy ! Component: 150 - total flux cleaned = 0.00206674 Jy ! Component: 200 - total flux cleaned = 0.00214161 Jy ! Total flux subtracted in 200 components = 0.00214161 Jy ! Clean residual min=-0.002461 max=0.002576 Jy/beam ! Clean residual mean=0.000003 rms=0.000684 Jy/beam ! Combined flux in latest and established models = 0.934771 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 66 components and 0.934771 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.526 mas, bmaj=13.12 mas, bpa=6.387 degrees ! Estimated noise=1.24852 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00073764 Jy ! Component: 100 - total flux cleaned = 0.000825591 Jy ! Component: 150 - total flux cleaned = 0.000786206 Jy ! Component: 200 - total flux cleaned = 0.000784003 Jy ! Total flux subtracted in 200 components = 0.000784003 Jy ! Clean residual min=-0.002330 max=0.002337 Jy/beam ! Clean residual mean=0.000005 rms=0.000670 Jy/beam ! Combined flux in latest and established models = 0.935555 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.000123043 Jy ! Component: 100 - total flux cleaned = -0.000207041 Jy ! Component: 150 - total flux cleaned = -0.000308452 Jy ! Component: 200 - total flux cleaned = -0.000402058 Jy ! Total flux subtracted in 200 components = -0.000402058 Jy ! Clean residual min=-0.002334 max=0.002354 Jy/beam ! Clean residual mean=0.000005 rms=0.000668 Jy/beam ! Combined flux in latest and established models = 0.935153 Jy ! Adding 33 model components to the UV plane model. ! The established model now contains 99 components and 0.935152 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=5.085 mas, bmaj=9.91 mas, bpa=-5.76 degrees ! Estimated noise=1.20051 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000425671 Jy ! Component: 100 - total flux cleaned = -0.000552743 Jy ! Component: 150 - total flux cleaned = -0.000614752 Jy ! Component: 200 - total flux cleaned = -0.000672476 Jy ! Total flux subtracted in 200 components = -0.000672476 Jy ! Clean residual min=-0.002385 max=0.002657 Jy/beam ! Clean residual mean=0.000003 rms=0.000665 Jy/beam ! Combined flux in latest and established models = 0.93448 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 109 components and 0.93448 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.553381Jy sigma=0.540123 ! Fit after self-cal, rms=0.553335Jy sigma=0.539939 wmodel /scr/pima/rdv93_uvs/J0121+0422_S_map.mod ! Writing 109 model components to file: /scr/pima/rdv93_uvs/J0121+0422_S_map.mod wobs /scr/pima/rdv93_uvs/J0121+0422_S_uvs.fits ! Writing UV FITS file: /scr/pima/rdv93_uvs/J0121+0422_S_uvs.fits wwins /scr/pima/rdv93_uvs/J0121+0422_S_map.win ! wwins: Wrote 3 windows to /scr/pima/rdv93_uvs/J0121+0422_S_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.000806702 Jy ! Component: 100 - total flux cleaned = 0.00137305 Jy ! Component: 150 - total flux cleaned = 0.00166618 Jy ! Component: 200 - total flux cleaned = 0.00186965 Jy ! Component: 250 - total flux cleaned = 0.00210762 Jy ! Component: 300 - total flux cleaned = 0.00218528 Jy ! Component: 350 - total flux cleaned = 0.00222319 Jy ! Component: 400 - total flux cleaned = 0.00226009 Jy ! Component: 450 - total flux cleaned = 0.00222299 Jy ! Component: 500 - total flux cleaned = 0.00222309 Jy ! Component: 550 - total flux cleaned = 0.00240081 Jy ! Component: 600 - total flux cleaned = 0.00243531 Jy ! Component: 650 - total flux cleaned = 0.0025047 Jy ! Component: 700 - total flux cleaned = 0.00264118 Jy ! Component: 750 - total flux cleaned = 0.00267496 Jy ! Component: 800 - total flux cleaned = 0.0027084 Jy ! Component: 850 - total flux cleaned = 0.00277391 Jy ! Component: 900 - total flux cleaned = 0.00270885 Jy ! Component: 950 - total flux cleaned = 0.00283845 Jy ! Component: 1000 - total flux cleaned = 0.00287043 Jy ! Component: 1050 - total flux cleaned = 0.00302855 Jy ! Component: 1100 - total flux cleaned = 0.00309153 Jy ! Component: 1150 - total flux cleaned = 0.00321622 Jy ! Component: 1200 - total flux cleaned = 0.00343207 Jy ! Component: 1250 - total flux cleaned = 0.00358515 Jy ! Component: 1300 - total flux cleaned = 0.00373641 Jy ! Component: 1350 - total flux cleaned = 0.00382637 Jy ! Component: 1400 - total flux cleaned = 0.00397531 Jy ! Component: 1450 - total flux cleaned = 0.00409331 Jy ! Component: 1500 - total flux cleaned = 0.00418088 Jy ! Component: 1550 - total flux cleaned = 0.00421003 Jy ! Component: 1600 - total flux cleaned = 0.00426784 Jy ! Component: 1650 - total flux cleaned = 0.00432561 Jy ! Component: 1700 - total flux cleaned = 0.0043543 Jy ! Component: 1750 - total flux cleaned = 0.00443903 Jy ! Component: 1800 - total flux cleaned = 0.0045231 Jy ! Component: 1850 - total flux cleaned = 0.00455075 Jy ! Component: 1900 - total flux cleaned = 0.00463332 Jy ! Component: 1950 - total flux cleaned = 0.00449634 Jy ! Component: 2000 - total flux cleaned = 0.00471421 Jy ! Component: 2050 - total flux cleaned = 0.00479529 Jy ! Component: 2100 - total flux cleaned = 0.00490252 Jy ! Component: 2150 - total flux cleaned = 0.00498237 Jy ! Component: 2200 - total flux cleaned = 0.00503521 Jy ! Component: 2250 - total flux cleaned = 0.00514013 Jy ! Component: 2300 - total flux cleaned = 0.00513981 Jy ! Component: 2350 - total flux cleaned = 0.00529542 Jy ! Component: 2400 - total flux cleaned = 0.00524363 Jy ! Component: 2450 - total flux cleaned = 0.00529482 Jy ! Component: 2500 - total flux cleaned = 0.00544755 Jy ! Component: 2550 - total flux cleaned = 0.00552324 Jy ! Component: 2600 - total flux cleaned = 0.00557349 Jy ! Component: 2650 - total flux cleaned = 0.00567366 Jy ! Component: 2700 - total flux cleaned = 0.00567344 Jy ! Component: 2750 - total flux cleaned = 0.0057725 Jy ! Component: 2800 - total flux cleaned = 0.00587077 Jy ! Component: 2850 - total flux cleaned = 0.00587081 Jy ! Component: 2900 - total flux cleaned = 0.00594332 Jy ! Component: 2950 - total flux cleaned = 0.00599153 Jy ! Component: 3000 - total flux cleaned = 0.00589532 Jy ! Component: 3050 - total flux cleaned = 0.00591914 Jy ! Component: 3100 - total flux cleaned = 0.0059903 Jy ! Component: 3150 - total flux cleaned = 0.00601378 Jy ! Component: 3200 - total flux cleaned = 0.00608449 Jy ! Component: 3250 - total flux cleaned = 0.00617791 Jy ! Component: 3300 - total flux cleaned = 0.00620093 Jy ! Component: 3350 - total flux cleaned = 0.00627018 Jy ! Component: 3400 - total flux cleaned = 0.0062929 Jy ! Component: 3450 - total flux cleaned = 0.00629291 Jy ! Component: 3500 - total flux cleaned = 0.0063383 Jy ! Component: 3550 - total flux cleaned = 0.00640619 Jy ! Component: 3600 - total flux cleaned = 0.00642868 Jy ! Component: 3650 - total flux cleaned = 0.00640642 Jy ! Component: 3700 - total flux cleaned = 0.00647311 Jy ! Component: 3750 - total flux cleaned = 0.0065396 Jy ! Component: 3800 - total flux cleaned = 0.00660562 Jy ! Component: 3850 - total flux cleaned = 0.00662745 Jy ! Component: 3900 - total flux cleaned = 0.00660563 Jy ! Component: 3950 - total flux cleaned = 0.00673601 Jy ! Component: 4000 - total flux cleaned = 0.00671437 Jy ! Component: 4050 - total flux cleaned = 0.00684361 Jy ! Total flux subtracted in 4096 components = 0.00673665 Jy ! Clean residual min=-0.001307 max=0.001144 Jy/beam ! Clean residual mean=0.000004 rms=0.000402 Jy/beam ! Combined flux in latest and established models = 0.941217 Jy keep ! Adding 248 model components to the UV plane model. ! The established model now contains 357 components and 0.941216 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/rdv93_uvs/J0121+0422_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.085 x 9.91 at -5.76 degrees (North through East) ! Clean map min=-0.0021839 max=0.85784 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv93_uvs/J0121+0422_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.857841 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000402154 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.14064 0.14064 0.281279 0.562558 1.12512 2.25023 4.50046 9.00093 18.0019 36.0037 72.0074 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0012 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.857 quit ! Quitting program ! Log file /scr/pima/rdv93_uvs/J0121+0422_S_uvs.log closed on Tue Sep 24 10:02:55 2013