! Started logfile: J2236-1706_X_1997_07_02_yyk_uvs.log on Mon Jan  8 10:39:25 2007
obs J2236-1706_X_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J2236-1706_X_1997_07_02_yyk_uva.fits
! AN table 1: 144 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.28519 visibilities/baseline/integration-bin.
! Found source: J2236-1706
! 
! 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 753 lines of history.
! 
! Reading 33312 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 J2236-1706_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.397334 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.7189 mas, bmaj=1.969 mas, bpa=-6.57 degrees
! Estimated noise=859.072 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.286779 Jy
! Component: 100  -  total flux cleaned = 0.336267 Jy
! Total flux subtracted in 100 components = 0.336267 Jy
! Clean residual min=-0.008587 max=0.014014 Jy/beam
! Clean residual mean=-0.000125 rms=0.002448 Jy/beam
! Combined flux in latest and established models = 0.336267 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.336267 Jy
! 
! Correcting IF 1.
!  A total of 163 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 163 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 163 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 163 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.199927Jy  sigma=0.001624
! Fit after  self-cal, rms=0.199878Jy  sigma=0.001624
! Inverting map and beam 
! Estimated beam: bmin=0.7189 mas, bmaj=1.969 mas, bpa=-6.57 degrees
! Estimated noise=859.59 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8956 mas, bmaj=2.381 mas, bpa=-7.273 degrees
! Estimated noise=577.061 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.0259091 Jy
! Component: 100  -  total flux cleaned = 0.0359369 Jy
! Component: 150  -  total flux cleaned = 0.0404278 Jy
! Component: 200  -  total flux cleaned = 0.0420614 Jy
! Total flux subtracted in 200 components = 0.0420614 Jy
! Clean residual min=-0.005911 max=0.006866 Jy/beam
! Clean residual mean=-0.000089 rms=0.001584 Jy/beam
! Combined flux in latest and established models = 0.378329 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 22 components and 0.378329 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198256Jy  sigma=0.001605
! Fit after  self-cal, rms=0.198243Jy  sigma=0.001604
! 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.8956 x 2.381 at -7.273 degrees (North through East)
! Clean map  min=-0.0055421  max=0.33758 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.999891
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.01     HN        1.00     KP        1.01     
!   LA        1.02     MK        1.01     NL        1.03     OV        1.02     
!   PT        0.95     SC        0.96     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.999961
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        0.99     KP        1.00     
!   LA        0.98     MK        1.01     NL        1.04     OV        1.08     
!   PT        0.89     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.997088
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.01     HN        1.01     KP        1.02     
!   LA        0.98     MK        1.02     NL        1.02     OV        0.98     
!   PT        0.95     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.988543
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.01     HN        1.02     KP        0.99     
!   LA        1.00     MK        0.97     NL        1.03     OV        1.02     
!   PT        0.98     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.198243Jy  sigma=0.001604
! Fit after  self-cal, rms=0.198206Jy  sigma=0.001599
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.198206Jy  sigma=0.001599
! Fit after  self-cal, rms=0.198205Jy  sigma=0.001599
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9015 mas, bmaj=2.403 mas, bpa=-7.42 degrees
! Estimated noise=574.028 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 (5.4, 3.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00651685 Jy
! Component: 100  -  total flux cleaned = 0.00638738 Jy
! Component: 150  -  total flux cleaned = 0.00595482 Jy
! Component: 200  -  total flux cleaned = 0.00560483 Jy
! Total flux subtracted in 200 components = 0.00560483 Jy
! Clean residual min=-0.003236 max=0.003947 Jy/beam
! Clean residual mean=0.000029 rms=0.000949 Jy/beam
! Combined flux in latest and established models = 0.383934 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 47 components and 0.383934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197989Jy  sigma=0.001597
! Fit after  self-cal, rms=0.197982Jy  sigma=0.001597
! 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.197982Jy  sigma=0.001597
! Fit after  self-cal, rms=0.192283Jy  sigma=0.001554
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.00229744 Jy
! Component: 100  -  total flux cleaned = 0.00257536 Jy
! Component: 150  -  total flux cleaned = 0.00257113 Jy
! Component: 200  -  total flux cleaned = 0.00257133 Jy
! Total flux subtracted in 200 components = 0.00257133 Jy
! Clean residual min=-0.003129 max=0.003189 Jy/beam
! Clean residual mean=0.000029 rms=0.000901 Jy/beam
! Combined flux in latest and established models = 0.386505 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 58 components and 0.386505 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.192264Jy  sigma=0.001553
! Fit after  self-cal, rms=0.191371Jy  sigma=0.001548
! 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.9015 x 2.403 at -7.42 degrees (North through East)
! Clean map  min=-0.0030167  max=0.33978 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.191371Jy  sigma=0.001548
! Fit after  self-cal, rms=0.191476Jy  sigma=0.001546
! 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.191476Jy  sigma=0.001546
! Fit after  self-cal, rms=0.191278Jy  sigma=0.001545
! Inverting map and beam 
! Estimated beam: bmin=0.9034 mas, bmaj=2.402 mas, bpa=-7.245 degrees
! Estimated noise=572.68 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00051607 Jy
! Component: 100  -  total flux cleaned = 0.00042256 Jy
! Component: 150  -  total flux cleaned = 0.000338724 Jy
! Component: 200  -  total flux cleaned = 0.000299831 Jy
! Total flux subtracted in 200 components = 0.000299831 Jy
! Clean residual min=-0.003041 max=0.003075 Jy/beam
! Clean residual mean=0.000011 rms=0.000786 Jy/beam
! Combined flux in latest and established models = 0.386805 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 72 components and 0.386805 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191265Jy  sigma=0.001545
! Fit after  self-cal, rms=0.191212Jy  sigma=0.001545
! 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.191212Jy  sigma=0.001545
! Fit after  self-cal, rms=0.191079Jy  sigma=0.001543
! 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.191079Jy  sigma=0.001543
! Fit after  self-cal, rms=0.191065Jy  sigma=0.001543
! Inverting map and beam 
! Estimated beam: bmin=0.9044 mas, bmaj=2.404 mas, bpa=-7.203 degrees
! Estimated noise=572.455 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -1.87192e-05 Jy
! Component: 100  -  total flux cleaned = -0.000128539 Jy
! Component: 150  -  total flux cleaned = -0.000163056 Jy
! Component: 200  -  total flux cleaned = -0.000196244 Jy
! Total flux subtracted in 200 components = -0.000196244 Jy
! Clean residual min=-0.002914 max=0.003088 Jy/beam
! Clean residual mean=0.000011 rms=0.000769 Jy/beam
! Combined flux in latest and established models = 0.386609 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 80 components and 0.386609 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191056Jy  sigma=0.001543
! Fit after  self-cal, rms=0.191055Jy  sigma=0.001543
! 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.256 mas, bmaj=4.692 mas, bpa=-6.28 degrees
! Estimated noise=731.889 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.00041698 Jy
! Component: 100  -  total flux cleaned = 0.000426824 Jy
! Component: 150  -  total flux cleaned = 0.000426393 Jy
! Component: 200  -  total flux cleaned = 0.000358253 Jy
! Total flux subtracted in 200 components = 0.000358253 Jy
! Clean residual min=-0.002667 max=0.003212 Jy/beam
! Clean residual mean=0.000027 rms=0.000917 Jy/beam
! Combined flux in latest and established models = 0.386967 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 91 components and 0.386967 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191066Jy  sigma=0.001543
! Fit after  self-cal, rms=0.191060Jy  sigma=0.001543
! 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.7208 mas, bmaj=1.976 mas, bpa=-6.59 degrees
! Estimated noise=860.338 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.289761 Jy
! Component: 100  -  total flux cleaned = 0.339345 Jy
! Component: 150  -  total flux cleaned = 0.35779 Jy
! Component: 200  -  total flux cleaned = 0.367633 Jy
! Total flux subtracted in 200 components = 0.367633 Jy
! Clean residual min=-0.006178 max=0.006279 Jy/beam
! Clean residual mean=-0.000038 rms=0.001592 Jy/beam
! Combined flux in latest and established models = 0.367633 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 22 model components to the UV plane model.
! The established model now contains 22 components and 0.367633 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9044 mas, bmaj=2.404 mas, bpa=-7.203 degrees
! Estimated noise=572.455 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.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00954596 Jy
! Component: 100  -  total flux cleaned = 0.0147445 Jy
! Component: 150  -  total flux cleaned = 0.0171942 Jy
! Component: 200  -  total flux cleaned = 0.0185973 Jy
! Total flux subtracted in 200 components = 0.0185973 Jy
! Clean residual min=-0.003338 max=0.002992 Jy/beam
! Clean residual mean=0.000008 rms=0.000816 Jy/beam
! Combined flux in latest and established models = 0.38623 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 48 components and 0.38623 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.256 mas, bmaj=4.692 mas, bpa=-6.28 degrees
! Estimated noise=731.889 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.00111277 Jy
! Component: 100  -  total flux cleaned = 0.00110671 Jy
! Component: 150  -  total flux cleaned = 0.0011008 Jy
! Component: 200  -  total flux cleaned = 0.00115321 Jy
! Total flux subtracted in 200 components = 0.00115321 Jy
! Clean residual min=-0.002959 max=0.003054 Jy/beam
! Clean residual mean=0.000028 rms=0.000911 Jy/beam
! Combined flux in latest and established models = 0.387384 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 62 components and 0.387384 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9044 mas, bmaj=2.404 mas, bpa=-7.203 degrees
! Estimated noise=572.455 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.14283e-05 Jy
! Component: 100  -  total flux cleaned = 0.000101567 Jy
! Component: 150  -  total flux cleaned = 0.000153272 Jy
! Component: 200  -  total flux cleaned = 5.32052e-05 Jy
! Total flux subtracted in 200 components = 5.32052e-05 Jy
! Clean residual min=-0.002942 max=0.003013 Jy/beam
! Clean residual mean=0.000014 rms=0.000749 Jy/beam
! Combined flux in latest and established models = 0.387437 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 85 components and 0.387437 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191048Jy  sigma=0.001543
! Fit after  self-cal, rms=0.191045Jy  sigma=0.001543
wmodel J2236-1706_X_1997_07_02_yyk\_map.mod
! Writing 85 model components to file: J2236-1706_X_1997_07_02_yyk_map.mod
wobs J2236-1706_X_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J2236-1706_X_1997_07_02_yyk_uvs.fits
wwins J2236-1706_X_1997_07_02_yyk\_map.win
! wwins: Wrote 3 windows to J2236-1706_X_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.000603299 Jy
! Component: 100  -  total flux cleaned = 0.000987076 Jy
! Component: 150  -  total flux cleaned = 0.00111584 Jy
! Component: 200  -  total flux cleaned = 0.00124081 Jy
! Component: 250  -  total flux cleaned = 0.0012798 Jy
! Component: 300  -  total flux cleaned = 0.00128103 Jy
! Component: 350  -  total flux cleaned = 0.00135375 Jy
! Component: 400  -  total flux cleaned = 0.00131806 Jy
! Component: 450  -  total flux cleaned = 0.00121458 Jy
! Component: 500  -  total flux cleaned = 0.00111487 Jy
! Component: 550  -  total flux cleaned = 0.0010826 Jy
! Component: 600  -  total flux cleaned = 0.0011142 Jy
! Component: 650  -  total flux cleaned = 0.00108336 Jy
! Component: 700  -  total flux cleaned = 0.00111409 Jy
! Component: 750  -  total flux cleaned = 0.00108385 Jy
! Component: 800  -  total flux cleaned = 0.00108378 Jy
! Component: 850  -  total flux cleaned = 0.00111202 Jy
! Component: 900  -  total flux cleaned = 0.00108384 Jy
! Component: 950  -  total flux cleaned = 0.00105608 Jy
! Component: 1000  -  total flux cleaned = 0.00102858 Jy
! Component: 1050  -  total flux cleaned = 0.00094846 Jy
! Component: 1100  -  total flux cleaned = 0.00102789 Jy
! Component: 1150  -  total flux cleaned = 0.000950533 Jy
! Component: 1200  -  total flux cleaned = 0.000976849 Jy
! Component: 1250  -  total flux cleaned = 0.00100248 Jy
! Component: 1300  -  total flux cleaned = 0.00110147 Jy
! Component: 1350  -  total flux cleaned = 0.0011747 Jy
! Component: 1400  -  total flux cleaned = 0.00112608 Jy
! Component: 1450  -  total flux cleaned = 0.00122128 Jy
! Component: 1500  -  total flux cleaned = 0.00136223 Jy
! Component: 1550  -  total flux cleaned = 0.0014548 Jy
! Component: 1600  -  total flux cleaned = 0.00145462 Jy
! Component: 1650  -  total flux cleaned = 0.00156813 Jy
! Component: 1700  -  total flux cleaned = 0.00165704 Jy
! Component: 1750  -  total flux cleaned = 0.00174548 Jy
! Component: 1800  -  total flux cleaned = 0.00172371 Jy
! Component: 1850  -  total flux cleaned = 0.0018316 Jy
! Component: 1900  -  total flux cleaned = 0.00193782 Jy
! Component: 1950  -  total flux cleaned = 0.00191657 Jy
! Component: 2000  -  total flux cleaned = 0.00199977 Jy
! Total flux subtracted in 2048 components = 0.00206144 Jy
! Clean residual min=-0.001023 max=0.001084 Jy/beam
! Clean residual mean=0.000005 rms=0.000384 Jy/beam
! Combined flux in latest and established models = 0.389498 Jy
keep
! Adding 134 model components to the UV plane model.
! The established model now contains 219 components and 0.389498 Jy
![Exited script file: muppet]
wmap "J2236-1706_X_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9044 x 2.404 at -7.203 degrees (North through East)
! Clean map  min=-0.0019102  max=0.34054 Jy/beam
! Writing clean map to FITS file: J2236-1706_X_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.340538 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000382163 
device "J2236-1706_X_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J2236-1706_X_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.33667 0.33667 0.67334 1.34668 2.69336 5.38672 10.7734 21.5469 43.0938 86.1876
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.34 
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.9044 x 2.404 at -7.203 degrees (North through East)
! Clean map  min=-0.0019102  max=0.34054 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2236-1706_X_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J2236-1706_X_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2236-1706_X_1997_07_02_yyk_uvs.log closed on Mon Jan  8 10:39:32 2007