! Started logfile: J0710-2033_S_2005_07_09_yyk_uvs.log on Fri Jan 20 11:16:37 2006
obs J0710-2033_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J0710-2033_S_2005_07_09_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.917778 visibilities/baseline/integration-bin.
! Found source: J0710-2033
! 
! 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 1602 lines of history.
! 
! Reading 1652 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 J0710-2033_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 = 256x256 pixels with 1.00x1.00 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.136083 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.88 mas, bmaj=15.07 mas, bpa=-21.25 degrees
! Estimated noise=2.24645 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.0912462 Jy
! Component: 100  -  total flux cleaned = 0.110257 Jy
! Total flux subtracted in 100 components = 0.110257 Jy
! Clean residual min=-0.010565 max=0.008439 Jy/beam
! Clean residual mean=0.000008 rms=0.002984 Jy/beam
! Combined flux in latest and established models = 0.110257 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.110257 Jy
! 
! Correcting IF 1.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 44 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.082337Jy  sigma=1.316094
! Fit after  self-cal, rms=0.069283Jy  sigma=1.072300
! Inverting map and beam 
! Estimated beam: bmin=2.88 mas, bmaj=15.07 mas, bpa=-21.25 degrees
! Estimated noise=2.24645 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.798 mas, bmaj=16.89 mas, bpa=-21 degrees
! Estimated noise=1.49338 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.0145903 Jy
! Component: 100  -  total flux cleaned = 0.0205569 Jy
! Component: 150  -  total flux cleaned = 0.0222988 Jy
! Component: 200  -  total flux cleaned = 0.0228807 Jy
! Total flux subtracted in 200 components = 0.0228807 Jy
! Clean residual min=-0.005568 max=0.006514 Jy/beam
! Clean residual mean=-0.000080 rms=0.001754 Jy/beam
! Combined flux in latest and established models = 0.133138 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 42 components and 0.133138 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066661Jy  sigma=1.028973
! Fit after  self-cal, rms=0.066634Jy  sigma=1.028301
! 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.798 x 16.89 at -21 degrees (North through East)
! Clean map  min=-0.0055335  max=0.10356 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.00662
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        0.96     HN        1.00*    KP        0.91     
!   LA        1.07     MK        0.98     NL        1.00*    OV        1.07     
!   PT        1.02     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.991645
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.11     HN        1.00*    KP        0.93     
!   LA        1.15     MK        0.89     NL        1.00*    OV        1.01     
!   PT        1.02     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.066634Jy  sigma=1.028301
! Fit after  self-cal, rms=0.066227Jy  sigma=1.018925
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.066227Jy  sigma=1.018925
! Fit after  self-cal, rms=0.066200Jy  sigma=1.018335
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.717 mas, bmaj=16.66 mas, bpa=-21.27 degrees
! Estimated noise=1.48809 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.00277812 Jy
! Component: 100  -  total flux cleaned = 0.00314189 Jy
! Component: 150  -  total flux cleaned = 0.00338042 Jy
! Component: 200  -  total flux cleaned = 0.00352874 Jy
! Total flux subtracted in 200 components = 0.00352874 Jy
! Clean residual min=-0.005101 max=0.006064 Jy/beam
! Clean residual mean=0.000045 rms=0.001591 Jy/beam
! Combined flux in latest and established models = 0.136666 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 48 components and 0.136666 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065961Jy  sigma=1.014727
! Fit after  self-cal, rms=0.065928Jy  sigma=1.014153
! 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.065928Jy  sigma=1.014153
! Fit after  self-cal, rms=0.060087Jy  sigma=0.924701
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.00214309 Jy
! Component: 100  -  total flux cleaned = 0.00243849 Jy
! Component: 150  -  total flux cleaned = 0.00267951 Jy
! Component: 200  -  total flux cleaned = 0.0027402 Jy
! Total flux subtracted in 200 components = 0.0027402 Jy
! Clean residual min=-0.004862 max=0.006092 Jy/beam
! Clean residual mean=0.000062 rms=0.001549 Jy/beam
! Combined flux in latest and established models = 0.139407 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 55 components and 0.139407 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059852Jy  sigma=0.921963
! Fit after  self-cal, rms=0.059002Jy  sigma=0.915553
! 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.717 x 16.66 at -21.27 degrees (North through East)
! Clean map  min=-0.0044305  max=0.10533 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.059002Jy  sigma=0.915553
! Fit after  self-cal, rms=0.059693Jy  sigma=0.908057
! 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.059693Jy  sigma=0.908057
! Fit after  self-cal, rms=0.059532Jy  sigma=0.906704
! Inverting map and beam 
! Estimated beam: bmin=3.604 mas, bmaj=16.62 mas, bpa=-21.08 degrees
! Estimated noise=1.51342 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00417596 Jy
! Component: 100  -  total flux cleaned = 0.00499224 Jy
! Component: 150  -  total flux cleaned = 0.00528369 Jy
! Component: 200  -  total flux cleaned = 0.00538362 Jy
! Total flux subtracted in 200 components = 0.00538362 Jy
! Clean residual min=-0.004513 max=0.005792 Jy/beam
! Clean residual mean=0.000085 rms=0.001455 Jy/beam
! Combined flux in latest and established models = 0.14479 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 65 components and 0.14479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059155Jy  sigma=0.902338
! Fit after  self-cal, rms=0.059124Jy  sigma=0.901921
! 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.059124Jy  sigma=0.901921
! Fit after  self-cal, rms=0.059093Jy  sigma=0.902995
! 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.059093Jy  sigma=0.902995
! Fit after  self-cal, rms=0.059105Jy  sigma=0.902765
! Inverting map and beam 
! Estimated beam: bmin=3.565 mas, bmaj=16.41 mas, bpa=-21.04 degrees
! Estimated noise=1.52 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00231272 Jy
! Component: 100  -  total flux cleaned = 0.00285348 Jy
! Component: 150  -  total flux cleaned = 0.00297875 Jy
! Component: 200  -  total flux cleaned = 0.00301796 Jy
! Total flux subtracted in 200 components = 0.00301796 Jy
! Clean residual min=-0.004368 max=0.005375 Jy/beam
! Clean residual mean=0.000109 rms=0.001433 Jy/beam
! Combined flux in latest and established models = 0.147808 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 71 components and 0.147808 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058964Jy  sigma=0.901258
! Fit after  self-cal, rms=0.058974Jy  sigma=0.901174
! 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=11.18 mas, bmaj=20.93 mas, bpa=6.557 degrees
! Estimated noise=1.83078 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.000345476 Jy
! Component: 100  -  total flux cleaned = -0.000302438 Jy
! Component: 150  -  total flux cleaned = -0.000337404 Jy
! Component: 200  -  total flux cleaned = -0.00037126 Jy
! Total flux subtracted in 200 components = -0.00037126 Jy
! Clean residual min=-0.004229 max=0.006359 Jy/beam
! Clean residual mean=0.000167 rms=0.001710 Jy/beam
! Combined flux in latest and established models = 0.147437 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 74 components and 0.147437 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058969Jy  sigma=0.901442
! Fit after  self-cal, rms=0.058979Jy  sigma=0.901368
! 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.842 mas, bmaj=14.86 mas, bpa=-21.18 degrees
! Estimated noise=2.2255 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0999751 Jy
! Component: 100  -  total flux cleaned = 0.123058 Jy
! Component: 150  -  total flux cleaned = 0.135804 Jy
! Component: 200  -  total flux cleaned = 0.143626 Jy
! Total flux subtracted in 200 components = 0.143626 Jy
! Clean residual min=-0.007432 max=0.007827 Jy/beam
! Clean residual mean=0.000224 rms=0.002331 Jy/beam
! Combined flux in latest and established models = 0.143626 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 23 model components to the UV plane model.
! The established model now contains 23 components and 0.143626 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.565 mas, bmaj=16.41 mas, bpa=-21.04 degrees
! Estimated noise=1.52 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.000888338 Jy
! Component: 100  -  total flux cleaned = 0.00134331 Jy
! Component: 150  -  total flux cleaned = 0.00162142 Jy
! Component: 200  -  total flux cleaned = 0.00185208 Jy
! Total flux subtracted in 200 components = 0.00185208 Jy
! Clean residual min=-0.004826 max=0.006012 Jy/beam
! Clean residual mean=0.000129 rms=0.001523 Jy/beam
! Combined flux in latest and established models = 0.145478 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 32 components and 0.145478 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=11.18 mas, bmaj=20.93 mas, bpa=6.557 degrees
! Estimated noise=1.83078 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.000514939 Jy
! Component: 100  -  total flux cleaned = 0.000518645 Jy
! Component: 150  -  total flux cleaned = 0.000519248 Jy
! Component: 200  -  total flux cleaned = 0.000454397 Jy
! Total flux subtracted in 200 components = 0.000454397 Jy
! Clean residual min=-0.004403 max=0.006333 Jy/beam
! Clean residual mean=0.000191 rms=0.001795 Jy/beam
! Combined flux in latest and established models = 0.145933 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 37 components and 0.145933 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.565 mas, bmaj=16.41 mas, bpa=-21.04 degrees
! Estimated noise=1.52 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -2.83204e-06 Jy
! Component: 100  -  total flux cleaned = -8.84231e-06 Jy
! Component: 150  -  total flux cleaned = 3.94184e-05 Jy
! Component: 200  -  total flux cleaned = 0.00017724 Jy
! Total flux subtracted in 200 components = 0.00017724 Jy
! Clean residual min=-0.004504 max=0.005422 Jy/beam
! Clean residual mean=0.000118 rms=0.001458 Jy/beam
! Combined flux in latest and established models = 0.14611 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 49 components and 0.14611 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059007Jy  sigma=0.902043
! Fit after  self-cal, rms=0.059014Jy  sigma=0.901988
wmodel J0710-2033_S_2005_07_09_yyk\_map.mod
! Writing 49 model components to file: J0710-2033_S_2005_07_09_yyk_map.mod
wobs J0710-2033_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J0710-2033_S_2005_07_09_yyk_uvs.fits
wwins J0710-2033_S_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J0710-2033_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=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00209807 Jy
! Component: 100  -  total flux cleaned = 0.00242181 Jy
! Component: 150  -  total flux cleaned = 0.00271213 Jy
! Component: 200  -  total flux cleaned = 0.00264705 Jy
! Component: 250  -  total flux cleaned = 0.00264665 Jy
! Component: 300  -  total flux cleaned = 0.00287693 Jy
! Component: 350  -  total flux cleaned = 0.00276994 Jy
! Component: 400  -  total flux cleaned = 0.00282284 Jy
! Component: 450  -  total flux cleaned = 0.00287018 Jy
! Component: 500  -  total flux cleaned = 0.00287063 Jy
! Component: 550  -  total flux cleaned = 0.00300226 Jy
! Component: 600  -  total flux cleaned = 0.00312922 Jy
! Component: 650  -  total flux cleaned = 0.00337297 Jy
! Component: 700  -  total flux cleaned = 0.00360679 Jy
! Component: 750  -  total flux cleaned = 0.00383098 Jy
! Component: 800  -  total flux cleaned = 0.00408256 Jy
! Component: 850  -  total flux cleaned = 0.00439464 Jy
! Component: 900  -  total flux cleaned = 0.0046293 Jy
! Component: 950  -  total flux cleaned = 0.00489056 Jy
! Component: 1000  -  total flux cleaned = 0.00504898 Jy
! Total flux subtracted in 1024 components = 0.00504909 Jy
! Clean residual min=-0.001743 max=0.002040 Jy/beam
! Clean residual mean=0.000043 rms=0.000686 Jy/beam
! Combined flux in latest and established models = 0.151159 Jy
keep
! Adding 52 model components to the UV plane model.
! The established model now contains 101 components and 0.151159 Jy
![Exited script file: muppet]
wmap "J0710-2033_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.565 x 16.41 at -21.04 degrees (North through East)
! Clean map  min=-0.0037458  max=0.11302 Jy/beam
! Writing clean map to FITS file: J0710-2033_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.113018 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000680883 
device "J0710-2033_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J0710-2033_S_2005_07_09_yyk_map.eps/VPS'
loglevs 2*100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.61473 3.61473 7.22946 14.4589 28.9178 57.8357
print "clev=",int(2*3*image_rms*10000)/10000
! clev= 0.004 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.113 
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.565 x 16.41 at -21.04 degrees (North through East)
! Clean map  min=-0.0037458  max=0.11302 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0710-2033_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J0710-2033_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0710-2033_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 11:16:38 2006