! Started logfile: J0225+1846_S_1996_01_02_yyk_uvs.log on Sun Jan  7 15:51:35 2007
obs J0225+1846_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J0225+1846_S_1996_01_02_yyk_uva.fits
! AN table 1: 126 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.853263 visibilities/baseline/integration-bin.
! Found source: J0225+1846
! 
! 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 623 lines of history.
! 
! Reading 19352 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 J0225+1846_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.591527 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.805 mas, bmaj=6.875 mas, bpa=-13.73 degrees
! Estimated noise=1695.58 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.390175 Jy
! Component: 100  -  total flux cleaned = 0.451131 Jy
! Total flux subtracted in 100 components = 0.451131 Jy
! Clean residual min=-0.022284 max=0.023586 Jy/beam
! Clean residual mean=0.000040 rms=0.005661 Jy/beam
! Combined flux in latest and established models = 0.451131 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.451131 Jy
! 
! Correcting IF 1.
!  A total of 101 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 100 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 100 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 99 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.368206Jy  sigma=0.001745
! Fit after  self-cal, rms=0.368078Jy  sigma=0.001744
! Inverting map and beam 
! Estimated beam: bmin=2.805 mas, bmaj=6.875 mas, bpa=-13.73 degrees
! Estimated noise=1695.59 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.511 mas, bmaj=9.182 mas, bpa=-17.65 degrees
! Estimated noise=936.589 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.0204134 Jy
! Component: 100  -  total flux cleaned = 0.0285866 Jy
! Component: 150  -  total flux cleaned = 0.0300252 Jy
! Component: 200  -  total flux cleaned = 0.0309778 Jy
! Total flux subtracted in 200 components = 0.0309778 Jy
! Clean residual min=-0.019105 max=0.018580 Jy/beam
! Clean residual mean=0.000050 rms=0.004890 Jy/beam
! Combined flux in latest and established models = 0.482108 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 16 components and 0.482108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.366601Jy  sigma=0.001740
! Fit after  self-cal, rms=0.366598Jy  sigma=0.001740
! 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.511 x 9.182 at -17.65 degrees (North through East)
! Clean map  min=-0.018488  max=0.44536 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
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.03059
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.11     HN        1.22     KP        0.84     
!   LA        1.00     MK        0.93     NL        0.79     OV        1.03     
!   PT        0.98     SC        0.85     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.986564
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.16     HN        1.37     KP        0.87     
!   LA        1.12     MK        0.98     NL        0.82     OV        1.01     
!   PT        0.92     SC        0.86     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01785
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.14     HN        1.20     KP        0.87     
!   LA        0.85     MK        0.89     NL        0.87     OV        0.94     
!   PT        1.13     SC        0.97     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.976089
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.18     HN        1.32     KP        0.93     
!   LA        0.94     MK        1.02     NL        0.99     OV        0.92     
!   PT        1.02     SC        0.88     
! 
! 
! Fit before self-cal, rms=0.366598Jy  sigma=0.001740
! Fit after  self-cal, rms=0.357274Jy  sigma=0.001694
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.357274Jy  sigma=0.001694
! Fit after  self-cal, rms=0.357277Jy  sigma=0.001694
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.499 mas, bmaj=9.085 mas, bpa=-16.93 degrees
! Estimated noise=928.026 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.00417096 Jy
! Component: 100  -  total flux cleaned = -0.0046268 Jy
! Component: 150  -  total flux cleaned = -0.00477761 Jy
! Component: 200  -  total flux cleaned = -0.00500158 Jy
! Total flux subtracted in 200 components = -0.00500158 Jy
! Clean residual min=-0.005121 max=0.005866 Jy/beam
! Clean residual mean=0.000115 rms=0.001613 Jy/beam
! Combined flux in latest and established models = 0.477107 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 24 components and 0.477107 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.357076Jy  sigma=0.001693
! Fit after  self-cal, rms=0.357070Jy  sigma=0.001692
! 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.357070Jy  sigma=0.001692
! Fit after  self-cal, rms=0.356586Jy  sigma=0.001689
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 = 4.33816e-06 Jy
! Component: 100  -  total flux cleaned = -0.000383787 Jy
! Component: 150  -  total flux cleaned = -0.000716908 Jy
! Component: 200  -  total flux cleaned = -0.000951454 Jy
! Total flux subtracted in 200 components = -0.000951454 Jy
! Clean residual min=-0.005099 max=0.005821 Jy/beam
! Clean residual mean=0.000114 rms=0.001599 Jy/beam
! Combined flux in latest and established models = 0.476155 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 32 components and 0.476155 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356560Jy  sigma=0.001689
! Fit after  self-cal, rms=0.356517Jy  sigma=0.001689
! 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.499 x 9.085 at -16.93 degrees (North through East)
! Clean map  min=-0.0049012  max=0.44936 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.356517Jy  sigma=0.001689
! Fit after  self-cal, rms=0.356100Jy  sigma=0.001683
! 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.356100Jy  sigma=0.001683
! Fit after  self-cal, rms=0.356107Jy  sigma=0.001684
! Inverting map and beam 
! Estimated beam: bmin=3.486 mas, bmaj=9.072 mas, bpa=-16.77 degrees
! Estimated noise=925.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000927814 Jy
! Component: 100  -  total flux cleaned = -0.00156806 Jy
! Component: 150  -  total flux cleaned = -0.00182162 Jy
! Component: 200  -  total flux cleaned = -0.00208839 Jy
! Total flux subtracted in 200 components = -0.00208839 Jy
! Clean residual min=-0.005098 max=0.004855 Jy/beam
! Clean residual mean=0.000051 rms=0.001446 Jy/beam
! Combined flux in latest and established models = 0.474067 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 35 components and 0.474067 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356076Jy  sigma=0.001683
! Fit after  self-cal, rms=0.356082Jy  sigma=0.001683
! 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.356082Jy  sigma=0.001683
! Fit after  self-cal, rms=0.356970Jy  sigma=0.001681
! 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.356970Jy  sigma=0.001681
! Fit after  self-cal, rms=0.356975Jy  sigma=0.001681
! Inverting map and beam 
! Estimated beam: bmin=3.477 mas, bmaj=9.072 mas, bpa=-16.79 degrees
! Estimated noise=926.292 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000430501 Jy
! Component: 100  -  total flux cleaned = 0.000203588 Jy
! Component: 150  -  total flux cleaned = -3.51952e-05 Jy
! Component: 200  -  total flux cleaned = -0.000196828 Jy
! Total flux subtracted in 200 components = -0.000196828 Jy
! Clean residual min=-0.005010 max=0.004829 Jy/beam
! Clean residual mean=0.000048 rms=0.001439 Jy/beam
! Combined flux in latest and established models = 0.47387 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 39 components and 0.47387 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356959Jy  sigma=0.001681
! Fit after  self-cal, rms=0.356960Jy  sigma=0.001681
! 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.357 mas, bmaj=11.68 mas, bpa=-11.48 degrees
! Estimated noise=1140.17 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.000501244 Jy
! Component: 100  -  total flux cleaned = 0.000331068 Jy
! Component: 150  -  total flux cleaned = 0.000165853 Jy
! Component: 200  -  total flux cleaned = 0.000102004 Jy
! Total flux subtracted in 200 components = 0.000102004 Jy
! Clean residual min=-0.005972 max=0.005418 Jy/beam
! Clean residual mean=0.000095 rms=0.001788 Jy/beam
! Combined flux in latest and established models = 0.473972 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 46 components and 0.473972 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356961Jy  sigma=0.001681
! Fit after  self-cal, rms=0.356957Jy  sigma=0.001681
! 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.767 mas, bmaj=6.78 mas, bpa=-12.15 degrees
! Estimated noise=1675.55 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.386495 Jy
! Component: 100  -  total flux cleaned = 0.441749 Jy
! Component: 150  -  total flux cleaned = 0.459033 Jy
! Component: 200  -  total flux cleaned = 0.467236 Jy
! Total flux subtracted in 200 components = 0.467236 Jy
! Clean residual min=-0.009703 max=0.011584 Jy/beam
! Clean residual mean=0.000036 rms=0.002645 Jy/beam
! Combined flux in latest and established models = 0.467236 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 22 model components to the UV plane model.
! The established model now contains 22 components and 0.467236 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.477 mas, bmaj=9.072 mas, bpa=-16.79 degrees
! Estimated noise=926.292 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)
! Added new window around map position (-5, -3).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00698156 Jy
! Component: 100  -  total flux cleaned = 0.00714774 Jy
! Component: 150  -  total flux cleaned = 0.00686828 Jy
! Component: 200  -  total flux cleaned = 0.00709782 Jy
! Total flux subtracted in 200 components = 0.00709782 Jy
! Clean residual min=-0.004803 max=0.004618 Jy/beam
! Clean residual mean=0.000045 rms=0.001404 Jy/beam
! Combined flux in latest and established models = 0.474334 Jy
! Adding 28 model components to the UV plane model.
! The established model now contains 50 components and 0.474334 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.357 mas, bmaj=11.68 mas, bpa=-11.48 degrees
! Estimated noise=1140.17 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.00102869 Jy
! Component: 100  -  total flux cleaned = 0.000597336 Jy
! Component: 150  -  total flux cleaned = 0.000214306 Jy
! Component: 200  -  total flux cleaned = 0.000261753 Jy
! Total flux subtracted in 200 components = 0.000261753 Jy
! Clean residual min=-0.005887 max=0.005272 Jy/beam
! Clean residual mean=0.000090 rms=0.001709 Jy/beam
! Combined flux in latest and established models = 0.474596 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 66 components and 0.474596 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.477 mas, bmaj=9.072 mas, bpa=-16.79 degrees
! Estimated noise=926.292 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000275933 Jy
! Component: 100  -  total flux cleaned = 0.000271965 Jy
! Component: 150  -  total flux cleaned = 0.000198159 Jy
! Component: 200  -  total flux cleaned = 0.000196882 Jy
! Total flux subtracted in 200 components = 0.000196882 Jy
! Clean residual min=-0.004969 max=0.004760 Jy/beam
! Clean residual mean=0.000043 rms=0.001355 Jy/beam
! Combined flux in latest and established models = 0.474793 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 85 components and 0.474793 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356876Jy  sigma=0.001681
! Fit after  self-cal, rms=0.356861Jy  sigma=0.001681
wmodel J0225+1846_S_1996_01_02_yyk\_map.mod
! Writing 85 model components to file: J0225+1846_S_1996_01_02_yyk_map.mod
wobs J0225+1846_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J0225+1846_S_1996_01_02_yyk_uvs.fits
wwins J0225+1846_S_1996_01_02_yyk\_map.win
! wwins: Wrote 2 windows to J0225+1846_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.000365756 Jy
! Component: 100  -  total flux cleaned = -0.000365228 Jy
! Component: 150  -  total flux cleaned = -0.000138585 Jy
! Component: 200  -  total flux cleaned = 0.000435123 Jy
! Component: 250  -  total flux cleaned = 0.00106055 Jy
! Component: 300  -  total flux cleaned = 0.00166423 Jy
! Component: 350  -  total flux cleaned = 0.00244336 Jy
! Component: 400  -  total flux cleaned = 0.00294757 Jy
! Component: 450  -  total flux cleaned = 0.00337812 Jy
! Component: 500  -  total flux cleaned = 0.00361794 Jy
! Component: 550  -  total flux cleaned = 0.00373549 Jy
! Component: 600  -  total flux cleaned = 0.00390927 Jy
! Component: 650  -  total flux cleaned = 0.00419105 Jy
! Component: 700  -  total flux cleaned = 0.00419184 Jy
! Component: 750  -  total flux cleaned = 0.00430129 Jy
! Component: 800  -  total flux cleaned = 0.00446248 Jy
! Component: 850  -  total flux cleaned = 0.00462041 Jy
! Component: 900  -  total flux cleaned = 0.00477599 Jy
! Component: 950  -  total flux cleaned = 0.004827 Jy
! Component: 1000  -  total flux cleaned = 0.00487782 Jy
! Component: 1050  -  total flux cleaned = 0.00497819 Jy
! Component: 1100  -  total flux cleaned = 0.00502761 Jy
! Component: 1150  -  total flux cleaned = 0.005125 Jy
! Component: 1200  -  total flux cleaned = 0.00526856 Jy
! Component: 1250  -  total flux cleaned = 0.00536323 Jy
! Component: 1300  -  total flux cleaned = 0.00550279 Jy
! Component: 1350  -  total flux cleaned = 0.005502 Jy
! Component: 1400  -  total flux cleaned = 0.00554773 Jy
! Component: 1450  -  total flux cleaned = 0.0055024 Jy
! Component: 1500  -  total flux cleaned = 0.00550234 Jy
! Component: 1550  -  total flux cleaned = 0.00559007 Jy
! Component: 1600  -  total flux cleaned = 0.00554614 Jy
! Component: 1650  -  total flux cleaned = 0.00554588 Jy
! Component: 1700  -  total flux cleaned = 0.00546103 Jy
! Component: 1750  -  total flux cleaned = 0.00541948 Jy
! Component: 1800  -  total flux cleaned = 0.00529566 Jy
! Component: 1850  -  total flux cleaned = 0.00550234 Jy
! Component: 1900  -  total flux cleaned = 0.00542011 Jy
! Component: 1950  -  total flux cleaned = 0.0055414 Jy
! Component: 2000  -  total flux cleaned = 0.00542073 Jy
! Total flux subtracted in 2048 components = 0.00550019 Jy
! Clean residual min=-0.002290 max=0.002258 Jy/beam
! Clean residual mean=0.000033 rms=0.000854 Jy/beam
! Combined flux in latest and established models = 0.480293 Jy
keep
! Adding 124 model components to the UV plane model.
! The established model now contains 209 components and 0.480293 Jy
![Exited script file: muppet]
wmap "J0225+1846_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.477 x 9.072 at -16.79 degrees (North through East)
! Clean map  min=-0.0044262  max=0.4495 Jy/beam
! Writing clean map to FITS file: J0225+1846_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.449502 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000853157 
device "J0225+1846_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0225+1846_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.569401 0.569401 1.1388 2.27761 4.55521 9.11042 18.2208 36.4417 72.8834
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.449 
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.477 x 9.072 at -16.79 degrees (North through East)
! Clean map  min=-0.0044262  max=0.4495 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0225+1846_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0225+1846_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0225+1846_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 15:51:42 2007