! Started logfile: J0808+4950_X_2001_07_05_pus_uvs.log on Wed Jul  4 20:13:28 2007
obs J0808+4950_X_2001_07_05_pus_uva.fits
! Reading UV FITS file: J0808+4950_X_2001_07_05_pus_uva.fits
! AN table 1: 273 integrations on 171 of 171 possible baselines.
! AN table 2: 175 integrations on 171 of 171 possible baselines.
! AN table 3: 81 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.276744 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0808+4950
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2370 lines of history.
! 
! Reading 100136 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
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 2893 telescope corrections were flagged in sub-array 1.
!  A total of 1906 telescope corrections were flagged in sub-array 2.
!  A total of 649 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 2893 telescope corrections were flagged in sub-array 1.
!  A total of 1906 telescope corrections were flagged in sub-array 2.
!  A total of 649 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 2893 telescope corrections were flagged in sub-array 1.
!  A total of 1906 telescope corrections were flagged in sub-array 2.
!  A total of 649 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 2893 telescope corrections were flagged in sub-array 1.
!  A total of 1906 telescope corrections were flagged in sub-array 2.
!  A total of 649 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.760276Jy  sigma=0.006682
! Fit after  self-cal, rms=0.518005Jy  sigma=0.004475
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.5369 mas, bmaj=0.6409 mas, bpa=-2.638 degrees
! Estimated noise=591.811 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.389461 Jy
! Component: 100  -  total flux cleaned = 0.475207 Jy
! Total flux subtracted in 100 components = 0.475207 Jy
! Clean residual min=-0.011307 max=0.028438 Jy/beam
! Clean residual mean=0.000199 rms=0.002873 Jy/beam
! Combined flux in latest and established models = 0.475207 Jy
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.475207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206049Jy  sigma=0.001647
! Fit after  self-cal, rms=0.206039Jy  sigma=0.001647
! Inverting map 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.032476 Jy
! Component: 100  -  total flux cleaned = 0.0546919 Jy
! Total flux subtracted in 100 components = 0.0546919 Jy
! Clean residual min=-0.010565 max=0.018554 Jy/beam
! Clean residual mean=0.000135 rms=0.002529 Jy/beam
! Combined flux in latest and established models = 0.529899 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 13 components and 0.529899 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195999Jy  sigma=0.001518
! Fit after  self-cal, rms=0.195940Jy  sigma=0.001518
! Inverting map 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Added new window around map position (0.6, -0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0191151 Jy
! Component: 100  -  total flux cleaned = 0.0329899 Jy
! Total flux subtracted in 100 components = 0.0329899 Jy
! Clean residual min=-0.009612 max=0.011432 Jy/beam
! Clean residual mean=0.000094 rms=0.002390 Jy/beam
! Combined flux in latest and established models = 0.562888 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 21 components and 0.562888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.192145Jy  sigma=0.001464
! Fit after  self-cal, rms=0.192025Jy  sigma=0.001464
! Inverting map 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! 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 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6778 mas, bmaj=0.8234 mas, bpa=-0.8241 degrees
! Estimated noise=266.641 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0268072 Jy
! Component: 100  -  total flux cleaned = 0.0431451 Jy
! Component: 150  -  total flux cleaned = 0.0538683 Jy
! Component: 200  -  total flux cleaned = 0.0610109 Jy
! Total flux subtracted in 200 components = 0.0610109 Jy
! Clean residual min=-0.006714 max=0.012967 Jy/beam
! Clean residual mean=-0.000008 rms=0.002138 Jy/beam
! Combined flux in latest and established models = 0.623899 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 32 components and 0.623899 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.189062Jy  sigma=0.001410
! Fit after  self-cal, rms=0.188867Jy  sigma=0.001408
! Inverting map 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Added new window around map position (1.4, -0.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0130589 Jy
! Component: 100  -  total flux cleaned = 0.0200919 Jy
! Component: 150  -  total flux cleaned = 0.0234994 Jy
! Component: 200  -  total flux cleaned = 0.0245202 Jy
! Total flux subtracted in 200 components = 0.0245202 Jy
! Clean residual min=-0.006828 max=0.007636 Jy/beam
! Clean residual mean=-0.000486 rms=0.001876 Jy/beam
! Combined flux in latest and established models = 0.64842 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 44 components and 0.648419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.188103Jy  sigma=0.001397
! Fit after  self-cal, rms=0.188018Jy  sigma=0.001396
! Inverting map 
! Your choice of large map pixels excluded 3.31% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 147 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.99     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        0.94     KP        0.97     
!   LA        0.96     MC        1.14     MK        0.97     NL        1.00     
!   NY        0.92     OV        0.98     PT        0.99     SC        0.99     
!   TS        1.06     WF        1.20     WZ        0.94     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        0.99     GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.90     KP        1.08     
!   LA        1.01     MC        0.86     MK        0.90     NL        0.99     
!   NY        0.96     OV        0.94     PT        1.03     SC        0.96     
!   TS        1.27     WF        1.01     WZ        0.96     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        0.99     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        1.01     KK        1.10     KP        1.05     
!   LA        0.98     MC        0.94     MK        1.06     NL        1.01     
!   NY        0.98     OV        1.01     PT        1.00     SC        0.94     
!   TS        1.00*    WF        0.97     WZ        0.95     
! 
! 
! Correcting IF 2.
!  A total of 147 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        1.01     KK        0.92     KP        0.98     
!   LA        0.95     MC        1.14     MK        0.96     NL        0.96     
!   NY        1.01     OV        0.97     PT        0.97     SC        0.94     
!   TS        1.07     WF        1.21     WZ        0.92     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.98     GC        0.96     GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.88     KP        1.10     
!   LA        1.00     MC        0.87     MK        0.90     NL        0.95     
!   NY        1.05     OV        0.94     PT        0.99     SC        0.92     
!   TS        1.31     WF        0.99     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.00     GC        0.95     GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.12     KP        1.04     
!   LA        0.97     MC        0.94     MK        1.07     NL        0.97     
!   NY        1.04     OV        1.00     PT        0.98     SC        0.92     
!   TS        1.00*    WF        0.97     WZ        0.96     
! 
! 
! Correcting IF 3.
!  A total of 147 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.97     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.01     KK        0.90     KP        1.02     
!   LA        0.97     MC        1.17     MK        0.98     NL        0.99     
!   NY        1.00     OV        1.02     PT        1.00     SC        0.96     
!   TS        1.06     WF        1.17     WZ        0.93     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        0.97     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        0.99     KK        0.88     KP        1.13     
!   LA        1.02     MC        0.85     MK        0.91     NL        0.99     
!   NY        1.02     OV        0.97     PT        1.02     SC        0.94     
!   TS        1.34     WF        0.99     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        0.96     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.09     KP        1.12     
!   LA        0.98     MC        0.95     MK        1.09     NL        0.99     
!   NY        1.07     OV        1.04     PT        1.00     SC        0.92     
!   TS        1.00*    WF        0.97     WZ        0.94     
! 
! 
! Correcting IF 4.
!  A total of 147 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.96     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.05     KK        0.92     KP        0.98     
!   LA        0.95     MC        1.15     MK        1.01     NL        1.01     
!   NY        0.93     OV        1.00     PT        1.00     SC        1.03     
!   TS        1.08     WF        1.20     WZ        0.92     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.95     GC        0.99     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        0.88     KP        1.10     
!   LA        1.01     MC        0.84     MK        0.96     NL        1.01     
!   NY        0.97     OV        0.95     PT        1.01     SC        1.00     
!   TS        1.34     WF        0.99     WZ        0.97     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.97     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.10     KP        1.05     
!   LA        0.98     MC        0.93     MK        1.10     NL        1.00     
!   NY        0.97     OV        1.02     PT        0.99     SC        1.00     
!   TS        1.00*    WF        0.98     WZ        0.94     
! 
! 
! Fit before self-cal, rms=0.188018Jy  sigma=0.001396
! Fit after  self-cal, rms=0.190335Jy  sigma=0.001341
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6827 mas, bmaj=0.831 mas, bpa=1.132 degrees
! Estimated noise=267.606 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00150789 Jy
! Component: 100  -  total flux cleaned = -0.00185108 Jy
! Component: 150  -  total flux cleaned = -0.00207714 Jy
! Component: 200  -  total flux cleaned = -0.002352 Jy
! Total flux subtracted in 200 components = -0.002352 Jy
! Clean residual min=-0.005224 max=0.004642 Jy/beam
! Clean residual mean=-0.000173 rms=0.001210 Jy/beam
! Combined flux in latest and established models = 0.646067 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 50 components and 0.646067 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190078Jy  sigma=0.001339
! Fit after  self-cal, rms=0.190126Jy  sigma=0.001339
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190126Jy  sigma=0.001339
! Fit after  self-cal, rms=0.197799Jy  sigma=0.001243
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6831 mas, bmaj=0.834 mas, bpa=0.7379 degrees
! Estimated noise=267.682 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00169615 Jy
! Component: 100  -  total flux cleaned = -0.00133607 Jy
! Component: 150  -  total flux cleaned = -0.00113139 Jy
! Component: 200  -  total flux cleaned = -0.00104625 Jy
! Total flux subtracted in 200 components = -0.00104625 Jy
! Clean residual min=-0.001992 max=0.002151 Jy/beam
! Clean residual mean=0.000069 rms=0.000454 Jy/beam
! Combined flux in latest and established models = 0.645021 Jy
selfcal
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 59 components and 0.645021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197667Jy  sigma=0.001242
! Fit after  self-cal, rms=0.197929Jy  sigma=0.001241
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, -5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000844893 Jy
! Component: 100  -  total flux cleaned = 0.00100284 Jy
! Component: 150  -  total flux cleaned = 0.00100194 Jy
! Component: 200  -  total flux cleaned = 0.00100036 Jy
! Total flux subtracted in 200 components = 0.00100036 Jy
! Clean residual min=-0.001520 max=0.001802 Jy/beam
! Clean residual mean=0.000054 rms=0.000432 Jy/beam
! Combined flux in latest and established models = 0.646021 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 66 components and 0.646021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197879Jy  sigma=0.001240
! Fit after  self-cal, rms=0.197874Jy  sigma=0.001240
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Added new window around map position (1.4, -2.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00100592 Jy
! Component: 100  -  total flux cleaned = 0.00106989 Jy
! Component: 150  -  total flux cleaned = 0.00112759 Jy
! Component: 200  -  total flux cleaned = 0.00118284 Jy
! Total flux subtracted in 200 components = 0.00118284 Jy
! Clean residual min=-0.001511 max=0.001465 Jy/beam
! Clean residual mean=0.000034 rms=0.000416 Jy/beam
! Combined flux in latest and established models = 0.647204 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 74 components and 0.647204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197843Jy  sigma=0.001240
! Fit after  self-cal, rms=0.197843Jy  sigma=0.001240
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197843Jy  sigma=0.001240
! Fit after  self-cal, rms=0.199439Jy  sigma=0.001239
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6838 mas, bmaj=0.8353 mas, bpa=0.7201 degrees
! Estimated noise=267.465 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00163148 Jy
! Component: 100  -  total flux cleaned = -0.00149188 Jy
! Component: 150  -  total flux cleaned = -0.00149488 Jy
! Component: 200  -  total flux cleaned = -0.00138199 Jy
! Total flux subtracted in 200 components = -0.00138199 Jy
! Clean residual min=-0.001473 max=0.001368 Jy/beam
! Clean residual mean=0.000034 rms=0.000385 Jy/beam
! Combined flux in latest and established models = 0.645822 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 76 components and 0.645822 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199395Jy  sigma=0.001239
! Fit after  self-cal, rms=0.199403Jy  sigma=0.001239
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 9.79872e-05 Jy
! Component: 100  -  total flux cleaned = 0.000253182 Jy
! Component: 150  -  total flux cleaned = 0.000301966 Jy
! Component: 200  -  total flux cleaned = 0.000437718 Jy
! Total flux subtracted in 200 components = 0.000437718 Jy
! Clean residual min=-0.001304 max=0.001377 Jy/beam
! Clean residual mean=0.000027 rms=0.000375 Jy/beam
! Combined flux in latest and established models = 0.64626 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 77 components and 0.64626 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199382Jy  sigma=0.001238
! Fit after  self-cal, rms=0.199381Jy  sigma=0.001238
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199381Jy  sigma=0.001238
! Fit after  self-cal, rms=0.199444Jy  sigma=0.001238
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=2.276 mas, bmaj=2.406 mas, bpa=88.83 degrees
! Estimated noise=410.915 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000448481 Jy
! Component: 100  -  total flux cleaned = -0.000140547 Jy
! Component: 150  -  total flux cleaned = 0.000168553 Jy
! Component: 200  -  total flux cleaned = 0.000232565 Jy
! Total flux subtracted in 200 components = 0.000232565 Jy
! Clean residual min=-0.001309 max=0.001249 Jy/beam
! Clean residual mean=0.000005 rms=0.000489 Jy/beam
! Combined flux in latest and established models = 0.646493 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 93 components and 0.646492 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199442Jy  sigma=0.001238
! Fit after  self-cal, rms=0.199439Jy  sigma=0.001238
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000204573 Jy
! Component: 100  -  total flux cleaned = 0.000378214 Jy
! Component: 150  -  total flux cleaned = 0.000463839 Jy
! Component: 200  -  total flux cleaned = 0.000520799 Jy
! Total flux subtracted in 200 components = 0.000520799 Jy
! Clean residual min=-0.001382 max=0.001213 Jy/beam
! Clean residual mean=-0.000025 rms=0.000488 Jy/beam
! Combined flux in latest and established models = 0.647013 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 103 components and 0.647013 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199438Jy  sigma=0.001238
! Fit after  self-cal, rms=0.199437Jy  sigma=0.001238
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6844 mas, bmaj=0.8363 mas, bpa=0.7936 degrees
! Estimated noise=267.265 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6844 x 0.8363 at 0.7936 degrees (North through East)
! Clean map  min=-0.0011101  max=0.51619 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199437Jy  sigma=0.001238
! Fit after  self-cal, rms=0.217899Jy  sigma=0.001163
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6852 mas, bmaj=0.8365 mas, bpa=0.6836 degrees
! Estimated noise=266.995 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00167658 Jy
! Component: 100  -  total flux cleaned = -0.00187854 Jy
! Component: 150  -  total flux cleaned = -0.001922 Jy
! Component: 200  -  total flux cleaned = -0.00192264 Jy
! Total flux subtracted in 200 components = -0.00192264 Jy
! Clean residual min=-0.001197 max=0.001156 Jy/beam
! Clean residual mean=0.000016 rms=0.000335 Jy/beam
! Combined flux in latest and established models = 0.645091 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 107 components and 0.645091 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217875Jy  sigma=0.001163
! Fit after  self-cal, rms=0.217877Jy  sigma=0.001163
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -8.43724e-05 Jy
! Component: 100  -  total flux cleaned = -4.75464e-05 Jy
! Component: 150  -  total flux cleaned = -1.32539e-05 Jy
! Component: 200  -  total flux cleaned = -1.37075e-05 Jy
! Total flux subtracted in 200 components = -1.37075e-05 Jy
! Clean residual min=-0.001137 max=0.001179 Jy/beam
! Clean residual mean=0.000017 rms=0.000330 Jy/beam
! Combined flux in latest and established models = 0.645077 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 109 components and 0.645077 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217866Jy  sigma=0.001163
! Fit after  self-cal, rms=0.217867Jy  sigma=0.001163
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217867Jy  sigma=0.001163
! Fit after  self-cal, rms=0.218428Jy  sigma=0.001162
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative 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 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.5414 mas, bmaj=0.6489 mas, bpa=-2.719 degrees
! Estimated noise=592.693 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.389607 Jy
! Component: 100  -  total flux cleaned = 0.475164 Jy
! Component: 150  -  total flux cleaned = 0.502977 Jy
! Component: 200  -  total flux cleaned = 0.522263 Jy
! Total flux subtracted in 200 components = 0.522263 Jy
! Clean residual min=-0.003459 max=0.011249 Jy/beam
! Clean residual mean=0.000149 rms=0.001148 Jy/beam
! Combined flux in latest and established models = 0.522263 Jy
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 0.522263 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6856 mas, bmaj=0.8374 mas, bpa=0.8367 degrees
! Estimated noise=266.822 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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0367607 Jy
! Component: 100  -  total flux cleaned = 0.0596194 Jy
! Component: 150  -  total flux cleaned = 0.0749376 Jy
! Component: 200  -  total flux cleaned = 0.0856617 Jy
! Total flux subtracted in 200 components = 0.0856617 Jy
! Clean residual min=-0.001681 max=0.006187 Jy/beam
! Clean residual mean=0.000696 rms=0.000890 Jy/beam
! Combined flux in latest and established models = 0.607925 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 58 components and 0.607925 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Added new window around map position (0.2, 0.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0078628 Jy
! Component: 100  -  total flux cleaned = 0.0137337 Jy
! Component: 150  -  total flux cleaned = 0.0182185 Jy
! Component: 200  -  total flux cleaned = 0.0217058 Jy
! Total flux subtracted in 200 components = 0.0217058 Jy
! Clean residual min=-0.001195 max=0.002216 Jy/beam
! Clean residual mean=0.000277 rms=0.000439 Jy/beam
! Combined flux in latest and established models = 0.62963 Jy
! Adding 50 model components to the UV plane model.
! The established model now contains 85 components and 0.629631 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Added new window around map position (0.2, -1.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00278402 Jy
! Component: 100  -  total flux cleaned = 0.00503744 Jy
! Component: 150  -  total flux cleaned = 0.00691284 Jy
! Component: 200  -  total flux cleaned = 0.00849551 Jy
! Total flux subtracted in 200 components = 0.00849551 Jy
! Clean residual min=-0.001135 max=0.001271 Jy/beam
! Clean residual mean=0.000120 rms=0.000343 Jy/beam
! Combined flux in latest and established models = 0.638126 Jy
! Adding 45 model components to the UV plane model.
! The established model now contains 106 components and 0.638126 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=2.276 mas, bmaj=2.406 mas, bpa=89.14 degrees
! Estimated noise=409.05 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00300338 Jy
! Component: 100  -  total flux cleaned = 0.00460739 Jy
! Component: 150  -  total flux cleaned = 0.00559214 Jy
! Component: 200  -  total flux cleaned = 0.00623588 Jy
! Total flux subtracted in 200 components = 0.00623588 Jy
! Clean residual min=-0.001164 max=0.000971 Jy/beam
! Clean residual mean=0.000026 rms=0.000408 Jy/beam
! Combined flux in latest and established models = 0.644362 Jy
flux_cutoff = imstat(rms) * dynam
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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00027445 Jy
! Component: 100  -  total flux cleaned = 0.000405919 Jy
! Component: 150  -  total flux cleaned = 0.000457385 Jy
! Component: 200  -  total flux cleaned = 0.000503682 Jy
! Total flux subtracted in 200 components = 0.000503682 Jy
! Clean residual min=-0.001181 max=0.000928 Jy/beam
! Clean residual mean=-0.000008 rms=0.000405 Jy/beam
! Combined flux in latest and established models = 0.644866 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 150 components and 0.644865 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! Estimated beam: bmin=0.6856 mas, bmaj=0.8374 mas, bpa=0.8367 degrees
! Estimated noise=266.822 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000592403 Jy
! Component: 100  -  total flux cleaned = -0.000626572 Jy
! Component: 150  -  total flux cleaned = -0.000550548 Jy
! Component: 200  -  total flux cleaned = -0.000481852 Jy
! Total flux subtracted in 200 components = -0.000481852 Jy
! Clean residual min=-0.001084 max=0.001178 Jy/beam
! Clean residual mean=0.000005 rms=0.000312 Jy/beam
! Combined flux in latest and established models = 0.644384 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 158 components and 0.644384 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.218390Jy  sigma=0.001162
! Fit after  self-cal, rms=0.218386Jy  sigma=0.001162
wmodel J0808+4950_X_2001_07_05_pus_map.mod
! Writing 158 model components to file: J0808+4950_X_2001_07_05_pus_map.mod
wobs J0808+4950_X_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J0808+4950_X_2001_07_05_pus_uvs.fits
wwins J0808+4950_X_2001_07_05_pus_map.win
! wwins: Wrote 7 windows to J0808+4950_X_2001_07_05_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 9.10325e-05 Jy
! Component: 100  -  total flux cleaned = 5.26138e-05 Jy
! Component: 150  -  total flux cleaned = -2.16778e-05 Jy
! Component: 200  -  total flux cleaned = 1.45941e-05 Jy
! Component: 250  -  total flux cleaned = 3.20955e-05 Jy
! Component: 300  -  total flux cleaned = 1.47788e-05 Jy
! Component: 350  -  total flux cleaned = 6.59995e-05 Jy
! Component: 400  -  total flux cleaned = 4.90083e-05 Jy
! Component: 450  -  total flux cleaned = 4.89658e-05 Jy
! Component: 500  -  total flux cleaned = 4.90548e-05 Jy
! Component: 550  -  total flux cleaned = 4.92511e-05 Jy
! Component: 600  -  total flux cleaned = 8.11303e-05 Jy
! Component: 650  -  total flux cleaned = 6.53395e-05 Jy
! Component: 700  -  total flux cleaned = 8.09204e-05 Jy
! Component: 750  -  total flux cleaned = 6.5426e-05 Jy
! Component: 800  -  total flux cleaned = 6.54912e-05 Jy
! Component: 850  -  total flux cleaned = 8.05618e-05 Jy
! Component: 900  -  total flux cleaned = 8.04536e-05 Jy
! Component: 950  -  total flux cleaned = 3.56938e-05 Jy
! Component: 1000  -  total flux cleaned = 5.04675e-05 Jy
! Total flux subtracted in 1024 components = 3.57595e-05 Jy
! Clean residual min=-0.000864 max=0.000929 Jy/beam
! Clean residual mean=0.000004 rms=0.000283 Jy/beam
! Combined flux in latest and established models = 0.644419 Jy
keep
! Adding 92 model components to the UV plane model.
! The established model now contains 250 components and 0.644419 Jy
wmap "J0808+4950_X_2001_07_05_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6856 x 0.8374 at 0.8367 degrees (North through East)
! Clean map  min=-0.00089537  max=0.51616 Jy/beam
! Writing clean map to FITS file: J0808+4950_X_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.516164 
invert
! Inverting map 
! Your choice of large map pixels excluded 3.32% of the data.
!  The x-axis pixel size should ideally be below 0.1597 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1795 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000283168 
device "J0808+4950_X_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J0808+4950_X_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.16458 0.16458 0.329161 0.658321 1.31664 2.63329 5.26657 10.5331 21.0663 42.1326 84.2652
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0008 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.516 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6856 x 0.8374 at 0.8367 degrees (North through East)
! Clean map  min=-0.00089537  max=0.51616 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0808+4950_X_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J0808+4950_X_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0808+4950_X_2001_07_05_pus_uvs.log closed on Wed Jul  4 20:16:26 2007