! Started logfile: J1636-1315_X_2005_07_08_yyk_uvs.log on Fri Jan 20 10:44:19 2006
obs J1636-1315_X_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J1636-1315_X_2005_07_08_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.931313 visibilities/baseline/integration-bin.
! Found source: J1636-1315
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1407 lines of history.
! 
! Reading 1844 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 J1636-1315_X_2005_07_08_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.140499 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.873 mas, bmaj=4.057 mas, bpa=23.77 degrees
! Estimated noise=1.74041 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.095205 Jy
! Component: 100  -  total flux cleaned = 0.123796 Jy
! Total flux subtracted in 100 components = 0.123796 Jy
! Clean residual min=-0.009139 max=0.010016 Jy/beam
! Clean residual mean=-0.000026 rms=0.002415 Jy/beam
! Combined flux in latest and established models = 0.123796 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 0.123796 Jy
! 
! Correcting IF 1.
!  A total of 25 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 25 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 23 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.073083Jy  sigma=1.162751
! Fit after  self-cal, rms=0.071001Jy  sigma=1.121340
! Inverting map and beam 
! Estimated beam: bmin=0.8731 mas, bmaj=4.054 mas, bpa=23.76 degrees
! Estimated noise=1.74834 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=1.281 mas, bmaj=4.362 mas, bpa=20.96 degrees
! Estimated noise=1.12687 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.0173503 Jy
! Component: 100  -  total flux cleaned = 0.0235488 Jy
! Component: 150  -  total flux cleaned = 0.0263018 Jy
! Component: 200  -  total flux cleaned = 0.0273196 Jy
! Total flux subtracted in 200 components = 0.0273196 Jy
! Clean residual min=-0.004592 max=0.003992 Jy/beam
! Clean residual mean=0.000020 rms=0.001224 Jy/beam
! Combined flux in latest and established models = 0.151115 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 39 components and 0.151115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069313Jy  sigma=1.055180
! Fit after  self-cal, rms=0.069277Jy  sigma=1.054940
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.281 x 4.362 at 20.96 degrees (North through East)
! Clean map  min=-0.0042968  max=0.11752 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.02482
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.96     HN        1.00*    KP        0.95     
!   LA        0.98     MK        1.00*    NL        0.97     OV        1.07     
!   PT        0.97     SC        0.86     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.02765
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.91     HN        1.00*    KP        0.89     
!   LA        1.01     MK        1.00*    NL        1.03     OV        1.02     
!   PT        1.02     SC        0.86     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.964079
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.07     HN        1.00*    KP        1.01     
!   LA        1.00     MK        1.00*    NL        0.97     OV        1.19     
!   PT        1.11     SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.069277Jy  sigma=1.054940
! Fit after  self-cal, rms=0.068865Jy  sigma=1.043099
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.068865Jy  sigma=1.043099
! Fit after  self-cal, rms=0.068868Jy  sigma=1.043070
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.216 mas, bmaj=4.352 mas, bpa=21.38 degrees
! Estimated noise=1.12281 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.00221835 Jy
! Component: 100  -  total flux cleaned = 0.00222116 Jy
! Component: 150  -  total flux cleaned = 0.00226266 Jy
! Component: 200  -  total flux cleaned = 0.00220343 Jy
! Total flux subtracted in 200 components = 0.00220343 Jy
! Clean residual min=-0.004145 max=0.003148 Jy/beam
! Clean residual mean=0.000019 rms=0.000963 Jy/beam
! Combined flux in latest and established models = 0.153319 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 55 components and 0.153319 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068906Jy  sigma=1.041632
! Fit after  self-cal, rms=0.068904Jy  sigma=1.041607
! 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.068904Jy  sigma=1.041607
! Fit after  self-cal, rms=0.060592Jy  sigma=0.945416
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.00169225 Jy
! Component: 100  -  total flux cleaned = 0.00163377 Jy
! Component: 150  -  total flux cleaned = 0.00154763 Jy
! Component: 200  -  total flux cleaned = 0.00147163 Jy
! Total flux subtracted in 200 components = 0.00147163 Jy
! Clean residual min=-0.003666 max=0.002793 Jy/beam
! Clean residual mean=0.000019 rms=0.000890 Jy/beam
! Combined flux in latest and established models = 0.15479 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 73 components and 0.15479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060535Jy  sigma=0.942998
! Fit after  self-cal, rms=0.059706Jy  sigma=0.934017
! 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: 1.216 x 4.352 at 21.38 degrees (North through East)
! Clean map  min=-0.0034983  max=0.11851 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.059706Jy  sigma=0.934017
! Fit after  self-cal, rms=0.058486Jy  sigma=0.913594
! 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.058486Jy  sigma=0.913594
! Fit after  self-cal, rms=0.058516Jy  sigma=0.912199
! Inverting map and beam 
! Estimated beam: bmin=1.185 mas, bmaj=4.321 mas, bpa=21.44 degrees
! Estimated noise=1.09913 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000809903 Jy
! Component: 100  -  total flux cleaned = -0.000854528 Jy
! Component: 150  -  total flux cleaned = -0.000823322 Jy
! Component: 200  -  total flux cleaned = -0.000822567 Jy
! Total flux subtracted in 200 components = -0.000822567 Jy
! Clean residual min=-0.002660 max=0.002481 Jy/beam
! Clean residual mean=0.000012 rms=0.000764 Jy/beam
! Combined flux in latest and established models = 0.153968 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 88 components and 0.153968 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058474Jy  sigma=0.911315
! Fit after  self-cal, rms=0.058548Jy  sigma=0.911046
! 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.058548Jy  sigma=0.911046
! Fit after  self-cal, rms=0.057923Jy  sigma=0.911124
! 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.057923Jy  sigma=0.911124
! Fit after  self-cal, rms=0.057952Jy  sigma=0.910966
! Inverting map and beam 
! Estimated beam: bmin=1.192 mas, bmaj=4.314 mas, bpa=21.58 degrees
! Estimated noise=1.08002 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0024987 Jy
! Component: 100  -  total flux cleaned = -0.00359425 Jy
! Component: 150  -  total flux cleaned = -0.00422634 Jy
! Component: 200  -  total flux cleaned = -0.00446705 Jy
! Total flux subtracted in 200 components = -0.00446705 Jy
! Clean residual min=-0.002733 max=0.002646 Jy/beam
! Clean residual mean=0.000005 rms=0.000771 Jy/beam
! Combined flux in latest and established models = 0.149501 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 102 components and 0.149501 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057870Jy  sigma=0.908970
! Fit after  self-cal, rms=0.057880Jy  sigma=0.908932
! 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.616 mas, bmaj=4.886 mas, bpa=9.027 degrees
! Estimated noise=1.21198 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.000551642 Jy
! Component: 100  -  total flux cleaned = -0.000687662 Jy
! Component: 150  -  total flux cleaned = -0.000777648 Jy
! Component: 200  -  total flux cleaned = -0.00081148 Jy
! Total flux subtracted in 200 components = -0.00081148 Jy
! Clean residual min=-0.002814 max=0.002814 Jy/beam
! Clean residual mean=0.000005 rms=0.000762 Jy/beam
! Combined flux in latest and established models = 0.148689 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 108 components and 0.148689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057881Jy  sigma=0.908861
! Fit after  self-cal, rms=0.057890Jy  sigma=0.908845
! 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.8528 mas, bmaj=4.044 mas, bpa=24.05 degrees
! Estimated noise=1.65994 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0955897 Jy
! Component: 100  -  total flux cleaned = 0.124591 Jy
! Component: 150  -  total flux cleaned = 0.136258 Jy
! Component: 200  -  total flux cleaned = 0.142664 Jy
! Total flux subtracted in 200 components = 0.142664 Jy
! Clean residual min=-0.005236 max=0.004322 Jy/beam
! Clean residual mean=-0.000010 rms=0.001341 Jy/beam
! Combined flux in latest and established models = 0.142664 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 37 model components to the UV plane model.
! The established model now contains 37 components and 0.142664 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.192 mas, bmaj=4.314 mas, bpa=21.58 degrees
! Estimated noise=1.08002 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.005181 Jy
! Component: 100  -  total flux cleaned = 0.00644601 Jy
! Component: 150  -  total flux cleaned = 0.0066151 Jy
! Component: 200  -  total flux cleaned = 0.00661578 Jy
! Total flux subtracted in 200 components = 0.00661578 Jy
! Clean residual min=-0.002769 max=0.002678 Jy/beam
! Clean residual mean=0.000003 rms=0.000782 Jy/beam
! Combined flux in latest and established models = 0.14928 Jy
! Adding 30 model components to the UV plane model.
! The established model now contains 61 components and 0.14928 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.616 mas, bmaj=4.886 mas, bpa=9.027 degrees
! Estimated noise=1.21198 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.0002428 Jy
! Component: 100  -  total flux cleaned = -0.000323096 Jy
! Component: 150  -  total flux cleaned = -0.000393394 Jy
! Component: 200  -  total flux cleaned = -0.0004563 Jy
! Total flux subtracted in 200 components = -0.0004563 Jy
! Clean residual min=-0.002804 max=0.002825 Jy/beam
! Clean residual mean=0.000004 rms=0.000768 Jy/beam
! Combined flux in latest and established models = 0.148823 Jy
! Adding 20 model components to the UV plane model.
! The established model now contains 76 components and 0.148823 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.192 mas, bmaj=4.314 mas, bpa=21.58 degrees
! Estimated noise=1.08002 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000147546 Jy
! Component: 100  -  total flux cleaned = 0.000147596 Jy
! Component: 150  -  total flux cleaned = 0.000119932 Jy
! Component: 200  -  total flux cleaned = 0.000119532 Jy
! Total flux subtracted in 200 components = 0.000119532 Jy
! Clean residual min=-0.002717 max=0.002672 Jy/beam
! Clean residual mean=0.000004 rms=0.000768 Jy/beam
! Combined flux in latest and established models = 0.148943 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 84 components and 0.148943 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057881Jy  sigma=0.909136
! Fit after  self-cal, rms=0.057884Jy  sigma=0.909108
wmodel J1636-1315_X_2005_07_08_yyk\_map.mod
! Writing 84 model components to file: J1636-1315_X_2005_07_08_yyk_map.mod
wobs J1636-1315_X_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J1636-1315_X_2005_07_08_yyk_uvs.fits
wwins J1636-1315_X_2005_07_08_yyk\_map.win
! wwins: Wrote 1 windows to J1636-1315_X_2005_07_08_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.000803276 Jy
! Component: 100  -  total flux cleaned = -0.00125605 Jy
! Component: 150  -  total flux cleaned = -0.00159628 Jy
! Component: 200  -  total flux cleaned = -0.00163746 Jy
! Component: 250  -  total flux cleaned = -0.00163839 Jy
! Component: 300  -  total flux cleaned = -0.00152514 Jy
! Component: 350  -  total flux cleaned = -0.00137947 Jy
! Component: 400  -  total flux cleaned = -0.00120225 Jy
! Component: 450  -  total flux cleaned = -0.00099673 Jy
! Component: 500  -  total flux cleaned = -0.000864418 Jy
! Component: 550  -  total flux cleaned = -0.000767298 Jy
! Component: 600  -  total flux cleaned = -0.000704149 Jy
! Component: 650  -  total flux cleaned = -0.000642153 Jy
! Component: 700  -  total flux cleaned = -0.000642148 Jy
! Component: 750  -  total flux cleaned = -0.000642294 Jy
! Component: 800  -  total flux cleaned = -0.000671933 Jy
! Component: 850  -  total flux cleaned = -0.000758148 Jy
! Component: 900  -  total flux cleaned = -0.000757831 Jy
! Component: 950  -  total flux cleaned = -0.000841189 Jy
! Component: 1000  -  total flux cleaned = -0.000895385 Jy
! Component: 1050  -  total flux cleaned = -0.000922312 Jy
! Component: 1100  -  total flux cleaned = -0.000922398 Jy
! Component: 1150  -  total flux cleaned = -0.000974438 Jy
! Component: 1200  -  total flux cleaned = -0.000974478 Jy
! Component: 1250  -  total flux cleaned = -0.000999593 Jy
! Component: 1300  -  total flux cleaned = -0.00104885 Jy
! Component: 1350  -  total flux cleaned = -0.00102402 Jy
! Component: 1400  -  total flux cleaned = -0.00104791 Jy
! Component: 1450  -  total flux cleaned = -0.00111872 Jy
! Component: 1500  -  total flux cleaned = -0.0012126 Jy
! Component: 1550  -  total flux cleaned = -0.00132815 Jy
! Component: 1600  -  total flux cleaned = -0.00146541 Jy
! Component: 1650  -  total flux cleaned = -0.00155547 Jy
! Component: 1700  -  total flux cleaned = -0.00162207 Jy
! Component: 1750  -  total flux cleaned = -0.00166607 Jy
! Component: 1800  -  total flux cleaned = -0.00175323 Jy
! Component: 1850  -  total flux cleaned = -0.00181733 Jy
! Component: 1900  -  total flux cleaned = -0.00181717 Jy
! Component: 1950  -  total flux cleaned = -0.00183799 Jy
! Component: 2000  -  total flux cleaned = -0.00181697 Jy
! Total flux subtracted in 2048 components = -0.00179621 Jy
! Clean residual min=-0.001121 max=0.001183 Jy/beam
! Clean residual mean=0.000002 rms=0.000401 Jy/beam
! Combined flux in latest and established models = 0.147147 Jy
keep
! Adding 120 model components to the UV plane model.
! The established model now contains 204 components and 0.147147 Jy
![Exited script file: muppet]
wmap "J1636-1315_X_2005_07_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.192 x 4.314 at 21.58 degrees (North through East)
! Clean map  min=-0.0027192  max=0.11503 Jy/beam
! Writing clean map to FITS file: J1636-1315_X_2005_07_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.115031 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000395055 
device "J1636-1315_X_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1636-1315_X_2005_07_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.0303 1.0303 2.0606 4.1212 8.2424 16.4848 32.9696 65.9392
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.115 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.192 x 4.314 at 21.58 degrees (North through East)
! Clean map  min=-0.0027192  max=0.11503 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1636-1315_X_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1636-1315_X_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1636-1315_X_2005_07_08_yyk_uvs.log closed on Fri Jan 20 10:44:24 2006