! Started logfile: J0205+2416_S_2004_04_30_yyk_uvs.log on Tue Dec  6 23:53:03 2005
obs J0205+2416_S_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J0205+2416_S_2004_04_30_yyk_uve.fits
! AN table 1: 5 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.906667 visibilities/baseline/integration-bin.
! Found source: J0205+2416
! 
! 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 1633 lines of history.
! 
! Reading 816 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 J0205+2416_S_2004_04_30_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.20246 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 7 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.823394Jy  sigma=15.934601
! Fit after  self-cal, rms=0.823383Jy  sigma=15.946138
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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=3.147 mas, bmaj=7.417 mas, bpa=20.35 degrees
! Estimated noise=1.88668 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.149201 Jy
! Component: 100  -  total flux cleaned = 0.181825 Jy
! Total flux subtracted in 100 components = 0.181825 Jy
! Clean residual min=-0.015618 max=0.037703 Jy/beam
! Clean residual mean=0.000064 rms=0.005337 Jy/beam
! Combined flux in latest and established models = 0.181825 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.181825 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.086690Jy  sigma=1.533132
! Fit after  self-cal, rms=0.086490Jy  sigma=1.528579
! Inverting map 
! Added new window around map position (9, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0360845 Jy
! Component: 100  -  total flux cleaned = 0.0457224 Jy
! Total flux subtracted in 100 components = 0.0457224 Jy
! Clean residual min=-0.013548 max=0.013037 Jy/beam
! Clean residual mean=0.000007 rms=0.003548 Jy/beam
! Combined flux in latest and established models = 0.227547 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 42 components and 0.227547 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075782Jy  sigma=1.278283
! Fit after  self-cal, rms=0.074072Jy  sigma=1.245905
! 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=3.913 mas, bmaj=8.038 mas, bpa=18 degrees
! Estimated noise=1.34925 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.0135436 Jy
! Component: 100  -  total flux cleaned = 0.0168802 Jy
! Component: 150  -  total flux cleaned = 0.0172145 Jy
! Component: 200  -  total flux cleaned = 0.0174904 Jy
! Total flux subtracted in 200 components = 0.0174904 Jy
! Clean residual min=-0.008309 max=0.006470 Jy/beam
! Clean residual mean=-0.000051 rms=0.001912 Jy/beam
! Combined flux in latest and established models = 0.245037 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 67 components and 0.245037 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072397Jy  sigma=1.204500
! Fit after  self-cal, rms=0.072076Jy  sigma=1.200381
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.00216
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     HN        1.06     KP        1.04     
!   LA        1.09     MK        1.00     NL        1.09     OV        0.95     
!   PT        0.89     SC        0.86     
! 
! 
! 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.072076Jy  sigma=1.200381
! Fit after  self-cal, rms=0.071521Jy  sigma=1.187151
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.071521Jy  sigma=1.187151
! Fit after  self-cal, rms=0.071521Jy  sigma=1.187143
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.848 mas, bmaj=8.02 mas, bpa=19.16 degrees
! Estimated noise=1.34763 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.0019522 Jy
! Component: 100  -  total flux cleaned = 0.00195951 Jy
! Component: 150  -  total flux cleaned = 0.00187569 Jy
! Component: 200  -  total flux cleaned = 0.00187675 Jy
! Total flux subtracted in 200 components = 0.00187675 Jy
! Clean residual min=-0.007462 max=0.005781 Jy/beam
! Clean residual mean=-0.000046 rms=0.001660 Jy/beam
! Combined flux in latest and established models = 0.246914 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 90 components and 0.246914 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071254Jy  sigma=1.182544
! Fit after  self-cal, rms=0.071205Jy  sigma=1.182383
! 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.071205Jy  sigma=1.182383
! Fit after  self-cal, rms=0.062374Jy  sigma=1.047000
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.001356 Jy
! Component: 100  -  total flux cleaned = 0.00135951 Jy
! Component: 150  -  total flux cleaned = 0.00135815 Jy
! Component: 200  -  total flux cleaned = 0.00135515 Jy
! Total flux subtracted in 200 components = 0.00135515 Jy
! Clean residual min=-0.006673 max=0.005169 Jy/beam
! Clean residual mean=-0.000046 rms=0.001508 Jy/beam
! Combined flux in latest and established models = 0.248269 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 106 components and 0.248269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062096Jy  sigma=1.043475
! Fit after  self-cal, rms=0.061155Jy  sigma=1.027517
! 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.848 x 8.02 at 19.16 degrees (North through East)
! Clean map  min=-0.0061318  max=0.16897 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.061155Jy  sigma=1.027517
! Fit after  self-cal, rms=0.060985Jy  sigma=1.027224
! 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.060985Jy  sigma=1.027224
! Fit after  self-cal, rms=0.060943Jy  sigma=1.025579
! Inverting map and beam 
! Estimated beam: bmin=3.839 mas, bmaj=8.014 mas, bpa=19.19 degrees
! Estimated noise=1.34471 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000513584 Jy
! Component: 100  -  total flux cleaned = 0.00057747 Jy
! Component: 150  -  total flux cleaned = 0.000633293 Jy
! Component: 200  -  total flux cleaned = 0.000634495 Jy
! Total flux subtracted in 200 components = 0.000634495 Jy
! Clean residual min=-0.006068 max=0.004933 Jy/beam
! Clean residual mean=-0.000043 rms=0.001450 Jy/beam
! Combined flux in latest and established models = 0.248904 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 115 components and 0.248904 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060792Jy  sigma=1.023735
! Fit after  self-cal, rms=0.060808Jy  sigma=1.023433
! 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.060808Jy  sigma=1.023433
! Fit after  self-cal, rms=0.060947Jy  sigma=1.020709
! 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.060947Jy  sigma=1.020709
! Fit after  self-cal, rms=0.060950Jy  sigma=1.020668
! Inverting map and beam 
! Estimated beam: bmin=3.841 mas, bmaj=8.017 mas, bpa=19.06 degrees
! Estimated noise=1.34648 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000307002 Jy
! Component: 100  -  total flux cleaned = 0.000358218 Jy
! Component: 150  -  total flux cleaned = 0.0004016 Jy
! Component: 200  -  total flux cleaned = 0.000402113 Jy
! Total flux subtracted in 200 components = 0.000402113 Jy
! Clean residual min=-0.005996 max=0.005074 Jy/beam
! Clean residual mean=-0.000047 rms=0.001455 Jy/beam
! Combined flux in latest and established models = 0.249306 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 117 components and 0.249306 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060853Jy  sigma=1.019591
! Fit after  self-cal, rms=0.060856Jy  sigma=1.019558
! 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.552 mas, bmaj=10.24 mas, bpa=2.298 degrees
! Estimated noise=1.63024 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.000994239 Jy
! Component: 100  -  total flux cleaned = 0.00113687 Jy
! Component: 150  -  total flux cleaned = 0.00110639 Jy
! Component: 200  -  total flux cleaned = 0.00107688 Jy
! Total flux subtracted in 200 components = 0.00107688 Jy
! Clean residual min=-0.005328 max=0.005857 Jy/beam
! Clean residual mean=-0.000110 rms=0.001715 Jy/beam
! Combined flux in latest and established models = 0.250383 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 128 components and 0.250383 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060895Jy  sigma=1.019482
! Fit after  self-cal, rms=0.060891Jy  sigma=1.019423
! Inverting map 
uvtaper 0,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=3.119 mas, bmaj=7.421 mas, bpa=20.72 degrees
! Estimated noise=1.87906 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.157665 Jy
! Component: 100  -  total flux cleaned = 0.201136 Jy
! Component: 150  -  total flux cleaned = 0.22223 Jy
! Component: 200  -  total flux cleaned = 0.236004 Jy
! Total flux subtracted in 200 components = 0.236004 Jy
! Clean residual min=-0.007222 max=0.008651 Jy/beam
! Clean residual mean=-0.000020 rms=0.002431 Jy/beam
! Combined flux in latest and established models = 0.236004 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.236004 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.841 mas, bmaj=8.017 mas, bpa=19.06 degrees
! Estimated noise=1.34648 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.00884321 Jy
! Component: 100  -  total flux cleaned = 0.0110882 Jy
! Component: 150  -  total flux cleaned = 0.0120685 Jy
! Component: 200  -  total flux cleaned = 0.0128253 Jy
! Total flux subtracted in 200 components = 0.0128253 Jy
! Clean residual min=-0.005650 max=0.005251 Jy/beam
! Clean residual mean=-0.000047 rms=0.001483 Jy/beam
! Combined flux in latest and established models = 0.248829 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 76 components and 0.248829 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.552 mas, bmaj=10.24 mas, bpa=2.298 degrees
! Estimated noise=1.63024 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.00197822 Jy
! Component: 100  -  total flux cleaned = 0.00231317 Jy
! Component: 150  -  total flux cleaned = 0.00235975 Jy
! Component: 200  -  total flux cleaned = 0.00227941 Jy
! Total flux subtracted in 200 components = 0.00227941 Jy
! Clean residual min=-0.005390 max=0.005926 Jy/beam
! Clean residual mean=-0.000110 rms=0.001726 Jy/beam
! Combined flux in latest and established models = 0.251109 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 91 components and 0.251109 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.841 mas, bmaj=8.017 mas, bpa=19.06 degrees
! Estimated noise=1.34648 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000855547 Jy
! Component: 100  -  total flux cleaned = -0.000788984 Jy
! Component: 150  -  total flux cleaned = -0.00073527 Jy
! Component: 200  -  total flux cleaned = -0.000734678 Jy
! Total flux subtracted in 200 components = -0.000734678 Jy
! Clean residual min=-0.005641 max=0.005023 Jy/beam
! Clean residual mean=-0.000049 rms=0.001449 Jy/beam
! Combined flux in latest and established models = 0.250374 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 109 components and 0.250374 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060812Jy  sigma=1.019769
! Fit after  self-cal, rms=0.060798Jy  sigma=1.019468
wmodel J0205+2416_S_2004_04_30_yyk\_map.mod
! Writing 109 model components to file: J0205+2416_S_2004_04_30_yyk_map.mod
wobs J0205+2416_S_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J0205+2416_S_2004_04_30_yyk_uvs.fits
wwins J0205+2416_S_2004_04_30_yyk\_map.win
! wwins: Wrote 2 windows to J0205+2416_S_2004_04_30_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.00151586 Jy
! Component: 100  -  total flux cleaned = -0.00178566 Jy
! Component: 150  -  total flux cleaned = -0.00194611 Jy
! Component: 200  -  total flux cleaned = -0.00248039 Jy
! Component: 250  -  total flux cleaned = -0.00291477 Jy
! Component: 300  -  total flux cleaned = -0.0029858 Jy
! Component: 350  -  total flux cleaned = -0.00325431 Jy
! Component: 400  -  total flux cleaned = -0.00370002 Jy
! Component: 450  -  total flux cleaned = -0.00382181 Jy
! Component: 500  -  total flux cleaned = -0.00405984 Jy
! Component: 550  -  total flux cleaned = -0.00434983 Jy
! Component: 600  -  total flux cleaned = -0.00451758 Jy
! Component: 650  -  total flux cleaned = -0.00451474 Jy
! Component: 700  -  total flux cleaned = -0.00435418 Jy
! Component: 750  -  total flux cleaned = -0.00435445 Jy
! Component: 800  -  total flux cleaned = -0.00425449 Jy
! Component: 850  -  total flux cleaned = -0.00430524 Jy
! Component: 900  -  total flux cleaned = -0.00435352 Jy
! Component: 950  -  total flux cleaned = -0.00435244 Jy
! Component: 1000  -  total flux cleaned = -0.0042604 Jy
! Component: 1050  -  total flux cleaned = -0.00435014 Jy
! Component: 1100  -  total flux cleaned = -0.00426112 Jy
! Component: 1150  -  total flux cleaned = -0.00426188 Jy
! Component: 1200  -  total flux cleaned = -0.0043899 Jy
! Component: 1250  -  total flux cleaned = -0.00443157 Jy
! Component: 1300  -  total flux cleaned = -0.00447143 Jy
! Component: 1350  -  total flux cleaned = -0.00438922 Jy
! Component: 1400  -  total flux cleaned = -0.00434941 Jy
! Component: 1450  -  total flux cleaned = -0.00438887 Jy
! Component: 1500  -  total flux cleaned = -0.00438841 Jy
! Component: 1550  -  total flux cleaned = -0.00438878 Jy
! Component: 1600  -  total flux cleaned = -0.00435134 Jy
! Component: 1650  -  total flux cleaned = -0.00438805 Jy
! Component: 1700  -  total flux cleaned = -0.00431536 Jy
! Component: 1750  -  total flux cleaned = -0.00431598 Jy
! Component: 1800  -  total flux cleaned = -0.00438749 Jy
! Component: 1850  -  total flux cleaned = -0.00449212 Jy
! Component: 1900  -  total flux cleaned = -0.00442288 Jy
! Component: 1950  -  total flux cleaned = -0.00442287 Jy
! Component: 2000  -  total flux cleaned = -0.00438879 Jy
! Total flux subtracted in 2048 components = -0.00438863 Jy
! Clean residual min=-0.001820 max=0.002512 Jy/beam
! Clean residual mean=-0.000020 rms=0.000664 Jy/beam
! Combined flux in latest and established models = 0.245985 Jy
keep
! Adding 132 model components to the UV plane model.
! The established model now contains 241 components and 0.245985 Jy
![Exited script file: muppet]
wmap "J0205+2416_S_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.841 x 8.017 at 19.06 degrees (North through East)
! Clean map  min=-0.0040443  max=0.17018 Jy/beam
! Writing clean map to FITS file: J0205+2416_S_2004_04_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.170182 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000653282 
device "J0205+2416_S_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0205+2416_S_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.15162 1.15162 2.30324 4.60647 9.21294 18.4259 36.8518 73.7036
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.17 
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.841 x 8.017 at 19.06 degrees (North through East)
! Clean map  min=-0.0040443  max=0.17018 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0205+2416_S_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0205+2416_S_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0205+2416_S_2004_04_30_yyk_uvs.log closed on Tue Dec  6 23:53:07 2005