! Started logfile: J1350-1634_X_2005_07_09_yyk_uvs.log on Fri Jan 20 10:32:01 2006
obs J1350-1634_X_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J1350-1634_X_2005_07_09_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.872727 visibilities/baseline/integration-bin.
! Found source: J1350-1634
! 
! 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 1480 lines of history.
! 
! Reading 1728 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 J1350-1634_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.141752 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.6927 mas, bmaj=1.81 mas, bpa=-3.528 degrees
! Estimated noise=1.39196 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.0990487 Jy
! Component: 100  -  total flux cleaned = 0.128309 Jy
! Total flux subtracted in 100 components = 0.128309 Jy
! Clean residual min=-0.007769 max=0.009623 Jy/beam
! Clean residual mean=-0.000037 rms=0.002110 Jy/beam
! Combined flux in latest and established models = 0.128309 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.128309 Jy
! 
! Correcting IF 1.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 16 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 18 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.068366Jy  sigma=1.176389
! Fit after  self-cal, rms=0.067103Jy  sigma=1.150655
! Inverting map and beam 
! Estimated beam: bmin=0.6928 mas, bmaj=1.81 mas, bpa=-3.527 degrees
! Estimated noise=1.39184 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.9169 mas, bmaj=2.376 mas, bpa=-4.119 degrees
! Estimated noise=0.937857 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.0178576 Jy
! Component: 100  -  total flux cleaned = 0.0236083 Jy
! Component: 150  -  total flux cleaned = 0.0257703 Jy
! Component: 200  -  total flux cleaned = 0.0261677 Jy
! Total flux subtracted in 200 components = 0.0261677 Jy
! Clean residual min=-0.005206 max=0.004588 Jy/beam
! Clean residual mean=-0.000015 rms=0.001328 Jy/beam
! Combined flux in latest and established models = 0.154477 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 40 components and 0.154477 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064523Jy  sigma=1.088261
! Fit after  self-cal, rms=0.064512Jy  sigma=1.088132
! 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.9169 x 2.376 at -4.119 degrees (North through East)
! Clean map  min=-0.0050396  max=0.12232 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*    NL        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*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! 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: 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.064512Jy  sigma=1.088132
! Fit after  self-cal, rms=0.064512Jy  sigma=1.088132
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.064512Jy  sigma=1.088132
! Fit after  self-cal, rms=0.064512Jy  sigma=1.088132
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9169 mas, bmaj=2.376 mas, bpa=-4.119 degrees
! Estimated noise=0.937857 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.000331783 Jy
! Component: 100  -  total flux cleaned = 0.000363652 Jy
! Component: 150  -  total flux cleaned = 0.000393002 Jy
! Component: 200  -  total flux cleaned = 0.000391285 Jy
! Total flux subtracted in 200 components = 0.000391285 Jy
! Clean residual min=-0.005231 max=0.004629 Jy/beam
! Clean residual mean=-0.000014 rms=0.001324 Jy/beam
! Combined flux in latest and established models = 0.154868 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 44 components and 0.154868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064500Jy  sigma=1.087743
! Fit after  self-cal, rms=0.064496Jy  sigma=1.087709
! 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.064496Jy  sigma=1.087709
! Fit after  self-cal, rms=0.060231Jy  sigma=1.011121
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.00119497 Jy
! Component: 100  -  total flux cleaned = 0.00119857 Jy
! Component: 150  -  total flux cleaned = 0.00123675 Jy
! Component: 200  -  total flux cleaned = 0.0012696 Jy
! Total flux subtracted in 200 components = 0.0012696 Jy
! Clean residual min=-0.004675 max=0.004217 Jy/beam
! Clean residual mean=-0.000013 rms=0.001186 Jy/beam
! Combined flux in latest and established models = 0.156138 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 50 components and 0.156138 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060194Jy  sigma=1.010137
! Fit after  self-cal, rms=0.059957Jy  sigma=1.006292
! 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.9169 x 2.376 at -4.119 degrees (North through East)
! Clean map  min=-0.0043588  max=0.12404 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.059957Jy  sigma=1.006292
! Fit after  self-cal, rms=0.059970Jy  sigma=1.002551
! 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.059970Jy  sigma=1.002551
! Fit after  self-cal, rms=0.059968Jy  sigma=1.002159
! Inverting map and beam 
! Estimated beam: bmin=0.9103 mas, bmaj=2.378 mas, bpa=-4.436 degrees
! Estimated noise=0.93761 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000819077 Jy
! Component: 100  -  total flux cleaned = 0.000886856 Jy
! Component: 150  -  total flux cleaned = 0.000887053 Jy
! Component: 200  -  total flux cleaned = 0.000913914 Jy
! Total flux subtracted in 200 components = 0.000913914 Jy
! Clean residual min=-0.004165 max=0.004189 Jy/beam
! Clean residual mean=-0.000010 rms=0.001132 Jy/beam
! Combined flux in latest and established models = 0.157052 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 51 components and 0.157052 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059951Jy  sigma=1.001611
! Fit after  self-cal, rms=0.059958Jy  sigma=1.001541
! 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.059958Jy  sigma=1.001541
! Fit after  self-cal, rms=0.059918Jy  sigma=1.001616
! 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.059918Jy  sigma=1.001616
! Fit after  self-cal, rms=0.059923Jy  sigma=1.001576
! Inverting map and beam 
! Estimated beam: bmin=0.9021 mas, bmaj=2.359 mas, bpa=-4.363 degrees
! Estimated noise=0.940349 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00118009 Jy
! Component: 100  -  total flux cleaned = 0.0013429 Jy
! Component: 150  -  total flux cleaned = 0.00136272 Jy
! Component: 200  -  total flux cleaned = 0.0013468 Jy
! Total flux subtracted in 200 components = 0.0013468 Jy
! Clean residual min=-0.004298 max=0.004228 Jy/beam
! Clean residual mean=-0.000006 rms=0.001132 Jy/beam
! Combined flux in latest and established models = 0.158399 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 55 components and 0.158399 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059910Jy  sigma=1.001195
! Fit after  self-cal, rms=0.059912Jy  sigma=1.001180
! 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.278 mas, bmaj=4.752 mas, bpa=2.818 degrees
! Estimated noise=1.18067 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.000719969 Jy
! Component: 100  -  total flux cleaned = 0.000721809 Jy
! Component: 150  -  total flux cleaned = 0.000720443 Jy
! Component: 200  -  total flux cleaned = 0.000682617 Jy
! Total flux subtracted in 200 components = 0.000682617 Jy
! Clean residual min=-0.004370 max=0.004788 Jy/beam
! Clean residual mean=-0.000007 rms=0.001420 Jy/beam
! Combined flux in latest and established models = 0.159081 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 57 components and 0.159081 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059950Jy  sigma=1.001374
! Fit after  self-cal, rms=0.059934Jy  sigma=1.001236
! 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.6881 mas, bmaj=1.808 mas, bpa=-3.615 degrees
! Estimated noise=1.39112 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.103184 Jy
! Component: 100  -  total flux cleaned = 0.131691 Jy
! Component: 150  -  total flux cleaned = 0.144534 Jy
! Component: 200  -  total flux cleaned = 0.151094 Jy
! Total flux subtracted in 200 components = 0.151094 Jy
! Clean residual min=-0.006393 max=0.005626 Jy/beam
! Clean residual mean=-0.000015 rms=0.001471 Jy/beam
! Combined flux in latest and established models = 0.151094 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.151094 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9021 mas, bmaj=2.359 mas, bpa=-4.363 degrees
! Estimated noise=0.940349 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.00524761 Jy
! Component: 100  -  total flux cleaned = 0.00714343 Jy
! Component: 150  -  total flux cleaned = 0.00727014 Jy
! Component: 200  -  total flux cleaned = 0.00730659 Jy
! Total flux subtracted in 200 components = 0.00730659 Jy
! Clean residual min=-0.004268 max=0.004320 Jy/beam
! Clean residual mean=-0.000007 rms=0.001149 Jy/beam
! Combined flux in latest and established models = 0.1584 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 50 components and 0.1584 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.278 mas, bmaj=4.752 mas, bpa=2.818 degrees
! Estimated noise=1.18067 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.000903959 Jy
! Component: 100  -  total flux cleaned = 0.000958826 Jy
! Component: 150  -  total flux cleaned = 0.000957909 Jy
! Component: 200  -  total flux cleaned = 0.00091139 Jy
! Total flux subtracted in 200 components = 0.00091139 Jy
! Clean residual min=-0.004395 max=0.004813 Jy/beam
! Clean residual mean=-0.000007 rms=0.001438 Jy/beam
! Combined flux in latest and established models = 0.159312 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 52 components and 0.159312 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9021 mas, bmaj=2.359 mas, bpa=-4.363 degrees
! Estimated noise=0.940349 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000622771 Jy
! Component: 100  -  total flux cleaned = -0.000697421 Jy
! Component: 150  -  total flux cleaned = -0.000755374 Jy
! Component: 200  -  total flux cleaned = -0.00077749 Jy
! Total flux subtracted in 200 components = -0.00077749 Jy
! Clean residual min=-0.004252 max=0.004245 Jy/beam
! Clean residual mean=-0.000006 rms=0.001137 Jy/beam
! Combined flux in latest and established models = 0.158534 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 55 components and 0.158534 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059883Jy  sigma=1.001606
! Fit after  self-cal, rms=0.059882Jy  sigma=1.001561
wmodel J1350-1634_X_2005_07_09_yyk\_map.mod
! Writing 55 model components to file: J1350-1634_X_2005_07_09_yyk_map.mod
wobs J1350-1634_X_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J1350-1634_X_2005_07_09_yyk_uvs.fits
wwins J1350-1634_X_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J1350-1634_X_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.000777772 Jy
! Component: 100  -  total flux cleaned = -0.00150432 Jy
! Component: 150  -  total flux cleaned = -0.00218766 Jy
! Component: 200  -  total flux cleaned = -0.0021208 Jy
! Component: 250  -  total flux cleaned = -0.00205712 Jy
! Component: 300  -  total flux cleaned = -0.00223941 Jy
! Component: 350  -  total flux cleaned = -0.00241876 Jy
! Component: 400  -  total flux cleaned = -0.00265217 Jy
! Component: 450  -  total flux cleaned = -0.00276591 Jy
! Component: 500  -  total flux cleaned = -0.00303873 Jy
! Component: 550  -  total flux cleaned = -0.00309112 Jy
! Component: 600  -  total flux cleaned = -0.00303958 Jy
! Component: 650  -  total flux cleaned = -0.00293771 Jy
! Component: 700  -  total flux cleaned = -0.00264113 Jy
! Component: 750  -  total flux cleaned = -0.00268959 Jy
! Component: 800  -  total flux cleaned = -0.00245328 Jy
! Component: 850  -  total flux cleaned = -0.0025008 Jy
! Component: 900  -  total flux cleaned = -0.00263692 Jy
! Component: 950  -  total flux cleaned = -0.00241286 Jy
! Component: 1000  -  total flux cleaned = -0.00236901 Jy
! Component: 1050  -  total flux cleaned = -0.00215164 Jy
! Component: 1100  -  total flux cleaned = -0.00206684 Jy
! Component: 1150  -  total flux cleaned = -0.00194152 Jy
! Component: 1200  -  total flux cleaned = -0.00177643 Jy
! Component: 1250  -  total flux cleaned = -0.00161539 Jy
! Component: 1300  -  total flux cleaned = -0.00149617 Jy
! Component: 1350  -  total flux cleaned = -0.00137896 Jy
! Component: 1400  -  total flux cleaned = -0.00134028 Jy
! Component: 1450  -  total flux cleaned = -0.00103727 Jy
! Component: 1500  -  total flux cleaned = -0.000814262 Jy
! Component: 1550  -  total flux cleaned = -0.000632314 Jy
! Component: 1600  -  total flux cleaned = -0.000596474 Jy
! Component: 1650  -  total flux cleaned = -0.000311668 Jy
! Component: 1700  -  total flux cleaned = -0.000136273 Jy
! Component: 1750  -  total flux cleaned = -3.22425e-05 Jy
! Component: 1800  -  total flux cleaned = 0.000206879 Jy
! Component: 1850  -  total flux cleaned = 0.000308106 Jy
! Component: 1900  -  total flux cleaned = 0.0003752 Jy
! Component: 1950  -  total flux cleaned = 0.000639286 Jy
! Component: 2000  -  total flux cleaned = 0.000736898 Jy
! Total flux subtracted in 2048 components = 0.000705385 Jy
! Clean residual min=-0.001763 max=0.001728 Jy/beam
! Clean residual mean=-0.000002 rms=0.000607 Jy/beam
! Combined flux in latest and established models = 0.159239 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 196 components and 0.159239 Jy
![Exited script file: muppet]
wmap "J1350-1634_X_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9021 x 2.359 at -4.363 degrees (North through East)
! Clean map  min=-0.0034722  max=0.12356 Jy/beam
! Writing clean map to FITS file: J1350-1634_X_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.123564 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00061147 
device "J1350-1634_X_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J1350-1634_X_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.48458 1.48458 2.96916 5.93833 11.8767 23.7533 47.5066 95.0132
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.123 
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.9021 x 2.359 at -4.363 degrees (North through East)
! Clean map  min=-0.0034722  max=0.12356 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1350-1634_X_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J1350-1634_X_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1350-1634_X_2005_07_09_yyk_uvs.log closed on Fri Jan 20 10:32:06 2006