! Started logfile: J1904+1536_S_1996_01_02_yyk_uvs.log on Sun Jan  7 19:35:59 2007
obs J1904+1536_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1904+1536_S_1996_01_02_yyk_uva.fits
! AN table 1: 121 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.924885 visibilities/baseline/integration-bin.
! Found source: J1904+1536
! 
! 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 20144 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 J1904+1536_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.752163 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.651 mas, bmaj=6.594 mas, bpa=-1.525 degrees
! Estimated noise=1748.23 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.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0834951 Jy
! Component: 100  -  total flux cleaned = 0.110272 Jy
! Total flux subtracted in 100 components = 0.110272 Jy
! Clean residual min=-0.022748 max=0.026308 Jy/beam
! Clean residual mean=0.000031 rms=0.006777 Jy/beam
! Combined flux in latest and established models = 0.110272 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.110272 Jy
! 
! Correcting IF 1.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 76 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 76 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.744313Jy  sigma=0.003013
! Fit after  self-cal, rms=0.742499Jy  sigma=0.003004
! Inverting map and beam 
! Estimated beam: bmin=2.651 mas, bmaj=6.594 mas, bpa=-1.525 degrees
! Estimated noise=1748.79 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.372 mas, bmaj=8.236 mas, bpa=-5.81 degrees
! Estimated noise=1066.48 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.0310831 Jy
! Component: 100  -  total flux cleaned = 0.0346325 Jy
! Component: 150  -  total flux cleaned = 0.0343686 Jy
! Component: 200  -  total flux cleaned = 0.0338823 Jy
! Total flux subtracted in 200 components = 0.0338823 Jy
! Clean residual min=-0.016396 max=0.015672 Jy/beam
! Clean residual mean=-0.000046 rms=0.004840 Jy/beam
! Combined flux in latest and established models = 0.144155 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 14 components and 0.144155 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.741549Jy  sigma=0.002999
! Fit after  self-cal, rms=0.741534Jy  sigma=0.002999
! 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.372 x 8.236 at -5.81 degrees (North through East)
! Clean map  min=-0.015669  max=0.12265 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.741534Jy  sigma=0.002999
! Fit after  self-cal, rms=0.741648Jy  sigma=0.002999
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.741648Jy  sigma=0.002999
! Fit after  self-cal, rms=0.741647Jy  sigma=0.002999
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.236 mas, bpa=-5.811 degrees
! Estimated noise=1066.78 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.0010758 Jy
! Component: 100  -  total flux cleaned = -0.00126356 Jy
! Component: 150  -  total flux cleaned = -0.00172007 Jy
! Component: 200  -  total flux cleaned = -0.00209505 Jy
! Total flux subtracted in 200 components = -0.00209505 Jy
! Clean residual min=-0.016673 max=0.015424 Jy/beam
! Clean residual mean=-0.000045 rms=0.004827 Jy/beam
! Combined flux in latest and established models = 0.14206 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 20 components and 0.14206 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.741571Jy  sigma=0.002999
! Fit after  self-cal, rms=0.741563Jy  sigma=0.002999
! 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.741563Jy  sigma=0.002999
! Fit after  self-cal, rms=0.740453Jy  sigma=0.002994
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.00257281 Jy
! Component: 100  -  total flux cleaned = 0.00185841 Jy
! Component: 150  -  total flux cleaned = 0.00125483 Jy
! Component: 200  -  total flux cleaned = 0.000917659 Jy
! Total flux subtracted in 200 components = 0.000917659 Jy
! Clean residual min=-0.016473 max=0.017583 Jy/beam
! Clean residual mean=-0.000093 rms=0.005170 Jy/beam
! Combined flux in latest and established models = 0.142977 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 24 components and 0.142977 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.740312Jy  sigma=0.002993
! Fit after  self-cal, rms=0.739847Jy  sigma=0.002991
! 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.371 x 8.236 at -5.811 degrees (North through East)
! Clean map  min=-0.016998  max=0.13111 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.739847Jy  sigma=0.002991
! Fit after  self-cal, rms=0.739847Jy  sigma=0.002991
! 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.739847Jy  sigma=0.002991
! Fit after  self-cal, rms=0.739673Jy  sigma=0.002990
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.236 mas, bpa=-5.811 degrees
! Estimated noise=1066.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000723012 Jy
! Component: 100  -  total flux cleaned = 9.09988e-05 Jy
! Component: 150  -  total flux cleaned = -0.000270433 Jy
! Component: 200  -  total flux cleaned = -0.000745402 Jy
! Total flux subtracted in 200 components = -0.000745402 Jy
! Clean residual min=-0.017642 max=0.017859 Jy/beam
! Clean residual mean=-0.000099 rms=0.005416 Jy/beam
! Combined flux in latest and established models = 0.142232 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 29 components and 0.142232 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.739571Jy  sigma=0.002990
! Fit after  self-cal, rms=0.739464Jy  sigma=0.002990
! 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.739464Jy  sigma=0.002990
! Fit after  self-cal, rms=0.739464Jy  sigma=0.002990
! 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.739464Jy  sigma=0.002990
! Fit after  self-cal, rms=0.739406Jy  sigma=0.002989
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.236 mas, bpa=-5.811 degrees
! Estimated noise=1066.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000449716 Jy
! Component: 100  -  total flux cleaned = -0.000756069 Jy
! Component: 150  -  total flux cleaned = -0.00117311 Jy
! Component: 200  -  total flux cleaned = -0.00143129 Jy
! Total flux subtracted in 200 components = -0.00143129 Jy
! Clean residual min=-0.018063 max=0.018150 Jy/beam
! Clean residual mean=-0.000100 rms=0.005495 Jy/beam
! Combined flux in latest and established models = 0.140801 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 35 components and 0.140801 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.739340Jy  sigma=0.002989
! Fit after  self-cal, rms=0.739287Jy  sigma=0.002989
! 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.434 mas, bmaj=11.61 mas, bpa=-7.989 degrees
! Estimated noise=1338.3 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.00308567 Jy
! Component: 100  -  total flux cleaned = 0.00353792 Jy
! Component: 150  -  total flux cleaned = 0.00367108 Jy
! Component: 200  -  total flux cleaned = 0.00391059 Jy
! Total flux subtracted in 200 components = 0.00391059 Jy
! Clean residual min=-0.019601 max=0.015439 Jy/beam
! Clean residual mean=-0.000222 rms=0.005066 Jy/beam
! Combined flux in latest and established models = 0.144711 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 41 components and 0.144711 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.739298Jy  sigma=0.002989
! Fit after  self-cal, rms=0.739198Jy  sigma=0.002989
! 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.651 mas, bmaj=6.594 mas, bpa=-1.525 degrees
! Estimated noise=1749.02 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.110452 Jy
! Component: 100  -  total flux cleaned = 0.139353 Jy
! Component: 150  -  total flux cleaned = 0.14025 Jy
! Component: 200  -  total flux cleaned = 0.141455 Jy
! Total flux subtracted in 200 components = 0.141455 Jy
! Clean residual min=-0.022049 max=0.024278 Jy/beam
! Clean residual mean=-0.000035 rms=0.007137 Jy/beam
! Combined flux in latest and established models = 0.141455 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 15 model components to the UV plane model.
! The established model now contains 15 components and 0.141455 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.236 mas, bpa=-5.811 degrees
! Estimated noise=1066.78 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.00316229 Jy
! Component: 100  -  total flux cleaned = 0.00213545 Jy
! Component: 150  -  total flux cleaned = 0.00183292 Jy
! Component: 200  -  total flux cleaned = 0.00106948 Jy
! Total flux subtracted in 200 components = 0.00106948 Jy
! Clean residual min=-0.018147 max=0.018388 Jy/beam
! Clean residual mean=-0.000107 rms=0.005601 Jy/beam
! Combined flux in latest and established models = 0.142525 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 23 components and 0.142525 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.434 mas, bmaj=11.61 mas, bpa=-7.989 degrees
! Estimated noise=1338.3 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.00291381 Jy
! Component: 100  -  total flux cleaned = 0.00242446 Jy
! Component: 150  -  total flux cleaned = 0.00216579 Jy
! Component: 200  -  total flux cleaned = 0.00216568 Jy
! Total flux subtracted in 200 components = 0.00216568 Jy
! Clean residual min=-0.019714 max=0.015512 Jy/beam
! Clean residual mean=-0.000226 rms=0.005059 Jy/beam
! Combined flux in latest and established models = 0.144691 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 28 components and 0.144691 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.236 mas, bpa=-5.811 degrees
! Estimated noise=1066.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00206277 Jy
! Component: 100  -  total flux cleaned = -0.00358961 Jy
! Component: 150  -  total flux cleaned = -0.00410743 Jy
! Component: 200  -  total flux cleaned = -0.00456327 Jy
! Total flux subtracted in 200 components = -0.00456327 Jy
! Clean residual min=-0.018727 max=0.018337 Jy/beam
! Clean residual mean=-0.000106 rms=0.005580 Jy/beam
! Combined flux in latest and established models = 0.140127 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 37 components and 0.140127 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.739174Jy  sigma=0.002989
! Fit after  self-cal, rms=0.739138Jy  sigma=0.002989
wmodel J1904+1536_S_1996_01_02_yyk\_map.mod
! Writing 37 model components to file: J1904+1536_S_1996_01_02_yyk_map.mod
wobs J1904+1536_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1904+1536_S_1996_01_02_yyk_uvs.fits
wwins J1904+1536_S_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J1904+1536_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 = -0.000431336 Jy
! Component: 100  -  total flux cleaned = -0.00135481 Jy
! Component: 150  -  total flux cleaned = -0.00135401 Jy
! Component: 200  -  total flux cleaned = -0.00162905 Jy
! Component: 250  -  total flux cleaned = -0.00163383 Jy
! Component: 300  -  total flux cleaned = -0.00112628 Jy
! Component: 350  -  total flux cleaned = -0.000880225 Jy
! Component: 400  -  total flux cleaned = 0.000596449 Jy
! Component: 450  -  total flux cleaned = 0.00132136 Jy
! Component: 500  -  total flux cleaned = 0.00203572 Jy
! Component: 550  -  total flux cleaned = 0.00273819 Jy
! Component: 600  -  total flux cleaned = 0.00319731 Jy
! Component: 650  -  total flux cleaned = 0.00319399 Jy
! Component: 700  -  total flux cleaned = 0.00363972 Jy
! Component: 750  -  total flux cleaned = 0.00386055 Jy
! Component: 800  -  total flux cleaned = 0.00407804 Jy
! Component: 850  -  total flux cleaned = 0.00386386 Jy
! Component: 900  -  total flux cleaned = 0.0042908 Jy
! Component: 950  -  total flux cleaned = 0.00450193 Jy
! Component: 1000  -  total flux cleaned = 0.0040856 Jy
! Component: 1050  -  total flux cleaned = 0.00408584 Jy
! Component: 1100  -  total flux cleaned = 0.00449547 Jy
! Component: 1150  -  total flux cleaned = 0.00449583 Jy
! Component: 1200  -  total flux cleaned = 0.00429498 Jy
! Component: 1250  -  total flux cleaned = 0.00390021 Jy
! Component: 1300  -  total flux cleaned = 0.0037059 Jy
! Component: 1350  -  total flux cleaned = 0.00390024 Jy
! Component: 1400  -  total flux cleaned = 0.00370668 Jy
! Component: 1450  -  total flux cleaned = 0.0037073 Jy
! Component: 1500  -  total flux cleaned = 0.00352 Jy
! Component: 1550  -  total flux cleaned = 0.00521127 Jy
! Component: 1600  -  total flux cleaned = 0.00446444 Jy
! Component: 1650  -  total flux cleaned = 0.00538809 Jy
! Component: 1700  -  total flux cleaned = 0.00483462 Jy
! Component: 1750  -  total flux cleaned = 0.00428837 Jy
! Component: 1800  -  total flux cleaned = 0.00429196 Jy
! Component: 1850  -  total flux cleaned = 0.0041132 Jy
! Component: 1900  -  total flux cleaned = 0.00287232 Jy
! Component: 1950  -  total flux cleaned = 0.00304687 Jy
! Component: 2000  -  total flux cleaned = 0.00252574 Jy
! Total flux subtracted in 2048 components = 0.00200541 Jy
! Clean residual min=-0.009329 max=0.009313 Jy/beam
! Clean residual mean=-0.000049 rms=0.004274 Jy/beam
! Combined flux in latest and established models = 0.142133 Jy
keep
! Adding 176 model components to the UV plane model.
! The established model now contains 213 components and 0.142133 Jy
![Exited script file: muppet]
wmap "J1904+1536_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.371 x 8.236 at -5.811 degrees (North through East)
! Clean map  min=-0.018535  max=0.13389 Jy/beam
! Writing clean map to FITS file: J1904+1536_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.133894 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00426357 
device "J1904+1536_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1904+1536_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -9.55288 9.55288 19.1058 38.2115 76.423
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0127 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.133 
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.371 x 8.236 at -5.811 degrees (North through East)
! Clean map  min=-0.018535  max=0.13389 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1904+1536_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1904+1536_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1904+1536_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 19:36:06 2007