! Started logfile: J1935-1602_S_2007_01_11_yyk_uvs.log on Wed Apr  9 20:41:34 2008
obs J1935-1602_S_2007_01_11_yyk_uve.fits
! Reading UV FITS file: J1935-1602_S_2007_01_11_yyk_uve.fits
! AN table 1: 15 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.916667 visibilities/baseline/integration-bin.
! Found source: J1935-1602
! 
! 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 2250 lines of history.
! 
! Reading 1980 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 J1935-1602_S_2007_01_11_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.195048 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.584 mas, bmaj=7.912 mas, bpa=-9.147 degrees
! Estimated noise=1.83954 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, -1).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.111803 Jy
! Component: 100  -  total flux cleaned = 0.158188 Jy
! Total flux subtracted in 100 components = 0.158188 Jy
! Clean residual min=-0.016703 max=0.028364 Jy/beam
! Clean residual mean=0.000118 rms=0.005843 Jy/beam
! Combined flux in latest and established models = 0.158188 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 51 model components to the UV plane model.
! The established model now contains 51 components and 0.158188 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 21 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.111185Jy  sigma=1.647164
! Fit after  self-cal, rms=0.109968Jy  sigma=1.622456
! Inverting map and beam 
! Estimated beam: bmin=2.584 mas, bmaj=7.914 mas, bpa=-9.179 degrees
! Estimated noise=1.83802 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.903 mas, bmaj=12 mas, bpa=-10.17 degrees
! Estimated noise=1.11435 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.0451556 Jy
! Component: 100  -  total flux cleaned = 0.0637921 Jy
! Component: 150  -  total flux cleaned = 0.0704354 Jy
! Component: 200  -  total flux cleaned = 0.0721044 Jy
! Total flux subtracted in 200 components = 0.0721044 Jy
! Clean residual min=-0.012864 max=0.034696 Jy/beam
! Clean residual mean=0.000322 rms=0.006714 Jy/beam
! Combined flux in latest and established models = 0.230292 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 76 components and 0.230292 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098107Jy  sigma=1.402094
! Fit after  self-cal, rms=0.098118Jy  sigma=1.401023
! 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.903 x 12 at -10.17 degrees (North through East)
! Clean map  min=-0.01332  max=0.1452 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.098118Jy  sigma=1.401023
! Fit after  self-cal, rms=0.098118Jy  sigma=1.401023
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.098118Jy  sigma=1.401023
! Fit after  self-cal, rms=0.098135Jy  sigma=1.400942
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.903 mas, bmaj=12 mas, bpa=-10.17 degrees
! Estimated noise=1.11435 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 (-10.5, 1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0338163 Jy
! Component: 100  -  total flux cleaned = 0.0390971 Jy
! Component: 150  -  total flux cleaned = 0.040689 Jy
! Component: 200  -  total flux cleaned = 0.0413653 Jy
! Total flux subtracted in 200 components = 0.0413653 Jy
! Clean residual min=-0.008617 max=0.019295 Jy/beam
! Clean residual mean=0.000062 rms=0.003987 Jy/beam
! Combined flux in latest and established models = 0.271657 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 106 components and 0.271657 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090323Jy  sigma=1.241823
! Fit after  self-cal, rms=0.089418Jy  sigma=1.225043
! 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.089418Jy  sigma=1.225043
! Fit after  self-cal, rms=0.079384Jy  sigma=1.067212
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.0120693 Jy
! Component: 100  -  total flux cleaned = 0.0129076 Jy
! Component: 150  -  total flux cleaned = 0.0124615 Jy
! Component: 200  -  total flux cleaned = 0.0120752 Jy
! Total flux subtracted in 200 components = 0.0120752 Jy
! Clean residual min=-0.006909 max=0.014364 Jy/beam
! Clean residual mean=0.000007 rms=0.002916 Jy/beam
! Combined flux in latest and established models = 0.283733 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 132 components and 0.283733 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077097Jy  sigma=1.032644
! Fit after  self-cal, rms=0.076209Jy  sigma=1.018249
! 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.903 x 12 at -10.17 degrees (North through East)
! Clean map  min=-0.0081363  max=0.14977 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.076209Jy  sigma=1.018249
! Fit after  self-cal, rms=0.073081Jy  sigma=0.986718
! 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.073081Jy  sigma=0.986718
! Fit after  self-cal, rms=0.073028Jy  sigma=0.985846
! Inverting map and beam 
! Estimated beam: bmin=3.865 mas, bmaj=11.88 mas, bpa=-10.15 degrees
! Estimated noise=1.10068 mJy/beam.
! Added new window around map position (15, 10).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0108056 Jy
! Component: 100  -  total flux cleaned = 0.0146953 Jy
! Component: 150  -  total flux cleaned = 0.01605 Jy
! Component: 200  -  total flux cleaned = 0.0167274 Jy
! Total flux subtracted in 200 components = 0.0167274 Jy
! Clean residual min=-0.004070 max=0.004246 Jy/beam
! Clean residual mean=-0.000047 rms=0.001375 Jy/beam
! Combined flux in latest and established models = 0.30046 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 162 components and 0.30046 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071472Jy  sigma=0.958391
! Fit after  self-cal, rms=0.071402Jy  sigma=0.957284
! 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.071402Jy  sigma=0.957284
! Fit after  self-cal, rms=0.070623Jy  sigma=0.945572
! 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.070623Jy  sigma=0.945572
! Fit after  self-cal, rms=0.070634Jy  sigma=0.945435
! Inverting map and beam 
! Estimated beam: bmin=3.811 mas, bmaj=11.78 mas, bpa=-10.08 degrees
! Estimated noise=1.08514 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 8.78699e-05 Jy
! Component: 100  -  total flux cleaned = -0.000936636 Jy
! Component: 150  -  total flux cleaned = -0.0016361 Jy
! Component: 200  -  total flux cleaned = -0.00218245 Jy
! Total flux subtracted in 200 components = -0.00218245 Jy
! Clean residual min=-0.003421 max=0.003514 Jy/beam
! Clean residual mean=-0.000073 rms=0.001162 Jy/beam
! Combined flux in latest and established models = 0.298278 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 174 components and 0.298278 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070319Jy  sigma=0.940682
! Fit after  self-cal, rms=0.070317Jy  sigma=0.940576
! 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=8.983 mas, bmaj=18.92 mas, bpa=9.913 degrees
! Estimated noise=1.27494 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.00184605 Jy
! Component: 100  -  total flux cleaned = -0.00261171 Jy
! Component: 150  -  total flux cleaned = -0.00321552 Jy
! Component: 200  -  total flux cleaned = -0.00388342 Jy
! Total flux subtracted in 200 components = -0.00388342 Jy
! Clean residual min=-0.003358 max=0.003991 Jy/beam
! Clean residual mean=-0.000096 rms=0.001283 Jy/beam
! Combined flux in latest and established models = 0.294394 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 208 components and 0.294394 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070275Jy  sigma=0.939467
! Fit after  self-cal, rms=0.070274Jy  sigma=0.939349
! 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.575 mas, bmaj=7.865 mas, bpa=-9.083 degrees
! Estimated noise=1.76124 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.117159 Jy
! Component: 100  -  total flux cleaned = 0.170804 Jy
! Component: 150  -  total flux cleaned = 0.20165 Jy
! Component: 200  -  total flux cleaned = 0.221902 Jy
! Total flux subtracted in 200 components = 0.221902 Jy
! Clean residual min=-0.009080 max=0.012347 Jy/beam
! Clean residual mean=0.000058 rms=0.002813 Jy/beam
! Combined flux in latest and established models = 0.221902 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 60 model components to the UV plane model.
! The established model now contains 60 components and 0.221902 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.811 mas, bmaj=11.78 mas, bpa=-10.08 degrees
! Estimated noise=1.08514 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.0257686 Jy
! Component: 100  -  total flux cleaned = 0.0408124 Jy
! Component: 150  -  total flux cleaned = 0.0509227 Jy
! Component: 200  -  total flux cleaned = 0.0581944 Jy
! Total flux subtracted in 200 components = 0.0581944 Jy
! Clean residual min=-0.004604 max=0.005973 Jy/beam
! Clean residual mean=-0.000012 rms=0.001625 Jy/beam
! Combined flux in latest and established models = 0.280097 Jy
! Adding 80 model components to the UV plane model.
! The established model now contains 133 components and 0.280097 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=8.983 mas, bmaj=18.92 mas, bpa=9.913 degrees
! Estimated noise=1.27494 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.00772074 Jy
! Component: 100  -  total flux cleaned = 0.0109452 Jy
! Component: 150  -  total flux cleaned = 0.0113434 Jy
! Component: 200  -  total flux cleaned = 0.0113511 Jy
! Total flux subtracted in 200 components = 0.0113511 Jy
! Clean residual min=-0.003637 max=0.003872 Jy/beam
! Clean residual mean=-0.000084 rms=0.001223 Jy/beam
! Combined flux in latest and established models = 0.291448 Jy
! Adding 49 model components to the UV plane model.
! The established model now contains 170 components and 0.291448 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.811 mas, bmaj=11.78 mas, bpa=-10.08 degrees
! Estimated noise=1.08514 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000857577 Jy
! Component: 100  -  total flux cleaned = 0.00169273 Jy
! Component: 150  -  total flux cleaned = 0.0019649 Jy
! Component: 200  -  total flux cleaned = 0.00203958 Jy
! Total flux subtracted in 200 components = 0.00203958 Jy
! Clean residual min=-0.003329 max=0.003103 Jy/beam
! Clean residual mean=-0.000060 rms=0.001009 Jy/beam
! Combined flux in latest and established models = 0.293488 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 205 components and 0.293488 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070177Jy  sigma=0.936485
! Fit after  self-cal, rms=0.070122Jy  sigma=0.934986
wmodel J1935-1602_S_2007_01_11_yyk\_map.mod
! Writing 205 model components to file: J1935-1602_S_2007_01_11_yyk_map.mod
wobs J1935-1602_S_2007_01_11_yyk\_uvs.fits
! Writing UV FITS file: J1935-1602_S_2007_01_11_yyk_uvs.fits
wwins J1935-1602_S_2007_01_11_yyk\_map.win
! wwins: Wrote 3 windows to J1935-1602_S_2007_01_11_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000285719 Jy
! Component: 100  -  total flux cleaned = -0.000180737 Jy
! Component: 150  -  total flux cleaned = -0.000277392 Jy
! Component: 200  -  total flux cleaned = -0.000507995 Jy
! Component: 250  -  total flux cleaned = -0.000596673 Jy
! Component: 300  -  total flux cleaned = -0.000681647 Jy
! Component: 350  -  total flux cleaned = -0.000803886 Jy
! Component: 400  -  total flux cleaned = -0.000844563 Jy
! Component: 450  -  total flux cleaned = -0.000882984 Jy
! Component: 500  -  total flux cleaned = -0.000772665 Jy
! Component: 550  -  total flux cleaned = -0.000737038 Jy
! Component: 600  -  total flux cleaned = -0.000563864 Jy
! Component: 650  -  total flux cleaned = -0.000496024 Jy
! Component: 700  -  total flux cleaned = -0.000395876 Jy
! Component: 750  -  total flux cleaned = -0.000201733 Jy
! Component: 800  -  total flux cleaned = -7.57879e-05 Jy
! Component: 850  -  total flux cleaned = 1.68627e-05 Jy
! Component: 900  -  total flux cleaned = 4.70247e-05 Jy
! Component: 950  -  total flux cleaned = 0.000166358 Jy
! Component: 1000  -  total flux cleaned = 0.000224624 Jy
! Component: 1050  -  total flux cleaned = 0.000195855 Jy
! Component: 1100  -  total flux cleaned = 0.000139882 Jy
! Component: 1150  -  total flux cleaned = 8.47788e-05 Jy
! Component: 1200  -  total flux cleaned = -2.36262e-05 Jy
! Component: 1250  -  total flux cleaned = -0.000130708 Jy
! Component: 1300  -  total flux cleaned = -0.000288337 Jy
! Component: 1350  -  total flux cleaned = -0.000366209 Jy
! Component: 1400  -  total flux cleaned = -0.000570446 Jy
! Component: 1450  -  total flux cleaned = -0.000645766 Jy
! Component: 1500  -  total flux cleaned = -0.000770102 Jy
! Component: 1550  -  total flux cleaned = -0.000917212 Jy
! Component: 1600  -  total flux cleaned = -0.000989694 Jy
! Component: 1650  -  total flux cleaned = -0.00106113 Jy
! Component: 1700  -  total flux cleaned = -0.00110832 Jy
! Component: 1750  -  total flux cleaned = -0.00122551 Jy
! Component: 1800  -  total flux cleaned = -0.0013641 Jy
! Component: 1850  -  total flux cleaned = -0.00143252 Jy
! Component: 1900  -  total flux cleaned = -0.00145511 Jy
! Component: 1950  -  total flux cleaned = -0.00158933 Jy
! Component: 2000  -  total flux cleaned = -0.00170018 Jy
! Total flux subtracted in 2048 components = -0.00174415 Jy
! Clean residual min=-0.001243 max=0.001204 Jy/beam
! Clean residual mean=-0.000049 rms=0.000458 Jy/beam
! Combined flux in latest and established models = 0.291743 Jy
keep
! Adding 134 model components to the UV plane model.
! The established model now contains 339 components and 0.291743 Jy
![Exited script file: muppet]
wmap "J1935-1602_S_2007_01_11_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.811 x 11.78 at -10.08 degrees (North through East)
! Clean map  min=-0.0022613  max=0.13807 Jy/beam
! Writing clean map to FITS file: J1935-1602_S_2007_01_11_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.138075 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000453605 
device "J1935-1602_S_2007_01_11_yyk\_map.eps/VPS"
! Attempting to open device: 'J1935-1602_S_2007_01_11_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.985563 0.985563 1.97113 3.94225 7.8845 15.769 31.538 63.076
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.138 
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.811 x 11.78 at -10.08 degrees (North through East)
! Clean map  min=-0.0022613  max=0.13807 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1935-1602_S_2007_01_11_yyk\_map.gif/gif"
! Attempting to open device: 'J1935-1602_S_2007_01_11_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1935-1602_S_2007_01_11_yyk_uvs.log closed on Wed Apr  9 20:41:38 2008