! Started logfile: J1725+7726_S_2006_02_16_yyk_uvs.log on Wed Jul  5 13:09:52 2006
obs J1725+7726_S_2006_02_16_yyk_uva.fits
! Reading UV FITS file: J1725+7726_S_2006_02_16_yyk_uva.fits
! AN table 1: 873 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.688533 visibilities/baseline/integration-bin.
! Found source: J1725+7726
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2422 lines of history.
! 
! Reading 108196 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 J1725+7726_S_2006_02_16_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.17238 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.299 mas, bmaj=9.869 mas, bpa=0.5062 degrees
! Estimated noise=1.48613 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.0816592 Jy
! Component: 100  -  total flux cleaned = 0.116689 Jy
! Total flux subtracted in 100 components = 0.116689 Jy
! Clean residual min=-0.015275 max=0.017688 Jy/beam
! Clean residual mean=0.000348 rms=0.006192 Jy/beam
! Combined flux in latest and established models = 0.116689 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 39 components and 0.116689 Jy
! 
! Correcting IF 1.
!  A total of 24 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 24 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 24 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 24 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.126015Jy  sigma=2.317915
! Fit after  self-cal, rms=0.125478Jy  sigma=2.303435
! Inverting map and beam 
! Estimated beam: bmin=2.299 mas, bmaj=9.869 mas, bpa=0.5062 degrees
! Estimated noise=1.48613 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=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 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.0566693 Jy
! Component: 100  -  total flux cleaned = 0.0940559 Jy
! Component: 150  -  total flux cleaned = 0.119765 Jy
! Component: 200  -  total flux cleaned = 0.137515 Jy
! Total flux subtracted in 200 components = 0.137515 Jy
! Clean residual min=-0.021375 max=0.034295 Jy/beam
! Clean residual mean=0.001059 rms=0.011570 Jy/beam
! Combined flux in latest and established models = 0.254204 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 63 components and 0.254204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105186Jy  sigma=1.870562
! Fit after  self-cal, rms=0.105044Jy  sigma=1.864951
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.878 x 9.86 at 0.9232 degrees (North through East)
! Clean map  min=-0.021073  max=0.118 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
!  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.
!  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.
!  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.105044Jy  sigma=1.864951
! Fit after  self-cal, rms=0.105044Jy  sigma=1.864951
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.105044Jy  sigma=1.864951
! Fit after  self-cal, rms=0.105022Jy  sigma=1.864249
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 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.0130482 Jy
! Component: 100  -  total flux cleaned = 0.0218838 Jy
! Component: 150  -  total flux cleaned = 0.0280003 Jy
! Component: 200  -  total flux cleaned = 0.0316622 Jy
! Total flux subtracted in 200 components = 0.0316622 Jy
! Clean residual min=-0.022079 max=0.037116 Jy/beam
! Clean residual mean=0.000992 rms=0.010976 Jy/beam
! Combined flux in latest and established models = 0.285866 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 66 components and 0.285866 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104015Jy  sigma=1.837735
! Fit after  self-cal, rms=0.103947Jy  sigma=1.836057
! 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.103947Jy  sigma=1.836057
! Fit after  self-cal, rms=0.100868Jy  sigma=1.785363
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.00389753 Jy
! Component: 100  -  total flux cleaned = 0.00534096 Jy
! Component: 150  -  total flux cleaned = 0.0065952 Jy
! Component: 200  -  total flux cleaned = 0.00697858 Jy
! Total flux subtracted in 200 components = 0.00697858 Jy
! Clean residual min=-0.021587 max=0.036828 Jy/beam
! Clean residual mean=0.000969 rms=0.010706 Jy/beam
! Combined flux in latest and established models = 0.292844 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 71 components and 0.292844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100537Jy  sigma=1.778923
! Fit after  self-cal, rms=0.100422Jy  sigma=1.776251
! 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: 2.878 x 9.86 at 0.9232 degrees (North through East)
! Clean map  min=-0.020928  max=0.12172 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.100422Jy  sigma=1.776251
! Fit after  self-cal, rms=0.100422Jy  sigma=1.776251
! 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.100422Jy  sigma=1.776251
! Fit after  self-cal, rms=0.100424Jy  sigma=1.776092
! Inverting map and beam 
! Estimated beam: bmin=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000429118 Jy
! Component: 100  -  total flux cleaned = 0.00109273 Jy
! Component: 150  -  total flux cleaned = 0.00145938 Jy
! Component: 200  -  total flux cleaned = 0.00181849 Jy
! Total flux subtracted in 200 components = 0.00181849 Jy
! Clean residual min=-0.021463 max=0.036912 Jy/beam
! Clean residual mean=0.000964 rms=0.010635 Jy/beam
! Combined flux in latest and established models = 0.294663 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 72 components and 0.294663 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100180Jy  sigma=1.771616
! Fit after  self-cal, rms=0.100155Jy  sigma=1.770927
! 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.100155Jy  sigma=1.770927
! Fit after  self-cal, rms=0.100155Jy  sigma=1.770927
! 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.100155Jy  sigma=1.770927
! Fit after  self-cal, rms=0.100156Jy  sigma=1.770924
! Inverting map and beam 
! Estimated beam: bmin=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000245346 Jy
! Component: 100  -  total flux cleaned = 0.000973752 Jy
! Component: 150  -  total flux cleaned = 0.00119978 Jy
! Component: 200  -  total flux cleaned = 0.00152949 Jy
! Total flux subtracted in 200 components = 0.00152949 Jy
! Clean residual min=-0.021428 max=0.037079 Jy/beam
! Clean residual mean=0.000959 rms=0.010592 Jy/beam
! Combined flux in latest and established models = 0.296192 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 72 components and 0.296192 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099944Jy  sigma=1.767084
! Fit after  self-cal, rms=0.099923Jy  sigma=1.766484
! 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.179 mas, bmaj=10.39 mas, bpa=3.865 degrees
! Estimated noise=1.15233 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.0173563 Jy
! Component: 100  -  total flux cleaned = 0.0234972 Jy
! Component: 150  -  total flux cleaned = 0.0242364 Jy
! Component: 200  -  total flux cleaned = 0.0244948 Jy
! Total flux subtracted in 200 components = 0.0244948 Jy
! Clean residual min=-0.044238 max=0.074621 Jy/beam
! Clean residual mean=0.002151 rms=0.023721 Jy/beam
! Combined flux in latest and established models = 0.320687 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 81 components and 0.320687 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100785Jy  sigma=1.774192
! Fit after  self-cal, rms=0.100705Jy  sigma=1.772785
! 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.299 mas, bmaj=9.869 mas, bpa=0.5062 degrees
! Estimated noise=1.48613 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0827468 Jy
! Component: 100  -  total flux cleaned = 0.120693 Jy
! Component: 150  -  total flux cleaned = 0.147 Jy
! Component: 200  -  total flux cleaned = 0.1668 Jy
! Total flux subtracted in 200 components = 0.1668 Jy
! Clean residual min=-0.013655 max=0.019696 Jy/beam
! Clean residual mean=0.000395 rms=0.005488 Jy/beam
! Combined flux in latest and established models = 0.1668 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 60 model components to the UV plane model.
! The established model now contains 60 components and 0.1668 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 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.0416045 Jy
! Component: 100  -  total flux cleaned = 0.0699478 Jy
! Component: 150  -  total flux cleaned = 0.0895575 Jy
! Component: 200  -  total flux cleaned = 0.103155 Jy
! Total flux subtracted in 200 components = 0.103155 Jy
! Clean residual min=-0.021692 max=0.035857 Jy/beam
! Clean residual mean=0.001033 rms=0.010997 Jy/beam
! Combined flux in latest and established models = 0.269956 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 73 components and 0.269956 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.179 mas, bmaj=10.39 mas, bpa=3.865 degrees
! Estimated noise=1.15233 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.0299695 Jy
! Component: 100  -  total flux cleaned = 0.043791 Jy
! Component: 150  -  total flux cleaned = 0.0477581 Jy
! Component: 200  -  total flux cleaned = 0.0482588 Jy
! Total flux subtracted in 200 components = 0.0482588 Jy
! Clean residual min=-0.045079 max=0.074426 Jy/beam
! Clean residual mean=0.002168 rms=0.023850 Jy/beam
! Combined flux in latest and established models = 0.318215 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 80 components and 0.318215 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.878 mas, bmaj=9.86 mas, bpa=0.9232 degrees
! Estimated noise=0.866601 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0101385 Jy
! Component: 100  -  total flux cleaned = -0.0139171 Jy
! Component: 150  -  total flux cleaned = -0.0165303 Jy
! Component: 200  -  total flux cleaned = -0.0171179 Jy
! Total flux subtracted in 200 components = -0.0171179 Jy
! Clean residual min=-0.021675 max=0.037953 Jy/beam
! Clean residual mean=0.000947 rms=0.010534 Jy/beam
! Combined flux in latest and established models = 0.301097 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 97 components and 0.301097 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100477Jy  sigma=1.772853
! Fit after  self-cal, rms=0.100410Jy  sigma=1.772183
wmodel J1725+7726_S_2006_02_16_yyk\_map.mod
! Writing 97 model components to file: J1725+7726_S_2006_02_16_yyk_map.mod
wobs J1725+7726_S_2006_02_16_yyk\_uvs.fits
! Writing UV FITS file: J1725+7726_S_2006_02_16_yyk_uvs.fits
wwins J1725+7726_S_2006_02_16_yyk\_map.win
! wwins: Wrote 1 windows to J1725+7726_S_2006_02_16_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.015648 Jy
! Component: 100  -  total flux cleaned = 0.0281245 Jy
! Component: 150  -  total flux cleaned = 0.0392047 Jy
! Component: 200  -  total flux cleaned = 0.0492769 Jy
! Component: 250  -  total flux cleaned = 0.058514 Jy
! Component: 300  -  total flux cleaned = 0.0646645 Jy
! Component: 350  -  total flux cleaned = 0.070095 Jy
! Component: 400  -  total flux cleaned = 0.0734131 Jy
! Component: 450  -  total flux cleaned = 0.0765479 Jy
! Component: 500  -  total flux cleaned = 0.0792404 Jy
! Component: 550  -  total flux cleaned = 0.0815392 Jy
! Component: 600  -  total flux cleaned = 0.0830087 Jy
! Component: 650  -  total flux cleaned = 0.0843998 Jy
! Component: 700  -  total flux cleaned = 0.0852843 Jy
! Component: 750  -  total flux cleaned = 0.0857151 Jy
! Component: 800  -  total flux cleaned = 0.0855124 Jy
! Component: 850  -  total flux cleaned = 0.0849297 Jy
! Component: 900  -  total flux cleaned = 0.0838097 Jy
! Component: 950  -  total flux cleaned = 0.0825505 Jy
! Component: 1000  -  total flux cleaned = 0.0809842 Jy
! Component: 1050  -  total flux cleaned = 0.0796402 Jy
! Component: 1100  -  total flux cleaned = 0.0788303 Jy
! Component: 1150  -  total flux cleaned = 0.0778832 Jy
! Component: 1200  -  total flux cleaned = 0.0768117 Jy
! Component: 1250  -  total flux cleaned = 0.0759275 Jy
! Component: 1300  -  total flux cleaned = 0.0749237 Jy
! Component: 1350  -  total flux cleaned = 0.0740863 Jy
! Component: 1400  -  total flux cleaned = 0.0728669 Jy
! Component: 1450  -  total flux cleaned = 0.0718212 Jy
! Component: 1500  -  total flux cleaned = 0.0714381 Jy
! Component: 1550  -  total flux cleaned = 0.0703168 Jy
! Component: 1600  -  total flux cleaned = 0.0691077 Jy
! Component: 1650  -  total flux cleaned = 0.0680474 Jy
! Component: 1700  -  total flux cleaned = 0.0668978 Jy
! Component: 1750  -  total flux cleaned = 0.0658908 Jy
! Component: 1800  -  total flux cleaned = 0.0647983 Jy
! Component: 1850  -  total flux cleaned = 0.0640493 Jy
! Component: 1900  -  total flux cleaned = 0.0628994 Jy
! Component: 1950  -  total flux cleaned = 0.0616794 Jy
! Component: 2000  -  total flux cleaned = 0.0609855 Jy
! Total flux subtracted in 2048 components = 0.0601107 Jy
! Clean residual min=-0.004889 max=0.005103 Jy/beam
! Clean residual mean=0.000207 rms=0.002829 Jy/beam
! Combined flux in latest and established models = 0.361207 Jy
keep
! Adding 352 model components to the UV plane model.
! The established model now contains 449 components and 0.361207 Jy
![Exited script file: muppet]
wmap "J1725+7726_S_2006_02_16_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.878 x 9.86 at 0.9232 degrees (North through East)
! Clean map  min=-0.01284  max=0.12275 Jy/beam
! Writing clean map to FITS file: J1725+7726_S_2006_02_16_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.122748 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00280797 
device "J1725+7726_S_2006_02_16_yyk\_map.eps/VPS"
! Attempting to open device: 'J1725+7726_S_2006_02_16_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -6.86278 6.86278 13.7256 27.4511 54.9023
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0084 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.122 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.878 x 9.86 at 0.9232 degrees (North through East)
! Clean map  min=-0.01284  max=0.12275 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1725+7726_S_2006_02_16_yyk\_map.gif/gif"
! Attempting to open device: 'J1725+7726_S_2006_02_16_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1725+7726_S_2006_02_16_yyk_uvs.log closed on Wed Jul  5 13:10:23 2006