! Started logfile: J1259-2436_S_1997_07_02_yyk_uvs.log on Sun Jan  7 18:11:28 2007
obs J1259-2436_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J1259-2436_S_1997_07_02_yyk_uva.fits
! AN table 1: 148 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.842943 visibilities/baseline/integration-bin.
! Found source: J1259-2436
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 22456 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 J1259-2436_S_1997_07_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.509 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.77 mas, bmaj=6.7 mas, bpa=-2.193 degrees
! Estimated noise=2313.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)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.13512 Jy
! Component: 100  -  total flux cleaned = 0.191259 Jy
! Total flux subtracted in 100 components = 0.191259 Jy
! Clean residual min=-0.027154 max=0.032042 Jy/beam
! Clean residual mean=0.000120 rms=0.009054 Jy/beam
! Combined flux in latest and established models = 0.191259 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 0.191259 Jy
! 
! Correcting IF 1.
!  A total of 269 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 409 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 131 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 124 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.472301Jy  sigma=0.001456
! Fit after  self-cal, rms=0.468045Jy  sigma=0.001431
! Inverting map and beam 
! Estimated beam: bmin=2.77 mas, bmaj=6.7 mas, bpa=-2.193 degrees
! Estimated noise=2313.3 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.541 mas, bmaj=9.965 mas, bpa=-5.946 degrees
! Estimated noise=1280.97 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.0650157 Jy
! Component: 100  -  total flux cleaned = 0.0862581 Jy
! Component: 150  -  total flux cleaned = 0.0939597 Jy
! Component: 200  -  total flux cleaned = 0.0949449 Jy
! Total flux subtracted in 200 components = 0.0949449 Jy
! Clean residual min=-0.010839 max=0.024859 Jy/beam
! Clean residual mean=0.000368 rms=0.004684 Jy/beam
! Combined flux in latest and established models = 0.286204 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 64 components and 0.286204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462590Jy  sigma=0.001403
! Fit after  self-cal, rms=0.462471Jy  sigma=0.001403
! 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.541 x 9.965 at -5.946 degrees (North through East)
! Clean map  min=-0.011229  max=0.17604 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.462471Jy  sigma=0.001403
! Fit after  self-cal, rms=0.462381Jy  sigma=0.001403
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.462381Jy  sigma=0.001403
! Fit after  self-cal, rms=0.462380Jy  sigma=0.001403
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.544 mas, bmaj=9.967 mas, bpa=-5.935 degrees
! Estimated noise=1281.19 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 (17.5, -6.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.024776 Jy
! Component: 100  -  total flux cleaned = 0.035892 Jy
! Component: 150  -  total flux cleaned = 0.0430946 Jy
! Component: 200  -  total flux cleaned = 0.0469788 Jy
! Total flux subtracted in 200 components = 0.0469788 Jy
! Clean residual min=-0.009981 max=0.009106 Jy/beam
! Clean residual mean=-0.000140 rms=0.002844 Jy/beam
! Combined flux in latest and established models = 0.333182 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 98 components and 0.333182 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.461282Jy  sigma=0.001398
! Fit after  self-cal, rms=0.461198Jy  sigma=0.001398
! 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.461198Jy  sigma=0.001398
! Fit after  self-cal, rms=0.460334Jy  sigma=0.001393
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.00687796 Jy
! Component: 100  -  total flux cleaned = 0.0087954 Jy
! Component: 150  -  total flux cleaned = 0.00981156 Jy
! Component: 200  -  total flux cleaned = 0.0105347 Jy
! Total flux subtracted in 200 components = 0.0105347 Jy
! Clean residual min=-0.009035 max=0.009112 Jy/beam
! Clean residual mean=-0.000227 rms=0.002685 Jy/beam
! Combined flux in latest and established models = 0.343717 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 117 components and 0.343717 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.460112Jy  sigma=0.001392
! Fit after  self-cal, rms=0.459886Jy  sigma=0.001391
! 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.544 x 9.967 at -5.935 degrees (North through East)
! Clean map  min=-0.0090627  max=0.18115 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.459886Jy  sigma=0.001391
! Fit after  self-cal, rms=0.459628Jy  sigma=0.001390
! 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.459628Jy  sigma=0.001390
! Fit after  self-cal, rms=0.459591Jy  sigma=0.001390
! Inverting map and beam 
! Estimated beam: bmin=3.547 mas, bmaj=9.936 mas, bpa=-4.805 degrees
! Estimated noise=1276.54 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00194708 Jy
! Component: 100  -  total flux cleaned = 0.00265821 Jy
! Component: 150  -  total flux cleaned = 0.00329675 Jy
! Component: 200  -  total flux cleaned = 0.00388253 Jy
! Total flux subtracted in 200 components = 0.00388253 Jy
! Clean residual min=-0.007995 max=0.008101 Jy/beam
! Clean residual mean=-0.000256 rms=0.002326 Jy/beam
! Combined flux in latest and established models = 0.3476 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 130 components and 0.3476 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.459449Jy  sigma=0.001390
! Fit after  self-cal, rms=0.459476Jy  sigma=0.001390
! 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.459476Jy  sigma=0.001390
! Fit after  self-cal, rms=0.461522Jy  sigma=0.001389
! 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.461522Jy  sigma=0.001389
! Fit after  self-cal, rms=0.461535Jy  sigma=0.001390
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=9.956 mas, bpa=-4.676 degrees
! Estimated noise=1278.07 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000271591 Jy
! Component: 100  -  total flux cleaned = 0.00114951 Jy
! Component: 150  -  total flux cleaned = 0.0018009 Jy
! Component: 200  -  total flux cleaned = 0.00228137 Jy
! Total flux subtracted in 200 components = 0.00228137 Jy
! Clean residual min=-0.007929 max=0.008122 Jy/beam
! Clean residual mean=-0.000278 rms=0.002264 Jy/beam
! Combined flux in latest and established models = 0.349881 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 139 components and 0.349881 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.461423Jy  sigma=0.001389
! Fit after  self-cal, rms=0.461415Jy  sigma=0.001389
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.485 mas, bmaj=19.66 mas, bpa=5.293 degrees
! Estimated noise=1562.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.00472292 Jy
! Component: 100  -  total flux cleaned = 0.00580142 Jy
! Component: 150  -  total flux cleaned = 0.0062801 Jy
! Component: 200  -  total flux cleaned = 0.00652462 Jy
! Total flux subtracted in 200 components = 0.00652462 Jy
! Clean residual min=-0.008529 max=0.007711 Jy/beam
! Clean residual mean=-0.000608 rms=0.002801 Jy/beam
! Combined flux in latest and established models = 0.356406 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 148 components and 0.356406 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.461416Jy  sigma=0.001389
! Fit after  self-cal, rms=0.461403Jy  sigma=0.001389
! 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.776 mas, bmaj=6.724 mas, bpa=-1.643 degrees
! Estimated noise=2300.21 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.161957 Jy
! Component: 100  -  total flux cleaned = 0.230329 Jy
! Component: 150  -  total flux cleaned = 0.269475 Jy
! Component: 200  -  total flux cleaned = 0.287889 Jy
! Total flux subtracted in 200 components = 0.287889 Jy
! Clean residual min=-0.017597 max=0.018339 Jy/beam
! Clean residual mean=0.000027 rms=0.005175 Jy/beam
! Combined flux in latest and established models = 0.287889 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 42 model components to the UV plane model.
! The established model now contains 42 components and 0.287889 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=9.956 mas, bpa=-4.676 degrees
! Estimated noise=1278.07 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.0224945 Jy
! Component: 100  -  total flux cleaned = 0.0367472 Jy
! Component: 150  -  total flux cleaned = 0.0467547 Jy
! Component: 200  -  total flux cleaned = 0.0539236 Jy
! Total flux subtracted in 200 components = 0.0539236 Jy
! Clean residual min=-0.008222 max=0.008375 Jy/beam
! Clean residual mean=-0.000206 rms=0.002506 Jy/beam
! Combined flux in latest and established models = 0.341812 Jy
! Adding 28 model components to the UV plane model.
! The established model now contains 67 components and 0.341813 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.485 mas, bmaj=19.66 mas, bpa=5.293 degrees
! Estimated noise=1562.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.00850301 Jy
! Component: 100  -  total flux cleaned = 0.0131575 Jy
! Component: 150  -  total flux cleaned = 0.014565 Jy
! Component: 200  -  total flux cleaned = 0.0153012 Jy
! Total flux subtracted in 200 components = 0.0153012 Jy
! Clean residual min=-0.008753 max=0.007632 Jy/beam
! Clean residual mean=-0.000620 rms=0.002838 Jy/beam
! Combined flux in latest and established models = 0.357114 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 77 components and 0.357114 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=9.956 mas, bpa=-4.676 degrees
! Estimated noise=1278.07 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00335308 Jy
! Component: 100  -  total flux cleaned = -0.00353209 Jy
! Component: 150  -  total flux cleaned = -0.0035381 Jy
! Component: 200  -  total flux cleaned = -0.003687 Jy
! Total flux subtracted in 200 components = -0.003687 Jy
! Clean residual min=-0.007798 max=0.007365 Jy/beam
! Clean residual mean=-0.000319 rms=0.002215 Jy/beam
! Combined flux in latest and established models = 0.353427 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 87 components and 0.353427 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.461385Jy  sigma=0.001389
! Fit after  self-cal, rms=0.461288Jy  sigma=0.001389
wmodel J1259-2436_S_1997_07_02_yyk\_map.mod
! Writing 87 model components to file: J1259-2436_S_1997_07_02_yyk_map.mod
wobs J1259-2436_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J1259-2436_S_1997_07_02_yyk_uvs.fits
wwins J1259-2436_S_1997_07_02_yyk\_map.win
! wwins: Wrote 2 windows to J1259-2436_S_1997_07_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.000418264 Jy
! Component: 100  -  total flux cleaned = 0.000665449 Jy
! Component: 150  -  total flux cleaned = 0.000885767 Jy
! Component: 200  -  total flux cleaned = 0.000577566 Jy
! Component: 250  -  total flux cleaned = -1.36531e-05 Jy
! Component: 300  -  total flux cleaned = -0.000679448 Jy
! Component: 350  -  total flux cleaned = -0.00122985 Jy
! Component: 400  -  total flux cleaned = -0.00167604 Jy
! Component: 450  -  total flux cleaned = -0.00228466 Jy
! Component: 500  -  total flux cleaned = -0.00287679 Jy
! Component: 550  -  total flux cleaned = -0.00337078 Jy
! Component: 600  -  total flux cleaned = -0.00377351 Jy
! Component: 650  -  total flux cleaned = -0.00448373 Jy
! Component: 700  -  total flux cleaned = -0.00541098 Jy
! Component: 750  -  total flux cleaned = -0.00624437 Jy
! Component: 800  -  total flux cleaned = -0.00706181 Jy
! Component: 850  -  total flux cleaned = -0.00786477 Jy
! Component: 900  -  total flux cleaned = -0.00850954 Jy
! Component: 950  -  total flux cleaned = -0.00956615 Jy
! Component: 1000  -  total flux cleaned = -0.0105319 Jy
! Component: 1050  -  total flux cleaned = -0.0112096 Jy
! Component: 1100  -  total flux cleaned = -0.0121443 Jy
! Component: 1150  -  total flux cleaned = -0.0129964 Jy
! Component: 1200  -  total flux cleaned = -0.013834 Jy
! Component: 1250  -  total flux cleaned = -0.0145304 Jy
! Component: 1300  -  total flux cleaned = -0.015154 Jy
! Component: 1350  -  total flux cleaned = -0.0160753 Jy
! Component: 1400  -  total flux cleaned = -0.0168603 Jy
! Component: 1450  -  total flux cleaned = -0.0174554 Jy
! Component: 1500  -  total flux cleaned = -0.0182169 Jy
! Component: 1550  -  total flux cleaned = -0.0188525 Jy
! Component: 1600  -  total flux cleaned = -0.0194788 Jy
! Component: 1650  -  total flux cleaned = -0.020041 Jy
! Component: 1700  -  total flux cleaned = -0.0207603 Jy
! Component: 1750  -  total flux cleaned = -0.021252 Jy
! Component: 1800  -  total flux cleaned = -0.0220589 Jy
! Component: 1850  -  total flux cleaned = -0.0225358 Jy
! Component: 1900  -  total flux cleaned = -0.0231119 Jy
! Component: 1950  -  total flux cleaned = -0.0235773 Jy
! Component: 2000  -  total flux cleaned = -0.0240367 Jy
! Total flux subtracted in 2048 components = -0.0245919 Jy
! Clean residual min=-0.003146 max=0.002911 Jy/beam
! Clean residual mean=-0.000185 rms=0.001045 Jy/beam
! Combined flux in latest and established models = 0.328835 Jy
keep
! Adding 137 model components to the UV plane model.
! The established model now contains 224 components and 0.328835 Jy
![Exited script file: muppet]
wmap "J1259-2436_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.554 x 9.956 at -4.676 degrees (North through East)
! Clean map  min=-0.0056037  max=0.17842 Jy/beam
! Writing clean map to FITS file: J1259-2436_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.178423 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00105288 
device "J1259-2436_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1259-2436_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.77031 1.77031 3.54062 7.08124 14.1625 28.3249 56.6499
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0031 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.178 
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.554 x 9.956 at -4.676 degrees (North through East)
! Clean map  min=-0.0056037  max=0.17842 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1259-2436_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1259-2436_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1259-2436_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 18:11:36 2007