! Started logfile: J0354+8009_S_2006_02_23_yyk_uvs.log on Wed Jul  5 11:19:15 2006
obs J0354+8009_S_2006_02_23_yyk_uva.fits
! Reading UV FITS file: J0354+8009_S_2006_02_23_yyk_uva.fits
! AN table 1: 875 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.99779 visibilities/baseline/integration-bin.
! Found source: J0354+8009
! 
! 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 2429 lines of history.
! 
! Reading 157152 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 J0354+8009_S_2006_02_23_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.196253 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.386 mas, bmaj=10.76 mas, bpa=5.731 degrees
! Estimated noise=1.42375 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.140758 Jy
! Component: 100  -  total flux cleaned = 0.182849 Jy
! Total flux subtracted in 100 components = 0.182849 Jy
! Clean residual min=-0.011960 max=0.020527 Jy/beam
! Clean residual mean=0.000238 rms=0.004344 Jy/beam
! Combined flux in latest and established models = 0.18285 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.18285 Jy
! 
! Correcting IF 1.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079430Jy  sigma=1.399288
! Fit after  self-cal, rms=0.077815Jy  sigma=1.364882
! Inverting map and beam 
! Estimated beam: bmin=2.386 mas, bmaj=10.76 mas, bpa=5.731 degrees
! Estimated noise=1.42375 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.217 mas, bmaj=10.72 mas, bpa=5.579 degrees
! Estimated noise=0.706194 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.0279079 Jy
! Component: 100  -  total flux cleaned = 0.0408302 Jy
! Component: 150  -  total flux cleaned = 0.0485245 Jy
! Component: 200  -  total flux cleaned = 0.0532364 Jy
! Total flux subtracted in 200 components = 0.0532364 Jy
! Clean residual min=-0.007721 max=0.015356 Jy/beam
! Clean residual mean=0.000020 rms=0.003207 Jy/beam
! Combined flux in latest and established models = 0.236086 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 59 components and 0.236086 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069809Jy  sigma=1.213467
! Fit after  self-cal, rms=0.069646Jy  sigma=1.210412
! 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.217 x 10.72 at 5.579 degrees (North through East)
! Clean map  min=-0.0077421  max=0.16977 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: 0.99731
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.95     HN        1.05     KP        0.90     
!   LA        1.18     MK        0.87     NL        1.00     OV        1.03     
!   PT        0.96     SC        1.02     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.985322
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.02     HN        1.05     KP        0.92     
!   LA        1.10     MK        0.99     NL        1.00     OV        1.08     
!   PT        0.93     SC        1.03     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.976703
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.03     HN        1.07     KP        0.92     
!   LA        0.89     MK        1.06     NL        1.10     OV        1.10     
!   PT        0.99     SC        1.07     
! 
! 
! 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.069646Jy  sigma=1.210412
! Fit after  self-cal, rms=0.068266Jy  sigma=1.175617
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.068266Jy  sigma=1.175617
! Fit after  self-cal, rms=0.068290Jy  sigma=1.175548
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.232 mas, bmaj=10.72 mas, bpa=5.929 degrees
! Estimated noise=0.700822 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.00100166 Jy
! Component: 100  -  total flux cleaned = 0.00108507 Jy
! Component: 150  -  total flux cleaned = 0.00100807 Jy
! Component: 200  -  total flux cleaned = 0.000868879 Jy
! Total flux subtracted in 200 components = 0.000868879 Jy
! Clean residual min=-0.006808 max=0.013232 Jy/beam
! Clean residual mean=0.000109 rms=0.002727 Jy/beam
! Combined flux in latest and established models = 0.236955 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 74 components and 0.236955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068142Jy  sigma=1.172777
! Fit after  self-cal, rms=0.068132Jy  sigma=1.172625
! 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.068132Jy  sigma=1.172625
! Fit after  self-cal, rms=0.065234Jy  sigma=1.115736
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)
! Added new window around map position (4.5, -2.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0160187 Jy
! Component: 100  -  total flux cleaned = 0.0167283 Jy
! Component: 150  -  total flux cleaned = 0.0159236 Jy
! Component: 200  -  total flux cleaned = 0.0152167 Jy
! Total flux subtracted in 200 components = 0.0152167 Jy
! Clean residual min=-0.004483 max=0.006106 Jy/beam
! Clean residual mean=0.000079 rms=0.001617 Jy/beam
! Combined flux in latest and established models = 0.252172 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 103 components and 0.252172 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062097Jy  sigma=1.053709
! Fit after  self-cal, rms=0.061481Jy  sigma=1.043490
! 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.232 x 10.72 at 5.929 degrees (North through East)
! Clean map  min=-0.004644  max=0.16869 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.061481Jy  sigma=1.043490
! Fit after  self-cal, rms=0.061063Jy  sigma=1.032984
! 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.061063Jy  sigma=1.032984
! Fit after  self-cal, rms=0.061049Jy  sigma=1.032825
! Inverting map and beam 
! Estimated beam: bmin=3.183 mas, bmaj=10.66 mas, bpa=5.637 degrees
! Estimated noise=0.711675 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0086793 Jy
! Component: 100  -  total flux cleaned = 0.0113659 Jy
! Component: 150  -  total flux cleaned = 0.0112572 Jy
! Component: 200  -  total flux cleaned = 0.0113525 Jy
! Total flux subtracted in 200 components = 0.0113525 Jy
! Clean residual min=-0.003989 max=0.004525 Jy/beam
! Clean residual mean=0.000067 rms=0.001308 Jy/beam
! Combined flux in latest and established models = 0.263524 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 131 components and 0.263524 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059804Jy  sigma=1.013627
! Fit after  self-cal, rms=0.059639Jy  sigma=1.010948
! 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.059639Jy  sigma=1.010948
! Fit after  self-cal, rms=0.059489Jy  sigma=0.998228
! 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.059489Jy  sigma=0.998228
! Fit after  self-cal, rms=0.059486Jy  sigma=0.998191
! Inverting map and beam 
! Estimated beam: bmin=3.14 mas, bmaj=10.61 mas, bpa=5.509 degrees
! Estimated noise=0.721536 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00594047 Jy
! Component: 100  -  total flux cleaned = 0.00859448 Jy
! Component: 150  -  total flux cleaned = 0.00922685 Jy
! Component: 200  -  total flux cleaned = 0.00942008 Jy
! Total flux subtracted in 200 components = 0.00942008 Jy
! Clean residual min=-0.003704 max=0.004459 Jy/beam
! Clean residual mean=0.000070 rms=0.001220 Jy/beam
! Combined flux in latest and established models = 0.272944 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 149 components and 0.272944 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058820Jy  sigma=0.989215
! Fit after  self-cal, rms=0.058769Jy  sigma=0.988432
! 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.408 mas, bmaj=11.74 mas, bpa=4.978 degrees
! Estimated noise=0.914744 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.00278598 Jy
! Component: 100  -  total flux cleaned = 0.00303768 Jy
! Component: 150  -  total flux cleaned = 0.00322006 Jy
! Component: 200  -  total flux cleaned = 0.00329725 Jy
! Total flux subtracted in 200 components = 0.00329725 Jy
! Clean residual min=-0.004689 max=0.005749 Jy/beam
! Clean residual mean=0.000148 rms=0.002054 Jy/beam
! Combined flux in latest and established models = 0.276241 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 170 components and 0.276241 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058767Jy  sigma=0.988189
! Fit after  self-cal, rms=0.058755Jy  sigma=0.988048
! 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.347 mas, bmaj=10.77 mas, bpa=5.779 degrees
! Estimated noise=1.41895 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.144615 Jy
! Component: 100  -  total flux cleaned = 0.192464 Jy
! Component: 150  -  total flux cleaned = 0.218454 Jy
! Component: 200  -  total flux cleaned = 0.234592 Jy
! Total flux subtracted in 200 components = 0.234592 Jy
! Clean residual min=-0.006467 max=0.006855 Jy/beam
! Clean residual mean=0.000154 rms=0.002129 Jy/beam
! Combined flux in latest and established models = 0.234592 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 31 model components to the UV plane model.
! The established model now contains 31 components and 0.234592 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.14 mas, bmaj=10.61 mas, bpa=5.509 degrees
! Estimated noise=0.721536 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.0152961 Jy
! Component: 100  -  total flux cleaned = 0.0244252 Jy
! Component: 150  -  total flux cleaned = 0.0301944 Jy
! Component: 200  -  total flux cleaned = 0.0339795 Jy
! Total flux subtracted in 200 components = 0.0339795 Jy
! Clean residual min=-0.003915 max=0.004520 Jy/beam
! Clean residual mean=0.000068 rms=0.001278 Jy/beam
! Combined flux in latest and established models = 0.268571 Jy
! Adding 77 model components to the UV plane model.
! The established model now contains 104 components and 0.268571 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.408 mas, bmaj=11.74 mas, bpa=4.978 degrees
! Estimated noise=0.914744 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.00453463 Jy
! Component: 100  -  total flux cleaned = 0.00594677 Jy
! Component: 150  -  total flux cleaned = 0.0065651 Jy
! Component: 200  -  total flux cleaned = 0.00688974 Jy
! Total flux subtracted in 200 components = 0.00688974 Jy
! Clean residual min=-0.004719 max=0.005896 Jy/beam
! Clean residual mean=0.000143 rms=0.002067 Jy/beam
! Combined flux in latest and established models = 0.275461 Jy
! Adding 43 model components to the UV plane model.
! The established model now contains 137 components and 0.275461 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.14 mas, bmaj=10.61 mas, bpa=5.509 degrees
! Estimated noise=0.721536 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000444656 Jy
! Component: 100  -  total flux cleaned = -0.000497997 Jy
! Component: 150  -  total flux cleaned = -0.000278977 Jy
! Component: 200  -  total flux cleaned = -0.000125983 Jy
! Total flux subtracted in 200 components = -0.000125983 Jy
! Clean residual min=-0.003410 max=0.004134 Jy/beam
! Clean residual mean=0.000066 rms=0.001139 Jy/beam
! Combined flux in latest and established models = 0.275335 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 165 components and 0.275335 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058588Jy  sigma=0.985589
! Fit after  self-cal, rms=0.058566Jy  sigma=0.985321
wmodel J0354+8009_S_2006_02_23_yyk\_map.mod
! Writing 165 model components to file: J0354+8009_S_2006_02_23_yyk_map.mod
wobs J0354+8009_S_2006_02_23_yyk\_uvs.fits
! Writing UV FITS file: J0354+8009_S_2006_02_23_yyk_uvs.fits
wwins J0354+8009_S_2006_02_23_yyk\_map.win
! wwins: Wrote 2 windows to J0354+8009_S_2006_02_23_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.00163041 Jy
! Component: 100  -  total flux cleaned = 0.0025968 Jy
! Component: 150  -  total flux cleaned = 0.00349104 Jy
! Component: 200  -  total flux cleaned = 0.0041208 Jy
! Component: 250  -  total flux cleaned = 0.00461746 Jy
! Component: 300  -  total flux cleaned = 0.00499421 Jy
! Component: 350  -  total flux cleaned = 0.00530854 Jy
! Component: 400  -  total flux cleaned = 0.0054382 Jy
! Component: 450  -  total flux cleaned = 0.00548148 Jy
! Component: 500  -  total flux cleaned = 0.0055218 Jy
! Component: 550  -  total flux cleaned = 0.00556043 Jy
! Component: 600  -  total flux cleaned = 0.00556078 Jy
! Component: 650  -  total flux cleaned = 0.00556066 Jy
! Component: 700  -  total flux cleaned = 0.00566587 Jy
! Component: 750  -  total flux cleaned = 0.0056991 Jy
! Component: 800  -  total flux cleaned = 0.00573251 Jy
! Component: 850  -  total flux cleaned = 0.00566761 Jy
! Component: 900  -  total flux cleaned = 0.00557366 Jy
! Component: 950  -  total flux cleaned = 0.0055429 Jy
! Component: 1000  -  total flux cleaned = 0.00548256 Jy
! Component: 1050  -  total flux cleaned = 0.00545331 Jy
! Component: 1100  -  total flux cleaned = 0.00533896 Jy
! Component: 1150  -  total flux cleaned = 0.00528336 Jy
! Component: 1200  -  total flux cleaned = 0.00514766 Jy
! Component: 1250  -  total flux cleaned = 0.00504137 Jy
! Component: 1300  -  total flux cleaned = 0.00496345 Jy
! Component: 1350  -  total flux cleaned = 0.00491178 Jy
! Component: 1400  -  total flux cleaned = 0.00481061 Jy
! Component: 1450  -  total flux cleaned = 0.00468594 Jy
! Component: 1500  -  total flux cleaned = 0.00451553 Jy
! Component: 1550  -  total flux cleaned = 0.00439635 Jy
! Component: 1600  -  total flux cleaned = 0.0043257 Jy
! Component: 1650  -  total flux cleaned = 0.00414052 Jy
! Component: 1700  -  total flux cleaned = 0.00404976 Jy
! Component: 1750  -  total flux cleaned = 0.00393772 Jy
! Component: 1800  -  total flux cleaned = 0.00378334 Jy
! Component: 1850  -  total flux cleaned = 0.00367475 Jy
! Component: 1900  -  total flux cleaned = 0.00350382 Jy
! Component: 1950  -  total flux cleaned = 0.00333509 Jy
! Component: 2000  -  total flux cleaned = 0.00319019 Jy
! Total flux subtracted in 2048 components = 0.00306747 Jy
! Clean residual min=-0.001098 max=0.001346 Jy/beam
! Clean residual mean=0.000033 rms=0.000440 Jy/beam
! Combined flux in latest and established models = 0.278402 Jy
keep
! Adding 169 model components to the UV plane model.
! The established model now contains 334 components and 0.278403 Jy
![Exited script file: muppet]
wmap "J0354+8009_S_2006_02_23_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.14 x 10.61 at 5.509 degrees (North through East)
! Clean map  min=-0.0022538  max=0.17192 Jy/beam
! Writing clean map to FITS file: J0354+8009_S_2006_02_23_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.171925 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000436205 
device "J0354+8009_S_2006_02_23_yyk\_map.eps/VPS"
! Attempting to open device: 'J0354+8009_S_2006_02_23_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.761156 0.761156 1.52231 3.04463 6.08925 12.1785 24.357 48.714 97.428
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.171 
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.14 x 10.61 at 5.509 degrees (North through East)
! Clean map  min=-0.0022538  max=0.17192 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0354+8009_S_2006_02_23_yyk\_map.gif/gif"
! Attempting to open device: 'J0354+8009_S_2006_02_23_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0354+8009_S_2006_02_23_yyk_uvs.log closed on Wed Jul  5 11:19:42 2006