! Started logfile: J0418+5457_S_1994_08_12_yyk_uvs.log on Sun Jan  7 16:14:01 2007
obs J0418+5457_S_1994_08_12_yyk_uva.fits
! Reading UV FITS file: J0418+5457_S_1994_08_12_yyk_uva.fits
! AN table 1: 40 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.625556 visibilities/baseline/integration-bin.
! Found source: J0418+5457
! 
! 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 784 lines of history.
! 
! Reading 4504 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 J0418+5457_S_1994_08_12_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)= 33.1181 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=3.264 mas, bmaj=5.927 mas, bpa=12.1 degrees
! Estimated noise=2413.53 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=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0540642 Jy
! Component: 100  -  total flux cleaned = 0.0278483 Jy
! Total flux subtracted in 100 components = 0.0278483 Jy
! Clean residual min=-0.337301 max=0.336994 Jy/beam
! Clean residual mean=0.000035 rms=0.226843 Jy/beam
! Combined flux in latest and established models = 0.0278483 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 86 model components to the UV plane model.
! The established model now contains 86 components and 0.0278483 Jy
! 
! Correcting IF 1.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 111 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 169 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 179 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=33.099838Jy  sigma=0.237862
! Fit after  self-cal, rms=33.161209Jy  sigma=0.238302
! Inverting map and beam 
! Estimated beam: bmin=3.265 mas, bmaj=5.925 mas, bpa=12.11 degrees
! Estimated noise=2413.12 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=4.398 mas, bmaj=7.285 mas, bpa=8.132 degrees
! Estimated noise=1522.93 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.0274582 Jy
! Component: 100  -  total flux cleaned = 0.134579 Jy
! Component: 150  -  total flux cleaned = 0.187737 Jy
! Component: 200  -  total flux cleaned = 0.241004 Jy
! Total flux subtracted in 200 components = 0.241004 Jy
! Clean residual min=-0.335300 max=0.334206 Jy/beam
! Clean residual mean=-0.000193 rms=0.221815 Jy/beam
! Combined flux in latest and established models = 0.268852 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 141 model components to the UV plane model.
! The established model now contains 220 components and 0.268852 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=33.127651Jy  sigma=0.238063
! Fit after  self-cal, rms=33.127514Jy  sigma=0.238062
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.398 x 7.285 at 8.132 degrees (North through East)
! Clean map  min=-0.37424  max=0.39635 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.0922769
!  Telescope amplitude corrections in sub-array 1:
!   BR        4.92     FD        0.16     HN        9.39     KP        1.00*    
!   LA       45.86     MK        0.15     NL       24.16     OV       11.52     
!   PT        4.42     SC        6.80     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.468475
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.75     FD        1.51     HN        1.35     KP        1.65     
!   LA        1.78     MK        4.44     NL        2.00     OV        3.26     
!   PT        1.34     SC        2.26     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.408378
!  Telescope amplitude corrections in sub-array 1:
!   BR        4.16     FD        4.61     HN        0.22     KP        4.30     
!   LA        0.68     MK        1.94     NL        1.57     OV        3.17     
!   PT        2.83     SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.497176
!  Telescope amplitude corrections in sub-array 1:
!   BR        2.11     FD        1.16     HN        1.18     KP        1.00*    
!   LA        1.96     MK        2.48     NL        1.61     OV        2.11     
!   PT        1.69     SC        4.80     
! 
! 
! Fit before self-cal, rms=33.127514Jy  sigma=0.238062
! Fit after  self-cal, rms=0.978060Jy  sigma=7.273696
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.978060Jy  sigma=7.273696
! Fit after  self-cal, rms=1.008038Jy  sigma=7.273695
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.239 mas, bmaj=6.43 mas, bpa=10.43 degrees
! Estimated noise=3.00772 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.228819 Jy
! Component: 100  -  total flux cleaned = 0.520676 Jy
! Component: 150  -  total flux cleaned = 0.294771 Jy
! Component: 200  -  total flux cleaned = -0.0950057 Jy
! Total flux subtracted in 200 components = -0.0950057 Jy
! Clean residual min=-6.515181 max=6.911845 Jy/beam
! Clean residual mean=-0.004591 rms=1.397127 Jy/beam
! Combined flux in latest and established models = 0.173847 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 238 components and 0.173847 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=8.924136Jy  sigma=10.796927
! Fit after  self-cal, rms=8.886748Jy  sigma=10.785570
! 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=8.886748Jy  sigma=10.785570
! Fit after  self-cal, rms=8.868147Jy  sigma=10.783820
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 = 1.65385 Jy
! Component: 100  -  total flux cleaned = 3.8107 Jy
! Component: 150  -  total flux cleaned = 9.23534 Jy
! Component: 200  -  total flux cleaned = 26.8142 Jy
! Total flux subtracted in 200 components = 26.8142 Jy
! Clean residual min=-12.267816 max=14.838784 Jy/beam
! Clean residual mean=0.021460 rms=2.604600 Jy/beam
! Combined flux in latest and established models = 26.988 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 259 components and 26.988 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=15.579111Jy  sigma=21.354728
! Fit after  self-cal, rms=15.538491Jy  sigma=21.299624
! 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.239 x 6.43 at 10.43 degrees (North through East)
! Clean map  min=-3.9121  max=8.6499 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=15.538491Jy  sigma=21.299624
! Fit after  self-cal, rms=327042.093750Jy  sigma=0.226579
! 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=327042.093750Jy  sigma=0.226579
! Fit after  self-cal, rms=327042.031250Jy  sigma=0.225450
! Inverting map and beam 
! Estimated beam: bmin=2.584 mas, bmaj=72.73 mas, bpa=54.59 degrees
! Estimated noise=1707.25 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.787332 Jy
! Component: 100  -  total flux cleaned = -0.982326 Jy
! Component: 150  -  total flux cleaned = -2.66625 Jy
! Component: 200  -  total flux cleaned = -2.38688 Jy
! Total flux subtracted in 200 components = -2.38688 Jy
! Clean residual min=-162.350586 max=164.557709 Jy/beam
! Clean residual mean=-0.000788 rms=49.204414 Jy/beam
! Combined flux in latest and established models = 24.6011 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 265 components and 24.6011 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=327041.125000Jy  sigma=0.504321
! Fit after  self-cal, rms=327041.562500Jy  sigma=0.453435
! 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=327041.562500Jy  sigma=0.453435
! Fit after  self-cal, rms=986487.500000Jy  sigma=0.235286
! 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=986487.500000Jy  sigma=0.235286
! Fit after  self-cal, rms=986486.437500Jy  sigma=0.233278
! Inverting map and beam 
! Estimated beam: bmin=2.583 mas, bmaj=112.6 mas, bpa=54.61 degrees
! Estimated noise=18066.9 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -84.2445 Jy
! Component: 100  -  total flux cleaned = -328.474 Jy
! Component: 150  -  total flux cleaned = -816.638 Jy
! Component: 200  -  total flux cleaned = -2216.22 Jy
! Total flux subtracted in 200 components = -2216.22 Jy
! Clean residual min=-1753.808716 max=1755.464600 Jy/beam
! Clean residual mean=-0.132960 rms=691.982422 Jy/beam
! Combined flux in latest and established models = -2191.62 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 284 components and -2191.62 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=986491.437500Jy  sigma=0.822742
! Fit after  self-cal, rms=986484.437500Jy  sigma=0.800996
! 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=2.584 mas, bmaj=366.7 mas, bpa=54.63 degrees
! Estimated noise=18129.8 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 = -75.3953 Jy
! Component: 100  -  total flux cleaned = -2020.87 Jy
! Component: 150  -  total flux cleaned = -7510.11 Jy
! Component: 200  -  total flux cleaned = -21241.2 Jy
! Total flux subtracted in 200 components = -21241.2 Jy
! Clean residual min=-15132.546875 max=14882.955078 Jy/beam
! Clean residual mean=-0.936569 rms=5641.812988 Jy/beam
! Combined flux in latest and established models = -23432.8 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 301 components and -23432.9 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=986657.750000Jy  sigma=6.516929
! Fit after  self-cal, rms=986507.437500Jy  sigma=6.406849
! 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.64 mas, bmaj=7.776 mas, bpa=49.02 degrees
! Estimated noise=553405 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -32.757 Jy
! Component: 100  -  total flux cleaned = -171.255 Jy
! Component: 150  -  total flux cleaned = -458.339 Jy
! Component: 200  -  total flux cleaned = -998.062 Jy
! Total flux subtracted in 200 components = -998.062 Jy
! Clean residual min=-591.979553 max=593.408630 Jy/beam
! Clean residual mean=-0.037542 rms=206.316330 Jy/beam
! Combined flux in latest and established models = -998.062 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 28 model components to the UV plane model.
! The established model now contains 28 components and -998.062 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.583 mas, bmaj=112.6 mas, bpa=54.61 degrees
! Estimated noise=18066.9 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 = 414.407 Jy
! Component: 100  -  total flux cleaned = 1210.69 Jy
! Component: 150  -  total flux cleaned = 3208.71 Jy
! Component: 200  -  total flux cleaned = 8431.54 Jy
! Total flux subtracted in 200 components = 8431.54 Jy
! Clean residual min=-5871.526367 max=6332.026855 Jy/beam
! Clean residual mean=0.496273 rms=2371.413086 Jy/beam
! Combined flux in latest and established models = 7433.48 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 44 components and 7433.47 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=2.584 mas, bmaj=366.7 mas, bpa=54.63 degrees
! Estimated noise=18129.8 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 = -3417.87 Jy
! Component: 100  -  total flux cleaned = -13525.8 Jy
! Component: 150  -  total flux cleaned = -41063.8 Jy
! Component: 200  -  total flux cleaned = -109260 Jy
! Total flux subtracted in 200 components = -109260 Jy
! Clean residual min=-73027.648438 max=70776.085938 Jy/beam
! Clean residual mean=-4.338769 rms=27019.367188 Jy/beam
! Combined flux in latest and established models = -101826 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 57 components and -101826 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.583 mas, bmaj=112.6 mas, bpa=54.61 degrees
! Estimated noise=18066.9 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -3834.04 Jy
! Component: 100  -  total flux cleaned = -89126.1 Jy
! Component: 150  -  total flux cleaned = -331863 Jy
! Component: 200  -  total flux cleaned = -902645 Jy
! Total flux subtracted in 200 components = -902645 Jy
! Clean residual min=-659263.062500 max=654234.250000 Jy/beam
! Clean residual mean=-50.683857 rms=258000.656250 Jy/beam
! Combined flux in latest and established models = -1.00447e+06 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 72 components and -1.00447e+06 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1237183.125000Jy  sigma=297.290427
! Fit after  self-cal, rms=1235940.125000Jy  sigma=297.290544
wmodel J0418+5457_S_1994_08_12_yyk\_map.mod
! Writing 72 model components to file: J0418+5457_S_1994_08_12_yyk_map.mod
wobs J0418+5457_S_1994_08_12_yyk\_uvs.fits
! Writing UV FITS file: J0418+5457_S_1994_08_12_yyk_uvs.fits
wwins J0418+5457_S_1994_08_12_yyk\_map.win
! wwins: No CLEAN windows to write.
! Error occured in command: wwins
![Exited script file: muppet]
! 
wmap "J0418+5457_S_1994_08_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.583 x 112.6 at 54.61 degrees (North through East)
! Clean map  min=-5.4634e+05  max=5.2291e+05 Jy/beam
! Writing clean map to FITS file: J0418+5457_S_1994_08_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 522915 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 304189 
device "J0418+5457_S_1994_08_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J0418+5457_S_1994_08_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -100 100
print "clev=",int(3*image_rms*10000)/10000
! clev= -214748 
print "peak=",int(peak_flux*1000)/1000
! peak= 522915 
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.583 x 112.6 at 54.61 degrees (North through East)
! Clean map  min=-5.4634e+05  max=5.2291e+05 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0418+5457_S_1994_08_12_yyk\_map.gif/gif"
! Attempting to open device: 'J0418+5457_S_1994_08_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0418+5457_S_1994_08_12_yyk_uvs.log closed on Sun Jan  7 16:14:06 2007