! Started logfile: J0431+1731_S_1996_01_02_yyk_uvs.log on Sun Jan  7 16:17:08 2007
obs J0431+1731_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J0431+1731_S_1996_01_02_yyk_uva.fits
! AN table 1: 129 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.803445 visibilities/baseline/integration-bin.
! Found source: J0431+1731
! 
! 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 624 lines of history.
! 
! Reading 18656 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 J0431+1731_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.448872 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.788 mas, bmaj=7.166 mas, bpa=-14.36 degrees
! Estimated noise=1969.88 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.103806 Jy
! Component: 100  -  total flux cleaned = 0.128434 Jy
! Total flux subtracted in 100 components = 0.128434 Jy
! Clean residual min=-0.018934 max=0.019351 Jy/beam
! Clean residual mean=-0.000020 rms=0.004960 Jy/beam
! Combined flux in latest and established models = 0.128434 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.128434 Jy
! 
! Correcting IF 1.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 184 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 356 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 166 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.432245Jy  sigma=0.001992
! Fit after  self-cal, rms=0.429297Jy  sigma=0.001977
! Inverting map and beam 
! Estimated beam: bmin=2.788 mas, bmaj=7.167 mas, bpa=-14.36 degrees
! Estimated noise=1969.88 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.534 mas, bmaj=8.673 mas, bpa=-15.57 degrees
! Estimated noise=1018.29 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.0182794 Jy
! Component: 100  -  total flux cleaned = 0.0251225 Jy
! Component: 150  -  total flux cleaned = 0.0282149 Jy
! Component: 200  -  total flux cleaned = 0.0287945 Jy
! Total flux subtracted in 200 components = 0.0287945 Jy
! Clean residual min=-0.010923 max=0.014057 Jy/beam
! Clean residual mean=0.000088 rms=0.003721 Jy/beam
! Combined flux in latest and established models = 0.157228 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 42 components and 0.157228 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.428725Jy  sigma=0.001974
! Fit after  self-cal, rms=0.428703Jy  sigma=0.001974
! 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.534 x 8.673 at -15.57 degrees (North through East)
! Clean map  min=-0.010747  max=0.12845 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 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.
!  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.428703Jy  sigma=0.001974
! Fit after  self-cal, rms=0.428515Jy  sigma=0.001973
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.428515Jy  sigma=0.001973
! Fit after  self-cal, rms=0.428512Jy  sigma=0.001973
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.534 mas, bmaj=8.672 mas, bpa=-15.56 degrees
! Estimated noise=1018.65 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.000679128 Jy
! Component: 100  -  total flux cleaned = 0.0007356 Jy
! Component: 150  -  total flux cleaned = 0.000831469 Jy
! Component: 200  -  total flux cleaned = 0.000875176 Jy
! Total flux subtracted in 200 components = 0.000875176 Jy
! Clean residual min=-0.010975 max=0.013961 Jy/beam
! Clean residual mean=0.000087 rms=0.003711 Jy/beam
! Combined flux in latest and established models = 0.158104 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 51 components and 0.158104 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.428499Jy  sigma=0.001973
! Fit after  self-cal, rms=0.428494Jy  sigma=0.001973
! 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.428494Jy  sigma=0.001973
! Fit after  self-cal, rms=0.427610Jy  sigma=0.001967
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.00326879 Jy
! Component: 100  -  total flux cleaned = 0.00365283 Jy
! Component: 150  -  total flux cleaned = 0.00359659 Jy
! Component: 200  -  total flux cleaned = 0.00354376 Jy
! Total flux subtracted in 200 components = 0.00354376 Jy
! Clean residual min=-0.010118 max=0.014239 Jy/beam
! Clean residual mean=0.000099 rms=0.003599 Jy/beam
! Combined flux in latest and established models = 0.161647 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 63 components and 0.161647 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.427572Jy  sigma=0.001967
! Fit after  self-cal, rms=0.427047Jy  sigma=0.001964
! 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.534 x 8.672 at -15.56 degrees (North through East)
! Clean map  min=-0.010339  max=0.13321 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.427047Jy  sigma=0.001964
! Fit after  self-cal, rms=0.427047Jy  sigma=0.001964
! 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.427047Jy  sigma=0.001964
! Fit after  self-cal, rms=0.426787Jy  sigma=0.001963
! Inverting map and beam 
! Estimated beam: bmin=3.534 mas, bmaj=8.672 mas, bpa=-15.56 degrees
! Estimated noise=1018.65 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00118031 Jy
! Component: 100  -  total flux cleaned = 0.00118963 Jy
! Component: 150  -  total flux cleaned = 0.00113781 Jy
! Component: 200  -  total flux cleaned = 0.000988489 Jy
! Total flux subtracted in 200 components = 0.000988489 Jy
! Clean residual min=-0.010084 max=0.014663 Jy/beam
! Clean residual mean=0.000109 rms=0.003587 Jy/beam
! Combined flux in latest and established models = 0.162636 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 66 components and 0.162636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.426755Jy  sigma=0.001963
! Fit after  self-cal, rms=0.426646Jy  sigma=0.001962
! 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.426646Jy  sigma=0.001962
! Fit after  self-cal, rms=0.426646Jy  sigma=0.001962
! 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.426646Jy  sigma=0.001962
! Fit after  self-cal, rms=0.426633Jy  sigma=0.001962
! Inverting map and beam 
! Estimated beam: bmin=3.534 mas, bmaj=8.672 mas, bpa=-15.56 degrees
! Estimated noise=1018.65 mJy/beam.
! Added new window around map position (23, -15.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0162985 Jy
! Component: 100  -  total flux cleaned = 0.0244877 Jy
! Component: 150  -  total flux cleaned = 0.0277181 Jy
! Component: 200  -  total flux cleaned = 0.0286951 Jy
! Total flux subtracted in 200 components = 0.0286951 Jy
! Clean residual min=-0.010018 max=0.011579 Jy/beam
! Clean residual mean=0.000022 rms=0.002951 Jy/beam
! Combined flux in latest and established models = 0.191331 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 96 components and 0.191331 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.426160Jy  sigma=0.001959
! Fit after  self-cal, rms=0.426035Jy  sigma=0.001958
! 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.366 mas, bmaj=11.22 mas, bpa=-6.313 degrees
! Estimated noise=1245.36 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.00727982 Jy
! Component: 100  -  total flux cleaned = 0.00851126 Jy
! Component: 150  -  total flux cleaned = 0.00892316 Jy
! Component: 200  -  total flux cleaned = 0.00916017 Jy
! Total flux subtracted in 200 components = 0.00916017 Jy
! Clean residual min=-0.011429 max=0.011189 Jy/beam
! Clean residual mean=-0.000003 rms=0.003610 Jy/beam
! Combined flux in latest and established models = 0.200491 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 120 components and 0.200491 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.425990Jy  sigma=0.001958
! Fit after  self-cal, rms=0.425933Jy  sigma=0.001958
! 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.788 mas, bmaj=7.167 mas, bpa=-14.36 degrees
! Estimated noise=1970.17 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.119033 Jy
! Component: 100  -  total flux cleaned = 0.149304 Jy
! Component: 150  -  total flux cleaned = 0.164759 Jy
! Component: 200  -  total flux cleaned = 0.173349 Jy
! Total flux subtracted in 200 components = 0.173349 Jy
! Clean residual min=-0.016234 max=0.018389 Jy/beam
! Clean residual mean=0.000068 rms=0.004226 Jy/beam
! Combined flux in latest and established models = 0.173349 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 38 model components to the UV plane model.
! The established model now contains 38 components and 0.173349 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.534 mas, bmaj=8.672 mas, bpa=-15.56 degrees
! Estimated noise=1018.65 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.011008 Jy
! Component: 100  -  total flux cleaned = 0.0163056 Jy
! Component: 150  -  total flux cleaned = 0.0198137 Jy
! Component: 200  -  total flux cleaned = 0.0221528 Jy
! Total flux subtracted in 200 components = 0.0221528 Jy
! Clean residual min=-0.009663 max=0.009709 Jy/beam
! Clean residual mean=0.000009 rms=0.002816 Jy/beam
! Combined flux in latest and established models = 0.195502 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 62 components and 0.195502 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.366 mas, bmaj=11.22 mas, bpa=-6.313 degrees
! Estimated noise=1245.36 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.00338918 Jy
! Component: 100  -  total flux cleaned = 0.00461814 Jy
! Component: 150  -  total flux cleaned = 0.00504588 Jy
! Component: 200  -  total flux cleaned = 0.00543191 Jy
! Total flux subtracted in 200 components = 0.00543191 Jy
! Clean residual min=-0.011870 max=0.010522 Jy/beam
! Clean residual mean=-0.000007 rms=0.003537 Jy/beam
! Combined flux in latest and established models = 0.200934 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 90 components and 0.200934 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.534 mas, bmaj=8.672 mas, bpa=-15.56 degrees
! Estimated noise=1018.65 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00248955 Jy
! Component: 100  -  total flux cleaned = -0.00286162 Jy
! Component: 150  -  total flux cleaned = -0.00309251 Jy
! Component: 200  -  total flux cleaned = -0.00320155 Jy
! Total flux subtracted in 200 components = -0.00320155 Jy
! Clean residual min=-0.009409 max=0.009252 Jy/beam
! Clean residual mean=0.000004 rms=0.002744 Jy/beam
! Combined flux in latest and established models = 0.197733 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 108 components and 0.197733 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.425812Jy  sigma=0.001957
! Fit after  self-cal, rms=0.425763Jy  sigma=0.001957
wmodel J0431+1731_S_1996_01_02_yyk\_map.mod
! Writing 108 model components to file: J0431+1731_S_1996_01_02_yyk_map.mod
wobs J0431+1731_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J0431+1731_S_1996_01_02_yyk_uvs.fits
wwins J0431+1731_S_1996_01_02_yyk\_map.win
! wwins: Wrote 2 windows to J0431+1731_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.00138771 Jy
! Component: 100  -  total flux cleaned = 0.00267964 Jy
! Component: 150  -  total flux cleaned = 0.00388532 Jy
! Component: 200  -  total flux cleaned = 0.00545996 Jy
! Component: 250  -  total flux cleaned = 0.00683115 Jy
! Component: 300  -  total flux cleaned = 0.00802768 Jy
! Component: 350  -  total flux cleaned = 0.00905647 Jy
! Component: 400  -  total flux cleaned = 0.00967692 Jy
! Component: 450  -  total flux cleaned = 0.0102795 Jy
! Component: 500  -  total flux cleaned = 0.0111001 Jy
! Component: 550  -  total flux cleaned = 0.0119019 Jy
! Component: 600  -  total flux cleaned = 0.0126859 Jy
! Component: 650  -  total flux cleaned = 0.0135595 Jy
! Component: 700  -  total flux cleaned = 0.0145166 Jy
! Component: 750  -  total flux cleaned = 0.0153478 Jy
! Component: 800  -  total flux cleaned = 0.0159593 Jy
! Component: 850  -  total flux cleaned = 0.016756 Jy
! Component: 900  -  total flux cleaned = 0.0174403 Jy
! Component: 950  -  total flux cleaned = 0.0180171 Jy
! Component: 1000  -  total flux cleaned = 0.0184874 Jy
! Component: 1050  -  total flux cleaned = 0.018672 Jy
! Component: 1100  -  total flux cleaned = 0.0193118 Jy
! Component: 1150  -  total flux cleaned = 0.0198515 Jy
! Component: 1200  -  total flux cleaned = 0.0204749 Jy
! Component: 1250  -  total flux cleaned = 0.0210897 Jy
! Component: 1300  -  total flux cleaned = 0.0216941 Jy
! Component: 1350  -  total flux cleaned = 0.0219499 Jy
! Component: 1400  -  total flux cleaned = 0.022456 Jy
! Component: 1450  -  total flux cleaned = 0.0226224 Jy
! Component: 1500  -  total flux cleaned = 0.0227869 Jy
! Component: 1550  -  total flux cleaned = 0.0228673 Jy
! Component: 1600  -  total flux cleaned = 0.0231885 Jy
! Component: 1650  -  total flux cleaned = 0.0232678 Jy
! Component: 1700  -  total flux cleaned = 0.0233474 Jy
! Component: 1750  -  total flux cleaned = 0.0237393 Jy
! Component: 1800  -  total flux cleaned = 0.0240485 Jy
! Component: 1850  -  total flux cleaned = 0.024123 Jy
! Component: 1900  -  total flux cleaned = 0.0243508 Jy
! Component: 1950  -  total flux cleaned = 0.0247263 Jy
! Component: 2000  -  total flux cleaned = 0.0253203 Jy
! Total flux subtracted in 2048 components = 0.0251713 Jy
! Clean residual min=-0.003872 max=0.004599 Jy/beam
! Clean residual mean=-0.000013 rms=0.001595 Jy/beam
! Combined flux in latest and established models = 0.222904 Jy
keep
! Adding 155 model components to the UV plane model.
! The established model now contains 263 components and 0.222904 Jy
![Exited script file: muppet]
wmap "J0431+1731_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.534 x 8.672 at -15.56 degrees (North through East)
! Clean map  min=-0.0071968  max=0.13404 Jy/beam
! Writing clean map to FITS file: J0431+1731_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.134045 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00159349 
device "J0431+1731_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0431+1731_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.56632 3.56632 7.13265 14.2653 28.5306 57.0612
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0047 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.134 
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.534 x 8.672 at -15.56 degrees (North through East)
! Clean map  min=-0.0071968  max=0.13404 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0431+1731_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0431+1731_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0431+1731_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 16:17:15 2007