! Started logfile: J0933-1139_X_1997_05_07_yyk_uvs.log on Mon Jan  8 04:31:30 2007
obs J0933-1139_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J0933-1139_X_1997_05_07_yyk_uva.fits
! AN table 1: 133 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.887719 visibilities/baseline/integration-bin.
! Found source: J0933-1139
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 21252 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 J0933-1139_X_1997_05_07_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.30375 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.7017 mas, bmaj=1.846 mas, bpa=-1.929 degrees
! Estimated noise=1157.53 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.174836 Jy
! Component: 100  -  total flux cleaned = 0.234953 Jy
! Total flux subtracted in 100 components = 0.234953 Jy
! Clean residual min=-0.010944 max=0.024062 Jy/beam
! Clean residual mean=0.000064 rms=0.003971 Jy/beam
! Combined flux in latest and established models = 0.234953 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.234953 Jy
! 
! Correcting IF 1.
!  A total of 82 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 82 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 82 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 82 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.204490Jy  sigma=0.001290
! Fit after  self-cal, rms=0.202979Jy  sigma=0.001281
! Inverting map and beam 
! Estimated beam: bmin=0.7017 mas, bmaj=1.846 mas, bpa=-1.929 degrees
! Estimated noise=1157.53 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0368093 Jy
! Component: 100  -  total flux cleaned = 0.0541327 Jy
! Total flux subtracted in 100 components = 0.0541327 Jy
! Clean residual min=-0.007407 max=0.010020 Jy/beam
! Clean residual mean=0.000031 rms=0.002207 Jy/beam
! Combined flux in latest and established models = 0.289086 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 24 components and 0.289086 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196749Jy  sigma=0.001228
! Fit after  self-cal, rms=0.196577Jy  sigma=0.001227
! Inverting map 
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.9148 mas, bmaj=2.301 mas, bpa=-2.457 degrees
! Estimated noise=730.273 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.0194542 Jy
! Component: 100  -  total flux cleaned = 0.027015 Jy
! Component: 150  -  total flux cleaned = 0.030438 Jy
! Component: 200  -  total flux cleaned = 0.0314706 Jy
! Total flux subtracted in 200 components = 0.0314706 Jy
! Clean residual min=-0.005989 max=0.012180 Jy/beam
! Clean residual mean=0.000123 rms=0.002032 Jy/beam
! Combined flux in latest and established models = 0.320557 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 42 components and 0.320557 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195781Jy  sigma=0.001218
! Fit after  self-cal, rms=0.195762Jy  sigma=0.001218
! 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.0129774 Jy
! Component: 100  -  total flux cleaned = 0.0184338 Jy
! Component: 150  -  total flux cleaned = 0.0214112 Jy
! Component: 200  -  total flux cleaned = 0.0222693 Jy
! Total flux subtracted in 200 components = 0.0222693 Jy
! Clean residual min=-0.004601 max=0.006077 Jy/beam
! Clean residual mean=0.000087 rms=0.001404 Jy/beam
! Combined flux in latest and established models = 0.342826 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 69 components and 0.342826 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195247Jy  sigma=0.001214
! Fit after  self-cal, rms=0.195184Jy  sigma=0.001214
! 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.9148 x 2.301 at -2.457 degrees (North through East)
! Clean map  min=-0.004349  max=0.20245 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
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: 0.993988
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.99     HN        1.06     KP        1.05     
!   LA        0.98     MK        1.02     NL        1.08     OV        1.00     
!   PT        0.93     SC        0.97     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.99726
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.98     HN        1.06     KP        1.01     
!   LA        0.97     MK        0.98     NL        1.08     OV        1.03     
!   PT        0.92     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.994033
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.04     HN        1.04     KP        0.99     
!   LA        0.98     MK        0.99     NL        1.05     OV        0.98     
!   PT        0.97     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.976342
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.99     HN        1.08     KP        1.00     
!   LA        1.01     MK        1.02     NL        1.07     OV        1.00     
!   PT        0.97     SC        1.05     
! 
! 
! Fit before self-cal, rms=0.195184Jy  sigma=0.001214
! Fit after  self-cal, rms=0.195862Jy  sigma=0.001211
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.195862Jy  sigma=0.001211
! Fit after  self-cal, rms=0.195863Jy  sigma=0.001211
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.925 mas, bmaj=2.314 mas, bpa=-2.323 degrees
! Estimated noise=719.882 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.0051453 Jy
! Component: 100  -  total flux cleaned = -0.00665164 Jy
! Component: 150  -  total flux cleaned = -0.00717235 Jy
! Component: 200  -  total flux cleaned = -0.00754121 Jy
! Total flux subtracted in 200 components = -0.00754121 Jy
! Clean residual min=-0.003382 max=0.004948 Jy/beam
! Clean residual mean=0.000042 rms=0.000982 Jy/beam
! Combined flux in latest and established models = 0.335285 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 80 components and 0.335285 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195745Jy  sigma=0.001211
! Fit after  self-cal, rms=0.195740Jy  sigma=0.001211
! Inverting map 
! Added new window around map position (16.4, 1.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00530466 Jy
! Component: 100  -  total flux cleaned = 0.00759837 Jy
! Component: 150  -  total flux cleaned = 0.00802042 Jy
! Component: 200  -  total flux cleaned = 0.00832731 Jy
! Total flux subtracted in 200 components = 0.00832731 Jy
! Clean residual min=-0.003185 max=0.003078 Jy/beam
! Clean residual mean=0.000037 rms=0.000804 Jy/beam
! Combined flux in latest and established models = 0.343612 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 101 components and 0.343612 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195642Jy  sigma=0.001210
! Fit after  self-cal, rms=0.195636Jy  sigma=0.001210
! 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.195636Jy  sigma=0.001210
! Fit after  self-cal, rms=0.193503Jy  sigma=0.001196
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.00223361 Jy
! Component: 100  -  total flux cleaned = 0.00282032 Jy
! Component: 150  -  total flux cleaned = 0.00287725 Jy
! Component: 200  -  total flux cleaned = 0.00292959 Jy
! Total flux subtracted in 200 components = 0.00292959 Jy
! Clean residual min=-0.003135 max=0.003157 Jy/beam
! Clean residual mean=0.000034 rms=0.000774 Jy/beam
! Combined flux in latest and established models = 0.346542 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 119 components and 0.346542 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193479Jy  sigma=0.001195
! Fit after  self-cal, rms=0.193192Jy  sigma=0.001194
! 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.925 x 2.314 at -2.323 degrees (North through East)
! Clean map  min=-0.0029542  max=0.20289 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.193192Jy  sigma=0.001194
! Fit after  self-cal, rms=0.195276Jy  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.195276Jy  sigma=0.001192
! Fit after  self-cal, rms=0.195209Jy  sigma=0.001192
! Inverting map and beam 
! Estimated beam: bmin=0.9191 mas, bmaj=2.293 mas, bpa=-1.665 degrees
! Estimated noise=713.812 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000715956 Jy
! Component: 100  -  total flux cleaned = 0.00113265 Jy
! Component: 150  -  total flux cleaned = 0.00122075 Jy
! Component: 200  -  total flux cleaned = 0.00122026 Jy
! Total flux subtracted in 200 components = 0.00122026 Jy
! Clean residual min=-0.002558 max=0.002719 Jy/beam
! Clean residual mean=0.000032 rms=0.000691 Jy/beam
! Combined flux in latest and established models = 0.347762 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 134 components and 0.347762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195190Jy  sigma=0.001191
! Fit after  self-cal, rms=0.195162Jy  sigma=0.001191
! 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.195162Jy  sigma=0.001191
! Fit after  self-cal, rms=0.195935Jy  sigma=0.001190
! 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.195935Jy  sigma=0.001190
! Fit after  self-cal, rms=0.195922Jy  sigma=0.001190
! Inverting map and beam 
! Estimated beam: bmin=0.92 mas, bmaj=2.297 mas, bpa=-1.726 degrees
! Estimated noise=714.427 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000288811 Jy
! Component: 100  -  total flux cleaned = 0.000365934 Jy
! Component: 150  -  total flux cleaned = 0.000435614 Jy
! Component: 200  -  total flux cleaned = 0.000467991 Jy
! Total flux subtracted in 200 components = 0.000467991 Jy
! Clean residual min=-0.002362 max=0.002727 Jy/beam
! Clean residual mean=0.000032 rms=0.000682 Jy/beam
! Combined flux in latest and established models = 0.34823 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 143 components and 0.34823 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195913Jy  sigma=0.001190
! Fit after  self-cal, rms=0.195905Jy  sigma=0.001190
! 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.458 mas, bmaj=4.512 mas, bpa=9.425 degrees
! Estimated noise=910.865 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.000842084 Jy
! Component: 100  -  total flux cleaned = 0.00096066 Jy
! Component: 150  -  total flux cleaned = 0.0010629 Jy
! Component: 200  -  total flux cleaned = 0.00108509 Jy
! Total flux subtracted in 200 components = 0.00108509 Jy
! Clean residual min=-0.002879 max=0.002936 Jy/beam
! Clean residual mean=0.000058 rms=0.000874 Jy/beam
! Combined flux in latest and established models = 0.349315 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 154 components and 0.349315 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195904Jy  sigma=0.001190
! Fit after  self-cal, rms=0.195898Jy  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=0.7013 mas, bmaj=1.842 mas, bpa=-1.488 degrees
! Estimated noise=1157.56 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.181583 Jy
! Component: 100  -  total flux cleaned = 0.245013 Jy
! Component: 150  -  total flux cleaned = 0.273889 Jy
! Component: 200  -  total flux cleaned = 0.290671 Jy
! Total flux subtracted in 200 components = 0.290671 Jy
! Clean residual min=-0.005823 max=0.008781 Jy/beam
! Clean residual mean=0.000026 rms=0.001788 Jy/beam
! Combined flux in latest and established models = 0.290671 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 35 model components to the UV plane model.
! The established model now contains 35 components and 0.290671 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.92 mas, bmaj=2.297 mas, bpa=-1.726 degrees
! Estimated noise=714.427 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 (0.8, 0).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.017587 Jy
! Component: 100  -  total flux cleaned = 0.0276726 Jy
! Component: 150  -  total flux cleaned = 0.0349053 Jy
! Component: 200  -  total flux cleaned = 0.0404642 Jy
! Total flux subtracted in 200 components = 0.0404642 Jy
! Clean residual min=-0.003584 max=0.003502 Jy/beam
! Clean residual mean=0.000063 rms=0.001000 Jy/beam
! Combined flux in latest and established models = 0.331135 Jy
! Adding 57 model components to the UV plane model.
! The established model now contains 84 components and 0.331135 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.458 mas, bmaj=4.512 mas, bpa=9.425 degrees
! Estimated noise=910.865 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.00635948 Jy
! Component: 100  -  total flux cleaned = 0.0103998 Jy
! Component: 150  -  total flux cleaned = 0.0132441 Jy
! Component: 200  -  total flux cleaned = 0.0153076 Jy
! Total flux subtracted in 200 components = 0.0153076 Jy
! Clean residual min=-0.002746 max=0.003157 Jy/beam
! Clean residual mean=0.000068 rms=0.000946 Jy/beam
! Combined flux in latest and established models = 0.346443 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 125 components and 0.346443 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.92 mas, bmaj=2.297 mas, bpa=-1.726 degrees
! Estimated noise=714.427 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00136014 Jy
! Component: 100  -  total flux cleaned = 0.00161495 Jy
! Component: 150  -  total flux cleaned = 0.00176157 Jy
! Component: 200  -  total flux cleaned = 0.00183279 Jy
! Total flux subtracted in 200 components = 0.00183279 Jy
! Clean residual min=-0.002463 max=0.002952 Jy/beam
! Clean residual mean=0.000033 rms=0.000717 Jy/beam
! Combined flux in latest and established models = 0.348275 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 149 components and 0.348275 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195960Jy  sigma=0.001190
! Fit after  self-cal, rms=0.195926Jy  sigma=0.001190
wmodel J0933-1139_X_1997_05_07_yyk\_map.mod
! Writing 149 model components to file: J0933-1139_X_1997_05_07_yyk_map.mod
wobs J0933-1139_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J0933-1139_X_1997_05_07_yyk_uvs.fits
wwins J0933-1139_X_1997_05_07_yyk\_map.win
! wwins: Wrote 4 windows to J0933-1139_X_1997_05_07_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000815153 Jy
! Component: 100  -  total flux cleaned = 0.000995424 Jy
! Component: 150  -  total flux cleaned = 0.000955772 Jy
! Component: 200  -  total flux cleaned = 0.000914923 Jy
! Component: 250  -  total flux cleaned = 0.000953299 Jy
! Component: 300  -  total flux cleaned = 0.00102761 Jy
! Component: 350  -  total flux cleaned = 0.00117014 Jy
! Component: 400  -  total flux cleaned = 0.00113459 Jy
! Component: 450  -  total flux cleaned = 0.00110046 Jy
! Component: 500  -  total flux cleaned = 0.00110087 Jy
! Component: 550  -  total flux cleaned = 0.00119894 Jy
! Component: 600  -  total flux cleaned = 0.00119857 Jy
! Component: 650  -  total flux cleaned = 0.00119873 Jy
! Component: 700  -  total flux cleaned = 0.0012915 Jy
! Component: 750  -  total flux cleaned = 0.00126052 Jy
! Component: 800  -  total flux cleaned = 0.00129043 Jy
! Component: 850  -  total flux cleaned = 0.00126045 Jy
! Component: 900  -  total flux cleaned = 0.00131798 Jy
! Component: 950  -  total flux cleaned = 0.00131779 Jy
! Component: 1000  -  total flux cleaned = 0.0012899 Jy
! Component: 1050  -  total flux cleaned = 0.00131799 Jy
! Component: 1100  -  total flux cleaned = 0.00137257 Jy
! Component: 1150  -  total flux cleaned = 0.00134535 Jy
! Component: 1200  -  total flux cleaned = 0.00126561 Jy
! Component: 1250  -  total flux cleaned = 0.00131884 Jy
! Component: 1300  -  total flux cleaned = 0.0013447 Jy
! Component: 1350  -  total flux cleaned = 0.00134417 Jy
! Component: 1400  -  total flux cleaned = 0.00129353 Jy
! Component: 1450  -  total flux cleaned = 0.00129332 Jy
! Component: 1500  -  total flux cleaned = 0.00129375 Jy
! Component: 1550  -  total flux cleaned = 0.00129371 Jy
! Component: 1600  -  total flux cleaned = 0.0012453 Jy
! Component: 1650  -  total flux cleaned = 0.0012452 Jy
! Component: 1700  -  total flux cleaned = 0.0011742 Jy
! Component: 1750  -  total flux cleaned = 0.0011273 Jy
! Component: 1800  -  total flux cleaned = 0.0012197 Jy
! Component: 1850  -  total flux cleaned = 0.00121927 Jy
! Component: 1900  -  total flux cleaned = 0.0011738 Jy
! Component: 1950  -  total flux cleaned = 0.00121883 Jy
! Component: 2000  -  total flux cleaned = 0.00128539 Jy
! Total flux subtracted in 2048 components = 0.00132927 Jy
! Clean residual min=-0.001256 max=0.001361 Jy/beam
! Clean residual mean=0.000018 rms=0.000409 Jy/beam
! Combined flux in latest and established models = 0.349605 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 278 components and 0.349605 Jy
![Exited script file: muppet]
wmap "J0933-1139_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.92 x 2.297 at -1.726 degrees (North through East)
! Clean map  min=-0.0019564  max=0.20271 Jy/beam
! Writing clean map to FITS file: J0933-1139_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.202706 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000403277 
device "J0933-1139_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J0933-1139_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.596841 0.596841 1.19368 2.38736 4.77473 9.54945 19.0989 38.1978 76.3956
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.202 
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.92 x 2.297 at -1.726 degrees (North through East)
! Clean map  min=-0.0019564  max=0.20271 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0933-1139_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J0933-1139_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0933-1139_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 04:31:40 2007