! Started logfile: /scr/pima/s5272a_uvs/J0228+6721_X_uvs.log on Mon Dec 16 09:34:37 2013 obs /scr/pima/s5272a_uvs/J0228+6721_X_uva.fits ! Reading UV FITS file: /scr/pima/s5272a_uvs/J0228+6721_X_uva.fits ! AN table 1: 22 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.848485 visibilities/baseline/integration-bin. ! Found source: J0228+6721 ! ! 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 LL RL LR ! ! Read 0 lines of history. ! ! Reading 21504 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/s5272a_uvs/J0228+6721_X] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 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. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.313792Jy sigma=38.606041 ! Fit after self-cal, rms=0.274141Jy sigma=6.116369 ! 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.8856 mas, bmaj=1.055 mas, bpa=62.78 degrees ! Estimated noise=0.60281 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.646671 Jy ! Component: 100 - total flux cleaned = 0.803292 Jy ! Total flux subtracted in 100 components = 0.803292 Jy ! Clean residual min=-0.026635 max=0.061369 Jy/beam ! Clean residual mean=0.000175 rms=0.007084 Jy/beam ! Combined flux in latest and established models = 0.803292 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 6 components and 0.803292 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.204563Jy sigma=6.432966 ! Fit after self-cal, rms=0.204592Jy sigma=6.432186 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.062835 Jy ! Component: 100 - total flux cleaned = 0.0932932 Jy ! Total flux subtracted in 100 components = 0.0932932 Jy ! Clean residual min=-0.024765 max=0.036520 Jy/beam ! Clean residual mean=0.000142 rms=0.005870 Jy/beam ! Combined flux in latest and established models = 0.896585 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 11 components and 0.896585 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.190925Jy sigma=5.376174 ! Fit after self-cal, rms=0.190833Jy sigma=5.372627 ! Inverting map ! Added new window around map position (-0.6, 4.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0355983 Jy ! Component: 100 - total flux cleaned = 0.0576003 Jy ! Total flux subtracted in 100 components = 0.0576003 Jy ! Clean residual min=-0.023064 max=0.029825 Jy/beam ! Clean residual mean=0.000117 rms=0.005417 Jy/beam ! Combined flux in latest and established models = 0.954185 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 24 components and 0.954185 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.182476Jy sigma=4.929673 ! Fit after self-cal, rms=0.181241Jy sigma=4.902835 ! 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.186 mas, bmaj=1.447 mas, bpa=79.12 degrees ! Estimated noise=0.374705 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.0328807 Jy ! Component: 100 - total flux cleaned = 0.0531511 Jy ! Component: 150 - total flux cleaned = 0.066647 Jy ! Component: 200 - total flux cleaned = 0.0759598 Jy ! Total flux subtracted in 200 components = 0.0759598 Jy ! Clean residual min=-0.030315 max=0.032937 Jy/beam ! Clean residual mean=0.000297 rms=0.008342 Jy/beam ! Combined flux in latest and established models = 1.03014 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 44 components and 1.03014 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.180224Jy sigma=4.522515 ! Fit after self-cal, rms=0.179518Jy sigma=4.504054 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.186 x 1.447 at 79.12 degrees (North through East) ! Clean map min=-0.030427 max=0.85267 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. 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.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Fit before self-cal, rms=0.179518Jy sigma=4.504054 ! Fit after self-cal, rms=0.178370Jy sigma=4.290083 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.181 mas, bmaj=1.44 mas, bpa=79.12 degrees ! Estimated noise=0.377387 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.00992929 Jy ! Component: 100 - total flux cleaned = 0.0157887 Jy ! Component: 150 - total flux cleaned = 0.0189727 Jy ! Component: 200 - total flux cleaned = 0.0202086 Jy ! Total flux subtracted in 200 components = 0.0202086 Jy ! Clean residual min=-0.030292 max=0.031001 Jy/beam ! Clean residual mean=0.000238 rms=0.007480 Jy/beam ! Combined flux in latest and established models = 1.05035 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 50 components and 1.05035 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.178566Jy sigma=4.241339 ! Fit after self-cal, rms=0.178459Jy sigma=4.238641 ! 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.178459Jy sigma=4.238641 ! Fit after self-cal, rms=0.174790Jy sigma=4.088840 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.18 mas, bmaj=1.44 mas, bpa=78.83 degrees ! Estimated noise=0.378549 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00191891 Jy ! Component: 100 - total flux cleaned = 0.00322868 Jy ! Component: 150 - total flux cleaned = 0.00402136 Jy ! Component: 200 - total flux cleaned = 0.00460161 Jy ! Total flux subtracted in 200 components = 0.00460161 Jy ! Clean residual min=-0.028650 max=0.029243 Jy/beam ! Clean residual mean=0.000211 rms=0.006802 Jy/beam ! Combined flux in latest and established models = 1.05496 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 57 components and 1.05496 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.175107Jy sigma=4.071453 ! Fit after self-cal, rms=0.175092Jy sigma=4.070914 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 (-10.4, -1.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0268057 Jy ! Component: 100 - total flux cleaned = 0.0368359 Jy ! Component: 150 - total flux cleaned = 0.0372207 Jy ! Component: 200 - total flux cleaned = 0.0368959 Jy ! Total flux subtracted in 200 components = 0.0368959 Jy ! Clean residual min=-0.031013 max=0.030317 Jy/beam ! Clean residual mean=0.000200 rms=0.006553 Jy/beam ! Combined flux in latest and established models = 1.09185 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 74 components and 1.09185 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.169398Jy sigma=3.967488 ! Fit after self-cal, rms=0.168686Jy sigma=3.932051 ! 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.168686Jy sigma=3.932051 ! Fit after self-cal, rms=0.166900Jy sigma=3.843616 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.178 mas, bmaj=1.439 mas, bpa=78.96 degrees ! Estimated noise=0.379189 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0131485 Jy ! Component: 100 - total flux cleaned = 0.0146423 Jy ! Component: 150 - total flux cleaned = 0.0143596 Jy ! Component: 200 - total flux cleaned = 0.014875 Jy ! Total flux subtracted in 200 components = 0.014875 Jy ! Clean residual min=-0.029255 max=0.024102 Jy/beam ! Clean residual mean=0.000175 rms=0.006319 Jy/beam ! Combined flux in latest and established models = 1.10673 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 80 components and 1.10673 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.164212Jy sigma=3.816259 ! Fit after self-cal, rms=0.164136Jy sigma=3.806240 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.00526309 Jy ! Component: 100 - total flux cleaned = 0.00525204 Jy ! Component: 150 - total flux cleaned = 0.00524774 Jy ! Component: 200 - total flux cleaned = 0.00525228 Jy ! Total flux subtracted in 200 components = 0.00525228 Jy ! Clean residual min=-0.028492 max=0.023960 Jy/beam ! Clean residual mean=0.000174 rms=0.006271 Jy/beam ! Combined flux in latest and established models = 1.11198 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 85 components and 1.11198 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.162527Jy sigma=3.799382 ! Fit after self-cal, rms=0.162562Jy sigma=3.796231 ! 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.162562Jy sigma=3.796231 ! Fit after self-cal, rms=0.162523Jy sigma=3.793572 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.184 mas, bmaj=2.754 mas, bpa=85.67 degrees ! Estimated noise=0.452074 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0122303 Jy ! Component: 100 - total flux cleaned = 0.0159726 Jy ! Component: 150 - total flux cleaned = 0.016403 Jy ! Component: 200 - total flux cleaned = 0.0167764 Jy ! Total flux subtracted in 200 components = 0.0167764 Jy ! Clean residual min=-0.040414 max=0.038162 Jy/beam ! Clean residual mean=0.000359 rms=0.011586 Jy/beam ! Combined flux in latest and established models = 1.12875 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 88 components and 1.12875 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.161545Jy sigma=3.792334 ! Fit after self-cal, rms=0.161504Jy sigma=3.787664 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.00427191 Jy ! Component: 100 - total flux cleaned = 0.00465671 Jy ! Component: 150 - total flux cleaned = 0.00516286 Jy ! Component: 200 - total flux cleaned = 0.00546491 Jy ! Total flux subtracted in 200 components = 0.00546491 Jy ! Clean residual min=-0.039632 max=0.037563 Jy/beam ! Clean residual mean=0.000354 rms=0.011541 Jy/beam ! Combined flux in latest and established models = 1.13422 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 89 components and 1.13422 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.160920Jy sigma=3.794521 ! Fit after self-cal, rms=0.160946Jy sigma=3.793279 ! 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.177 mas, bmaj=1.438 mas, bpa=79.07 degrees ! Estimated noise=0.379389 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.177 x 1.438 at 79.07 degrees (North through East) ! Clean map min=-0.027733 max=0.83475 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.160946Jy sigma=3.793279 ! Fit after self-cal, rms=0.159522Jy sigma=3.748557 ! Inverting map and beam ! Estimated beam: bmin=1.176 mas, bmaj=1.437 mas, bpa=79.45 degrees ! Estimated noise=0.379097 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0018588 Jy ! Component: 100 - total flux cleaned = -0.00368059 Jy ! Component: 150 - total flux cleaned = -0.00387724 Jy ! Component: 200 - total flux cleaned = -0.00387384 Jy ! Total flux subtracted in 200 components = -0.00387384 Jy ! Clean residual min=-0.027947 max=0.023840 Jy/beam ! Clean residual mean=0.000169 rms=0.006171 Jy/beam ! Combined flux in latest and established models = 1.13035 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 105 components and 1.13035 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.158681Jy sigma=3.738894 ! Fit after self-cal, rms=0.158724Jy sigma=3.737772 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000164089 Jy ! Component: 100 - total flux cleaned = -0.000185778 Jy ! Component: 150 - total flux cleaned = -0.000346416 Jy ! Component: 200 - total flux cleaned = -0.000820538 Jy ! Total flux subtracted in 200 components = -0.000820538 Jy ! Clean residual min=-0.027954 max=0.023529 Jy/beam ! Clean residual mean=0.000171 rms=0.006170 Jy/beam ! Combined flux in latest and established models = 1.12953 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 111 components and 1.12953 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.158130Jy sigma=3.734029 ! Fit after self-cal, rms=0.158172Jy sigma=3.733525 ! Inverting map ! Performing amp+phase self-cal ! ! 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.158172Jy sigma=3.733525 ! Fit after self-cal, rms=0.157936Jy sigma=3.725563 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.8833 mas, bmaj=1.052 mas, bpa=63.08 degrees ! Estimated noise=0.604942 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.646345 Jy ! Component: 100 - total flux cleaned = 0.80525 Jy ! Component: 150 - total flux cleaned = 0.875419 Jy ! Component: 200 - total flux cleaned = 0.922324 Jy ! Total flux subtracted in 200 components = 0.922324 Jy ! Clean residual min=-0.023204 max=0.031284 Jy/beam ! Clean residual mean=0.000117 rms=0.005575 Jy/beam ! Combined flux in latest and established models = 0.922325 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.922325 Jy ! Inverting map and beam ! Estimated beam: bmin=1.176 mas, bmaj=1.437 mas, bpa=79.43 degrees ! Estimated noise=0.378936 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.0582926 Jy ! Component: 100 - total flux cleaned = 0.0981839 Jy ! Component: 150 - total flux cleaned = 0.127389 Jy ! Component: 200 - total flux cleaned = 0.149172 Jy ! Total flux subtracted in 200 components = 0.149172 Jy ! Clean residual min=-0.028562 max=0.027316 Jy/beam ! Clean residual mean=0.000217 rms=0.006753 Jy/beam ! Combined flux in latest and established models = 1.0715 Jy ! Adding 38 model components to the UV plane model. ! The established model now contains 47 components and 1.0715 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.183 mas, bmaj=2.753 mas, bpa=85.73 degrees ! Estimated noise=0.451926 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0271149 Jy ! Component: 100 - total flux cleaned = 0.0429013 Jy ! Component: 150 - total flux cleaned = 0.0487632 Jy ! Component: 200 - total flux cleaned = 0.0528313 Jy ! Total flux subtracted in 200 components = 0.0528313 Jy ! Clean residual min=-0.039808 max=0.037968 Jy/beam ! Clean residual mean=0.000370 rms=0.011640 Jy/beam ! Combined flux in latest and established models = 1.12433 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.00338791 Jy ! Component: 100 - total flux cleaned = 0.00568372 Jy ! Component: 150 - total flux cleaned = 0.00640288 Jy ! Component: 200 - total flux cleaned = 0.00689996 Jy ! Total flux subtracted in 200 components = 0.00689996 Jy ! Clean residual min=-0.039293 max=0.037916 Jy/beam ! Clean residual mean=0.000357 rms=0.011534 Jy/beam ! Combined flux in latest and established models = 1.13123 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 74 components and 1.13123 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.176 mas, bmaj=1.437 mas, bpa=79.43 degrees ! Estimated noise=0.378936 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0051415 Jy ! Component: 100 - total flux cleaned = -0.00445844 Jy ! Component: 150 - total flux cleaned = -0.00388563 Jy ! Component: 200 - total flux cleaned = -0.00389109 Jy ! Total flux subtracted in 200 components = -0.00389109 Jy ! Clean residual min=-0.028256 max=0.023800 Jy/beam ! Clean residual mean=0.000170 rms=0.006194 Jy/beam ! Combined flux in latest and established models = 1.12734 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 89 components and 1.12734 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.158803Jy sigma=3.758601 ! Fit after self-cal, rms=0.158705Jy sigma=3.753564 wmodel /scr/pima/s5272a_uvs/J0228+6721_X_map.mod ! Writing 89 model components to file: /scr/pima/s5272a_uvs/J0228+6721_X_map.mod wobs /scr/pima/s5272a_uvs/J0228+6721_X_uvs.fits ! Writing UV FITS file: /scr/pima/s5272a_uvs/J0228+6721_X_uvs.fits wwins /scr/pima/s5272a_uvs/J0228+6721_X_map.win ! wwins: Wrote 3 windows to /scr/pima/s5272a_uvs/J0228+6721_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00909228 Jy ! Component: 100 - total flux cleaned = -0.00566988 Jy ! Component: 150 - total flux cleaned = -0.00243654 Jy ! Component: 200 - total flux cleaned = 0.00177553 Jy ! Component: 250 - total flux cleaned = 0.00647149 Jy ! Component: 300 - total flux cleaned = 0.0110031 Jy ! Component: 350 - total flux cleaned = 0.0150542 Jy ! Component: 400 - total flux cleaned = 0.0189883 Jy ! Component: 450 - total flux cleaned = 0.0228141 Jy ! Component: 500 - total flux cleaned = 0.025927 Jy ! Component: 550 - total flux cleaned = 0.0298962 Jy ! Component: 600 - total flux cleaned = 0.0337771 Jy ! Component: 650 - total flux cleaned = 0.0366954 Jy ! Component: 700 - total flux cleaned = 0.0398448 Jy ! Component: 750 - total flux cleaned = 0.0423733 Jy ! Component: 800 - total flux cleaned = 0.0454052 Jy ! Component: 850 - total flux cleaned = 0.0483787 Jy ! Component: 900 - total flux cleaned = 0.0507772 Jy ! Component: 950 - total flux cleaned = 0.0539256 Jy ! Component: 1000 - total flux cleaned = 0.0567589 Jy ! Component: 1050 - total flux cleaned = 0.059296 Jy ! Component: 1100 - total flux cleaned = 0.0607955 Jy ! Component: 1150 - total flux cleaned = 0.0630121 Jy ! Component: 1200 - total flux cleaned = 0.0654414 Jy ! Component: 1250 - total flux cleaned = 0.0666373 Jy ! Component: 1300 - total flux cleaned = 0.0689987 Jy ! Component: 1350 - total flux cleaned = 0.0710904 Jy ! Component: 1400 - total flux cleaned = 0.0722359 Jy ! Component: 1450 - total flux cleaned = 0.074273 Jy ! Component: 1500 - total flux cleaned = 0.0751663 Jy ! Component: 1550 - total flux cleaned = 0.0769298 Jy ! Component: 1600 - total flux cleaned = 0.0782357 Jy ! Component: 1650 - total flux cleaned = 0.0795207 Jy ! Component: 1700 - total flux cleaned = 0.0797342 Jy ! Component: 1750 - total flux cleaned = 0.081409 Jy ! Component: 1800 - total flux cleaned = 0.0816148 Jy ! Component: 1850 - total flux cleaned = 0.0828392 Jy ! Component: 1900 - total flux cleaned = 0.0838488 Jy ! Component: 1950 - total flux cleaned = 0.0848447 Jy ! Component: 2000 - total flux cleaned = 0.0858304 Jy ! Component: 2050 - total flux cleaned = 0.0864156 Jy ! Component: 2100 - total flux cleaned = 0.0873813 Jy ! Component: 2150 - total flux cleaned = 0.0887139 Jy ! Component: 2200 - total flux cleaned = 0.0896535 Jy ! Component: 2250 - total flux cleaned = 0.090584 Jy ! Component: 2300 - total flux cleaned = 0.0911363 Jy ! Component: 2350 - total flux cleaned = 0.0920443 Jy ! Component: 2400 - total flux cleaned = 0.092766 Jy ! Component: 2450 - total flux cleaned = 0.0936576 Jy ! Component: 2500 - total flux cleaned = 0.0943661 Jy ! Component: 2550 - total flux cleaned = 0.0948896 Jy ! Component: 2600 - total flux cleaned = 0.0959254 Jy ! Component: 2650 - total flux cleaned = 0.0966071 Jy ! Component: 2700 - total flux cleaned = 0.0969449 Jy ! Component: 2750 - total flux cleaned = 0.0972806 Jy ! Component: 2800 - total flux cleaned = 0.0984437 Jy ! Component: 2850 - total flux cleaned = 0.0982781 Jy ! Component: 2900 - total flux cleaned = 0.0989275 Jy ! Component: 2950 - total flux cleaned = 0.0994116 Jy ! Component: 3000 - total flux cleaned = 0.0998917 Jy ! Component: 3050 - total flux cleaned = 0.100523 Jy ! Component: 3100 - total flux cleaned = 0.100052 Jy ! Component: 3150 - total flux cleaned = 0.100832 Jy ! Component: 3200 - total flux cleaned = 0.101755 Jy ! Component: 3250 - total flux cleaned = 0.101753 Jy ! Component: 3300 - total flux cleaned = 0.101907 Jy ! Component: 3350 - total flux cleaned = 0.102656 Jy ! Component: 3400 - total flux cleaned = 0.102952 Jy ! Component: 3450 - total flux cleaned = 0.103098 Jy ! Component: 3500 - total flux cleaned = 0.103537 Jy ! Component: 3550 - total flux cleaned = 0.103682 Jy ! Component: 3600 - total flux cleaned = 0.104257 Jy ! Component: 3650 - total flux cleaned = 0.103974 Jy ! Component: 3700 - total flux cleaned = 0.103977 Jy ! Component: 3750 - total flux cleaned = 0.104677 Jy ! Component: 3800 - total flux cleaned = 0.105509 Jy ! Component: 3850 - total flux cleaned = 0.105646 Jy ! Component: 3900 - total flux cleaned = 0.105782 Jy ! Component: 3950 - total flux cleaned = 0.106188 Jy ! Component: 4000 - total flux cleaned = 0.106859 Jy ! Component: 4050 - total flux cleaned = 0.107125 Jy ! Total flux subtracted in 4096 components = 0.10739 Jy ! Clean residual min=-0.006577 max=0.007112 Jy/beam ! Clean residual mean=0.000046 rms=0.002551 Jy/beam ! Combined flux in latest and established models = 1.23473 Jy keep ! Adding 400 model components to the UV plane model. ! The established model now contains 488 components and 1.23473 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s5272a_uvs/J0228+6721_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.176 x 1.437 at 79.43 degrees (North through East) ! Clean map min=-0.019347 max=0.82751 Jy/beam ! Writing clean map to FITS file: /scr/pima/s5272a_uvs/J0228+6721_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.827506 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00254313 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.921972 0.921972 1.84394 3.68789 7.37578 14.7516 29.5031 59.0062 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0076 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.827 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 325.389 quit ! Quitting program ! Log file /scr/pima/s5272a_uvs/J0228+6721_X_uvs.log closed on Mon Dec 16 09:34:42 2013