! Started logfile: J2231-1422_S_2005_07_09_yyk_uvs.log on Fri Jan 20 11:07:22 2006
obs J2231-1422_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J2231-1422_S_2005_07_09_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.913333 visibilities/baseline/integration-bin.
! Found source: J2231-1422
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1601 lines of history.
! 
! Reading 1644 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 J2231-1422_S_2005_07_09_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.219359 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.475 mas, bmaj=6.309 mas, bpa=-0.007983 degrees
! Estimated noise=1.38924 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.169615 Jy
! Component: 100  -  total flux cleaned = 0.200084 Jy
! Total flux subtracted in 100 components = 0.200084 Jy
! Clean residual min=-0.006813 max=0.008963 Jy/beam
! Clean residual mean=0.000099 rms=0.001972 Jy/beam
! Combined flux in latest and established models = 0.200084 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.200084 Jy
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.073867Jy  sigma=1.156948
! Fit after  self-cal, rms=0.073630Jy  sigma=1.152558
! Inverting map and beam 
! Estimated beam: bmin=2.475 mas, bmaj=6.309 mas, bpa=-0.007983 degrees
! Estimated noise=1.38924 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.161 mas, bmaj=8.075 mas, bpa=-1.822 degrees
! Estimated noise=0.977017 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, -7).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0169487 Jy
! Component: 100  -  total flux cleaned = 0.0255054 Jy
! Component: 150  -  total flux cleaned = 0.029984 Jy
! Component: 200  -  total flux cleaned = 0.0312725 Jy
! Total flux subtracted in 200 components = 0.0312725 Jy
! Clean residual min=-0.004265 max=0.004337 Jy/beam
! Clean residual mean=-0.000012 rms=0.001203 Jy/beam
! Combined flux in latest and established models = 0.231356 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 54 components and 0.231356 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070158Jy  sigma=1.091417
! Fit after  self-cal, rms=0.070109Jy  sigma=1.090141
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.161 x 8.075 at -1.822 degrees (North through East)
! Clean map  min=-0.0041536  max=0.19935 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.02825
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.03     HN        0.95     KP        0.97     
!   LA        1.06     MK        0.88     NL        0.94     OV        0.97     
!   PT        1.03     SC        0.92     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.999383
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.01     HN        1.02     KP        0.99     
!   LA        1.03     MK        0.98     NL        0.94     OV        0.98     
!   PT        1.03     SC        0.99     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.965195
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.97     HN        1.06     KP        1.01     
!   LA        0.95     MK        1.10     NL        1.00     OV        1.07     
!   PT        1.14     SC        1.03     
! 
! 
! 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*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.070109Jy  sigma=1.090141
! Fit after  self-cal, rms=0.068856Jy  sigma=1.073735
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.068856Jy  sigma=1.073735
! Fit after  self-cal, rms=0.068848Jy  sigma=1.073714
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.119 mas, bmaj=7.992 mas, bpa=-1.853 degrees
! Estimated noise=0.981689 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.00500316 Jy
! Component: 100  -  total flux cleaned = 0.00784572 Jy
! Component: 150  -  total flux cleaned = 0.00832848 Jy
! Component: 200  -  total flux cleaned = 0.00853123 Jy
! Total flux subtracted in 200 components = 0.00853123 Jy
! Clean residual min=-0.003619 max=0.003719 Jy/beam
! Clean residual mean=0.000064 rms=0.000990 Jy/beam
! Combined flux in latest and established models = 0.239888 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 75 components and 0.239888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068457Jy  sigma=1.067552
! Fit after  self-cal, rms=0.068457Jy  sigma=1.067386
! 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.068457Jy  sigma=1.067386
! Fit after  self-cal, rms=0.065798Jy  sigma=1.027436
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.00132186 Jy
! Component: 100  -  total flux cleaned = 0.00153112 Jy
! Component: 150  -  total flux cleaned = 0.00162026 Jy
! Component: 200  -  total flux cleaned = 0.00170108 Jy
! Total flux subtracted in 200 components = 0.00170108 Jy
! Clean residual min=-0.003589 max=0.003564 Jy/beam
! Clean residual mean=0.000054 rms=0.000980 Jy/beam
! Combined flux in latest and established models = 0.241589 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 96 components and 0.241589 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065717Jy  sigma=1.026273
! Fit after  self-cal, rms=0.065201Jy  sigma=1.020152
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.119 x 7.992 at -1.853 degrees (North through East)
! Clean map  min=-0.0035099  max=0.20142 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.065201Jy  sigma=1.020152
! Fit after  self-cal, rms=0.064487Jy  sigma=0.991453
! 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.064487Jy  sigma=0.991453
! Fit after  self-cal, rms=0.064319Jy  sigma=0.989345
! Inverting map and beam 
! Estimated beam: bmin=3.077 mas, bmaj=7.907 mas, bpa=-1.97 degrees
! Estimated noise=0.993051 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00415589 Jy
! Component: 100  -  total flux cleaned = 0.00596576 Jy
! Component: 150  -  total flux cleaned = 0.00673461 Jy
! Component: 200  -  total flux cleaned = 0.00701879 Jy
! Total flux subtracted in 200 components = 0.00701879 Jy
! Clean residual min=-0.003546 max=0.003013 Jy/beam
! Clean residual mean=0.000047 rms=0.000928 Jy/beam
! Combined flux in latest and established models = 0.248608 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 49 model components to the UV plane model.
! The established model now contains 122 components and 0.248608 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063980Jy  sigma=0.985465
! Fit after  self-cal, rms=0.063899Jy  sigma=0.984546
! 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.063899Jy  sigma=0.984546
! Fit after  self-cal, rms=0.060673Jy  sigma=0.941345
! 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.060673Jy  sigma=0.941345
! Fit after  self-cal, rms=0.060645Jy  sigma=0.940878
! Inverting map and beam 
! Estimated beam: bmin=3.067 mas, bmaj=7.938 mas, bpa=-2.447 degrees
! Estimated noise=0.989038 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000193323 Jy
! Component: 100  -  total flux cleaned = 0.000418151 Jy
! Component: 150  -  total flux cleaned = 0.000491973 Jy
! Component: 200  -  total flux cleaned = 0.000586351 Jy
! Total flux subtracted in 200 components = 0.000586351 Jy
! Clean residual min=-0.003526 max=0.003302 Jy/beam
! Clean residual mean=0.000069 rms=0.000889 Jy/beam
! Combined flux in latest and established models = 0.249194 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 145 components and 0.249194 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060591Jy  sigma=0.940003
! Fit after  self-cal, rms=0.060578Jy  sigma=0.939742
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.7 mas, bmaj=15.96 mas, bpa=8.047 degrees
! Estimated noise=1.27577 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.000548842 Jy
! Component: 100  -  total flux cleaned = 0.00064 Jy
! Component: 150  -  total flux cleaned = 0.000694618 Jy
! Component: 200  -  total flux cleaned = 0.000767313 Jy
! Total flux subtracted in 200 components = 0.000767313 Jy
! Clean residual min=-0.003029 max=0.003928 Jy/beam
! Clean residual mean=0.000129 rms=0.001053 Jy/beam
! Combined flux in latest and established models = 0.249961 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 159 components and 0.249961 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060575Jy  sigma=0.939596
! Fit after  self-cal, rms=0.060569Jy  sigma=0.939446
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.451 mas, bmaj=6.278 mas, bpa=-0.4597 degrees
! Estimated noise=1.3752 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.169103 Jy
! Component: 100  -  total flux cleaned = 0.201395 Jy
! Component: 150  -  total flux cleaned = 0.215245 Jy
! Component: 200  -  total flux cleaned = 0.223364 Jy
! Total flux subtracted in 200 components = 0.223364 Jy
! Clean residual min=-0.004706 max=0.004965 Jy/beam
! Clean residual mean=0.000093 rms=0.001309 Jy/beam
! Combined flux in latest and established models = 0.223364 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 38 model components to the UV plane model.
! The established model now contains 38 components and 0.223364 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.067 mas, bmaj=7.938 mas, bpa=-2.447 degrees
! Estimated noise=0.989038 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.5, -19.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0112193 Jy
! Component: 100  -  total flux cleaned = 0.0175981 Jy
! Component: 150  -  total flux cleaned = 0.0217425 Jy
! Component: 200  -  total flux cleaned = 0.0245444 Jy
! Total flux subtracted in 200 components = 0.0245444 Jy
! Clean residual min=-0.004059 max=0.002965 Jy/beam
! Clean residual mean=0.000080 rms=0.000895 Jy/beam
! Combined flux in latest and established models = 0.247909 Jy
! Adding 70 model components to the UV plane model.
! The established model now contains 100 components and 0.247909 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.7 mas, bmaj=15.96 mas, bpa=8.047 degrees
! Estimated noise=1.27577 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.00291413 Jy
! Component: 100  -  total flux cleaned = 0.00433994 Jy
! Component: 150  -  total flux cleaned = 0.00472807 Jy
! Component: 200  -  total flux cleaned = 0.00503064 Jy
! Total flux subtracted in 200 components = 0.00503064 Jy
! Clean residual min=-0.003272 max=0.003264 Jy/beam
! Clean residual mean=0.000100 rms=0.000946 Jy/beam
! Combined flux in latest and established models = 0.25294 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 124 components and 0.25294 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.067 mas, bmaj=7.938 mas, bpa=-2.447 degrees
! Estimated noise=0.989038 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000125772 Jy
! Component: 100  -  total flux cleaned = -7.76545e-05 Jy
! Component: 150  -  total flux cleaned = -8.13048e-05 Jy
! Component: 200  -  total flux cleaned = -4.80898e-05 Jy
! Total flux subtracted in 200 components = -4.80898e-05 Jy
! Clean residual min=-0.003851 max=0.002912 Jy/beam
! Clean residual mean=0.000050 rms=0.000841 Jy/beam
! Combined flux in latest and established models = 0.252891 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 150 components and 0.252891 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060519Jy  sigma=0.937974
! Fit after  self-cal, rms=0.060513Jy  sigma=0.937698
wmodel J2231-1422_S_2005_07_09_yyk\_map.mod
! Writing 150 model components to file: J2231-1422_S_2005_07_09_yyk_map.mod
wobs J2231-1422_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J2231-1422_S_2005_07_09_yyk_uvs.fits
wwins J2231-1422_S_2005_07_09_yyk\_map.win
! wwins: Wrote 3 windows to J2231-1422_S_2005_07_09_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.00147908 Jy
! Component: 100  -  total flux cleaned = -0.00147912 Jy
! Component: 150  -  total flux cleaned = -0.00133578 Jy
! Component: 200  -  total flux cleaned = -0.000918322 Jy
! Component: 250  -  total flux cleaned = -0.000425635 Jy
! Component: 300  -  total flux cleaned = -3.46738e-05 Jy
! Component: 350  -  total flux cleaned = 0.00038937 Jy
! Component: 400  -  total flux cleaned = 0.000762242 Jy
! Component: 450  -  total flux cleaned = 0.00112547 Jy
! Component: 500  -  total flux cleaned = 0.00136184 Jy
! Component: 550  -  total flux cleaned = 0.00166976 Jy
! Component: 600  -  total flux cleaned = 0.00185789 Jy
! Component: 650  -  total flux cleaned = 0.00196955 Jy
! Component: 700  -  total flux cleaned = 0.00222435 Jy
! Component: 750  -  total flux cleaned = 0.00243856 Jy
! Component: 800  -  total flux cleaned = 0.00268353 Jy
! Component: 850  -  total flux cleaned = 0.00292313 Jy
! Component: 900  -  total flux cleaned = 0.00309046 Jy
! Component: 950  -  total flux cleaned = 0.00322232 Jy
! Component: 1000  -  total flux cleaned = 0.00341812 Jy
! Component: 1050  -  total flux cleaned = 0.00373802 Jy
! Component: 1100  -  total flux cleaned = 0.00392609 Jy
! Component: 1150  -  total flux cleaned = 0.00414211 Jy
! Component: 1200  -  total flux cleaned = 0.00432544 Jy
! Component: 1250  -  total flux cleaned = 0.00462643 Jy
! Component: 1300  -  total flux cleaned = 0.00486311 Jy
! Component: 1350  -  total flux cleaned = 0.00527132 Jy
! Component: 1400  -  total flux cleaned = 0.0055592 Jy
! Component: 1450  -  total flux cleaned = 0.00592807 Jy
! Component: 1500  -  total flux cleaned = 0.00618021 Jy
! Component: 1550  -  total flux cleaned = 0.00645695 Jy
! Component: 1600  -  total flux cleaned = 0.0067302 Jy
! Component: 1650  -  total flux cleaned = 0.0069196 Jy
! Component: 1700  -  total flux cleaned = 0.0071867 Jy
! Component: 1750  -  total flux cleaned = 0.00742353 Jy
! Component: 1800  -  total flux cleaned = 0.00776167 Jy
! Component: 1850  -  total flux cleaned = 0.00807039 Jy
! Component: 1900  -  total flux cleaned = 0.0082486 Jy
! Component: 1950  -  total flux cleaned = 0.00850093 Jy
! Component: 2000  -  total flux cleaned = 0.00877475 Jy
! Total flux subtracted in 2048 components = 0.00899676 Jy
! Clean residual min=-0.002030 max=0.001543 Jy/beam
! Clean residual mean=0.000057 rms=0.000480 Jy/beam
! Combined flux in latest and established models = 0.261888 Jy
keep
! Adding 121 model components to the UV plane model.
! The established model now contains 271 components and 0.261888 Jy
![Exited script file: muppet]
wmap "J2231-1422_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.067 x 7.938 at -2.447 degrees (North through East)
! Clean map  min=-0.0032245  max=0.20242 Jy/beam
! Writing clean map to FITS file: J2231-1422_S_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.202416 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000474409 
device "J2231-1422_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J2231-1422_S_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.703119 0.703119 1.40624 2.81248 5.62495 11.2499 22.4998 44.9996 89.9993
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
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: 3.067 x 7.938 at -2.447 degrees (North through East)
! Clean map  min=-0.0032245  max=0.20242 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2231-1422_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J2231-1422_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2231-1422_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 11:07:27 2006