! Started logfile: J1717+1917_X_2005_07_09_yyk_uvs.log on Fri Jan 20 10:47:43 2006
obs J1717+1917_X_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J1717+1917_X_2005_07_09_yyk_uve.fits
! AN table 1: 8 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1 visibilities/baseline/integration-bin.
! Found source: J1717+1917
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1479 lines of history.
! 
! Reading 1440 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 J1717+1917_X_2005_07_09_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.187205 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.696 mas, bmaj=1.757 mas, bpa=-1.718 degrees
! Estimated noise=1.10241 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.152032 Jy
! Component: 100  -  total flux cleaned = 0.177032 Jy
! Total flux subtracted in 100 components = 0.177032 Jy
! Clean residual min=-0.005237 max=0.006867 Jy/beam
! Clean residual mean=-0.000017 rms=0.001406 Jy/beam
! Combined flux in latest and established models = 0.177032 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.177032 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052009Jy  sigma=1.079688
! Fit after  self-cal, rms=0.051832Jy  sigma=1.075539
! Inverting map 
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.8625 mas, bmaj=2.076 mas, bpa=-2.715 degrees
! Estimated noise=0.856099 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.0119252 Jy
! Component: 100  -  total flux cleaned = 0.0164513 Jy
! Component: 150  -  total flux cleaned = 0.0185805 Jy
! Component: 200  -  total flux cleaned = 0.019534 Jy
! Total flux subtracted in 200 components = 0.019534 Jy
! Clean residual min=-0.003904 max=0.003967 Jy/beam
! Clean residual mean=-0.000001 rms=0.001050 Jy/beam
! Combined flux in latest and established models = 0.196566 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 29 components and 0.196566 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.050229Jy  sigma=1.034697
! Fit after  self-cal, rms=0.050219Jy  sigma=1.034497
! 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.8625 x 2.076 at -2.715 degrees (North through East)
! Clean map  min=-0.0035215  max=0.17981 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.
!  Amplitude normalization factor in sub-array 1: 1.01631
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.01     HN        1.02     KP        0.94     
!   LA        0.99     MK        0.98     NL        1.01     OV        1.02     
!   PT        0.97     SC        0.96     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01541
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.01     HN        0.99     KP        0.93     
!   LA        0.95     MK        1.01     NL        1.02     OV        0.99     
!   PT        1.00     SC        0.97     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.01041
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.08     HN        0.89     KP        0.89     
!   LA        0.99     MK        1.05     NL        0.97     OV        1.00     
!   PT        1.03     SC        0.95     
! 
! 
! Correcting IF 4.
!  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.050219Jy  sigma=1.034497
! Fit after  self-cal, rms=0.049077Jy  sigma=1.017320
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.049077Jy  sigma=1.017320
! Fit after  self-cal, rms=0.049077Jy  sigma=1.017307
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8633 mas, bmaj=2.07 mas, bpa=-2.215 degrees
! Estimated noise=0.856062 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.000718779 Jy
! Component: 100  -  total flux cleaned = 0.000846363 Jy
! Component: 150  -  total flux cleaned = 0.000924551 Jy
! Component: 200  -  total flux cleaned = 0.000993429 Jy
! Total flux subtracted in 200 components = 0.000993429 Jy
! Clean residual min=-0.003718 max=0.003667 Jy/beam
! Clean residual mean=0.000003 rms=0.000935 Jy/beam
! Combined flux in latest and established models = 0.19756 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 32 components and 0.19756 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.049041Jy  sigma=1.016502
! Fit after  self-cal, rms=0.049038Jy  sigma=1.016452
! 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.049038Jy  sigma=1.016452
! Fit after  self-cal, rms=0.047579Jy  sigma=0.983087
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.000294921 Jy
! Component: 100  -  total flux cleaned = 0.000341261 Jy
! Component: 150  -  total flux cleaned = 0.000402327 Jy
! Component: 200  -  total flux cleaned = 0.000420582 Jy
! Total flux subtracted in 200 components = 0.000420582 Jy
! Clean residual min=-0.003764 max=0.003721 Jy/beam
! Clean residual mean=0.000003 rms=0.000934 Jy/beam
! Combined flux in latest and established models = 0.19798 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 39 components and 0.19798 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.047564Jy  sigma=0.982759
! Fit after  self-cal, rms=0.047520Jy  sigma=0.981131
! 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.8633 x 2.07 at -2.215 degrees (North through East)
! Clean map  min=-0.003343  max=0.18027 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.047520Jy  sigma=0.981131
! Fit after  self-cal, rms=0.046461Jy  sigma=0.956643
! 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.046461Jy  sigma=0.956643
! Fit after  self-cal, rms=0.046468Jy  sigma=0.956495
! Inverting map and beam 
! Estimated beam: bmin=0.8625 mas, bmaj=2.066 mas, bpa=-2.3 degrees
! Estimated noise=0.845876 mJy/beam.
! Added new window around map position (25, -23.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000718082 Jy
! Component: 100  -  total flux cleaned = 0.000299718 Jy
! Component: 150  -  total flux cleaned = 0.000225542 Jy
! Component: 200  -  total flux cleaned = 0.000109777 Jy
! Total flux subtracted in 200 components = 0.000109777 Jy
! Clean residual min=-0.003152 max=0.003455 Jy/beam
! Clean residual mean=0.000004 rms=0.000809 Jy/beam
! Combined flux in latest and established models = 0.19809 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 52 components and 0.19809 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.046125Jy  sigma=0.948680
! Fit after  self-cal, rms=0.046108Jy  sigma=0.948244
! Inverting map 
! Added new window around map position (5.4, 13.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00279325 Jy
! Component: 100  -  total flux cleaned = 0.0032192 Jy
! Component: 150  -  total flux cleaned = 0.00336055 Jy
! Component: 200  -  total flux cleaned = 0.0035524 Jy
! Total flux subtracted in 200 components = 0.0035524 Jy
! Clean residual min=-0.002985 max=0.002887 Jy/beam
! Clean residual mean=0.000004 rms=0.000743 Jy/beam
! Combined flux in latest and established models = 0.201642 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 78 components and 0.201642 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.045821Jy  sigma=0.941916
! Fit after  self-cal, rms=0.045806Jy  sigma=0.941621
! 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.045806Jy  sigma=0.941621
! Fit after  self-cal, rms=0.045503Jy  sigma=0.919354
! 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.045503Jy  sigma=0.919354
! Fit after  self-cal, rms=0.045501Jy  sigma=0.919330
! Inverting map and beam 
! Estimated beam: bmin=0.8657 mas, bmaj=2.07 mas, bpa=-2.223 degrees
! Estimated noise=0.848998 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000955798 Jy
! Component: 100  -  total flux cleaned = 0.00127596 Jy
! Component: 150  -  total flux cleaned = 0.00146401 Jy
! Component: 200  -  total flux cleaned = 0.00155198 Jy
! Total flux subtracted in 200 components = 0.00155198 Jy
! Clean residual min=-0.002612 max=0.002751 Jy/beam
! Clean residual mean=0.000001 rms=0.000689 Jy/beam
! Combined flux in latest and established models = 0.203194 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 91 components and 0.203194 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.045431Jy  sigma=0.917367
! Fit after  self-cal, rms=0.045426Jy  sigma=0.917293
! 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.158 mas, bmaj=2.985 mas, bpa=-2.743 degrees
! Estimated noise=1.10925 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.000592162 Jy
! Component: 100  -  total flux cleaned = 0.000819209 Jy
! Component: 150  -  total flux cleaned = 0.000877463 Jy
! Component: 200  -  total flux cleaned = 0.000972263 Jy
! Total flux subtracted in 200 components = 0.000972263 Jy
! Clean residual min=-0.002504 max=0.002380 Jy/beam
! Clean residual mean=0.000005 rms=0.000802 Jy/beam
! Combined flux in latest and established models = 0.204167 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 102 components and 0.204167 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.045434Jy  sigma=0.917254
! Fit after  self-cal, rms=0.045433Jy  sigma=0.917201
! 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.6979 mas, bmaj=1.756 mas, bpa=-1.523 degrees
! Estimated noise=1.09978 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.152012 Jy
! Component: 100  -  total flux cleaned = 0.177323 Jy
! Component: 150  -  total flux cleaned = 0.186728 Jy
! Component: 200  -  total flux cleaned = 0.191663 Jy
! Total flux subtracted in 200 components = 0.191663 Jy
! Clean residual min=-0.004030 max=0.004120 Jy/beam
! Clean residual mean=-0.000008 rms=0.001021 Jy/beam
! Combined flux in latest and established models = 0.191663 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.191663 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8657 mas, bmaj=2.07 mas, bpa=-2.223 degrees
! Estimated noise=0.848998 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.00518574 Jy
! Component: 100  -  total flux cleaned = 0.00667176 Jy
! Component: 150  -  total flux cleaned = 0.00731761 Jy
! Component: 200  -  total flux cleaned = 0.00778894 Jy
! Total flux subtracted in 200 components = 0.00778894 Jy
! Clean residual min=-0.002649 max=0.002754 Jy/beam
! Clean residual mean=-0.000002 rms=0.000740 Jy/beam
! Combined flux in latest and established models = 0.199452 Jy
! Adding 30 model components to the UV plane model.
! The established model now contains 40 components and 0.199452 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.158 mas, bmaj=2.985 mas, bpa=-2.743 degrees
! Estimated noise=1.10925 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.00150137 Jy
! Component: 100  -  total flux cleaned = 0.00241183 Jy
! Component: 150  -  total flux cleaned = 0.00290465 Jy
! Component: 200  -  total flux cleaned = 0.00336508 Jy
! Total flux subtracted in 200 components = 0.00336508 Jy
! Clean residual min=-0.002626 max=0.002385 Jy/beam
! Clean residual mean=0.000001 rms=0.000812 Jy/beam
! Combined flux in latest and established models = 0.202817 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 57 components and 0.202817 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8657 mas, bmaj=2.07 mas, bpa=-2.223 degrees
! Estimated noise=0.848998 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000470221 Jy
! Component: 100  -  total flux cleaned = -0.000333186 Jy
! Component: 150  -  total flux cleaned = -0.000109301 Jy
! Component: 200  -  total flux cleaned = 4.49504e-05 Jy
! Total flux subtracted in 200 components = 4.49504e-05 Jy
! Clean residual min=-0.002630 max=0.002784 Jy/beam
! Clean residual mean=0.000002 rms=0.000694 Jy/beam
! Combined flux in latest and established models = 0.202862 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 72 components and 0.202862 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.045471Jy  sigma=0.918601
! Fit after  self-cal, rms=0.045472Jy  sigma=0.918554
wmodel J1717+1917_X_2005_07_09_yyk\_map.mod
! Writing 72 model components to file: J1717+1917_X_2005_07_09_yyk_map.mod
wobs J1717+1917_X_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J1717+1917_X_2005_07_09_yyk_uvs.fits
wwins J1717+1917_X_2005_07_09_yyk\_map.win
! wwins: Wrote 3 windows to J1717+1917_X_2005_07_09_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.000403799 Jy
! Component: 100  -  total flux cleaned = 0.000942141 Jy
! Component: 150  -  total flux cleaned = 0.00107055 Jy
! Component: 200  -  total flux cleaned = 0.000947033 Jy
! Component: 250  -  total flux cleaned = 0.000908418 Jy
! Component: 300  -  total flux cleaned = 0.000869187 Jy
! Component: 350  -  total flux cleaned = 0.000756264 Jy
! Component: 400  -  total flux cleaned = 0.0007926 Jy
! Component: 450  -  total flux cleaned = 0.000791434 Jy
! Component: 500  -  total flux cleaned = 0.000791006 Jy
! Component: 550  -  total flux cleaned = 0.000790699 Jy
! Component: 600  -  total flux cleaned = 0.00068916 Jy
! Component: 650  -  total flux cleaned = 0.000822107 Jy
! Component: 700  -  total flux cleaned = 0.000854486 Jy
! Component: 750  -  total flux cleaned = 0.000918616 Jy
! Component: 800  -  total flux cleaned = 0.000919285 Jy
! Component: 850  -  total flux cleaned = 0.00104375 Jy
! Component: 900  -  total flux cleaned = 0.00107471 Jy
! Component: 950  -  total flux cleaned = 0.001225 Jy
! Component: 1000  -  total flux cleaned = 0.00125427 Jy
! Component: 1050  -  total flux cleaned = 0.00125449 Jy
! Component: 1100  -  total flux cleaned = 0.00125489 Jy
! Component: 1150  -  total flux cleaned = 0.00131127 Jy
! Component: 1200  -  total flux cleaned = 0.00131114 Jy
! Component: 1250  -  total flux cleaned = 0.00128385 Jy
! Component: 1300  -  total flux cleaned = 0.00125691 Jy
! Component: 1350  -  total flux cleaned = 0.00125673 Jy
! Component: 1400  -  total flux cleaned = 0.00130949 Jy
! Component: 1450  -  total flux cleaned = 0.00123116 Jy
! Component: 1500  -  total flux cleaned = 0.00123134 Jy
! Component: 1550  -  total flux cleaned = 0.0011804 Jy
! Component: 1600  -  total flux cleaned = 0.00123126 Jy
! Component: 1650  -  total flux cleaned = 0.00120648 Jy
! Component: 1700  -  total flux cleaned = 0.00110816 Jy
! Component: 1750  -  total flux cleaned = 0.00113233 Jy
! Component: 1800  -  total flux cleaned = 0.00110825 Jy
! Component: 1850  -  total flux cleaned = 0.00106082 Jy
! Component: 1900  -  total flux cleaned = 0.0010138 Jy
! Component: 1950  -  total flux cleaned = 0.00106112 Jy
! Component: 2000  -  total flux cleaned = 0.00101449 Jy
! Total flux subtracted in 2048 components = 0.000945917 Jy
! Clean residual min=-0.001162 max=0.001419 Jy/beam
! Clean residual mean=0.000001 rms=0.000429 Jy/beam
! Combined flux in latest and established models = 0.203808 Jy
keep
! Adding 140 model components to the UV plane model.
! The established model now contains 212 components and 0.203808 Jy
![Exited script file: muppet]
wmap "J1717+1917_X_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8657 x 2.07 at -2.223 degrees (North through East)
! Clean map  min=-0.0022271  max=0.1796 Jy/beam
! Writing clean map to FITS file: J1717+1917_X_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.179604 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000427353 
device "J1717+1917_X_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J1717+1917_X_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.713825 0.713825 1.42765 2.8553 5.7106 11.4212 22.8424 45.6848 91.3695
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.179 
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.8657 x 2.07 at -2.223 degrees (North through East)
! Clean map  min=-0.0022271  max=0.1796 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1717+1917_X_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J1717+1917_X_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1717+1917_X_2005_07_09_yyk_uvs.log closed on Fri Jan 20 10:47:47 2006