! Started logfile: J0015-1807_X_2007_01_11_yyk_uvs.log on Wed Apr  9 20:08:11 2008
obs J0015-1807_X_2007_01_11_yyk_uve.fits
! Reading UV FITS file: J0015-1807_X_2007_01_11_yyk_uve.fits
! AN table 1: 14 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.777778 visibilities/baseline/integration-bin.
! Found source: J0015-1807
! 
! 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 2143 lines of history.
! 
! Reading 1568 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 J0015-1807_X_2007_01_11_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.119077 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.757 mas, bmaj=3.342 mas, bpa=-18.66 degrees
! Estimated noise=1.56654 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.0750722 Jy
! Component: 100  -  total flux cleaned = 0.0974376 Jy
! Total flux subtracted in 100 components = 0.0974376 Jy
! Clean residual min=-0.009010 max=0.010580 Jy/beam
! Clean residual mean=0.000040 rms=0.002830 Jy/beam
! Combined flux in latest and established models = 0.0974376 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 26 components and 0.0974376 Jy
! 
! Correcting IF 1.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.073492Jy  sigma=1.223428
! Fit after  self-cal, rms=0.067906Jy  sigma=1.167679
! Inverting map and beam 
! Estimated beam: bmin=0.7571 mas, bmaj=3.343 mas, bpa=-18.66 degrees
! Estimated noise=1.56636 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.005 mas, bmaj=3.628 mas, bpa=-16.84 degrees
! Estimated noise=0.998253 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.0217205 Jy
! Component: 100  -  total flux cleaned = 0.0307899 Jy
! Component: 150  -  total flux cleaned = 0.0353291 Jy
! Component: 200  -  total flux cleaned = 0.0376604 Jy
! Total flux subtracted in 200 components = 0.0376604 Jy
! Clean residual min=-0.005250 max=0.005508 Jy/beam
! Clean residual mean=0.000027 rms=0.001316 Jy/beam
! Combined flux in latest and established models = 0.135098 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 49 components and 0.135098 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063679Jy  sigma=1.077699
! Fit after  self-cal, rms=0.063733Jy  sigma=1.077356
! 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.005 x 3.628 at -16.84 degrees (North through East)
! Clean map  min=-0.0049555  max=0.095682 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
!  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*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Correcting IF 2.
!  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*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.01635
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.03     HN        0.86     KP        0.84     
!   LA        0.95     MK        0.91     OV        1.14     PT        1.08     
!   SC        1.00*    
! 
! 
! Correcting IF 4.
!  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*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.063733Jy  sigma=1.077356
! Fit after  self-cal, rms=0.063223Jy  sigma=1.071481
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.063223Jy  sigma=1.071481
! Fit after  self-cal, rms=0.063229Jy  sigma=1.071265
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9821 mas, bmaj=3.64 mas, bpa=-16.9 degrees
! Estimated noise=0.997765 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.00192119 Jy
! Component: 100  -  total flux cleaned = 0.00220676 Jy
! Component: 150  -  total flux cleaned = 0.00224146 Jy
! Component: 200  -  total flux cleaned = 0.00230437 Jy
! Total flux subtracted in 200 components = 0.00230437 Jy
! Clean residual min=-0.004910 max=0.005099 Jy/beam
! Clean residual mean=0.000016 rms=0.001199 Jy/beam
! Combined flux in latest and established models = 0.137402 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 63 components and 0.137402 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063187Jy  sigma=1.070322
! Fit after  self-cal, rms=0.063203Jy  sigma=1.070196
! 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.063203Jy  sigma=1.070196
! Fit after  self-cal, rms=0.055716Jy  sigma=0.938595
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.00229282 Jy
! Component: 100  -  total flux cleaned = 0.00227402 Jy
! Component: 150  -  total flux cleaned = 0.00251342 Jy
! Component: 200  -  total flux cleaned = 0.00264179 Jy
! Total flux subtracted in 200 components = 0.00264179 Jy
! Clean residual min=-0.003983 max=0.004685 Jy/beam
! Clean residual mean=0.000007 rms=0.001139 Jy/beam
! Combined flux in latest and established models = 0.140044 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 79 components and 0.140044 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055289Jy  sigma=0.931278
! Fit after  self-cal, rms=0.054888Jy  sigma=0.923842
! 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.9821 x 3.64 at -16.9 degrees (North through East)
! Clean map  min=-0.003665  max=0.10102 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.054888Jy  sigma=0.923842
! Fit after  self-cal, rms=0.053808Jy  sigma=0.915909
! 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.053808Jy  sigma=0.915909
! Fit after  self-cal, rms=0.053791Jy  sigma=0.915345
! Inverting map and beam 
! Estimated beam: bmin=0.9586 mas, bmaj=3.643 mas, bpa=-16.91 degrees
! Estimated noise=0.979179 mJy/beam.
! Added new window around map position (2, -3.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00482811 Jy
! Component: 100  -  total flux cleaned = 0.00535544 Jy
! Component: 150  -  total flux cleaned = 0.00528374 Jy
! Component: 200  -  total flux cleaned = 0.00515205 Jy
! Total flux subtracted in 200 components = 0.00515205 Jy
! Clean residual min=-0.002723 max=0.002943 Jy/beam
! Clean residual mean=0.000020 rms=0.000859 Jy/beam
! Combined flux in latest and established models = 0.145196 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 117 components and 0.145196 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.053480Jy  sigma=0.907977
! Fit after  self-cal, rms=0.053465Jy  sigma=0.907323
! 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.053465Jy  sigma=0.907323
! Fit after  self-cal, rms=0.054304Jy  sigma=0.914504
! 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.054304Jy  sigma=0.914504
! Fit after  self-cal, rms=0.054309Jy  sigma=0.914327
! Inverting map and beam 
! Estimated beam: bmin=0.966 mas, bmaj=3.572 mas, bpa=-16.96 degrees
! Estimated noise=0.978329 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0014876 Jy
! Component: 100  -  total flux cleaned = 0.00160792 Jy
! Component: 150  -  total flux cleaned = 0.00166296 Jy
! Component: 200  -  total flux cleaned = 0.00176859 Jy
! Total flux subtracted in 200 components = 0.00176859 Jy
! Clean residual min=-0.002960 max=0.003181 Jy/beam
! Clean residual mean=0.000027 rms=0.000858 Jy/beam
! Combined flux in latest and established models = 0.146965 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 132 components and 0.146965 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054225Jy  sigma=0.912043
! Fit after  self-cal, rms=0.054224Jy  sigma=0.911936
! 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.605 mas, bmaj=5.168 mas, bpa=6.684 degrees
! Estimated noise=1.19968 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.000661298 Jy
! Component: 100  -  total flux cleaned = 0.000658 Jy
! Component: 150  -  total flux cleaned = 0.000622457 Jy
! Component: 200  -  total flux cleaned = 0.000559237 Jy
! Total flux subtracted in 200 components = 0.000559237 Jy
! Clean residual min=-0.003137 max=0.003575 Jy/beam
! Clean residual mean=0.000045 rms=0.001016 Jy/beam
! Combined flux in latest and established models = 0.147524 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 156 components and 0.147524 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054213Jy  sigma=0.911502
! Fit after  self-cal, rms=0.054209Jy  sigma=0.911461
! 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.7503 mas, bmaj=3.333 mas, bpa=-18.51 degrees
! Estimated noise=1.52273 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0843303 Jy
! Component: 100  -  total flux cleaned = 0.10645 Jy
! Component: 150  -  total flux cleaned = 0.11811 Jy
! Component: 200  -  total flux cleaned = 0.125294 Jy
! Total flux subtracted in 200 components = 0.125294 Jy
! Clean residual min=-0.005541 max=0.005299 Jy/beam
! Clean residual mean=0.000027 rms=0.001505 Jy/beam
! Combined flux in latest and established models = 0.125294 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 41 model components to the UV plane model.
! The established model now contains 41 components and 0.125294 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.966 mas, bmaj=3.572 mas, bpa=-16.96 degrees
! Estimated noise=0.978329 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.00942385 Jy
! Component: 100  -  total flux cleaned = 0.0146379 Jy
! Component: 150  -  total flux cleaned = 0.0181834 Jy
! Component: 200  -  total flux cleaned = 0.0195738 Jy
! Total flux subtracted in 200 components = 0.0195738 Jy
! Clean residual min=-0.003281 max=0.003541 Jy/beam
! Clean residual mean=0.000026 rms=0.000926 Jy/beam
! Combined flux in latest and established models = 0.144868 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 78 components and 0.144868 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.605 mas, bmaj=5.168 mas, bpa=6.684 degrees
! Estimated noise=1.19968 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.00208881 Jy
! Component: 100  -  total flux cleaned = 0.00276216 Jy
! Component: 150  -  total flux cleaned = 0.00276868 Jy
! Component: 200  -  total flux cleaned = 0.0027193 Jy
! Total flux subtracted in 200 components = 0.0027193 Jy
! Clean residual min=-0.003077 max=0.003717 Jy/beam
! Clean residual mean=0.000047 rms=0.001039 Jy/beam
! Combined flux in latest and established models = 0.147587 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 111 components and 0.147587 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.966 mas, bmaj=3.572 mas, bpa=-16.96 degrees
! Estimated noise=0.978329 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000131285 Jy
! Component: 100  -  total flux cleaned = -7.0536e-05 Jy
! Component: 150  -  total flux cleaned = -0.000127607 Jy
! Component: 200  -  total flux cleaned = -1.93182e-05 Jy
! Total flux subtracted in 200 components = -1.93182e-05 Jy
! Clean residual min=-0.002837 max=0.003195 Jy/beam
! Clean residual mean=0.000029 rms=0.000849 Jy/beam
! Combined flux in latest and established models = 0.147568 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 125 components and 0.147568 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054270Jy  sigma=0.911906
! Fit after  self-cal, rms=0.054233Jy  sigma=0.911598
wmodel J0015-1807_X_2007_01_11_yyk\_map.mod
! Writing 125 model components to file: J0015-1807_X_2007_01_11_yyk_map.mod
wobs J0015-1807_X_2007_01_11_yyk\_uvs.fits
! Writing UV FITS file: J0015-1807_X_2007_01_11_yyk_uvs.fits
wwins J0015-1807_X_2007_01_11_yyk\_map.win
! wwins: Wrote 2 windows to J0015-1807_X_2007_01_11_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.000414747 Jy
! Component: 100  -  total flux cleaned = 0.000366991 Jy
! Component: 150  -  total flux cleaned = 0.000412672 Jy
! Component: 200  -  total flux cleaned = 0.000504257 Jy
! Component: 250  -  total flux cleaned = 0.000633 Jy
! Component: 300  -  total flux cleaned = 0.000755646 Jy
! Component: 350  -  total flux cleaned = 0.000913891 Jy
! Component: 400  -  total flux cleaned = 0.000951441 Jy
! Component: 450  -  total flux cleaned = 0.00102599 Jy
! Component: 500  -  total flux cleaned = 0.00102582 Jy
! Component: 550  -  total flux cleaned = 0.000989916 Jy
! Component: 600  -  total flux cleaned = 0.000955367 Jy
! Component: 650  -  total flux cleaned = 0.000922209 Jy
! Component: 700  -  total flux cleaned = 0.000987889 Jy
! Component: 750  -  total flux cleaned = 0.00102004 Jy
! Component: 800  -  total flux cleaned = 0.00108322 Jy
! Component: 850  -  total flux cleaned = 0.001207 Jy
! Component: 900  -  total flux cleaned = 0.00123792 Jy
! Component: 950  -  total flux cleaned = 0.00141697 Jy
! Component: 1000  -  total flux cleaned = 0.0015637 Jy
! Component: 1050  -  total flux cleaned = 0.00170786 Jy
! Component: 1100  -  total flux cleaned = 0.00193301 Jy
! Component: 1150  -  total flux cleaned = 0.00209876 Jy
! Component: 1200  -  total flux cleaned = 0.00226154 Jy
! Component: 1250  -  total flux cleaned = 0.0023414 Jy
! Component: 1300  -  total flux cleaned = 0.00249837 Jy
! Component: 1350  -  total flux cleaned = 0.00265272 Jy
! Component: 1400  -  total flux cleaned = 0.00283005 Jy
! Component: 1450  -  total flux cleaned = 0.00295438 Jy
! Component: 1500  -  total flux cleaned = 0.00305199 Jy
! Component: 1550  -  total flux cleaned = 0.00312451 Jy
! Component: 1600  -  total flux cleaned = 0.00322015 Jy
! Component: 1650  -  total flux cleaned = 0.00324403 Jy
! Component: 1700  -  total flux cleaned = 0.00340696 Jy
! Component: 1750  -  total flux cleaned = 0.00356715 Jy
! Component: 1800  -  total flux cleaned = 0.00356713 Jy
! Component: 1850  -  total flux cleaned = 0.00363455 Jy
! Component: 1900  -  total flux cleaned = 0.00381131 Jy
! Component: 1950  -  total flux cleaned = 0.00387627 Jy
! Component: 2000  -  total flux cleaned = 0.00394099 Jy
! Total flux subtracted in 2048 components = 0.00413308 Jy
! Clean residual min=-0.001117 max=0.001192 Jy/beam
! Clean residual mean=0.000012 rms=0.000425 Jy/beam
! Combined flux in latest and established models = 0.151701 Jy
keep
! Adding 145 model components to the UV plane model.
! The established model now contains 270 components and 0.151701 Jy
![Exited script file: muppet]
wmap "J0015-1807_X_2007_01_11_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.966 x 3.572 at -16.96 degrees (North through East)
! Clean map  min=-0.0022031  max=0.098104 Jy/beam
! Writing clean map to FITS file: J0015-1807_X_2007_01_11_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0981043 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000421966 
device "J0015-1807_X_2007_01_11_yyk\_map.eps/VPS"
! Attempting to open device: 'J0015-1807_X_2007_01_11_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.29036 1.29036 2.58072 5.16144 10.3229 20.6458 41.2915 82.583
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.098 
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.966 x 3.572 at -16.96 degrees (North through East)
! Clean map  min=-0.0022031  max=0.098104 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0015-1807_X_2007_01_11_yyk\_map.gif/gif"
! Attempting to open device: 'J0015-1807_X_2007_01_11_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0015-1807_X_2007_01_11_yyk_uvs.log closed on Wed Apr  9 20:08:15 2008