! Started logfile: J1644+1813_S_1996_03_13_yyk_uvs.log on Sun Jan  7 19:06:00 2007
obs J1644+1813_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1644+1813_S_1996_03_13_yyk_uva.fits
! AN table 1: 126 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.913051 visibilities/baseline/integration-bin.
! Found source: J1644+1813
! 
! 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 656 lines of history.
! 
! Reading 20708 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 J1644+1813_S_1996_03_13_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.471141 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.732 mas, bmaj=6.706 mas, bpa=-5.245 degrees
! Estimated noise=1405.76 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.263085 Jy
! Component: 100  -  total flux cleaned = 0.300203 Jy
! Total flux subtracted in 100 components = 0.300203 Jy
! Clean residual min=-0.016094 max=0.020318 Jy/beam
! Clean residual mean=-0.000032 rms=0.005091 Jy/beam
! Combined flux in latest and established models = 0.300202 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.300202 Jy
! 
! Correcting IF 1.
!  A total of 69 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 69 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 69 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 69 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.349556Jy  sigma=0.001745
! Fit after  self-cal, rms=0.348544Jy  sigma=0.001739
! Inverting map and beam 
! Estimated beam: bmin=2.732 mas, bmaj=6.706 mas, bpa=-5.245 degrees
! Estimated noise=1405.97 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.45 mas, bmaj=7.921 mas, bpa=-7.295 degrees
! Estimated noise=894.162 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.0088621 Jy
! Component: 100  -  total flux cleaned = 0.00901615 Jy
! Component: 150  -  total flux cleaned = 0.00914421 Jy
! Component: 200  -  total flux cleaned = 0.00914443 Jy
! Total flux subtracted in 200 components = 0.00914443 Jy
! Clean residual min=-0.010347 max=0.015934 Jy/beam
! Clean residual mean=0.000046 rms=0.003430 Jy/beam
! Combined flux in latest and established models = 0.309347 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 26 components and 0.309347 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.348048Jy  sigma=0.001738
! Fit after  self-cal, rms=0.348043Jy  sigma=0.001738
! 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.45 x 7.921 at -7.295 degrees (North through East)
! Clean map  min=-0.010054  max=0.30704 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.0279
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.08     HN        1.01     KP        0.85     
!   LA        0.89     MK        0.94     NL        0.88     OV        1.37     
!   PT        0.95     SC        0.81     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.966123
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.16     HN        1.02     KP        0.91     
!   LA        1.01     MK        1.00     NL        0.89     OV        1.49     
!   PT        0.95     SC        0.87     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01515
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.05     HN        0.93     KP        0.93     
!   LA        0.75     MK        0.91     NL        0.95     OV        1.29     
!   PT        1.10     SC        0.98     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.972995
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.08     HN        1.03     KP        0.98     
!   LA        0.83     MK        1.10     NL        1.05     OV        1.22     
!   PT        0.93     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.348043Jy  sigma=0.001738
! Fit after  self-cal, rms=0.340783Jy  sigma=0.001719
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.340783Jy  sigma=0.001719
! Fit after  self-cal, rms=0.340775Jy  sigma=0.001719
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.419 mas, bmaj=7.79 mas, bpa=-6.574 degrees
! Estimated noise=869.218 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.00248918 Jy
! Component: 100  -  total flux cleaned = -0.00341566 Jy
! Component: 150  -  total flux cleaned = -0.00393087 Jy
! Component: 200  -  total flux cleaned = -0.00393351 Jy
! Total flux subtracted in 200 components = -0.00393351 Jy
! Clean residual min=-0.006562 max=0.008270 Jy/beam
! Clean residual mean=-0.000013 rms=0.002036 Jy/beam
! Combined flux in latest and established models = 0.305413 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 37 components and 0.305413 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340721Jy  sigma=0.001718
! Fit after  self-cal, rms=0.340717Jy  sigma=0.001718
! 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.340717Jy  sigma=0.001718
! Fit after  self-cal, rms=0.340176Jy  sigma=0.001715
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.00057957 Jy
! Component: 100  -  total flux cleaned = 0.000580449 Jy
! Component: 150  -  total flux cleaned = 0.000647369 Jy
! Component: 200  -  total flux cleaned = 0.000648716 Jy
! Total flux subtracted in 200 components = 0.000648716 Jy
! Clean residual min=-0.006678 max=0.008127 Jy/beam
! Clean residual mean=-0.000014 rms=0.002029 Jy/beam
! Combined flux in latest and established models = 0.306062 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 47 components and 0.306062 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340143Jy  sigma=0.001715
! Fit after  self-cal, rms=0.340099Jy  sigma=0.001715
! 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.419 x 7.79 at -6.574 degrees (North through East)
! Clean map  min=-0.0066678  max=0.30379 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.340099Jy  sigma=0.001715
! Fit after  self-cal, rms=1.195489Jy  sigma=0.001694
! 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=1.195489Jy  sigma=0.001694
! Fit after  self-cal, rms=1.195649Jy  sigma=0.001694
! Inverting map and beam 
! Estimated beam: bmin=3.436 mas, bmaj=7.888 mas, bpa=-6.721 degrees
! Estimated noise=860.322 mJy/beam.
! Added new window around map position (-2.5, 16).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00632206 Jy
! Component: 100  -  total flux cleaned = 0.00637246 Jy
! Component: 150  -  total flux cleaned = 0.00620504 Jy
! Component: 200  -  total flux cleaned = 0.00598556 Jy
! Total flux subtracted in 200 components = 0.00598556 Jy
! Clean residual min=-0.004436 max=0.004796 Jy/beam
! Clean residual mean=-0.000026 rms=0.001272 Jy/beam
! Combined flux in latest and established models = 0.312048 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 80 components and 0.312048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.195631Jy  sigma=0.001693
! Fit after  self-cal, rms=1.194926Jy  sigma=0.001693
! 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=1.194926Jy  sigma=0.001693
! Fit after  self-cal, rms=0.692579Jy  sigma=0.001692
! 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.692579Jy  sigma=0.001692
! Fit after  self-cal, rms=0.692043Jy  sigma=0.001692
! Inverting map and beam 
! Estimated beam: bmin=3.433 mas, bmaj=7.873 mas, bpa=-6.763 degrees
! Estimated noise=862.234 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00260469 Jy
! Component: 100  -  total flux cleaned = 0.00269375 Jy
! Component: 150  -  total flux cleaned = 0.00249761 Jy
! Component: 200  -  total flux cleaned = 0.00231761 Jy
! Total flux subtracted in 200 components = 0.00231761 Jy
! Clean residual min=-0.004603 max=0.004667 Jy/beam
! Clean residual mean=-0.000030 rms=0.001238 Jy/beam
! Combined flux in latest and established models = 0.314365 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 94 components and 0.314365 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.692002Jy  sigma=0.001692
! Fit after  self-cal, rms=0.691631Jy  sigma=0.001692
! 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.563 mas, bmaj=10.8 mas, bpa=-7.264 degrees
! Estimated noise=1077.96 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.000494054 Jy
! Component: 100  -  total flux cleaned = -0.000426546 Jy
! Component: 150  -  total flux cleaned = -0.000474205 Jy
! Component: 200  -  total flux cleaned = -0.000587989 Jy
! Total flux subtracted in 200 components = -0.000587989 Jy
! Clean residual min=-0.004471 max=0.004225 Jy/beam
! Clean residual mean=-0.000058 rms=0.001498 Jy/beam
! Combined flux in latest and established models = 0.313777 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 116 components and 0.313777 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.691622Jy  sigma=0.001692
! Fit after  self-cal, rms=0.691450Jy  sigma=0.001692
! 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.709 mas, bmaj=6.711 mas, bpa=-5.627 degrees
! Estimated noise=1393.07 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.263462 Jy
! Component: 100  -  total flux cleaned = 0.300277 Jy
! Component: 150  -  total flux cleaned = 0.313218 Jy
! Component: 200  -  total flux cleaned = 0.317037 Jy
! Total flux subtracted in 200 components = 0.317037 Jy
! Clean residual min=-0.008350 max=0.008686 Jy/beam
! Clean residual mean=-0.000020 rms=0.002226 Jy/beam
! Combined flux in latest and established models = 0.317037 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 23 model components to the UV plane model.
! The established model now contains 23 components and 0.317037 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.433 mas, bmaj=7.873 mas, bpa=-6.763 degrees
! Estimated noise=862.234 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.00105075 Jy
! Component: 100  -  total flux cleaned = 0.000714721 Jy
! Component: 150  -  total flux cleaned = 0.000436559 Jy
! Component: 200  -  total flux cleaned = -0.000147128 Jy
! Total flux subtracted in 200 components = -0.000147128 Jy
! Clean residual min=-0.004633 max=0.005079 Jy/beam
! Clean residual mean=-0.000035 rms=0.001268 Jy/beam
! Combined flux in latest and established models = 0.31689 Jy
! Adding 20 model components to the UV plane model.
! The established model now contains 41 components and 0.31689 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.563 mas, bmaj=10.8 mas, bpa=-7.264 degrees
! Estimated noise=1077.96 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.00130149 Jy
! Component: 100  -  total flux cleaned = -0.00160223 Jy
! Component: 150  -  total flux cleaned = -0.00189222 Jy
! Component: 200  -  total flux cleaned = -0.00205845 Jy
! Total flux subtracted in 200 components = -0.00205846 Jy
! Clean residual min=-0.004768 max=0.004304 Jy/beam
! Clean residual mean=-0.000061 rms=0.001508 Jy/beam
! Combined flux in latest and established models = 0.314832 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 62 components and 0.314832 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.433 mas, bmaj=7.873 mas, bpa=-6.763 degrees
! Estimated noise=862.234 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000120503 Jy
! Component: 100  -  total flux cleaned = -0.000387356 Jy
! Component: 150  -  total flux cleaned = -0.00062598 Jy
! Component: 200  -  total flux cleaned = -0.000768278 Jy
! Total flux subtracted in 200 components = -0.000768278 Jy
! Clean residual min=-0.004623 max=0.004948 Jy/beam
! Clean residual mean=-0.000029 rms=0.001236 Jy/beam
! Combined flux in latest and established models = 0.314063 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 78 components and 0.314063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.691491Jy  sigma=0.001692
! Fit after  self-cal, rms=0.691408Jy  sigma=0.001692
wmodel J1644+1813_S_1996_03_13_yyk\_map.mod
! Writing 78 model components to file: J1644+1813_S_1996_03_13_yyk_map.mod
wobs J1644+1813_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1644+1813_S_1996_03_13_yyk_uvs.fits
wwins J1644+1813_S_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J1644+1813_S_1996_03_13_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.000192352 Jy
! Component: 100  -  total flux cleaned = -0.00133608 Jy
! Component: 150  -  total flux cleaned = -0.00162007 Jy
! Component: 200  -  total flux cleaned = -0.00168838 Jy
! Component: 250  -  total flux cleaned = -0.00168992 Jy
! Component: 300  -  total flux cleaned = -0.00187771 Jy
! Component: 350  -  total flux cleaned = -0.0019977 Jy
! Component: 400  -  total flux cleaned = -0.00205638 Jy
! Component: 450  -  total flux cleaned = -0.00205738 Jy
! Component: 500  -  total flux cleaned = -0.00211363 Jy
! Component: 550  -  total flux cleaned = -0.00233296 Jy
! Component: 600  -  total flux cleaned = -0.00243992 Jy
! Component: 650  -  total flux cleaned = -0.002598 Jy
! Component: 700  -  total flux cleaned = -0.0028041 Jy
! Component: 750  -  total flux cleaned = -0.00300822 Jy
! Component: 800  -  total flux cleaned = -0.00310924 Jy
! Component: 850  -  total flux cleaned = -0.00325825 Jy
! Component: 900  -  total flux cleaned = -0.00340437 Jy
! Component: 950  -  total flux cleaned = -0.00340532 Jy
! Component: 1000  -  total flux cleaned = -0.00354803 Jy
! Component: 1050  -  total flux cleaned = -0.00373494 Jy
! Component: 1100  -  total flux cleaned = -0.0037343 Jy
! Component: 1150  -  total flux cleaned = -0.00391688 Jy
! Component: 1200  -  total flux cleaned = -0.00391626 Jy
! Component: 1250  -  total flux cleaned = -0.00405057 Jy
! Component: 1300  -  total flux cleaned = -0.00418312 Jy
! Component: 1350  -  total flux cleaned = -0.00418273 Jy
! Component: 1400  -  total flux cleaned = -0.00418348 Jy
! Component: 1450  -  total flux cleaned = -0.00448332 Jy
! Component: 1500  -  total flux cleaned = -0.00452566 Jy
! Component: 1550  -  total flux cleaned = -0.00465166 Jy
! Component: 1600  -  total flux cleaned = -0.00465177 Jy
! Component: 1650  -  total flux cleaned = -0.0048166 Jy
! Component: 1700  -  total flux cleaned = -0.00493873 Jy
! Component: 1750  -  total flux cleaned = -0.00489835 Jy
! Component: 1800  -  total flux cleaned = -0.00505831 Jy
! Component: 1850  -  total flux cleaned = -0.00517697 Jy
! Component: 1900  -  total flux cleaned = -0.00517689 Jy
! Component: 1950  -  total flux cleaned = -0.0052158 Jy
! Component: 2000  -  total flux cleaned = -0.00552389 Jy
! Total flux subtracted in 2048 components = -0.00544669 Jy
! Clean residual min=-0.002330 max=0.002324 Jy/beam
! Clean residual mean=-0.000015 rms=0.000805 Jy/beam
! Combined flux in latest and established models = 0.308617 Jy
keep
! Adding 145 model components to the UV plane model.
! The established model now contains 223 components and 0.308616 Jy
![Exited script file: muppet]
wmap "J1644+1813_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.433 x 7.873 at -6.763 degrees (North through East)
! Clean map  min=-0.0035856  max=0.30429 Jy/beam
! Writing clean map to FITS file: J1644+1813_S_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.304291 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000807313 
device "J1644+1813_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1644+1813_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.795929 0.795929 1.59186 3.18372 6.36743 12.7349 25.4697 50.9394
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0024 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.304 
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.433 x 7.873 at -6.763 degrees (North through East)
! Clean map  min=-0.0035856  max=0.30429 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1644+1813_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1644+1813_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1644+1813_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 19:06:07 2007