! Started logfile: J1022-1037_S_1997_05_07_yyk_uvs.log on Sun Jan  7 17:28:08 2007
obs J1022-1037_S_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J1022-1037_S_1997_05_07_yyk_uva.fits
! AN table 1: 139 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.954117 visibilities/baseline/integration-bin.
! Found source: J1022-1037
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 615 lines of history.
! 
! Reading 23872 visibilities.
select I
! Polarization I is unavailable.
! 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
![@muppet J1022-1037_S_1997_05_07_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.452499 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.757 mas, bmaj=7 mas, bpa=-3.268 degrees
! Estimated noise=1380.57 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.117032 Jy
! Component: 100  -  total flux cleaned = 0.180672 Jy
! Total flux subtracted in 100 components = 0.180672 Jy
! Clean residual min=-0.018524 max=0.037266 Jy/beam
! Clean residual mean=0.001430 rms=0.007593 Jy/beam
! Combined flux in latest and established models = 0.180672 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 50 model components to the UV plane model.
! The established model now contains 50 components and 0.180672 Jy
! 
! Correcting IF 1.
!  A total of 184 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.422409Jy  sigma=0.001686
! Fit after  self-cal, rms=0.421817Jy  sigma=0.001683
! Inverting map and beam 
! Estimated beam: bmin=2.757 mas, bmaj=7 mas, bpa=-3.268 degrees
! Estimated noise=1381.85 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! 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=3.505 mas, bmaj=8.797 mas, bpa=-4.817 degrees
! Estimated noise=1043.97 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0799966 Jy
! Component: 100  -  total flux cleaned = 0.118792 Jy
! Component: 150  -  total flux cleaned = 0.138902 Jy
! Component: 200  -  total flux cleaned = 0.147808 Jy
! Total flux subtracted in 200 components = 0.147808 Jy
! Clean residual min=-0.018429 max=0.034801 Jy/beam
! Clean residual mean=0.001462 rms=0.009153 Jy/beam
! Combined flux in latest and established models = 0.32848 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 76 components and 0.32848 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414723Jy  sigma=0.001631
! Fit after  self-cal, rms=0.414552Jy  sigma=0.001630
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.505 x 8.797 at -4.817 degrees (North through East)
! Clean map  min=-0.017044  max=0.095645 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        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 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        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 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        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 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        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.414552Jy  sigma=0.001630
! Fit after  self-cal, rms=0.414538Jy  sigma=0.001630
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414538Jy  sigma=0.001630
! Fit after  self-cal, rms=0.414538Jy  sigma=0.001630
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.506 mas, bmaj=8.803 mas, bpa=-4.812 degrees
! Estimated noise=1044.34 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0026451 Jy
! Component: 100  -  total flux cleaned = 0.00542869 Jy
! Component: 150  -  total flux cleaned = 0.00780072 Jy
! Component: 200  -  total flux cleaned = 0.00959682 Jy
! Total flux subtracted in 200 components = 0.00959682 Jy
! Clean residual min=-0.017662 max=0.033807 Jy/beam
! Clean residual mean=0.001416 rms=0.008825 Jy/beam
! Combined flux in latest and established models = 0.338077 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 77 components and 0.338077 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414266Jy  sigma=0.001628
! Fit after  self-cal, rms=0.414247Jy  sigma=0.001628
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414247Jy  sigma=0.001628
! Fit after  self-cal, rms=0.412333Jy  sigma=0.001620
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00539496 Jy
! Component: 100  -  total flux cleaned = 0.00747013 Jy
! Component: 150  -  total flux cleaned = 0.00900053 Jy
! Component: 200  -  total flux cleaned = 0.0103432 Jy
! Total flux subtracted in 200 components = 0.0103432 Jy
! Clean residual min=-0.017697 max=0.030896 Jy/beam
! Clean residual mean=0.001370 rms=0.008411 Jy/beam
! Combined flux in latest and established models = 0.34842 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 78 components and 0.34842 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412122Jy  sigma=0.001618
! Fit after  self-cal, rms=0.411647Jy  sigma=0.001617
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.506 x 8.803 at -4.812 degrees (North through East)
! Clean map  min=-0.017671  max=0.10033 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411647Jy  sigma=0.001617
! Fit after  self-cal, rms=0.411647Jy  sigma=0.001617
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411647Jy  sigma=0.001617
! Fit after  self-cal, rms=0.411499Jy  sigma=0.001616
! Inverting map and beam 
! Estimated beam: bmin=3.506 mas, bmaj=8.803 mas, bpa=-4.812 degrees
! Estimated noise=1044.34 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00117336 Jy
! Component: 100  -  total flux cleaned = 0.00244241 Jy
! Component: 150  -  total flux cleaned = 0.00354607 Jy
! Component: 200  -  total flux cleaned = 0.00436789 Jy
! Total flux subtracted in 200 components = 0.00436789 Jy
! Clean residual min=-0.018024 max=0.030748 Jy/beam
! Clean residual mean=0.001350 rms=0.008247 Jy/beam
! Combined flux in latest and established models = 0.352788 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 83 components and 0.352788 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411371Jy  sigma=0.001615
! Fit after  self-cal, rms=0.411285Jy  sigma=0.001615
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411285Jy  sigma=0.001615
! Fit after  self-cal, rms=0.411285Jy  sigma=0.001615
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411285Jy  sigma=0.001615
! Fit after  self-cal, rms=0.411260Jy  sigma=0.001615
! Inverting map and beam 
! Estimated beam: bmin=3.506 mas, bmaj=8.803 mas, bpa=-4.812 degrees
! Estimated noise=1044.34 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000521845 Jy
! Component: 100  -  total flux cleaned = 0.00120949 Jy
! Component: 150  -  total flux cleaned = 0.00166221 Jy
! Component: 200  -  total flux cleaned = 0.00207468 Jy
! Total flux subtracted in 200 components = 0.00207468 Jy
! Clean residual min=-0.018234 max=0.029783 Jy/beam
! Clean residual mean=0.001340 rms=0.008176 Jy/beam
! Combined flux in latest and established models = 0.354862 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 90 components and 0.354862 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411169Jy  sigma=0.001614
! Fit after  self-cal, rms=0.411159Jy  sigma=0.001614
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.069 mas, bmaj=14.77 mas, bpa=2.304 degrees
! Estimated noise=1292.73 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0149464 Jy
! Component: 100  -  total flux cleaned = 0.0162329 Jy
! Component: 150  -  total flux cleaned = 0.0173308 Jy
! Component: 200  -  total flux cleaned = 0.0182727 Jy
! Total flux subtracted in 200 components = 0.0182727 Jy
! Clean residual min=-0.028928 max=0.042429 Jy/beam
! Clean residual mean=0.002398 rms=0.013188 Jy/beam
! Combined flux in latest and established models = 0.373135 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 95 components and 0.373135 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411500Jy  sigma=0.001616
! Fit after  self-cal, rms=0.411492Jy  sigma=0.001616
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.757 mas, bmaj=7 mas, bpa=-3.268 degrees
! Estimated noise=1383.86 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.126785 Jy
! Component: 100  -  total flux cleaned = 0.193974 Jy
! Component: 150  -  total flux cleaned = 0.23383 Jy
! Component: 200  -  total flux cleaned = 0.259267 Jy
! Total flux subtracted in 200 components = 0.259267 Jy
! Clean residual min=-0.015957 max=0.028311 Jy/beam
! Clean residual mean=0.001191 rms=0.005845 Jy/beam
! Combined flux in latest and established models = 0.259266 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 61 model components to the UV plane model.
! The established model now contains 61 components and 0.259266 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.506 mas, bmaj=8.803 mas, bpa=-4.812 degrees
! Estimated noise=1044.34 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0451429 Jy
! Component: 100  -  total flux cleaned = 0.067992 Jy
! Component: 150  -  total flux cleaned = 0.0798564 Jy
! Component: 200  -  total flux cleaned = 0.0823629 Jy
! Total flux subtracted in 200 components = 0.0823629 Jy
! Clean residual min=-0.018529 max=0.030897 Jy/beam
! Clean residual mean=0.001403 rms=0.008549 Jy/beam
! Combined flux in latest and established models = 0.341629 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 77 components and 0.341629 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.069 mas, bmaj=14.77 mas, bpa=2.304 degrees
! Estimated noise=1292.73 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0206099 Jy
! Component: 100  -  total flux cleaned = 0.0225717 Jy
! Component: 150  -  total flux cleaned = 0.0242874 Jy
! Component: 200  -  total flux cleaned = 0.0254372 Jy
! Total flux subtracted in 200 components = 0.0254372 Jy
! Clean residual min=-0.027862 max=0.043458 Jy/beam
! Clean residual mean=0.002459 rms=0.013488 Jy/beam
! Combined flux in latest and established models = 0.367066 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 79 components and 0.367066 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.506 mas, bmaj=8.803 mas, bpa=-4.812 degrees
! Estimated noise=1044.34 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.012387 Jy
! Component: 100  -  total flux cleaned = -0.0130761 Jy
! Component: 150  -  total flux cleaned = -0.012872 Jy
! Component: 200  -  total flux cleaned = -0.0126961 Jy
! Total flux subtracted in 200 components = -0.0126961 Jy
! Clean residual min=-0.017694 max=0.030944 Jy/beam
! Clean residual mean=0.001340 rms=0.008179 Jy/beam
! Combined flux in latest and established models = 0.35437 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 85 components and 0.35437 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411277Jy  sigma=0.001615
! Fit after  self-cal, rms=0.411150Jy  sigma=0.001614
wmodel J1022-1037_S_1997_05_07_yyk\_map.mod
! Writing 85 model components to file: J1022-1037_S_1997_05_07_yyk_map.mod
wobs J1022-1037_S_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J1022-1037_S_1997_05_07_yyk_uvs.fits
wwins J1022-1037_S_1997_05_07_yyk\_map.win
! wwins: Wrote 1 windows to J1022-1037_S_1997_05_07_yyk_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.0136051 Jy
! Component: 100  -  total flux cleaned = 0.0251641 Jy
! Component: 150  -  total flux cleaned = 0.0352759 Jy
! Component: 200  -  total flux cleaned = 0.0443422 Jy
! Component: 250  -  total flux cleaned = 0.0525379 Jy
! Component: 300  -  total flux cleaned = 0.0600702 Jy
! Component: 350  -  total flux cleaned = 0.0670617 Jy
! Component: 400  -  total flux cleaned = 0.0736116 Jy
! Component: 450  -  total flux cleaned = 0.0788214 Jy
! Component: 500  -  total flux cleaned = 0.0830797 Jy
! Component: 550  -  total flux cleaned = 0.0876153 Jy
! Component: 600  -  total flux cleaned = 0.0917559 Jy
! Component: 650  -  total flux cleaned = 0.0961606 Jy
! Component: 700  -  total flux cleaned = 0.100006 Jy
! Component: 750  -  total flux cleaned = 0.103534 Jy
! Component: 800  -  total flux cleaned = 0.106574 Jy
! Component: 850  -  total flux cleaned = 0.108792 Jy
! Component: 900  -  total flux cleaned = 0.111493 Jy
! Component: 950  -  total flux cleaned = 0.11377 Jy
! Component: 1000  -  total flux cleaned = 0.11582 Jy
! Component: 1050  -  total flux cleaned = 0.117325 Jy
! Component: 1100  -  total flux cleaned = 0.119285 Jy
! Component: 1150  -  total flux cleaned = 0.120242 Jy
! Component: 1200  -  total flux cleaned = 0.121804 Jy
! Component: 1250  -  total flux cleaned = 0.123178 Jy
! Component: 1300  -  total flux cleaned = 0.124224 Jy
! Component: 1350  -  total flux cleaned = 0.125686 Jy
! Component: 1400  -  total flux cleaned = 0.126687 Jy
! Component: 1450  -  total flux cleaned = 0.12809 Jy
! Component: 1500  -  total flux cleaned = 0.129327 Jy
! Component: 1550  -  total flux cleaned = 0.130404 Jy
! Component: 1600  -  total flux cleaned = 0.131332 Jy
! Component: 1650  -  total flux cleaned = 0.132368 Jy
! Component: 1700  -  total flux cleaned = 0.133383 Jy
! Component: 1750  -  total flux cleaned = 0.134008 Jy
! Component: 1800  -  total flux cleaned = 0.134865 Jy
! Component: 1850  -  total flux cleaned = 0.13583 Jy
! Component: 1900  -  total flux cleaned = 0.136893 Jy
! Component: 1950  -  total flux cleaned = 0.137822 Jy
! Component: 2000  -  total flux cleaned = 0.138505 Jy
! Total flux subtracted in 2048 components = 0.13918 Jy
! Clean residual min=-0.006347 max=0.005618 Jy/beam
! Clean residual mean=0.000532 rms=0.002803 Jy/beam
! Combined flux in latest and established models = 0.49355 Jy
keep
! Adding 293 model components to the UV plane model.
! The established model now contains 374 components and 0.49355 Jy
![Exited script file: muppet]
wmap "J1022-1037_S_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.506 x 8.803 at -4.812 degrees (North through East)
! Clean map  min=-0.010088  max=0.10038 Jy/beam
! Writing clean map to FITS file: J1022-1037_S_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.100377 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00282343 
device "J1022-1037_S_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J1022-1037_S_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -8.4385 8.4385 16.877 33.754 67.508
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0084 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.1 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.506 x 8.803 at -4.812 degrees (North through East)
! Clean map  min=-0.010088  max=0.10038 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1022-1037_S_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J1022-1037_S_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1022-1037_S_1997_05_07_yyk_uvs.log closed on Sun Jan  7 17:28:17 2007