! Started logfile: J0603-1716_S_1997_07_02_yyk_uvs.log on Sun Jan  7 16:33:28 2007
obs J0603-1716_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0603-1716_S_1997_07_02_yyk_uva.fits
! AN table 1: 147 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.926228 visibilities/baseline/integration-bin.
! Found source: J0603-1716
! 
! 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 754 lines of history.
! 
! Reading 24508 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 J0603-1716_S_1997_07_02_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.506808 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.54 mas, bmaj=6.697 mas, bpa=-1.498 degrees
! Estimated noise=1984.18 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.319121 Jy
! Component: 100  -  total flux cleaned = 0.374652 Jy
! Total flux subtracted in 100 components = 0.374652 Jy
! Clean residual min=-0.012134 max=0.015515 Jy/beam
! Clean residual mean=0.000128 rms=0.003797 Jy/beam
! Combined flux in latest and established models = 0.374652 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.374652 Jy
! 
! Correcting IF 1.
!  A total of 253 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.330936Jy  sigma=0.001209
! Fit after  self-cal, rms=0.330836Jy  sigma=0.001209
! Inverting map and beam 
! Estimated beam: bmin=2.54 mas, bmaj=6.697 mas, bpa=-1.498 degrees
! Estimated noise=1984.17 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.494 mas, bmaj=9.031 mas, bpa=-3.084 degrees
! Estimated noise=1140.16 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.0200181 Jy
! Component: 100  -  total flux cleaned = 0.025257 Jy
! Component: 150  -  total flux cleaned = 0.0257108 Jy
! Component: 200  -  total flux cleaned = 0.0258924 Jy
! Total flux subtracted in 200 components = 0.0258924 Jy
! Clean residual min=-0.008284 max=0.013004 Jy/beam
! Clean residual mean=0.000107 rms=0.002884 Jy/beam
! Combined flux in latest and established models = 0.400545 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 17 components and 0.400545 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.329818Jy  sigma=0.001205
! Fit after  self-cal, rms=0.329803Jy  sigma=0.001205
! 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.494 x 9.031 at -3.084 degrees (North through East)
! Clean map  min=-0.007779  max=0.37978 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.01728
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.15     HN        0.96     KP        0.90     
!   LA        1.00     MK        1.00     NL        1.00*    OV        1.07     
!   PT        0.96     SC        0.83     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.986335
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.14     HN        0.99     KP        0.96     
!   LA        1.11     MK        1.03     NL        0.96     OV        1.03     
!   PT        0.93     SC        0.95     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03753
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.07     HN        0.96     KP        0.93     
!   LA        0.82     MK        0.90     NL        0.91     OV        0.96     
!   PT        1.10     SC        1.05     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.982852
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.13     HN        1.18     KP        0.95     
!   LA        0.90     MK        1.07     NL        1.03     OV        0.97     
!   PT        0.91     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.329803Jy  sigma=0.001205
! Fit after  self-cal, rms=0.323017Jy  sigma=0.001194
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.323017Jy  sigma=0.001194
! Fit after  self-cal, rms=0.323016Jy  sigma=0.001194
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.496 mas, bmaj=8.966 mas, bpa=-2.595 degrees
! Estimated noise=1141.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.00261247 Jy
! Component: 100  -  total flux cleaned = 0.0026203 Jy
! Component: 150  -  total flux cleaned = 0.00237851 Jy
! Component: 200  -  total flux cleaned = 0.00222713 Jy
! Total flux subtracted in 200 components = 0.00222713 Jy
! Clean residual min=-0.004657 max=0.004825 Jy/beam
! Clean residual mean=-0.000079 rms=0.001414 Jy/beam
! Combined flux in latest and established models = 0.402772 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 27 components and 0.402772 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322972Jy  sigma=0.001194
! Fit after  self-cal, rms=0.322965Jy  sigma=0.001194
! 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.322965Jy  sigma=0.001194
! Fit after  self-cal, rms=0.321219Jy  sigma=0.001187
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.000978476 Jy
! Component: 100  -  total flux cleaned = 0.000912377 Jy
! Component: 150  -  total flux cleaned = 0.000787064 Jy
! Component: 200  -  total flux cleaned = 0.000610868 Jy
! Total flux subtracted in 200 components = 0.000610868 Jy
! Clean residual min=-0.004552 max=0.004900 Jy/beam
! Clean residual mean=-0.000075 rms=0.001402 Jy/beam
! Combined flux in latest and established models = 0.403383 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 31 components and 0.403383 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321200Jy  sigma=0.001186
! Fit after  self-cal, rms=0.320945Jy  sigma=0.001185
! 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.496 x 8.966 at -2.595 degrees (North through East)
! Clean map  min=-0.0045377  max=0.38516 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.320945Jy  sigma=0.001185
! Fit after  self-cal, rms=0.339418Jy  sigma=0.001181
! 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.339418Jy  sigma=0.001181
! Fit after  self-cal, rms=0.339362Jy  sigma=0.001180
! Inverting map and beam 
! Estimated beam: bmin=3.473 mas, bmaj=8.964 mas, bpa=-2.567 degrees
! Estimated noise=1136.24 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000609989 Jy
! Component: 100  -  total flux cleaned = 0.000392208 Jy
! Component: 150  -  total flux cleaned = 0.000344744 Jy
! Component: 200  -  total flux cleaned = 0.00030154 Jy
! Total flux subtracted in 200 components = 0.00030154 Jy
! Clean residual min=-0.004033 max=0.004195 Jy/beam
! Clean residual mean=-0.000082 rms=0.001167 Jy/beam
! Combined flux in latest and established models = 0.403684 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 34 components and 0.403684 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.339348Jy  sigma=0.001180
! Fit after  self-cal, rms=0.339325Jy  sigma=0.001180
! 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.339325Jy  sigma=0.001180
! Fit after  self-cal, rms=0.340192Jy  sigma=0.001179
! 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.340192Jy  sigma=0.001179
! Fit after  self-cal, rms=0.340189Jy  sigma=0.001179
! Inverting map and beam 
! Estimated beam: bmin=3.466 mas, bmaj=8.955 mas, bpa=-2.563 degrees
! Estimated noise=1137.19 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000825739 Jy
! Component: 100  -  total flux cleaned = 0.000826783 Jy
! Component: 150  -  total flux cleaned = 0.00079282 Jy
! Component: 200  -  total flux cleaned = 0.000760665 Jy
! Total flux subtracted in 200 components = 0.000760665 Jy
! Clean residual min=-0.003900 max=0.004220 Jy/beam
! Clean residual mean=-0.000079 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 0.404445 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 35 components and 0.404445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340179Jy  sigma=0.001179
! Fit after  self-cal, rms=0.340177Jy  sigma=0.001179
! 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.418 mas, bmaj=17.64 mas, bpa=7.617 degrees
! Estimated noise=1400.66 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 = 7.24369e-05 Jy
! Component: 100  -  total flux cleaned = 3.38041e-05 Jy
! Component: 150  -  total flux cleaned = -7.86714e-06 Jy
! Component: 200  -  total flux cleaned = -9.52653e-06 Jy
! Total flux subtracted in 200 components = -9.52653e-06 Jy
! Clean residual min=-0.004290 max=0.004154 Jy/beam
! Clean residual mean=-0.000142 rms=0.001318 Jy/beam
! Combined flux in latest and established models = 0.404435 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 45 components and 0.404435 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340184Jy  sigma=0.001179
! Fit after  self-cal, rms=0.340179Jy  sigma=0.001179
! 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.548 mas, bmaj=6.652 mas, bpa=-1.001 degrees
! Estimated noise=2005.46 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.323946 Jy
! Component: 100  -  total flux cleaned = 0.37874 Jy
! Component: 150  -  total flux cleaned = 0.399211 Jy
! Component: 200  -  total flux cleaned = 0.406498 Jy
! Total flux subtracted in 200 components = 0.406498 Jy
! Clean residual min=-0.007801 max=0.007855 Jy/beam
! Clean residual mean=-0.000031 rms=0.002022 Jy/beam
! Combined flux in latest and established models = 0.406498 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 14 model components to the UV plane model.
! The established model now contains 14 components and 0.406498 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.466 mas, bmaj=8.955 mas, bpa=-2.563 degrees
! Estimated noise=1137.19 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.0011782 Jy
! Component: 100  -  total flux cleaned = -0.00143173 Jy
! Component: 150  -  total flux cleaned = -0.00168433 Jy
! Component: 200  -  total flux cleaned = -0.00174663 Jy
! Total flux subtracted in 200 components = -0.00174663 Jy
! Clean residual min=-0.004059 max=0.004139 Jy/beam
! Clean residual mean=-0.000081 rms=0.001177 Jy/beam
! Combined flux in latest and established models = 0.404752 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 20 components and 0.404752 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.418 mas, bmaj=17.64 mas, bpa=7.617 degrees
! Estimated noise=1400.66 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 = 2.15687e-05 Jy
! Component: 100  -  total flux cleaned = -2.13346e-05 Jy
! Component: 150  -  total flux cleaned = -5.31784e-05 Jy
! Component: 200  -  total flux cleaned = -7.60346e-05 Jy
! Total flux subtracted in 200 components = -7.60346e-05 Jy
! Clean residual min=-0.004337 max=0.004149 Jy/beam
! Clean residual mean=-0.000145 rms=0.001318 Jy/beam
! Combined flux in latest and established models = 0.404676 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 29 components and 0.404676 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.466 mas, bmaj=8.955 mas, bpa=-2.563 degrees
! Estimated noise=1137.19 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 6.19773e-05 Jy
! Component: 100  -  total flux cleaned = 5.58943e-05 Jy
! Component: 150  -  total flux cleaned = 1.03541e-05 Jy
! Component: 200  -  total flux cleaned = 1.13189e-05 Jy
! Total flux subtracted in 200 components = 1.13189e-05 Jy
! Clean residual min=-0.003927 max=0.004218 Jy/beam
! Clean residual mean=-0.000081 rms=0.001166 Jy/beam
! Combined flux in latest and established models = 0.404687 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 38 components and 0.404687 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340194Jy  sigma=0.001179
! Fit after  self-cal, rms=0.340191Jy  sigma=0.001179
wmodel J0603-1716_S_1997_07_02_yyk\_map.mod
! Writing 38 model components to file: J0603-1716_S_1997_07_02_yyk_map.mod
wobs J0603-1716_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0603-1716_S_1997_07_02_yyk_uvs.fits
wwins J0603-1716_S_1997_07_02_yyk\_map.win
! wwins: Wrote 1 windows to J0603-1716_S_1997_07_02_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 = 8.1183e-05 Jy
! Component: 100  -  total flux cleaned = 1.7041e-05 Jy
! Component: 150  -  total flux cleaned = -0.000174029 Jy
! Component: 200  -  total flux cleaned = -5.21386e-05 Jy
! Component: 250  -  total flux cleaned = 6.04574e-06 Jy
! Component: 300  -  total flux cleaned = -4.77274e-05 Jy
! Component: 350  -  total flux cleaned = -4.65655e-05 Jy
! Component: 400  -  total flux cleaned = -4.76825e-05 Jy
! Component: 450  -  total flux cleaned = -0.000149348 Jy
! Component: 500  -  total flux cleaned = -0.000296982 Jy
! Component: 550  -  total flux cleaned = -0.000297404 Jy
! Component: 600  -  total flux cleaned = -0.000391539 Jy
! Component: 650  -  total flux cleaned = -0.00052849 Jy
! Component: 700  -  total flux cleaned = -0.000618656 Jy
! Component: 750  -  total flux cleaned = -0.000707299 Jy
! Component: 800  -  total flux cleaned = -0.000707283 Jy
! Component: 850  -  total flux cleaned = -0.000749204 Jy
! Component: 900  -  total flux cleaned = -0.000624511 Jy
! Component: 950  -  total flux cleaned = -0.000665338 Jy
! Component: 1000  -  total flux cleaned = -0.000585004 Jy
! Component: 1050  -  total flux cleaned = -0.000663689 Jy
! Component: 1100  -  total flux cleaned = -0.000741326 Jy
! Component: 1150  -  total flux cleaned = -0.000856104 Jy
! Component: 1200  -  total flux cleaned = -0.000817786 Jy
! Component: 1250  -  total flux cleaned = -0.00081808 Jy
! Component: 1300  -  total flux cleaned = -0.000928512 Jy
! Component: 1350  -  total flux cleaned = -0.00096444 Jy
! Component: 1400  -  total flux cleaned = -0.00107069 Jy
! Component: 1450  -  total flux cleaned = -0.00106952 Jy
! Component: 1500  -  total flux cleaned = -0.00110381 Jy
! Component: 1550  -  total flux cleaned = -0.00120618 Jy
! Component: 1600  -  total flux cleaned = -0.00120605 Jy
! Component: 1650  -  total flux cleaned = -0.0014067 Jy
! Component: 1700  -  total flux cleaned = -0.00143969 Jy
! Component: 1750  -  total flux cleaned = -0.00160343 Jy
! Component: 1800  -  total flux cleaned = -0.00166776 Jy
! Component: 1850  -  total flux cleaned = -0.00176349 Jy
! Component: 1900  -  total flux cleaned = -0.00182681 Jy
! Component: 1950  -  total flux cleaned = -0.00201448 Jy
! Component: 2000  -  total flux cleaned = -0.00201465 Jy
! Total flux subtracted in 2048 components = -0.0021379 Jy
! Clean residual min=-0.001660 max=0.001912 Jy/beam
! Clean residual mean=-0.000046 rms=0.000633 Jy/beam
! Combined flux in latest and established models = 0.402549 Jy
keep
! Adding 124 model components to the UV plane model.
! The established model now contains 162 components and 0.402549 Jy
![Exited script file: muppet]
wmap "J0603-1716_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.466 x 8.955 at -2.563 degrees (North through East)
! Clean map  min=-0.0032358  max=0.38519 Jy/beam
! Writing clean map to FITS file: J0603-1716_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.385192 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00062784 
device "J0603-1716_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0603-1716_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.488982 0.488982 0.977965 1.95593 3.91186 7.82372 15.6474 31.2949 62.5898
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.385 
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.466 x 8.955 at -2.563 degrees (North through East)
! Clean map  min=-0.0032358  max=0.38519 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0603-1716_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0603-1716_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0603-1716_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 16:33:35 2007