! Started logfile: J1924+1540_S_1996_01_02_yyk_uvs.log on Sun Jan  7 19:38:08 2007
obs J1924+1540_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1924+1540_S_1996_01_02_yyk_uva.fits
! AN table 1: 122 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.90674 visibilities/baseline/integration-bin.
! Found source: J1924+1540
! 
! 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.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 623 lines of history.
! 
! Reading 19912 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 J1924+1540_S_1996_01_02_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.510428 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.713 mas, bmaj=6.632 mas, bpa=-3.793 degrees
! Estimated noise=1889.08 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.14364 Jy
! Component: 100  -  total flux cleaned = 0.202836 Jy
! Total flux subtracted in 100 components = 0.202836 Jy
! Clean residual min=-0.022491 max=0.032876 Jy/beam
! Clean residual mean=0.000006 rms=0.006652 Jy/beam
! Combined flux in latest and established models = 0.202836 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 32 components and 0.202836 Jy
! 
! Correcting IF 1.
!  A total of 75 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 75 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 75 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 75 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.472379Jy  sigma=0.002042
! Fit after  self-cal, rms=0.471652Jy  sigma=0.002039
! Inverting map and beam 
! Estimated beam: bmin=2.713 mas, bmaj=6.632 mas, bpa=-3.792 degrees
! Estimated noise=1896.85 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.344 mas, bmaj=8.504 mas, bpa=-7.044 degrees
! Estimated noise=1088.43 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.0605618 Jy
! Component: 100  -  total flux cleaned = 0.0902287 Jy
! Component: 150  -  total flux cleaned = 0.105967 Jy
! Component: 200  -  total flux cleaned = 0.114523 Jy
! Total flux subtracted in 200 components = 0.114523 Jy
! Clean residual min=-0.021665 max=0.023213 Jy/beam
! Clean residual mean=0.000091 rms=0.006460 Jy/beam
! Combined flux in latest and established models = 0.317359 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 66 components and 0.317359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.467024Jy  sigma=0.002012
! Fit after  self-cal, rms=0.466684Jy  sigma=0.002011
! 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.344 x 8.504 at -7.044 degrees (North through East)
! Clean map  min=-0.023696  max=0.16124 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.
!  A total of 3 telescope corrections were flagged in sub-array 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.
!  A total of 3 telescope corrections were flagged in sub-array 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 3.
!  A total of 3 telescope corrections were flagged in sub-array 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 4.
!  A total of 3 telescope corrections were flagged in sub-array 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*    
! 
! 
! Fit before self-cal, rms=0.466684Jy  sigma=0.002011
! Fit after  self-cal, rms=0.466690Jy  sigma=0.002012
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.466690Jy  sigma=0.002012
! Fit after  self-cal, rms=0.466689Jy  sigma=0.002012
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.347 mas, bmaj=8.505 mas, bpa=-7.068 degrees
! Estimated noise=1088.71 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.00531724 Jy
! Component: 100  -  total flux cleaned = 0.0070212 Jy
! Component: 150  -  total flux cleaned = 0.00864384 Jy
! Component: 200  -  total flux cleaned = 0.00983812 Jy
! Total flux subtracted in 200 components = 0.00983812 Jy
! Clean residual min=-0.023913 max=0.021410 Jy/beam
! Clean residual mean=0.000080 rms=0.006355 Jy/beam
! Combined flux in latest and established models = 0.327198 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 67 components and 0.327198 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.466479Jy  sigma=0.002011
! Fit after  self-cal, rms=0.466440Jy  sigma=0.002011
! 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.466440Jy  sigma=0.002011
! Fit after  self-cal, rms=0.464915Jy  sigma=0.002004
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.00704258 Jy
! Component: 100  -  total flux cleaned = 0.00828295 Jy
! Component: 150  -  total flux cleaned = 0.00881145 Jy
! Component: 200  -  total flux cleaned = 0.00912475 Jy
! Total flux subtracted in 200 components = 0.00912475 Jy
! Clean residual min=-0.024371 max=0.022938 Jy/beam
! Clean residual mean=0.000057 rms=0.006303 Jy/beam
! Combined flux in latest and established models = 0.336322 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 72 components and 0.336322 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.464779Jy  sigma=0.002003
! Fit after  self-cal, rms=0.463873Jy  sigma=0.001998
! 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.347 x 8.505 at -7.068 degrees (North through East)
! Clean map  min=-0.023816  max=0.15987 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.463873Jy  sigma=0.001998
! Fit after  self-cal, rms=0.463873Jy  sigma=0.001998
! 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.463873Jy  sigma=0.001998
! Fit after  self-cal, rms=0.463636Jy  sigma=0.001997
! Inverting map and beam 
! Estimated beam: bmin=3.347 mas, bmaj=8.505 mas, bpa=-7.068 degrees
! Estimated noise=1088.71 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00303647 Jy
! Component: 100  -  total flux cleaned = 0.00334256 Jy
! Component: 150  -  total flux cleaned = 0.00361219 Jy
! Component: 200  -  total flux cleaned = 0.00397498 Jy
! Total flux subtracted in 200 components = 0.00397498 Jy
! Clean residual min=-0.023080 max=0.022930 Jy/beam
! Clean residual mean=0.000047 rms=0.006170 Jy/beam
! Combined flux in latest and established models = 0.340297 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 73 components and 0.340297 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.463553Jy  sigma=0.001997
! Fit after  self-cal, rms=0.463121Jy  sigma=0.001995
! 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.463121Jy  sigma=0.001995
! Fit after  self-cal, rms=0.463121Jy  sigma=0.001995
! 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.463121Jy  sigma=0.001995
! Fit after  self-cal, rms=0.462793Jy  sigma=0.001993
! Inverting map and beam 
! Estimated beam: bmin=3.347 mas, bmaj=8.505 mas, bpa=-7.068 degrees
! Estimated noise=1088.71 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00207591 Jy
! Component: 100  -  total flux cleaned = 0.00218523 Jy
! Component: 150  -  total flux cleaned = 0.00236411 Jy
! Component: 200  -  total flux cleaned = 0.00260755 Jy
! Total flux subtracted in 200 components = 0.00260755 Jy
! Clean residual min=-0.022172 max=0.022486 Jy/beam
! Clean residual mean=0.000035 rms=0.006063 Jy/beam
! Combined flux in latest and established models = 0.342905 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 76 components and 0.342905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462756Jy  sigma=0.001993
! Fit after  self-cal, rms=0.462486Jy  sigma=0.001992
! 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.442 mas, bmaj=11.72 mas, bpa=-8.906 degrees
! Estimated noise=1363.73 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.00465202 Jy
! Component: 100  -  total flux cleaned = 0.00466547 Jy
! Component: 150  -  total flux cleaned = 0.00457281 Jy
! Component: 200  -  total flux cleaned = 0.00457239 Jy
! Total flux subtracted in 200 components = 0.00457239 Jy
! Clean residual min=-0.032136 max=0.036946 Jy/beam
! Clean residual mean=0.000012 rms=0.009675 Jy/beam
! Combined flux in latest and established models = 0.347477 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 77 components and 0.347477 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462508Jy  sigma=0.001992
! Fit after  self-cal, rms=0.462296Jy  sigma=0.001991
! 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.713 mas, bmaj=6.632 mas, bpa=-3.792 degrees
! Estimated noise=1897.4 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.155734 Jy
! Component: 100  -  total flux cleaned = 0.222845 Jy
! Component: 150  -  total flux cleaned = 0.2621 Jy
! Component: 200  -  total flux cleaned = 0.285987 Jy
! Total flux subtracted in 200 components = 0.285987 Jy
! Clean residual min=-0.018099 max=0.021404 Jy/beam
! Clean residual mean=-0.000005 rms=0.005595 Jy/beam
! Combined flux in latest and established models = 0.285987 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 38 model components to the UV plane model.
! The established model now contains 38 components and 0.285987 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.347 mas, bmaj=8.505 mas, bpa=-7.068 degrees
! Estimated noise=1088.71 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.0284912 Jy
! Component: 100  -  total flux cleaned = 0.0430027 Jy
! Component: 150  -  total flux cleaned = 0.0506808 Jy
! Component: 200  -  total flux cleaned = 0.0540481 Jy
! Total flux subtracted in 200 components = 0.0540481 Jy
! Clean residual min=-0.021940 max=0.022324 Jy/beam
! Clean residual mean=0.000038 rms=0.006069 Jy/beam
! Combined flux in latest and established models = 0.340035 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 53 components and 0.340035 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.442 mas, bmaj=11.72 mas, bpa=-8.906 degrees
! Estimated noise=1363.73 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.00660342 Jy
! Component: 100  -  total flux cleaned = 0.00671816 Jy
! Component: 150  -  total flux cleaned = 0.00660023 Jy
! Component: 200  -  total flux cleaned = 0.00659367 Jy
! Total flux subtracted in 200 components = 0.00659367 Jy
! Clean residual min=-0.032411 max=0.036766 Jy/beam
! Clean residual mean=0.000015 rms=0.009651 Jy/beam
! Combined flux in latest and established models = 0.346629 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 60 components and 0.346629 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.347 mas, bmaj=8.505 mas, bpa=-7.068 degrees
! Estimated noise=1088.71 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00594914 Jy
! Component: 100  -  total flux cleaned = -0.0050389 Jy
! Component: 150  -  total flux cleaned = -0.00424263 Jy
! Component: 200  -  total flux cleaned = -0.00398742 Jy
! Total flux subtracted in 200 components = -0.00398742 Jy
! Clean residual min=-0.021688 max=0.022177 Jy/beam
! Clean residual mean=0.000033 rms=0.006042 Jy/beam
! Combined flux in latest and established models = 0.342641 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 64 components and 0.342641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462339Jy  sigma=0.001991
! Fit after  self-cal, rms=0.462175Jy  sigma=0.001990
wmodel J1924+1540_S_1996_01_02_yyk\_map.mod
! Writing 64 model components to file: J1924+1540_S_1996_01_02_yyk_map.mod
wobs J1924+1540_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1924+1540_S_1996_01_02_yyk_uvs.fits
wwins J1924+1540_S_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J1924+1540_S_1996_01_02_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 = 6.76282e-05 Jy
! Component: 100  -  total flux cleaned = -0.00138966 Jy
! Component: 150  -  total flux cleaned = -0.0017045 Jy
! Component: 200  -  total flux cleaned = 0.000745996 Jy
! Component: 250  -  total flux cleaned = 0.00250138 Jy
! Component: 300  -  total flux cleaned = 0.00419192 Jy
! Component: 350  -  total flux cleaned = 0.00610005 Jy
! Component: 400  -  total flux cleaned = 0.00742423 Jy
! Component: 450  -  total flux cleaned = 0.00870843 Jy
! Component: 500  -  total flux cleaned = 0.0102053 Jy
! Component: 550  -  total flux cleaned = 0.0109324 Jy
! Component: 600  -  total flux cleaned = 0.0114042 Jy
! Component: 650  -  total flux cleaned = 0.011632 Jy
! Component: 700  -  total flux cleaned = 0.0118555 Jy
! Component: 750  -  total flux cleaned = 0.0120742 Jy
! Component: 800  -  total flux cleaned = 0.0122903 Jy
! Component: 850  -  total flux cleaned = 0.0127119 Jy
! Component: 900  -  total flux cleaned = 0.0127129 Jy
! Component: 950  -  total flux cleaned = 0.0133144 Jy
! Component: 1000  -  total flux cleaned = 0.0131188 Jy
! Component: 1050  -  total flux cleaned = 0.0129262 Jy
! Component: 1100  -  total flux cleaned = 0.0127425 Jy
! Component: 1150  -  total flux cleaned = 0.0132948 Jy
! Component: 1200  -  total flux cleaned = 0.0129279 Jy
! Component: 1250  -  total flux cleaned = 0.0129314 Jy
! Component: 1300  -  total flux cleaned = 0.0132797 Jy
! Component: 1350  -  total flux cleaned = 0.0132786 Jy
! Component: 1400  -  total flux cleaned = 0.0129408 Jy
! Component: 1450  -  total flux cleaned = 0.0127752 Jy
! Component: 1500  -  total flux cleaned = 0.0127747 Jy
! Component: 1550  -  total flux cleaned = 0.0129347 Jy
! Component: 1600  -  total flux cleaned = 0.0127755 Jy
! Component: 1650  -  total flux cleaned = 0.0127765 Jy
! Component: 1700  -  total flux cleaned = 0.0129303 Jy
! Component: 1750  -  total flux cleaned = 0.0132342 Jy
! Component: 1800  -  total flux cleaned = 0.0130857 Jy
! Component: 1850  -  total flux cleaned = 0.0133803 Jy
! Component: 1900  -  total flux cleaned = 0.0138165 Jy
! Component: 1950  -  total flux cleaned = 0.0136737 Jy
! Component: 2000  -  total flux cleaned = 0.0139568 Jy
! Total flux subtracted in 2048 components = 0.0145168 Jy
! Clean residual min=-0.006934 max=0.007173 Jy/beam
! Clean residual mean=0.000068 rms=0.003127 Jy/beam
! Combined flux in latest and established models = 0.357158 Jy
keep
! Adding 186 model components to the UV plane model.
! The established model now contains 250 components and 0.357158 Jy
![Exited script file: muppet]
wmap "J1924+1540_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.347 x 8.505 at -7.068 degrees (North through East)
! Clean map  min=-0.018333  max=0.16274 Jy/beam
! Writing clean map to FITS file: J1924+1540_S_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.162739 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00314459 
device "J1924+1540_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1924+1540_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -5.79688 5.79688 11.5938 23.1875 46.375 92.75
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0094 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.162 
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.347 x 8.505 at -7.068 degrees (North through East)
! Clean map  min=-0.018333  max=0.16274 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924+1540_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1924+1540_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1924+1540_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 19:38:16 2007