! Started logfile: J0908+1609_X_1996_01_02_yyk_uvs.log on Mon Jan  8 04:20:47 2007
obs J0908+1609_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J0908+1609_X_1996_01_02_yyk_uva.fits
! AN table 1: 122 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.803825 visibilities/baseline/integration-bin.
! Found source: J0908+1609
! 
! 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  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 627 lines of history.
! 
! Reading 17652 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 J0908+1609_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.344161 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=0.7327 mas, bmaj=1.852 mas, bpa=-4.525 degrees
! Estimated noise=1290.91 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.105349 Jy
! Component: 100  -  total flux cleaned = 0.114984 Jy
! Total flux subtracted in 100 components = 0.114984 Jy
! Clean residual min=-0.014216 max=0.019326 Jy/beam
! Clean residual mean=0.000002 rms=0.003949 Jy/beam
! Combined flux in latest and established models = 0.114984 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.114984 Jy
! 
! Correcting IF 1.
!  A total of 127 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 162 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 145 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 144 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.324788Jy  sigma=0.001820
! Fit after  self-cal, rms=0.323808Jy  sigma=0.001814
! Inverting map and beam 
! Estimated beam: bmin=0.7327 mas, bmaj=1.852 mas, bpa=-4.525 degrees
! Estimated noise=1290.91 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=0.918 mas, bmaj=2.283 mas, bpa=-4.622 degrees
! Estimated noise=786.318 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.0105101 Jy
! Component: 100  -  total flux cleaned = 0.0107611 Jy
! Component: 150  -  total flux cleaned = 0.0109612 Jy
! Component: 200  -  total flux cleaned = 0.0114606 Jy
! Total flux subtracted in 200 components = 0.0114606 Jy
! Clean residual min=-0.012095 max=0.012765 Jy/beam
! Clean residual mean=0.000020 rms=0.003168 Jy/beam
! Combined flux in latest and established models = 0.126445 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 21 components and 0.126445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.323670Jy  sigma=0.001810
! Fit after  self-cal, rms=0.323658Jy  sigma=0.001810
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.918 x 2.283 at -4.622 degrees (North through East)
! Clean map  min=-0.011584  max=0.12732 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 6 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 6 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 6 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 6 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.323658Jy  sigma=0.001810
! Fit after  self-cal, rms=0.323668Jy  sigma=0.001810
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.323668Jy  sigma=0.001810
! Fit after  self-cal, rms=0.323673Jy  sigma=0.001810
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9189 mas, bmaj=2.285 mas, bpa=-4.661 degrees
! Estimated noise=786.756 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.000675159 Jy
! Component: 100  -  total flux cleaned = 0.00102715 Jy
! Component: 150  -  total flux cleaned = 0.00133427 Jy
! Component: 200  -  total flux cleaned = 0.00159857 Jy
! Total flux subtracted in 200 components = 0.00159857 Jy
! Clean residual min=-0.012011 max=0.012769 Jy/beam
! Clean residual mean=0.000022 rms=0.003180 Jy/beam
! Combined flux in latest and established models = 0.128044 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 24 components and 0.128044 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.323536Jy  sigma=0.001810
! Fit after  self-cal, rms=0.323525Jy  sigma=0.001810
! 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.323525Jy  sigma=0.001810
! Fit after  self-cal, rms=0.322616Jy  sigma=0.001803
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.00167203 Jy
! Component: 100  -  total flux cleaned = 0.00197025 Jy
! Component: 150  -  total flux cleaned = 0.00209218 Jy
! Component: 200  -  total flux cleaned = 0.00220222 Jy
! Total flux subtracted in 200 components = 0.00220222 Jy
! Clean residual min=-0.011372 max=0.012226 Jy/beam
! Clean residual mean=0.000023 rms=0.003084 Jy/beam
! Combined flux in latest and established models = 0.130246 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 26 components and 0.130246 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322614Jy  sigma=0.001803
! Fit after  self-cal, rms=0.322311Jy  sigma=0.001801
! 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: 0.9189 x 2.285 at -4.661 degrees (North through East)
! Clean map  min=-0.010735  max=0.12963 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.322311Jy  sigma=0.001801
! Fit after  self-cal, rms=0.322311Jy  sigma=0.001801
! 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.322311Jy  sigma=0.001801
! Fit after  self-cal, rms=0.322173Jy  sigma=0.001801
! Inverting map and beam 
! Estimated beam: bmin=0.9189 mas, bmaj=2.285 mas, bpa=-4.661 degrees
! Estimated noise=786.756 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00019462 Jy
! Component: 100  -  total flux cleaned = 0.00020001 Jy
! Component: 150  -  total flux cleaned = 0.000244755 Jy
! Component: 200  -  total flux cleaned = 0.00024199 Jy
! Total flux subtracted in 200 components = 0.00024199 Jy
! Clean residual min=-0.011313 max=0.011927 Jy/beam
! Clean residual mean=0.000024 rms=0.003035 Jy/beam
! Combined flux in latest and established models = 0.130488 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 31 components and 0.130488 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322196Jy  sigma=0.001801
! Fit after  self-cal, rms=0.322101Jy  sigma=0.001800
! 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.322101Jy  sigma=0.001800
! Fit after  self-cal, rms=0.322101Jy  sigma=0.001800
! 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.322101Jy  sigma=0.001800
! Fit after  self-cal, rms=0.321976Jy  sigma=0.001800
! Inverting map and beam 
! Estimated beam: bmin=0.9189 mas, bmaj=2.285 mas, bpa=-4.661 degrees
! Estimated noise=786.756 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000239907 Jy
! Component: 100  -  total flux cleaned = -0.000292368 Jy
! Component: 150  -  total flux cleaned = -0.000291236 Jy
! Component: 200  -  total flux cleaned = -0.000290075 Jy
! Total flux subtracted in 200 components = -0.000290075 Jy
! Clean residual min=-0.011068 max=0.012141 Jy/beam
! Clean residual mean=0.000024 rms=0.003019 Jy/beam
! Combined flux in latest and established models = 0.130198 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 31 components and 0.130198 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321968Jy  sigma=0.001800
! Fit after  self-cal, rms=0.321854Jy  sigma=0.001800
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.366 mas, bmaj=3.521 mas, bpa=-5.954 degrees
! Estimated noise=992.275 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.00222288 Jy
! Component: 100  -  total flux cleaned = -0.0022217 Jy
! Component: 150  -  total flux cleaned = -0.00222476 Jy
! Component: 200  -  total flux cleaned = -0.00222804 Jy
! Total flux subtracted in 200 components = -0.00222804 Jy
! Clean residual min=-0.012510 max=0.016394 Jy/beam
! Clean residual mean=0.000038 rms=0.004539 Jy/beam
! Combined flux in latest and established models = 0.12797 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 32 components and 0.12797 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321874Jy  sigma=0.001800
! Fit after  self-cal, rms=0.321801Jy  sigma=0.001800
! 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=0.7327 mas, bmaj=1.852 mas, bpa=-4.526 degrees
! Estimated noise=1291.67 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.113521 Jy
! Component: 100  -  total flux cleaned = 0.123461 Jy
! Component: 150  -  total flux cleaned = 0.125591 Jy
! Component: 200  -  total flux cleaned = 0.127287 Jy
! Total flux subtracted in 200 components = 0.127287 Jy
! Clean residual min=-0.014367 max=0.015309 Jy/beam
! Clean residual mean=0.000014 rms=0.003309 Jy/beam
! Combined flux in latest and established models = 0.127287 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.127287 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9189 mas, bmaj=2.285 mas, bpa=-4.661 degrees
! Estimated noise=786.756 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.00239346 Jy
! Component: 100  -  total flux cleaned = 0.00196175 Jy
! Component: 150  -  total flux cleaned = 0.0020682 Jy
! Component: 200  -  total flux cleaned = 0.00215413 Jy
! Total flux subtracted in 200 components = 0.00215413 Jy
! Clean residual min=-0.011024 max=0.012165 Jy/beam
! Clean residual mean=0.000024 rms=0.003002 Jy/beam
! Combined flux in latest and established models = 0.129441 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 28 components and 0.129441 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.366 mas, bmaj=3.521 mas, bpa=-5.954 degrees
! Estimated noise=992.275 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.00169437 Jy
! Component: 100  -  total flux cleaned = -0.00163772 Jy
! Component: 150  -  total flux cleaned = -0.0016348 Jy
! Component: 200  -  total flux cleaned = -0.00158983 Jy
! Total flux subtracted in 200 components = -0.00158983 Jy
! Clean residual min=-0.012470 max=0.016411 Jy/beam
! Clean residual mean=0.000039 rms=0.004526 Jy/beam
! Combined flux in latest and established models = 0.127851 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 32 components and 0.127851 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9189 mas, bmaj=2.285 mas, bpa=-4.661 degrees
! Estimated noise=786.756 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0018483 Jy
! Component: 100  -  total flux cleaned = 0.0019078 Jy
! Component: 150  -  total flux cleaned = 0.00201329 Jy
! Component: 200  -  total flux cleaned = 0.0020629 Jy
! Total flux subtracted in 200 components = 0.0020629 Jy
! Clean residual min=-0.011024 max=0.012256 Jy/beam
! Clean residual mean=0.000024 rms=0.003003 Jy/beam
! Combined flux in latest and established models = 0.129914 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 37 components and 0.129914 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321788Jy  sigma=0.001800
! Fit after  self-cal, rms=0.321733Jy  sigma=0.001799
wmodel J0908+1609_X_1996_01_02_yyk\_map.mod
! Writing 37 model components to file: J0908+1609_X_1996_01_02_yyk_map.mod
wobs J0908+1609_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J0908+1609_X_1996_01_02_yyk_uvs.fits
wwins J0908+1609_X_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J0908+1609_X_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 = 0.00449458 Jy
! Component: 100  -  total flux cleaned = 0.00828445 Jy
! Component: 150  -  total flux cleaned = 0.0115875 Jy
! Component: 200  -  total flux cleaned = 0.0146813 Jy
! Component: 250  -  total flux cleaned = 0.0171183 Jy
! Component: 300  -  total flux cleaned = 0.019606 Jy
! Component: 350  -  total flux cleaned = 0.0221456 Jy
! Component: 400  -  total flux cleaned = 0.0245903 Jy
! Component: 450  -  total flux cleaned = 0.0266734 Jy
! Component: 500  -  total flux cleaned = 0.028687 Jy
! Component: 550  -  total flux cleaned = 0.0299915 Jy
! Component: 600  -  total flux cleaned = 0.0311332 Jy
! Component: 650  -  total flux cleaned = 0.0319949 Jy
! Component: 700  -  total flux cleaned = 0.032234 Jy
! Component: 750  -  total flux cleaned = 0.0328187 Jy
! Component: 800  -  total flux cleaned = 0.0330454 Jy
! Component: 850  -  total flux cleaned = 0.0332695 Jy
! Component: 900  -  total flux cleaned = 0.0331625 Jy
! Component: 950  -  total flux cleaned = 0.0329509 Jy
! Component: 1000  -  total flux cleaned = 0.0328459 Jy
! Component: 1050  -  total flux cleaned = 0.0326361 Jy
! Component: 1100  -  total flux cleaned = 0.032029 Jy
! Component: 1150  -  total flux cleaned = 0.0317312 Jy
! Component: 1200  -  total flux cleaned = 0.0311471 Jy
! Component: 1250  -  total flux cleaned = 0.0307628 Jy
! Component: 1300  -  total flux cleaned = 0.0302927 Jy
! Component: 1350  -  total flux cleaned = 0.0304752 Jy
! Component: 1400  -  total flux cleaned = 0.0302001 Jy
! Component: 1450  -  total flux cleaned = 0.0298414 Jy
! Component: 1500  -  total flux cleaned = 0.0294888 Jy
! Component: 1550  -  total flux cleaned = 0.0294023 Jy
! Component: 1600  -  total flux cleaned = 0.0293172 Jy
! Component: 1650  -  total flux cleaned = 0.0291493 Jy
! Component: 1700  -  total flux cleaned = 0.0293967 Jy
! Component: 1750  -  total flux cleaned = 0.0291507 Jy
! Component: 1800  -  total flux cleaned = 0.0287482 Jy
! Component: 1850  -  total flux cleaned = 0.0285885 Jy
! Component: 1900  -  total flux cleaned = 0.0285099 Jy
! Component: 1950  -  total flux cleaned = 0.0283561 Jy
! Component: 2000  -  total flux cleaned = 0.0284321 Jy
! Total flux subtracted in 2048 components = 0.0284307 Jy
! Clean residual min=-0.003912 max=0.003745 Jy/beam
! Clean residual mean=0.000029 rms=0.001484 Jy/beam
! Combined flux in latest and established models = 0.158345 Jy
keep
! Adding 149 model components to the UV plane model.
! The established model now contains 186 components and 0.158345 Jy
![Exited script file: muppet]
wmap "J0908+1609_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9189 x 2.285 at -4.661 degrees (North through East)
! Clean map  min=-0.0068433  max=0.12906 Jy/beam
! Writing clean map to FITS file: J0908+1609_X_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.129058 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.001491 
device "J0908+1609_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0908+1609_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.46588 3.46588 6.93176 13.8635 27.727 55.4541
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0044 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.129 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9189 x 2.285 at -4.661 degrees (North through East)
! Clean map  min=-0.0068433  max=0.12906 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0908+1609_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0908+1609_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0908+1609_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 04:20:56 2007