! Started logfile: J2033+2146_S_1996_03_13_yyk_uvs.log on Sun Jan  7 19:52:29 2007
obs J2033+2146_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J2033+2146_S_1996_03_13_yyk_uva.fits
! AN table 1: 122 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.832423 visibilities/baseline/integration-bin.
! Found source: J2033+2146
! 
! 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 655 lines of history.
! 
! Reading 18280 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 J2033+2146_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.460139 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.802 mas, bmaj=7.549 mas, bpa=-5.791 degrees
! Estimated noise=1344.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.177476 Jy
! Component: 100  -  total flux cleaned = 0.221035 Jy
! Total flux subtracted in 100 components = 0.221035 Jy
! Clean residual min=-0.018802 max=0.032825 Jy/beam
! Clean residual mean=0.000222 rms=0.006511 Jy/beam
! Combined flux in latest and established models = 0.221035 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.221035 Jy
! 
! Correcting IF 1.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.404366Jy  sigma=0.001976
! Fit after  self-cal, rms=0.403366Jy  sigma=0.001971
! Inverting map and beam 
! Estimated beam: bmin=2.802 mas, bmaj=7.549 mas, bpa=-5.791 degrees
! Estimated noise=1344.68 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.636 mas, bmaj=8.819 mas, bpa=-7.271 degrees
! Estimated noise=968.836 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.0381175 Jy
! Component: 100  -  total flux cleaned = 0.0520851 Jy
! Component: 150  -  total flux cleaned = 0.0549186 Jy
! Component: 200  -  total flux cleaned = 0.0556291 Jy
! Total flux subtracted in 200 components = 0.0556291 Jy
! Clean residual min=-0.019001 max=0.039406 Jy/beam
! Clean residual mean=0.000607 rms=0.008363 Jy/beam
! Combined flux in latest and established models = 0.276664 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 27 components and 0.276664 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.401901Jy  sigma=0.001957
! Fit after  self-cal, rms=0.401911Jy  sigma=0.001957
! 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.636 x 8.819 at -7.271 degrees (North through East)
! Clean map  min=-0.018572  max=0.22059 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.521082
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        0.94     HN        1.13     KP        0.85     
!   LA        0.76     MK        0.97     NL        1.00     OV       10.65     
!   PT        0.81     SC        1.20     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.696453
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.02     HN        1.17     KP        0.85     
!   LA        0.88     MK        1.01     NL        1.08     OV        5.87     
!   PT        0.75     SC        0.75     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.677546
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.88     FD        0.97     HN        1.07     KP        0.86     
!   LA        0.66     MK        0.85     NL        1.04     OV        6.62     
!   PT        0.91     SC        0.90     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.672365
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        0.98     HN        1.08     KP        0.96     
!   LA        0.73     MK        0.99     NL        1.09     OV        6.40     
!   PT        0.82     SC        0.93     
! 
! 
! Fit before self-cal, rms=0.401911Jy  sigma=0.001957
! Fit after  self-cal, rms=0.670011Jy  sigma=0.002980
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.670011Jy  sigma=0.002980
! Fit after  self-cal, rms=0.670318Jy  sigma=0.002979
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.838 mas, bmaj=8.919 mas, bpa=-6.968 degrees
! Estimated noise=342.264 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.130751 Jy
! Component: 100  -  total flux cleaned = -0.16064 Jy
! Component: 150  -  total flux cleaned = -0.169832 Jy
! Component: 200  -  total flux cleaned = -0.173491 Jy
! Total flux subtracted in 200 components = -0.173491 Jy
! Clean residual min=-0.003250 max=0.008360 Jy/beam
! Clean residual mean=0.000035 rms=0.001204 Jy/beam
! Combined flux in latest and established models = 0.103173 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 37 components and 0.103173 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.656828Jy  sigma=0.001910
! Fit after  self-cal, rms=0.656825Jy  sigma=0.001910
! Inverting map 
! Added new window around map position (13, 2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00579577 Jy
! Component: 100  -  total flux cleaned = 0.00548207 Jy
! Component: 150  -  total flux cleaned = 0.00497589 Jy
! Component: 200  -  total flux cleaned = 0.00457842 Jy
! Total flux subtracted in 200 components = 0.00457842 Jy
! Clean residual min=-0.002874 max=0.002895 Jy/beam
! Clean residual mean=-0.000018 rms=0.000794 Jy/beam
! Combined flux in latest and established models = 0.107752 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 74 components and 0.107752 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.656751Jy  sigma=0.001904
! Fit after  self-cal, rms=0.656729Jy  sigma=0.001903
! 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.656729Jy  sigma=0.001903
! Fit after  self-cal, rms=0.656005Jy  sigma=0.001899
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.00135812 Jy
! Component: 100  -  total flux cleaned = 0.00103669 Jy
! Component: 150  -  total flux cleaned = 0.000899343 Jy
! Component: 200  -  total flux cleaned = 0.000777289 Jy
! Total flux subtracted in 200 components = 0.000777289 Jy
! Clean residual min=-0.002547 max=0.002693 Jy/beam
! Clean residual mean=-0.000029 rms=0.000700 Jy/beam
! Combined flux in latest and established models = 0.108529 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 43 model components to the UV plane model.
! The established model now contains 103 components and 0.108529 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.655998Jy  sigma=0.001898
! Fit after  self-cal, rms=0.655927Jy  sigma=0.001898
! 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.838 x 8.919 at -6.968 degrees (North through East)
! Clean map  min=-0.0024173  max=0.082465 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
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.592 mas, bmaj=11.15 mas, bpa=-7.18 degrees
! Estimated noise=408.617 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.000106267 Jy
! Component: 100  -  total flux cleaned = -0.000207287 Jy
! Component: 150  -  total flux cleaned = -0.000246652 Jy
! Component: 200  -  total flux cleaned = -0.000247357 Jy
! Total flux subtracted in 200 components = -0.000247357 Jy
! Clean residual min=-0.002449 max=0.002147 Jy/beam
! Clean residual mean=-0.000056 rms=0.000691 Jy/beam
! Combined flux in latest and established models = 0.108282 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 132 components and 0.108282 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.655943Jy  sigma=0.001897
! Fit after  self-cal, rms=0.655943Jy  sigma=0.001897
! 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.782 mas, bmaj=7.322 mas, bpa=-5.921 degrees
! Estimated noise=546.549 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0734252 Jy
! Component: 100  -  total flux cleaned = 0.0936969 Jy
! Component: 150  -  total flux cleaned = 0.104003 Jy
! Component: 200  -  total flux cleaned = 0.11005 Jy
! Total flux subtracted in 200 components = 0.11005 Jy
! Clean residual min=-0.004007 max=0.004603 Jy/beam
! Clean residual mean=0.000006 rms=0.001188 Jy/beam
! Combined flux in latest and established models = 0.11005 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 33 model components to the UV plane model.
! The established model now contains 33 components and 0.11005 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.838 mas, bmaj=8.919 mas, bpa=-6.968 degrees
! Estimated noise=342.264 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.000733753 Jy
! Component: 100  -  total flux cleaned = -0.00129891 Jy
! Component: 150  -  total flux cleaned = -0.00163727 Jy
! Component: 200  -  total flux cleaned = -0.00163491 Jy
! Total flux subtracted in 200 components = -0.00163491 Jy
! Clean residual min=-0.003153 max=0.003234 Jy/beam
! Clean residual mean=-0.000023 rms=0.000735 Jy/beam
! Combined flux in latest and established models = 0.108415 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 67 components and 0.108415 Jy
! Inverting map 
! Added new window around map position (4.5, 0).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00118029 Jy
! Component: 100  -  total flux cleaned = 0.000427357 Jy
! Component: 150  -  total flux cleaned = 0.000288947 Jy
! Component: 200  -  total flux cleaned = 0.000229186 Jy
! Total flux subtracted in 200 components = 0.000229186 Jy
! Clean residual min=-0.002794 max=0.002440 Jy/beam
! Clean residual mean=-0.000028 rms=0.000677 Jy/beam
! Combined flux in latest and established models = 0.108644 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 89 components and 0.108644 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.592 mas, bmaj=11.15 mas, bpa=-7.18 degrees
! Estimated noise=408.617 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.000587721 Jy
! Component: 100  -  total flux cleaned = -0.000631843 Jy
! Component: 150  -  total flux cleaned = -0.000597728 Jy
! Component: 200  -  total flux cleaned = -0.000595987 Jy
! Total flux subtracted in 200 components = -0.000595987 Jy
! Clean residual min=-0.002356 max=0.002077 Jy/beam
! Clean residual mean=-0.000053 rms=0.000664 Jy/beam
! Combined flux in latest and established models = 0.108048 Jy
! Adding 30 model components to the UV plane model.
! The established model now contains 118 components and 0.108048 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.838 mas, bmaj=8.919 mas, bpa=-6.968 degrees
! Estimated noise=342.264 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000357209 Jy
! Component: 100  -  total flux cleaned = 0.000356976 Jy
! Component: 150  -  total flux cleaned = 0.000316282 Jy
! Component: 200  -  total flux cleaned = 0.000354077 Jy
! Total flux subtracted in 200 components = 0.000354077 Jy
! Clean residual min=-0.002581 max=0.002412 Jy/beam
! Clean residual mean=-0.000030 rms=0.000644 Jy/beam
! Combined flux in latest and established models = 0.108402 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 135 components and 0.108402 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.655932Jy  sigma=0.001897
! Fit after  self-cal, rms=0.655915Jy  sigma=0.001897
wmodel J2033+2146_S_1996_03_13_yyk\_map.mod
! Writing 135 model components to file: J2033+2146_S_1996_03_13_yyk_map.mod
wobs J2033+2146_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J2033+2146_S_1996_03_13_yyk_uvs.fits
wwins J2033+2146_S_1996_03_13_yyk\_map.win
! wwins: Wrote 3 windows to J2033+2146_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.000457078 Jy
! Component: 100  -  total flux cleaned = -0.000335657 Jy
! Component: 150  -  total flux cleaned = -0.000335533 Jy
! Component: 200  -  total flux cleaned = -9.01347e-05 Jy
! Component: 250  -  total flux cleaned = 0.000178728 Jy
! Component: 300  -  total flux cleaned = 0.000276678 Jy
! Component: 350  -  total flux cleaned = 0.000465331 Jy
! Component: 400  -  total flux cleaned = 0.000495056 Jy
! Component: 450  -  total flux cleaned = 0.000465104 Jy
! Component: 500  -  total flux cleaned = 0.00040675 Jy
! Component: 550  -  total flux cleaned = 0.000377654 Jy
! Component: 600  -  total flux cleaned = 0.000208906 Jy
! Component: 650  -  total flux cleaned = 0.000209174 Jy
! Component: 700  -  total flux cleaned = 0.00015434 Jy
! Component: 750  -  total flux cleaned = 0.000100927 Jy
! Component: 800  -  total flux cleaned = -4.71004e-06 Jy
! Component: 850  -  total flux cleaned = -8.3072e-05 Jy
! Component: 900  -  total flux cleaned = -0.000211658 Jy
! Component: 950  -  total flux cleaned = -0.000237031 Jy
! Component: 1000  -  total flux cleaned = -0.000287043 Jy
! Component: 1050  -  total flux cleaned = -0.000237452 Jy
! Component: 1100  -  total flux cleaned = -0.000336152 Jy
! Component: 1150  -  total flux cleaned = -0.000408776 Jy
! Component: 1200  -  total flux cleaned = -0.000384492 Jy
! Component: 1250  -  total flux cleaned = -0.000384136 Jy
! Component: 1300  -  total flux cleaned = -0.000454932 Jy
! Component: 1350  -  total flux cleaned = -0.000384912 Jy
! Component: 1400  -  total flux cleaned = -0.000524016 Jy
! Component: 1450  -  total flux cleaned = -0.000455031 Jy
! Component: 1500  -  total flux cleaned = -0.000500462 Jy
! Component: 1550  -  total flux cleaned = -0.000478062 Jy
! Component: 1600  -  total flux cleaned = -0.000567401 Jy
! Component: 1650  -  total flux cleaned = -0.000522952 Jy
! Component: 1700  -  total flux cleaned = -0.000566934 Jy
! Component: 1750  -  total flux cleaned = -0.000523423 Jy
! Component: 1800  -  total flux cleaned = -0.000502064 Jy
! Component: 1850  -  total flux cleaned = -0.000566376 Jy
! Component: 1900  -  total flux cleaned = -0.000587637 Jy
! Component: 1950  -  total flux cleaned = -0.000566466 Jy
! Component: 2000  -  total flux cleaned = -0.000566583 Jy
! Total flux subtracted in 2048 components = -0.000566642 Jy
! Clean residual min=-0.001344 max=0.001335 Jy/beam
! Clean residual mean=-0.000014 rms=0.000443 Jy/beam
! Combined flux in latest and established models = 0.107835 Jy
keep
! Adding 136 model components to the UV plane model.
! The established model now contains 271 components and 0.107835 Jy
![Exited script file: muppet]
wmap "J2033+2146_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.838 x 8.919 at -6.968 degrees (North through East)
! Clean map  min=-0.0023823  max=0.083646 Jy/beam
! Writing clean map to FITS file: J2033+2146_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.0836457 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000442697 
device "J2033+2146_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J2033+2146_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.58776 1.58776 3.17552 6.35103 12.7021 25.4041 50.8083
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.083 
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.838 x 8.919 at -6.968 degrees (North through East)
! Clean map  min=-0.0023823  max=0.083646 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2033+2146_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J2033+2146_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2033+2146_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 19:52:36 2007