! Started logfile: J0220-2151_S_1997_08_27_yyk_uvs.log on Sun Jan  7 15:51:03 2007
obs J0220-2151_S_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J0220-2151_S_1997_08_27_yyk_uva.fits
! AN table 1: 146 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.973516 visibilities/baseline/integration-bin.
! Found source: J0220-2151
! 
! 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 702 lines of history.
! 
! Reading 25584 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 J0220-2151_S_1997_08_27_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.39841 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.686 mas, bmaj=6.427 mas, bpa=-5.426 degrees
! Estimated noise=1619.31 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.145095 Jy
! Component: 100  -  total flux cleaned = 0.163923 Jy
! Total flux subtracted in 100 components = 0.163923 Jy
! Clean residual min=-0.009678 max=0.011256 Jy/beam
! Clean residual mean=0.000025 rms=0.002771 Jy/beam
! Combined flux in latest and established models = 0.163923 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.163923 Jy
! 
! Correcting IF 1.
!  A total of 231 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.360228Jy  sigma=0.001245
! Fit after  self-cal, rms=0.359386Jy  sigma=0.001244
! Inverting map and beam 
! Estimated beam: bmin=2.686 mas, bmaj=6.427 mas, bpa=-5.426 degrees
! Estimated noise=1619.48 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.45 mas, bmaj=8.596 mas, bpa=-5.885 degrees
! Estimated noise=1200.8 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.0035153 Jy
! Component: 100  -  total flux cleaned = 0.00364305 Jy
! Component: 150  -  total flux cleaned = 0.00353668 Jy
! Component: 200  -  total flux cleaned = 0.0034489 Jy
! Total flux subtracted in 200 components = 0.0034489 Jy
! Clean residual min=-0.007277 max=0.008214 Jy/beam
! Clean residual mean=0.000008 rms=0.002184 Jy/beam
! Combined flux in latest and established models = 0.167372 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.167372 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.359250Jy  sigma=0.001243
! Fit after  self-cal, rms=0.359245Jy  sigma=0.001243
! 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.45 x 8.596 at -5.885 degrees (North through East)
! Clean map  min=-0.0071275  max=0.16884 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 3 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.
!  Amplitude normalization factor in sub-array 1: 0.997789
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.07     HN        1.04     KP        0.99     
!   LA        1.00     MK        1.01     NL        0.98     OV        1.08     
!   PT        0.93     SC        0.90     
! 
! 
! 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.359245Jy  sigma=0.001243
! Fit after  self-cal, rms=0.358139Jy  sigma=0.001243
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.358139Jy  sigma=0.001243
! Fit after  self-cal, rms=0.358139Jy  sigma=0.001243
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.427 mas, bmaj=8.484 mas, bpa=-5.312 degrees
! Estimated noise=1204.49 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.00156431 Jy
! Component: 100  -  total flux cleaned = 0.00155638 Jy
! Component: 150  -  total flux cleaned = 0.00155953 Jy
! Component: 200  -  total flux cleaned = 0.00156211 Jy
! Total flux subtracted in 200 components = 0.00156211 Jy
! Clean residual min=-0.007000 max=0.007390 Jy/beam
! Clean residual mean=-0.000023 rms=0.002059 Jy/beam
! Combined flux in latest and established models = 0.168934 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 23 components and 0.168935 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358098Jy  sigma=0.001243
! Fit after  self-cal, rms=0.358095Jy  sigma=0.001243
! 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.358095Jy  sigma=0.001243
! Fit after  self-cal, rms=0.357049Jy  sigma=0.001239
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.00226535 Jy
! Component: 100  -  total flux cleaned = 0.00232546 Jy
! Component: 150  -  total flux cleaned = 0.00237974 Jy
! Component: 200  -  total flux cleaned = 0.00242793 Jy
! Total flux subtracted in 200 components = 0.00242793 Jy
! Clean residual min=-0.007172 max=0.007630 Jy/beam
! Clean residual mean=-0.000015 rms=0.001967 Jy/beam
! Combined flux in latest and established models = 0.171362 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 27 components and 0.171362 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.357014Jy  sigma=0.001239
! Fit after  self-cal, rms=0.356782Jy  sigma=0.001238
! 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.427 x 8.484 at -5.312 degrees (North through East)
! Clean map  min=-0.0065962  max=0.17153 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.356782Jy  sigma=0.001238
! Fit after  self-cal, rms=0.359255Jy  sigma=0.001238
! 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.359255Jy  sigma=0.001238
! Fit after  self-cal, rms=0.359182Jy  sigma=0.001237
! Inverting map and beam 
! Estimated beam: bmin=3.436 mas, bmaj=8.601 mas, bpa=-4.967 degrees
! Estimated noise=1200.92 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -9.73105e-06 Jy
! Component: 100  -  total flux cleaned = -0.000119068 Jy
! Component: 150  -  total flux cleaned = -6.97539e-05 Jy
! Component: 200  -  total flux cleaned = -7.1177e-05 Jy
! Total flux subtracted in 200 components = -7.1177e-05 Jy
! Clean residual min=-0.006529 max=0.006741 Jy/beam
! Clean residual mean=-0.000010 rms=0.001874 Jy/beam
! Combined flux in latest and established models = 0.171291 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 36 components and 0.171291 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.359162Jy  sigma=0.001237
! Fit after  self-cal, rms=0.359142Jy  sigma=0.001237
! 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.359142Jy  sigma=0.001237
! Fit after  self-cal, rms=0.358046Jy  sigma=0.001237
! 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.358046Jy  sigma=0.001237
! Fit after  self-cal, rms=0.358042Jy  sigma=0.001237
! Inverting map and beam 
! Estimated beam: bmin=3.434 mas, bmaj=8.567 mas, bpa=-4.703 degrees
! Estimated noise=1199.5 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000121649 Jy
! Component: 100  -  total flux cleaned = -0.000166457 Jy
! Component: 150  -  total flux cleaned = -0.000162786 Jy
! Component: 200  -  total flux cleaned = -0.000163364 Jy
! Total flux subtracted in 200 components = -0.000163364 Jy
! Clean residual min=-0.006515 max=0.006878 Jy/beam
! Clean residual mean=-0.000006 rms=0.001916 Jy/beam
! Combined flux in latest and established models = 0.171128 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 38 components and 0.171128 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358030Jy  sigma=0.001237
! Fit after  self-cal, rms=0.358029Jy  sigma=0.001237
! 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.275 mas, bmaj=17.37 mas, bpa=1.858 degrees
! Estimated noise=1500.38 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.000359956 Jy
! Component: 100  -  total flux cleaned = -0.000485907 Jy
! Component: 150  -  total flux cleaned = -0.000590548 Jy
! Component: 200  -  total flux cleaned = -0.000682062 Jy
! Total flux subtracted in 200 components = -0.000682062 Jy
! Clean residual min=-0.006473 max=0.008468 Jy/beam
! Clean residual mean=-0.000008 rms=0.002602 Jy/beam
! Combined flux in latest and established models = 0.170446 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 42 components and 0.170446 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358039Jy  sigma=0.001237
! Fit after  self-cal, rms=0.358034Jy  sigma=0.001237
! 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.681 mas, bmaj=6.436 mas, bpa=-4.782 degrees
! Estimated noise=1618.83 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.148051 Jy
! Component: 100  -  total flux cleaned = 0.168082 Jy
! Component: 150  -  total flux cleaned = 0.168867 Jy
! Component: 200  -  total flux cleaned = 0.16936 Jy
! Total flux subtracted in 200 components = 0.16936 Jy
! Clean residual min=-0.008508 max=0.008932 Jy/beam
! Clean residual mean=0.000011 rms=0.002324 Jy/beam
! Combined flux in latest and established models = 0.16936 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.16936 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.434 mas, bmaj=8.567 mas, bpa=-4.703 degrees
! Estimated noise=1199.5 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.00206473 Jy
! Component: 100  -  total flux cleaned = 0.00207488 Jy
! Component: 150  -  total flux cleaned = 0.00207987 Jy
! Component: 200  -  total flux cleaned = 0.00208463 Jy
! Total flux subtracted in 200 components = 0.00208463 Jy
! Clean residual min=-0.006635 max=0.006974 Jy/beam
! Clean residual mean=-0.000007 rms=0.001938 Jy/beam
! Combined flux in latest and established models = 0.171445 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 27 components and 0.171445 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.275 mas, bmaj=17.37 mas, bpa=1.858 degrees
! Estimated noise=1500.38 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.000469426 Jy
! Component: 100  -  total flux cleaned = -0.000604988 Jy
! Component: 150  -  total flux cleaned = -0.000665411 Jy
! Component: 200  -  total flux cleaned = -0.000770166 Jy
! Total flux subtracted in 200 components = -0.000770166 Jy
! Clean residual min=-0.006464 max=0.008479 Jy/beam
! Clean residual mean=-0.000010 rms=0.002614 Jy/beam
! Combined flux in latest and established models = 0.170675 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 34 components and 0.170675 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.434 mas, bmaj=8.567 mas, bpa=-4.703 degrees
! Estimated noise=1199.5 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000504599 Jy
! Component: 100  -  total flux cleaned = 0.000507044 Jy
! Component: 150  -  total flux cleaned = 0.00045153 Jy
! Component: 200  -  total flux cleaned = 0.000358825 Jy
! Total flux subtracted in 200 components = 0.000358825 Jy
! Clean residual min=-0.006782 max=0.006818 Jy/beam
! Clean residual mean=-0.000005 rms=0.001916 Jy/beam
! Combined flux in latest and established models = 0.171034 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 39 components and 0.171034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358039Jy  sigma=0.001237
! Fit after  self-cal, rms=0.358042Jy  sigma=0.001237
wmodel J0220-2151_S_1997_08_27_yyk\_map.mod
! Writing 39 model components to file: J0220-2151_S_1997_08_27_yyk_map.mod
wobs J0220-2151_S_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J0220-2151_S_1997_08_27_yyk_uvs.fits
wwins J0220-2151_S_1997_08_27_yyk\_map.win
! wwins: Wrote 1 windows to J0220-2151_S_1997_08_27_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.000625976 Jy
! Component: 100  -  total flux cleaned = -0.00073916 Jy
! Component: 150  -  total flux cleaned = -0.000421801 Jy
! Component: 200  -  total flux cleaned = -0.000324659 Jy
! Component: 250  -  total flux cleaned = -0.000423158 Jy
! Component: 300  -  total flux cleaned = 0.000108572 Jy
! Component: 350  -  total flux cleaned = 0.000878401 Jy
! Component: 400  -  total flux cleaned = 0.00129229 Jy
! Component: 450  -  total flux cleaned = 0.00209435 Jy
! Component: 500  -  total flux cleaned = 0.00264008 Jy
! Component: 550  -  total flux cleaned = 0.00317238 Jy
! Component: 600  -  total flux cleaned = 0.00368876 Jy
! Component: 650  -  total flux cleaned = 0.00397636 Jy
! Component: 700  -  total flux cleaned = 0.00411659 Jy
! Component: 750  -  total flux cleaned = 0.00452836 Jy
! Component: 800  -  total flux cleaned = 0.0047953 Jy
! Component: 850  -  total flux cleaned = 0.00505724 Jy
! Component: 900  -  total flux cleaned = 0.00518505 Jy
! Component: 950  -  total flux cleaned = 0.00531086 Jy
! Component: 1000  -  total flux cleaned = 0.00562062 Jy
! Component: 1050  -  total flux cleaned = 0.00574168 Jy
! Component: 1100  -  total flux cleaned = 0.00586302 Jy
! Component: 1150  -  total flux cleaned = 0.00615937 Jy
! Component: 1200  -  total flux cleaned = 0.00610059 Jy
! Component: 1250  -  total flux cleaned = 0.00621648 Jy
! Component: 1300  -  total flux cleaned = 0.00633043 Jy
! Component: 1350  -  total flux cleaned = 0.00633031 Jy
! Component: 1400  -  total flux cleaned = 0.00644104 Jy
! Component: 1450  -  total flux cleaned = 0.00633143 Jy
! Component: 1500  -  total flux cleaned = 0.00643964 Jy
! Component: 1550  -  total flux cleaned = 0.00659961 Jy
! Component: 1600  -  total flux cleaned = 0.00680898 Jy
! Component: 1650  -  total flux cleaned = 0.00670379 Jy
! Component: 1700  -  total flux cleaned = 0.00685846 Jy
! Component: 1750  -  total flux cleaned = 0.00685809 Jy
! Component: 1800  -  total flux cleaned = 0.00695898 Jy
! Component: 1850  -  total flux cleaned = 0.00715889 Jy
! Component: 1900  -  total flux cleaned = 0.00715938 Jy
! Component: 1950  -  total flux cleaned = 0.00740346 Jy
! Component: 2000  -  total flux cleaned = 0.00735539 Jy
! Total flux subtracted in 2048 components = 0.00745115 Jy
! Clean residual min=-0.003034 max=0.002920 Jy/beam
! Clean residual mean=0.000021 rms=0.000990 Jy/beam
! Combined flux in latest and established models = 0.178485 Jy
keep
! Adding 131 model components to the UV plane model.
! The established model now contains 170 components and 0.178485 Jy
![Exited script file: muppet]
wmap "J0220-2151_S_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.434 x 8.567 at -4.703 degrees (North through East)
! Clean map  min=-0.0060015  max=0.17185 Jy/beam
! Writing clean map to FITS file: J0220-2151_S_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.171855 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000997483 
device "J0220-2151_S_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J0220-2151_S_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.74127 1.74127 3.48253 6.96506 13.9301 27.8603 55.7205
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0029 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.171 
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.434 x 8.567 at -4.703 degrees (North through East)
! Clean map  min=-0.0060015  max=0.17185 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0220-2151_S_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J0220-2151_S_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0220-2151_S_1997_08_27_yyk_uvs.log closed on Sun Jan  7 15:51:11 2007