! Started logfile: J1923+4754_S_1996_08_10_yyk_uvs.log on Sun Jan  7 19:38:02 2007
obs J1923+4754_S_1996_08_10_yyk_uva.fits
! Reading UV FITS file: J1923+4754_S_1996_08_10_yyk_uva.fits
! AN table 1: 149 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.573005 visibilities/baseline/integration-bin.
! Found source: J1923+4754
! 
! 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        8e+06          1        8e+06
!  02        2  2.23424e+09        8e+06          1        8e+06
!  03        3  2.29424e+09        8e+06          1        8e+06
!  04        4  2.32424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 629 lines of history.
! 
! Reading 15368 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 J1923+4754_S_1996_08_10_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.369851 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=3.163 mas, bmaj=7.107 mas, bpa=9.831 degrees
! Estimated noise=1887.17 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.225027 Jy
! Component: 100  -  total flux cleaned = 0.278137 Jy
! Total flux subtracted in 100 components = 0.278137 Jy
! Clean residual min=-0.011728 max=0.015662 Jy/beam
! Clean residual mean=0.000054 rms=0.003905 Jy/beam
! Combined flux in latest and established models = 0.278136 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.278136 Jy
! 
! Correcting IF 1.
!  A total of 367 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 368 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 368 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 367 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.255534Jy  sigma=0.001218
! Fit after  self-cal, rms=0.255360Jy  sigma=0.001217
! Inverting map and beam 
! Estimated beam: bmin=3.163 mas, bmaj=7.107 mas, bpa=9.831 degrees
! Estimated noise=1890.65 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.708 mas, bmaj=7.684 mas, bpa=7.208 degrees
! Estimated noise=1054.46 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.0154175 Jy
! Component: 100  -  total flux cleaned = 0.020406 Jy
! Component: 150  -  total flux cleaned = 0.0218895 Jy
! Component: 200  -  total flux cleaned = 0.0224508 Jy
! Total flux subtracted in 200 components = 0.0224508 Jy
! Clean residual min=-0.009497 max=0.010411 Jy/beam
! Clean residual mean=0.000058 rms=0.002697 Jy/beam
! Combined flux in latest and established models = 0.300587 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 20 components and 0.300587 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254335Jy  sigma=0.001214
! Fit after  self-cal, rms=0.254318Jy  sigma=0.001213
! 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.708 x 7.684 at 7.208 degrees (North through East)
! Clean map  min=-0.0087644  max=0.25427 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
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.02533
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.13     HN        0.97     KP        1.00*    
!   LA        0.92     MK        1.00     NL        0.89     OV        1.08     
!   PT        0.99     SC        0.83     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.979646
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.22     HN        1.12     KP        1.00*    
!   LA        1.01     MK        1.05     NL        0.95     OV        1.03     
!   PT        0.93     SC        0.88     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.04427
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.11     HN        0.91     KP        1.00*    
!   LA        0.76     MK        0.85     NL        0.93     OV        0.94     
!   PT        1.12     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: 0.991555
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.13     HN        1.05     KP        1.00*    
!   LA        0.88     MK        1.07     NL        1.05     OV        0.92     
!   PT        1.01     SC        0.97     
! 
! 
! Fit before self-cal, rms=0.254318Jy  sigma=0.001213
! Fit after  self-cal, rms=0.243958Jy  sigma=0.001201
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.243958Jy  sigma=0.001201
! Fit after  self-cal, rms=0.243961Jy  sigma=0.001201
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.641 mas, bmaj=7.826 mas, bpa=8.272 degrees
! Estimated noise=1064.38 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.00230848 Jy
! Component: 100  -  total flux cleaned = 0.00289193 Jy
! Component: 150  -  total flux cleaned = 0.0030608 Jy
! Component: 200  -  total flux cleaned = 0.00337409 Jy
! Total flux subtracted in 200 components = 0.00337409 Jy
! Clean residual min=-0.004295 max=0.004537 Jy/beam
! Clean residual mean=-0.000011 rms=0.001201 Jy/beam
! Combined flux in latest and established models = 0.303961 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 40 components and 0.303961 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.243871Jy  sigma=0.001201
! Fit after  self-cal, rms=0.243863Jy  sigma=0.001201
! 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.243863Jy  sigma=0.001201
! Fit after  self-cal, rms=0.241799Jy  sigma=0.001194
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.000387865 Jy
! Component: 100  -  total flux cleaned = 0.000832398 Jy
! Component: 150  -  total flux cleaned = 0.000994325 Jy
! Component: 200  -  total flux cleaned = 0.00113665 Jy
! Total flux subtracted in 200 components = 0.00113665 Jy
! Clean residual min=-0.004350 max=0.004586 Jy/beam
! Clean residual mean=-0.000013 rms=0.001189 Jy/beam
! Combined flux in latest and established models = 0.305098 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 47 components and 0.305098 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.241774Jy  sigma=0.001194
! Fit after  self-cal, rms=0.241535Jy  sigma=0.001193
! 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.641 x 7.826 at 8.272 degrees (North through East)
! Clean map  min=-0.0042206  max=0.26024 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.241535Jy  sigma=0.001193
! Fit after  self-cal, rms=0.240152Jy  sigma=0.001190
! 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.240152Jy  sigma=0.001190
! Fit after  self-cal, rms=0.240117Jy  sigma=0.001190
! Inverting map and beam 
! Estimated beam: bmin=3.62 mas, bmaj=7.795 mas, bpa=8.507 degrees
! Estimated noise=1060.58 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00065979 Jy
! Component: 100  -  total flux cleaned = 0.000904778 Jy
! Component: 150  -  total flux cleaned = 0.00101506 Jy
! Component: 200  -  total flux cleaned = 0.0011185 Jy
! Total flux subtracted in 200 components = 0.0011185 Jy
! Clean residual min=-0.004056 max=0.004262 Jy/beam
! Clean residual mean=-0.000012 rms=0.001094 Jy/beam
! Combined flux in latest and established models = 0.306217 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 54 components and 0.306217 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.240103Jy  sigma=0.001190
! Fit after  self-cal, rms=0.240067Jy  sigma=0.001190
! 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.240067Jy  sigma=0.001190
! Fit after  self-cal, rms=0.356030Jy  sigma=0.001186
! 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.356030Jy  sigma=0.001186
! Fit after  self-cal, rms=0.356056Jy  sigma=0.001186
! Inverting map and beam 
! Estimated beam: bmin=3.621 mas, bmaj=7.802 mas, bpa=8.339 degrees
! Estimated noise=1063.43 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00155564 Jy
! Component: 100  -  total flux cleaned = 0.00177458 Jy
! Component: 150  -  total flux cleaned = 0.00185312 Jy
! Component: 200  -  total flux cleaned = 0.00196064 Jy
! Total flux subtracted in 200 components = 0.00196064 Jy
! Clean residual min=-0.003930 max=0.004025 Jy/beam
! Clean residual mean=-0.000012 rms=0.001084 Jy/beam
! Combined flux in latest and established models = 0.308177 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 62 components and 0.308177 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356049Jy  sigma=0.001186
! Fit after  self-cal, rms=0.356104Jy  sigma=0.001186
! 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=6.976 mas, bmaj=9.066 mas, bpa=1.062 degrees
! Estimated noise=1301.11 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.000801018 Jy
! Component: 100  -  total flux cleaned = -0.000679989 Jy
! Component: 150  -  total flux cleaned = -0.000678384 Jy
! Component: 200  -  total flux cleaned = -0.00067822 Jy
! Total flux subtracted in 200 components = -0.00067822 Jy
! Clean residual min=-0.003735 max=0.005079 Jy/beam
! Clean residual mean=-0.000024 rms=0.001359 Jy/beam
! Combined flux in latest and established models = 0.307499 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 68 components and 0.307499 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356102Jy  sigma=0.001186
! Fit after  self-cal, rms=0.356051Jy  sigma=0.001186
! 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=3.118 mas, bmaj=7.203 mas, bpa=10.53 degrees
! Estimated noise=1882.27 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.225329 Jy
! Component: 100  -  total flux cleaned = 0.276768 Jy
! Component: 150  -  total flux cleaned = 0.296522 Jy
! Component: 200  -  total flux cleaned = 0.303205 Jy
! Total flux subtracted in 200 components = 0.303205 Jy
! Clean residual min=-0.006498 max=0.006426 Jy/beam
! Clean residual mean=-0.000005 rms=0.001778 Jy/beam
! Combined flux in latest and established models = 0.303204 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 22 model components to the UV plane model.
! The established model now contains 22 components and 0.303204 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.621 mas, bmaj=7.802 mas, bpa=8.339 degrees
! Estimated noise=1063.43 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.00416103 Jy
! Component: 100  -  total flux cleaned = 0.00503659 Jy
! Component: 150  -  total flux cleaned = 0.0054768 Jy
! Component: 200  -  total flux cleaned = 0.0058517 Jy
! Total flux subtracted in 200 components = 0.0058517 Jy
! Clean residual min=-0.004275 max=0.004190 Jy/beam
! Clean residual mean=-0.000013 rms=0.001128 Jy/beam
! Combined flux in latest and established models = 0.309056 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 35 components and 0.309056 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=6.976 mas, bmaj=9.066 mas, bpa=1.062 degrees
! Estimated noise=1301.11 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.00104894 Jy
! Component: 100  -  total flux cleaned = -0.000860669 Jy
! Component: 150  -  total flux cleaned = -0.000824051 Jy
! Component: 200  -  total flux cleaned = -0.000857373 Jy
! Total flux subtracted in 200 components = -0.000857373 Jy
! Clean residual min=-0.003625 max=0.005287 Jy/beam
! Clean residual mean=-0.000026 rms=0.001370 Jy/beam
! Combined flux in latest and established models = 0.308199 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 43 components and 0.308199 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.621 mas, bmaj=7.802 mas, bpa=8.339 degrees
! Estimated noise=1063.43 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000572791 Jy
! Component: 100  -  total flux cleaned = 0.00069309 Jy
! Component: 150  -  total flux cleaned = 0.000907388 Jy
! Component: 200  -  total flux cleaned = 0.000956507 Jy
! Total flux subtracted in 200 components = 0.000956507 Jy
! Clean residual min=-0.003709 max=0.004028 Jy/beam
! Clean residual mean=-0.000014 rms=0.001088 Jy/beam
! Combined flux in latest and established models = 0.309155 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 50 components and 0.309155 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356062Jy  sigma=0.001186
! Fit after  self-cal, rms=0.356109Jy  sigma=0.001186
wmodel J1923+4754_S_1996_08_10_yyk\_map.mod
! Writing 50 model components to file: J1923+4754_S_1996_08_10_yyk_map.mod
wobs J1923+4754_S_1996_08_10_yyk\_uvs.fits
! Writing UV FITS file: J1923+4754_S_1996_08_10_yyk_uvs.fits
wwins J1923+4754_S_1996_08_10_yyk\_map.win
! wwins: Wrote 1 windows to J1923+4754_S_1996_08_10_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.000880326 Jy
! Component: 100  -  total flux cleaned = 0.00113965 Jy
! Component: 150  -  total flux cleaned = 0.00126082 Jy
! Component: 200  -  total flux cleaned = 0.00143048 Jy
! Component: 250  -  total flux cleaned = 0.00164844 Jy
! Component: 300  -  total flux cleaned = 0.0017517 Jy
! Component: 350  -  total flux cleaned = 0.00180078 Jy
! Component: 400  -  total flux cleaned = 0.00184825 Jy
! Component: 450  -  total flux cleaned = 0.00180048 Jy
! Component: 500  -  total flux cleaned = 0.00162088 Jy
! Component: 550  -  total flux cleaned = 0.00166551 Jy
! Component: 600  -  total flux cleaned = 0.00153663 Jy
! Component: 650  -  total flux cleaned = 0.001413 Jy
! Component: 700  -  total flux cleaned = 0.00133317 Jy
! Component: 750  -  total flux cleaned = 0.00133337 Jy
! Component: 800  -  total flux cleaned = 0.00125681 Jy
! Component: 850  -  total flux cleaned = 0.00121884 Jy
! Component: 900  -  total flux cleaned = 0.00118116 Jy
! Component: 950  -  total flux cleaned = 0.00103892 Jy
! Component: 1000  -  total flux cleaned = 0.00107374 Jy
! Component: 1050  -  total flux cleaned = 0.00103919 Jy
! Component: 1100  -  total flux cleaned = 0.000972573 Jy
! Component: 1150  -  total flux cleaned = 0.000973511 Jy
! Component: 1200  -  total flux cleaned = 0.00103756 Jy
! Component: 1250  -  total flux cleaned = 0.00106897 Jy
! Component: 1300  -  total flux cleaned = 0.00109951 Jy
! Component: 1350  -  total flux cleaned = 0.00109974 Jy
! Component: 1400  -  total flux cleaned = 0.00112989 Jy
! Component: 1450  -  total flux cleaned = 0.000983152 Jy
! Component: 1500  -  total flux cleaned = 0.00101176 Jy
! Component: 1550  -  total flux cleaned = 0.000982657 Jy
! Component: 1600  -  total flux cleaned = 0.000898257 Jy
! Component: 1650  -  total flux cleaned = 0.000898273 Jy
! Component: 1700  -  total flux cleaned = 0.000871051 Jy
! Component: 1750  -  total flux cleaned = 0.000843814 Jy
! Component: 1800  -  total flux cleaned = 0.00087026 Jy
! Component: 1850  -  total flux cleaned = 0.000896289 Jy
! Component: 1900  -  total flux cleaned = 0.000922077 Jy
! Component: 1950  -  total flux cleaned = 0.000972657 Jy
! Component: 2000  -  total flux cleaned = 0.000922731 Jy
! Total flux subtracted in 2048 components = 0.00092298 Jy
! Clean residual min=-0.001373 max=0.001279 Jy/beam
! Clean residual mean=-0.000003 rms=0.000498 Jy/beam
! Combined flux in latest and established models = 0.310078 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 185 components and 0.310078 Jy
![Exited script file: muppet]
wmap "J1923+4754_S_1996_08_10_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.621 x 7.802 at 8.339 degrees (North through East)
! Clean map  min=-0.0032389  max=0.26191 Jy/beam
! Writing clean map to FITS file: J1923+4754_S_1996_08_10_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.261906 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000494346 
device "J1923+4754_S_1996_08_10_yyk\_map.eps/VPS"
! Attempting to open device: 'J1923+4754_S_1996_08_10_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.566248 0.566248 1.1325 2.26499 4.52998 9.05996 18.1199 36.2398 72.4797
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.261 
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.621 x 7.802 at 8.339 degrees (North through East)
! Clean map  min=-0.0032389  max=0.26191 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1923+4754_S_1996_08_10_yyk\_map.gif/gif"
! Attempting to open device: 'J1923+4754_S_1996_08_10_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1923+4754_S_1996_08_10_yyk_uvs.log closed on Sun Jan  7 19:38:08 2007