! Started logfile: J0806-2652_S_1997_07_02_yyk_uvs.log on Sun Jan  7 16:53:40 2007
obs J0806-2652_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0806-2652_S_1997_07_02_yyk_uva.fits
! AN table 1: 138 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.846377 visibilities/baseline/integration-bin.
! Found source: J0806-2652
! 
! 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 21024 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 J0806-2652_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.532206 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.903 mas, bmaj=8.498 mas, bpa=2.254 degrees
! Estimated noise=2919.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.225083 Jy
! Component: 100  -  total flux cleaned = 0.306819 Jy
! Total flux subtracted in 100 components = 0.306819 Jy
! Clean residual min=-0.034265 max=0.087181 Jy/beam
! Clean residual mean=0.000522 rms=0.013203 Jy/beam
! Combined flux in latest and established models = 0.306818 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 0.306818 Jy
! 
! Correcting IF 1.
!  A total of 370 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 182 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 182 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 131 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.416575Jy  sigma=0.001393
! Fit after  self-cal, rms=0.414881Jy  sigma=0.001391
! Inverting map and beam 
! Estimated beam: bmin=2.903 mas, bmaj=8.498 mas, bpa=2.254 degrees
! Estimated noise=2920.26 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.845 mas, bmaj=10.94 mas, bpa=0.7507 degrees
! Estimated noise=1439.92 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.12331 Jy
! Component: 100  -  total flux cleaned = 0.175156 Jy
! Component: 150  -  total flux cleaned = 0.197676 Jy
! Component: 200  -  total flux cleaned = 0.201792 Jy
! Total flux subtracted in 200 components = 0.201792 Jy
! Clean residual min=-0.030568 max=0.062879 Jy/beam
! Clean residual mean=0.000571 rms=0.011560 Jy/beam
! Combined flux in latest and established models = 0.50861 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 41 components and 0.50861 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.396117Jy  sigma=0.001295
! Fit after  self-cal, rms=0.395971Jy  sigma=0.001294
! Inverting map 
! Added new window around map position (-7.5, 4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0606317 Jy
! Component: 100  -  total flux cleaned = 0.0658149 Jy
! Component: 150  -  total flux cleaned = 0.0677098 Jy
! Component: 200  -  total flux cleaned = 0.06851 Jy
! Total flux subtracted in 200 components = 0.06851 Jy
! Clean residual min=-0.022284 max=0.052984 Jy/beam
! Clean residual mean=0.000407 rms=0.008115 Jy/beam
! Combined flux in latest and established models = 0.57712 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 85 components and 0.57712 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.385004Jy  sigma=0.001257
! Fit after  self-cal, rms=0.381932Jy  sigma=0.001246
! 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.845 x 10.94 at 0.7507 degrees (North through East)
! Clean map  min=-0.023412  max=0.24767 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0277
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.11     HN        1.00     KP        0.86     
!   LA        0.98     MK        1.09     NL        1.00*    OV        1.04     
!   PT        0.93     SC        0.77     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.934789
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.10     HN        1.40     KP        0.90     
!   LA        1.09     MK        1.22     NL        1.15     OV        1.05     
!   PT        0.93     SC        0.87     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.942713
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.10     HN        1.13     KP        0.90     
!   LA        0.80     MK        0.97     NL        1.18     OV        0.96     
!   PT        1.06     SC        1.57     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.928929
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.12     HN        1.63     KP        0.94     
!   LA        0.88     MK        1.16     NL        1.33     OV        1.00     
!   PT        0.91     SC        0.82     
! 
! 
! Fit before self-cal, rms=0.381932Jy  sigma=0.001246
! Fit after  self-cal, rms=0.394092Jy  sigma=0.001240
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.394092Jy  sigma=0.001240
! Fit after  self-cal, rms=0.394393Jy  sigma=0.001240
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.928 mas, bmaj=10.98 mas, bpa=4.732 degrees
! Estimated noise=1336.24 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.034396 Jy
! Component: 100  -  total flux cleaned = -0.0380109 Jy
! Component: 150  -  total flux cleaned = -0.0409518 Jy
! Component: 200  -  total flux cleaned = -0.0425271 Jy
! Total flux subtracted in 200 components = -0.0425271 Jy
! Clean residual min=-0.010470 max=0.017279 Jy/beam
! Clean residual mean=0.000165 rms=0.003624 Jy/beam
! Combined flux in latest and established models = 0.534593 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 116 components and 0.534593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.390370Jy  sigma=0.001224
! Fit after  self-cal, rms=0.389585Jy  sigma=0.001223
! 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.389585Jy  sigma=0.001223
! Fit after  self-cal, rms=0.387570Jy  sigma=0.001215
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)
! Added new window around map position (-57, 40).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0180275 Jy
! Component: 100  -  total flux cleaned = 0.0165325 Jy
! Component: 150  -  total flux cleaned = 0.0147581 Jy
! Component: 200  -  total flux cleaned = 0.0135582 Jy
! Total flux subtracted in 200 components = 0.0135582 Jy
! Clean residual min=-0.009436 max=0.011908 Jy/beam
! Clean residual mean=0.000015 rms=0.002930 Jy/beam
! Combined flux in latest and established models = 0.548151 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 133 components and 0.548151 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.385611Jy  sigma=0.001210
! Fit after  self-cal, rms=0.384666Jy  sigma=0.001208
! 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.928 x 10.98 at 4.732 degrees (North through East)
! Clean map  min=-0.010514  max=0.22616 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.384666Jy  sigma=0.001208
! Fit after  self-cal, rms=0.544289Jy  sigma=0.001199
! 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.544289Jy  sigma=0.001199
! Fit after  self-cal, rms=0.544202Jy  sigma=0.001199
! Inverting map and beam 
! Estimated beam: bmin=3.904 mas, bmaj=11.36 mas, bpa=4.876 degrees
! Estimated noise=1318.5 mJy/beam.
! Added new window around map position (24.5, 29).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00862697 Jy
! Component: 100  -  total flux cleaned = 0.00826393 Jy
! Component: 150  -  total flux cleaned = 0.00612022 Jy
! Component: 200  -  total flux cleaned = 0.00457054 Jy
! Total flux subtracted in 200 components = 0.00457054 Jy
! Clean residual min=-0.007495 max=0.009577 Jy/beam
! Clean residual mean=-0.000062 rms=0.002240 Jy/beam
! Combined flux in latest and established models = 0.552721 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 166 components and 0.552721 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.543254Jy  sigma=0.001196
! Fit after  self-cal, rms=0.543055Jy  sigma=0.001195
! Inverting map 
! Added new window around map position (-18.5, -9.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0071205 Jy
! Component: 100  -  total flux cleaned = 0.0061141 Jy
! Component: 150  -  total flux cleaned = 0.00582468 Jy
! Component: 200  -  total flux cleaned = 0.00529498 Jy
! Total flux subtracted in 200 components = 0.00529498 Jy
! Clean residual min=-0.007310 max=0.007288 Jy/beam
! Clean residual mean=-0.000076 rms=0.001899 Jy/beam
! Combined flux in latest and established models = 0.558016 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 194 components and 0.558016 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.542494Jy  sigma=0.001193
! Fit after  self-cal, rms=0.542403Jy  sigma=0.001193
! 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.542403Jy  sigma=0.001193
! Fit after  self-cal, rms=0.549631Jy  sigma=0.001192
! 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.549631Jy  sigma=0.001192
! Fit after  self-cal, rms=0.549640Jy  sigma=0.001192
! Inverting map and beam 
! Estimated beam: bmin=3.887 mas, bmaj=11.48 mas, bpa=5.196 degrees
! Estimated noise=1311 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00315959 Jy
! Component: 100  -  total flux cleaned = 0.00314562 Jy
! Component: 150  -  total flux cleaned = 0.0029059 Jy
! Component: 200  -  total flux cleaned = 0.00249193 Jy
! Total flux subtracted in 200 components = 0.00249193 Jy
! Clean residual min=-0.006601 max=0.006103 Jy/beam
! Clean residual mean=-0.000050 rms=0.001694 Jy/beam
! Combined flux in latest and established models = 0.560508 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 44 model components to the UV plane model.
! The established model now contains 227 components and 0.560508 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.549279Jy  sigma=0.001191
! Fit after  self-cal, rms=0.549193Jy  sigma=0.001190
! 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=9.194 mas, bmaj=21.68 mas, bpa=6.121 degrees
! Estimated noise=1562.52 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.000995042 Jy
! Component: 100  -  total flux cleaned = -0.00233094 Jy
! Component: 150  -  total flux cleaned = -0.00265088 Jy
! Component: 200  -  total flux cleaned = -0.00279404 Jy
! Total flux subtracted in 200 components = -0.00279404 Jy
! Clean residual min=-0.004452 max=0.005882 Jy/beam
! Clean residual mean=-0.000056 rms=0.001525 Jy/beam
! Combined flux in latest and established models = 0.557714 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 252 components and 0.557714 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.549017Jy  sigma=0.001190
! Fit after  self-cal, rms=0.548979Jy  sigma=0.001190
! 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.958 mas, bmaj=8.689 mas, bpa=4.254 degrees
! Estimated noise=2832.05 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.235817 Jy
! Component: 100  -  total flux cleaned = 0.343223 Jy
! Component: 150  -  total flux cleaned = 0.410422 Jy
! Component: 200  -  total flux cleaned = 0.450858 Jy
! Total flux subtracted in 200 components = 0.450858 Jy
! Clean residual min=-0.017835 max=0.020084 Jy/beam
! Clean residual mean=0.000133 rms=0.005625 Jy/beam
! Combined flux in latest and established models = 0.450858 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 53 model components to the UV plane model.
! The established model now contains 53 components and 0.450858 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.887 mas, bmaj=11.48 mas, bpa=5.196 degrees
! Estimated noise=1311 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.0511021 Jy
! Component: 100  -  total flux cleaned = 0.0746956 Jy
! Component: 150  -  total flux cleaned = 0.0837357 Jy
! Component: 200  -  total flux cleaned = 0.0877074 Jy
! Total flux subtracted in 200 components = 0.0877074 Jy
! Clean residual min=-0.007194 max=0.011507 Jy/beam
! Clean residual mean=0.000021 rms=0.002655 Jy/beam
! Combined flux in latest and established models = 0.538565 Jy
! Adding 52 model components to the UV plane model.
! The established model now contains 102 components and 0.538566 Jy
! Inverting map 
! Added new window around map position (7, 2.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0110309 Jy
! Component: 100  -  total flux cleaned = 0.012518 Jy
! Component: 150  -  total flux cleaned = 0.0131716 Jy
! Component: 200  -  total flux cleaned = 0.0137725 Jy
! Total flux subtracted in 200 components = 0.0137725 Jy
! Clean residual min=-0.005269 max=0.006602 Jy/beam
! Clean residual mean=-0.000032 rms=0.001810 Jy/beam
! Combined flux in latest and established models = 0.552338 Jy
! Adding 48 model components to the UV plane model.
! The established model now contains 142 components and 0.552338 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=9.194 mas, bmaj=21.68 mas, bpa=6.121 degrees
! Estimated noise=1562.52 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.000925741 Jy
! Component: 100  -  total flux cleaned = 0.00166163 Jy
! Component: 150  -  total flux cleaned = 0.00209305 Jy
! Component: 200  -  total flux cleaned = 0.00249399 Jy
! Total flux subtracted in 200 components = 0.00249399 Jy
! Clean residual min=-0.005110 max=0.006737 Jy/beam
! Clean residual mean=-0.000055 rms=0.001696 Jy/beam
! Combined flux in latest and established models = 0.554832 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 175 components and 0.554832 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.887 mas, bmaj=11.48 mas, bpa=5.196 degrees
! Estimated noise=1311 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000770458 Jy
! Component: 100  -  total flux cleaned = 0.00139031 Jy
! Component: 150  -  total flux cleaned = 0.0019569 Jy
! Component: 200  -  total flux cleaned = 0.00229716 Jy
! Total flux subtracted in 200 components = 0.00229716 Jy
! Clean residual min=-0.004441 max=0.006255 Jy/beam
! Clean residual mean=-0.000032 rms=0.001451 Jy/beam
! Combined flux in latest and established models = 0.557129 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 212 components and 0.557129 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.548764Jy  sigma=0.001189
! Fit after  self-cal, rms=0.548794Jy  sigma=0.001189
wmodel J0806-2652_S_1997_07_02_yyk\_map.mod
! Writing 212 model components to file: J0806-2652_S_1997_07_02_yyk_map.mod
wobs J0806-2652_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0806-2652_S_1997_07_02_yyk_uvs.fits
wwins J0806-2652_S_1997_07_02_yyk\_map.win
! wwins: Wrote 6 windows to J0806-2652_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 = 0.00169883 Jy
! Component: 100  -  total flux cleaned = 0.0027839 Jy
! Component: 150  -  total flux cleaned = 0.00372865 Jy
! Component: 200  -  total flux cleaned = 0.00455268 Jy
! Component: 250  -  total flux cleaned = 0.00498666 Jy
! Component: 300  -  total flux cleaned = 0.00547203 Jy
! Component: 350  -  total flux cleaned = 0.00587394 Jy
! Component: 400  -  total flux cleaned = 0.00626493 Jy
! Component: 450  -  total flux cleaned = 0.00651883 Jy
! Component: 500  -  total flux cleaned = 0.00658074 Jy
! Component: 550  -  total flux cleaned = 0.00682353 Jy
! Component: 600  -  total flux cleaned = 0.00682335 Jy
! Component: 650  -  total flux cleaned = 0.00699837 Jy
! Component: 700  -  total flux cleaned = 0.00705583 Jy
! Component: 750  -  total flux cleaned = 0.00711192 Jy
! Component: 800  -  total flux cleaned = 0.00705688 Jy
! Component: 850  -  total flux cleaned = 0.00716259 Jy
! Component: 900  -  total flux cleaned = 0.00710914 Jy
! Component: 950  -  total flux cleaned = 0.00695504 Jy
! Component: 1000  -  total flux cleaned = 0.00695547 Jy
! Component: 1050  -  total flux cleaned = 0.0068566 Jy
! Component: 1100  -  total flux cleaned = 0.00685628 Jy
! Component: 1150  -  total flux cleaned = 0.00675921 Jy
! Component: 1200  -  total flux cleaned = 0.0066166 Jy
! Component: 1250  -  total flux cleaned = 0.00643061 Jy
! Component: 1300  -  total flux cleaned = 0.00629348 Jy
! Component: 1350  -  total flux cleaned = 0.00633813 Jy
! Component: 1400  -  total flux cleaned = 0.00629313 Jy
! Component: 1450  -  total flux cleaned = 0.00616187 Jy
! Component: 1500  -  total flux cleaned = 0.00611898 Jy
! Component: 1550  -  total flux cleaned = 0.00603447 Jy
! Component: 1600  -  total flux cleaned = 0.00599325 Jy
! Component: 1650  -  total flux cleaned = 0.0059935 Jy
! Component: 1700  -  total flux cleaned = 0.00595318 Jy
! Component: 1750  -  total flux cleaned = 0.00587304 Jy
! Component: 1800  -  total flux cleaned = 0.0059131 Jy
! Component: 1850  -  total flux cleaned = 0.00583414 Jy
! Component: 1900  -  total flux cleaned = 0.00575543 Jy
! Component: 1950  -  total flux cleaned = 0.0058323 Jy
! Component: 2000  -  total flux cleaned = 0.00575516 Jy
! Total flux subtracted in 2048 components = 0.00575469 Jy
! Clean residual min=-0.002431 max=0.002219 Jy/beam
! Clean residual mean=-0.000022 rms=0.000812 Jy/beam
! Combined flux in latest and established models = 0.562884 Jy
keep
! Adding 126 model components to the UV plane model.
! The established model now contains 337 components and 0.562884 Jy
![Exited script file: muppet]
wmap "J0806-2652_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.887 x 11.48 at 5.196 degrees (North through East)
! Clean map  min=-0.015594  max=0.22651 Jy/beam
! Writing clean map to FITS file: J0806-2652_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.22651 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000807671 
device "J0806-2652_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0806-2652_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.06972 1.06972 2.13943 4.27886 8.55773 17.1155 34.2309 68.4618
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0024 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.226 
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.887 x 11.48 at 5.196 degrees (North through East)
! Clean map  min=-0.015594  max=0.22651 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0806-2652_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0806-2652_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0806-2652_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 16:53:48 2007