! Started logfile: J0856+2111_X_1996_03_13_yyk_uvs.log on Mon Jan  8 04:17:35 2007
obs J0856+2111_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J0856+2111_X_1996_03_13_yyk_uva.fits
! AN table 1: 129 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.966925 visibilities/baseline/integration-bin.
! Found source: J0856+2111
! 
! 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  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 22452 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 J0856+2111_X_1996_03_13_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.381247 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=0.7576 mas, bmaj=1.808 mas, bpa=-8.116 degrees
! Estimated noise=1218.91 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.149934 Jy
! Component: 100  -  total flux cleaned = 0.196134 Jy
! Total flux subtracted in 100 components = 0.196134 Jy
! Clean residual min=-0.012588 max=0.017818 Jy/beam
! Clean residual mean=-0.000097 rms=0.003493 Jy/beam
! Combined flux in latest and established models = 0.196134 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.196134 Jy
! 
! Correcting IF 1.
!  A total of 28 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 28 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 28 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 28 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.334652Jy  sigma=0.001905
! Fit after  self-cal, rms=0.334419Jy  sigma=0.001903
! Inverting map and beam 
! Estimated beam: bmin=0.7576 mas, bmaj=1.808 mas, bpa=-8.116 degrees
! Estimated noise=1218.87 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=0.9677 mas, bmaj=2.153 mas, bpa=-7.215 degrees
! Estimated noise=710.245 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.0281262 Jy
! Component: 100  -  total flux cleaned = 0.03777 Jy
! Component: 150  -  total flux cleaned = 0.0396466 Jy
! Component: 200  -  total flux cleaned = 0.0402126 Jy
! Total flux subtracted in 200 components = 0.0402126 Jy
! Clean residual min=-0.011839 max=0.023104 Jy/beam
! Clean residual mean=-0.000129 rms=0.003867 Jy/beam
! Combined flux in latest and established models = 0.236346 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 31 components and 0.236346 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.333707Jy  sigma=0.001891
! Fit after  self-cal, rms=0.333713Jy  sigma=0.001891
! Inverting map 
! Added new window around map position (-4.2, -0.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0263919 Jy
! Component: 100  -  total flux cleaned = 0.0395574 Jy
! Component: 150  -  total flux cleaned = 0.0478335 Jy
! Component: 200  -  total flux cleaned = 0.053424 Jy
! Total flux subtracted in 200 components = 0.053424 Jy
! Clean residual min=-0.009892 max=0.012291 Jy/beam
! Clean residual mean=-0.000033 rms=0.003113 Jy/beam
! Combined flux in latest and established models = 0.28977 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 75 components and 0.28977 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.332380Jy  sigma=0.001880
! Fit after  self-cal, rms=0.332143Jy  sigma=0.001878
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9677 x 2.153 at -7.215 degrees (North through East)
! Clean map  min=-0.010029  max=0.18257 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.
!  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.
!  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.
!  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.
!  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.332143Jy  sigma=0.001878
! Fit after  self-cal, rms=0.332143Jy  sigma=0.001878
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.332143Jy  sigma=0.001878
! Fit after  self-cal, rms=0.332141Jy  sigma=0.001878
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9677 mas, bmaj=2.153 mas, bpa=-7.215 degrees
! Estimated noise=710.245 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.00827681 Jy
! Component: 100  -  total flux cleaned = 0.0124786 Jy
! Component: 150  -  total flux cleaned = 0.0143527 Jy
! Component: 200  -  total flux cleaned = 0.0153422 Jy
! Total flux subtracted in 200 components = 0.0153422 Jy
! Clean residual min=-0.010151 max=0.010118 Jy/beam
! Clean residual mean=-0.000008 rms=0.002913 Jy/beam
! Combined flux in latest and established models = 0.305113 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 85 components and 0.305112 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.331937Jy  sigma=0.001876
! Fit after  self-cal, rms=0.331889Jy  sigma=0.001876
! 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.331889Jy  sigma=0.001876
! Fit after  self-cal, rms=0.330862Jy  sigma=0.001868
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.00392832 Jy
! Component: 100  -  total flux cleaned = 0.00532688 Jy
! Component: 150  -  total flux cleaned = 0.00586866 Jy
! Component: 200  -  total flux cleaned = 0.00644235 Jy
! Total flux subtracted in 200 components = 0.00644235 Jy
! Clean residual min=-0.009905 max=0.009460 Jy/beam
! Clean residual mean=0.000004 rms=0.002755 Jy/beam
! Combined flux in latest and established models = 0.311555 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 100 components and 0.311555 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.330827Jy  sigma=0.001868
! Fit after  self-cal, rms=0.330400Jy  sigma=0.001866
! 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: 0.9677 x 2.153 at -7.215 degrees (North through East)
! Clean map  min=-0.0095588  max=0.18425 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.330400Jy  sigma=0.001866
! Fit after  self-cal, rms=0.328305Jy  sigma=0.001865
! 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.328305Jy  sigma=0.001865
! Fit after  self-cal, rms=0.328171Jy  sigma=0.001864
! Inverting map and beam 
! Estimated beam: bmin=0.9672 mas, bmaj=2.157 mas, bpa=-7.255 degrees
! Estimated noise=697.023 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00103292 Jy
! Component: 100  -  total flux cleaned = -0.000834271 Jy
! Component: 150  -  total flux cleaned = -0.000602791 Jy
! Component: 200  -  total flux cleaned = -0.000470625 Jy
! Total flux subtracted in 200 components = -0.000470625 Jy
! Clean residual min=-0.008983 max=0.008811 Jy/beam
! Clean residual mean=-0.000005 rms=0.002565 Jy/beam
! Combined flux in latest and established models = 0.311084 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 109 components and 0.311084 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.328083Jy  sigma=0.001864
! Fit after  self-cal, rms=0.327873Jy  sigma=0.001864
! 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.327873Jy  sigma=0.001864
! Fit after  self-cal, rms=0.327746Jy  sigma=0.001863
! 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.327746Jy  sigma=0.001863
! Fit after  self-cal, rms=0.327657Jy  sigma=0.001863
! Inverting map and beam 
! Estimated beam: bmin=0.9666 mas, bmaj=2.158 mas, bpa=-7.323 degrees
! Estimated noise=695.857 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000694601 Jy
! Component: 100  -  total flux cleaned = 0.00101582 Jy
! Component: 150  -  total flux cleaned = 0.00112583 Jy
! Component: 200  -  total flux cleaned = 0.00117838 Jy
! Total flux subtracted in 200 components = 0.00117838 Jy
! Clean residual min=-0.008807 max=0.008914 Jy/beam
! Clean residual mean=-0.000006 rms=0.002543 Jy/beam
! Combined flux in latest and established models = 0.312263 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 118 components and 0.312263 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.327625Jy  sigma=0.001863
! Fit after  self-cal, rms=0.327608Jy  sigma=0.001863
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.305 mas, bmaj=2.89 mas, bpa=-4.338 degrees
! Estimated noise=858.681 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.0041293 Jy
! Component: 100  -  total flux cleaned = 0.00405212 Jy
! Component: 150  -  total flux cleaned = 0.00404749 Jy
! Component: 200  -  total flux cleaned = 0.00413162 Jy
! Total flux subtracted in 200 components = 0.00413162 Jy
! Clean residual min=-0.012918 max=0.012030 Jy/beam
! Clean residual mean=0.000013 rms=0.003790 Jy/beam
! Combined flux in latest and established models = 0.316394 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 123 components and 0.316394 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.327627Jy  sigma=0.001863
! Fit after  self-cal, rms=0.327614Jy  sigma=0.001863
! 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=0.7574 mas, bmaj=1.81 mas, bpa=-8.144 degrees
! Estimated noise=1200.2 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.150026 Jy
! Component: 100  -  total flux cleaned = 0.19684 Jy
! Component: 150  -  total flux cleaned = 0.220538 Jy
! Component: 200  -  total flux cleaned = 0.236679 Jy
! Total flux subtracted in 200 components = 0.236679 Jy
! Clean residual min=-0.011120 max=0.012123 Jy/beam
! Clean residual mean=-0.000054 rms=0.002796 Jy/beam
! Combined flux in latest and established models = 0.236679 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.236679 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9666 mas, bmaj=2.158 mas, bpa=-7.323 degrees
! Estimated noise=695.857 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)
! Added new window around map position (-2.2, -0.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.024276 Jy
! Component: 100  -  total flux cleaned = 0.0395272 Jy
! Component: 150  -  total flux cleaned = 0.0502573 Jy
! Component: 200  -  total flux cleaned = 0.0583563 Jy
! Total flux subtracted in 200 components = 0.0583563 Jy
! Clean residual min=-0.008862 max=0.009266 Jy/beam
! Clean residual mean=-0.000031 rms=0.002589 Jy/beam
! Combined flux in latest and established models = 0.295035 Jy
! Adding 66 model components to the UV plane model.
! The established model now contains 87 components and 0.295035 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.305 mas, bmaj=2.89 mas, bpa=-4.338 degrees
! Estimated noise=858.681 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.00971723 Jy
! Component: 100  -  total flux cleaned = 0.0130463 Jy
! Component: 150  -  total flux cleaned = 0.0151043 Jy
! Component: 200  -  total flux cleaned = 0.0162952 Jy
! Total flux subtracted in 200 components = 0.0162952 Jy
! Clean residual min=-0.012842 max=0.011991 Jy/beam
! Clean residual mean=0.000003 rms=0.003755 Jy/beam
! Combined flux in latest and established models = 0.31133 Jy
! Adding 47 model components to the UV plane model.
! The established model now contains 120 components and 0.31133 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9666 mas, bmaj=2.158 mas, bpa=-7.323 degrees
! Estimated noise=695.857 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00105954 Jy
! Component: 100  -  total flux cleaned = 0.00160004 Jy
! Component: 150  -  total flux cleaned = 0.00195353 Jy
! Component: 200  -  total flux cleaned = 0.00226744 Jy
! Total flux subtracted in 200 components = 0.00226744 Jy
! Clean residual min=-0.008934 max=0.009234 Jy/beam
! Clean residual mean=0.000005 rms=0.002471 Jy/beam
! Combined flux in latest and established models = 0.313598 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 135 components and 0.313598 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.327388Jy  sigma=0.001861
! Fit after  self-cal, rms=0.327361Jy  sigma=0.001861
wmodel J0856+2111_X_1996_03_13_yyk\_map.mod
! Writing 135 model components to file: J0856+2111_X_1996_03_13_yyk_map.mod
wobs J0856+2111_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J0856+2111_X_1996_03_13_yyk_uvs.fits
wwins J0856+2111_X_1996_03_13_yyk\_map.win
! wwins: Wrote 3 windows to J0856+2111_X_1996_03_13_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.00252822 Jy
! Component: 100  -  total flux cleaned = 0.00421799 Jy
! Component: 150  -  total flux cleaned = 0.00537597 Jy
! Component: 200  -  total flux cleaned = 0.00634283 Jy
! Component: 250  -  total flux cleaned = 0.00700979 Jy
! Component: 300  -  total flux cleaned = 0.00765221 Jy
! Component: 350  -  total flux cleaned = 0.00777608 Jy
! Component: 400  -  total flux cleaned = 0.00777436 Jy
! Component: 450  -  total flux cleaned = 0.00789156 Jy
! Component: 500  -  total flux cleaned = 0.00800727 Jy
! Component: 550  -  total flux cleaned = 0.00800633 Jy
! Component: 600  -  total flux cleaned = 0.00778463 Jy
! Component: 650  -  total flux cleaned = 0.00778508 Jy
! Component: 700  -  total flux cleaned = 0.00778291 Jy
! Component: 750  -  total flux cleaned = 0.00757051 Jy
! Component: 800  -  total flux cleaned = 0.0075692 Jy
! Component: 850  -  total flux cleaned = 0.00736449 Jy
! Component: 900  -  total flux cleaned = 0.00756457 Jy
! Component: 950  -  total flux cleaned = 0.00736435 Jy
! Component: 1000  -  total flux cleaned = 0.0075594 Jy
! Component: 1050  -  total flux cleaned = 0.00755711 Jy
! Component: 1100  -  total flux cleaned = 0.00727054 Jy
! Component: 1150  -  total flux cleaned = 0.00708361 Jy
! Component: 1200  -  total flux cleaned = 0.00708395 Jy
! Component: 1250  -  total flux cleaned = 0.00717551 Jy
! Component: 1300  -  total flux cleaned = 0.00708455 Jy
! Component: 1350  -  total flux cleaned = 0.00708374 Jy
! Component: 1400  -  total flux cleaned = 0.00708194 Jy
! Component: 1450  -  total flux cleaned = 0.00708133 Jy
! Component: 1500  -  total flux cleaned = 0.00699382 Jy
! Component: 1550  -  total flux cleaned = 0.00690794 Jy
! Component: 1600  -  total flux cleaned = 0.00707756 Jy
! Component: 1650  -  total flux cleaned = 0.00673999 Jy
! Component: 1700  -  total flux cleaned = 0.00657351 Jy
! Component: 1750  -  total flux cleaned = 0.00665696 Jy
! Component: 1800  -  total flux cleaned = 0.00665694 Jy
! Component: 1850  -  total flux cleaned = 0.0063318 Jy
! Component: 1900  -  total flux cleaned = 0.00625131 Jy
! Component: 1950  -  total flux cleaned = 0.00609191 Jy
! Component: 2000  -  total flux cleaned = 0.00617146 Jy
! Total flux subtracted in 2048 components = 0.0058584 Jy
! Clean residual min=-0.005108 max=0.004992 Jy/beam
! Clean residual mean=0.000010 rms=0.001642 Jy/beam
! Combined flux in latest and established models = 0.319456 Jy
keep
! Adding 164 model components to the UV plane model.
! The established model now contains 299 components and 0.319456 Jy
![Exited script file: muppet]
wmap "J0856+2111_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9666 x 2.158 at -7.323 degrees (North through East)
! Clean map  min=-0.0080894  max=0.17735 Jy/beam
! Writing clean map to FITS file: J0856+2111_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.177348 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.0016304 
device "J0856+2111_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J0856+2111_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.75796 2.75796 5.51593 11.0319 22.0637 44.1274 88.2548
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0048 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.177 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9666 x 2.158 at -7.323 degrees (North through East)
! Clean map  min=-0.0080894  max=0.17735 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0856+2111_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J0856+2111_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0856+2111_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 04:17:45 2007