! Started logfile: J0808+4950_X_2001_10_29_pus_uvs.log on Mon Feb 25 16:09:49 2008
obs J0808+4950_X_2001_10_29_pus_uva.fits
! Reading UV FITS file: J0808+4950_X_2001_10_29_pus_uva.fits
! AN table 1: 65 integrations on 153 of 153 possible baselines.
! AN table 2: 136 integrations on 153 of 153 possible baselines.
! AN table 3: 125 integrations on 153 of 153 possible baselines.
! AN table 4: 92 integrations on 153 of 153 possible baselines.
! AN table 5: 44 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.171463 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0808+4950
! 
! 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 1970 lines of history.
! 
! Reading 48480 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 
![@muppet J0808+4950_X_2001_10_29_pus]
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 447 telescope corrections were flagged in sub-array 1.
!  A total of 1431 telescope corrections were flagged in sub-array 2.
!  A total of 1573 telescope corrections were flagged in sub-array 3.
!  A total of 1220 telescope corrections were flagged in sub-array 4.
!  A total of 631 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 1431 telescope corrections were flagged in sub-array 2.
!  A total of 1573 telescope corrections were flagged in sub-array 3.
!  A total of 1220 telescope corrections were flagged in sub-array 4.
!  A total of 626 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 1431 telescope corrections were flagged in sub-array 2.
!  A total of 1573 telescope corrections were flagged in sub-array 3.
!  A total of 1220 telescope corrections were flagged in sub-array 4.
!  A total of 626 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 1431 telescope corrections were flagged in sub-array 2.
!  A total of 1573 telescope corrections were flagged in sub-array 3.
!  A total of 1220 telescope corrections were flagged in sub-array 4.
!  A total of 631 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.834355Jy  sigma=0.006944
! Fit after  self-cal, rms=0.466387Jy  sigma=0.003682
! 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 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.5191 mas, bmaj=0.651 mas, bpa=-8.331 degrees
! Estimated noise=833.2 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.441751 Jy
! Component: 100  -  total flux cleaned = 0.538768 Jy
! Total flux subtracted in 100 components = 0.538768 Jy
! Clean residual min=-0.011186 max=0.030600 Jy/beam
! Clean residual mean=0.000251 rms=0.003417 Jy/beam
! Combined flux in latest and established models = 0.538768 Jy
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.538768 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.215657Jy  sigma=0.001547
! Fit after  self-cal, rms=0.215646Jy  sigma=0.001547
! Inverting map 
! Your choice of large map pixels excluded 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.032956 Jy
! Component: 100  -  total flux cleaned = 0.0529312 Jy
! Total flux subtracted in 100 components = 0.0529312 Jy
! Clean residual min=-0.010061 max=0.021236 Jy/beam
! Clean residual mean=0.000145 rms=0.002872 Jy/beam
! Combined flux in latest and established models = 0.591699 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 13 components and 0.591699 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207381Jy  sigma=0.001429
! Fit after  self-cal, rms=0.207322Jy  sigma=0.001429
! Inverting map 
! Your choice of large map pixels excluded 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.0197347 Jy
! Component: 100  -  total flux cleaned = 0.0324374 Jy
! Total flux subtracted in 100 components = 0.0324374 Jy
! Clean residual min=-0.009366 max=0.013051 Jy/beam
! Clean residual mean=0.000078 rms=0.002682 Jy/beam
! Combined flux in latest and established models = 0.624137 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 23 components and 0.624137 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204064Jy  sigma=0.001384
! Fit after  self-cal, rms=0.203769Jy  sigma=0.001382
! Inverting map 
! Your choice of large map pixels excluded 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6732 mas, bmaj=0.9092 mas, bpa=-13.53 degrees
! Estimated noise=401.637 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.0222027 Jy
! Component: 100  -  total flux cleaned = 0.0346019 Jy
! Component: 150  -  total flux cleaned = 0.0421334 Jy
! Component: 200  -  total flux cleaned = 0.0467454 Jy
! Total flux subtracted in 200 components = 0.0467454 Jy
! Clean residual min=-0.010893 max=0.010727 Jy/beam
! Clean residual mean=-0.000274 rms=0.002931 Jy/beam
! Combined flux in latest and established models = 0.670882 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 29 components and 0.670882 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201934Jy  sigma=0.001348
! Fit after  self-cal, rms=0.201780Jy  sigma=0.001347
! Inverting map 
! Your choice of large map pixels excluded 4.89% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.95     KK        0.99     KP        0.96     LA        0.93     
!   MA        1.09     MC        1.10     MK        1.00     NL        0.97     
!   OV        0.97     PT        0.96     SC        1.04     TS        0.95     
!   WF        0.98     WZ        1.01     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        0.98     KP        1.13     LA        1.03     
!   MA        0.99     MC        1.01     MK        0.98     NL        1.01     
!   OV        1.00     PT        1.04     SC        1.00     TS        1.03     
!   WF        1.36     WZ        1.02     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.91     KK        0.99     KP        0.96     LA        0.94     
!   MA        1.04     MC        0.96     MK        1.01     NL        1.00     
!   OV        0.97     PT        0.97     SC        0.96     TS        1.19     
!   WF        0.92     WZ        1.03     
! 
!  A total of 27 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.07     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.06     KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.94     MC        0.91     MK        1.00*    NL        1.13     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.92     
!   WF        1.08     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        0.99     KP        0.97     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.00     NL        0.96     
!   OV        0.96     PT        0.98     SC        1.00*    TS        0.91     
!   WF        0.99     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.93     KK        1.06     KP        0.98     LA        0.91     
!   MA        1.08     MC        1.11     MK        0.99     NL        0.93     
!   OV        0.98     PT        0.95     SC        0.99     TS        0.94     
!   WF        0.97     WZ        0.98     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.01     KK        1.01     KP        1.16     LA        1.01     
!   MA        1.02     MC        1.00     MK        0.98     NL        0.98     
!   OV        1.01     PT        1.02     SC        0.95     TS        1.04     
!   WF        1.31     WZ        1.02     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.92     KK        1.01     KP        0.97     LA        0.92     
!   MA        1.02     MC        0.95     MK        0.97     NL        0.97     
!   OV        0.99     PT        0.93     SC        0.91     TS        1.20     
!   WF        0.97     WZ        1.01     
! 
!  A total of 27 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.10     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.90     MC        0.92     MK        1.00*    NL        1.11     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.94     
!   WF        1.06     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        1.00     KP        1.00     LA        0.93     
!   MA        1.00*    MC        1.00*    MK        0.99     NL        0.92     
!   OV        0.97     PT        0.96     SC        1.00*    TS        0.88     
!   WF        0.92     WZ        8.35     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.95     KK        0.99     KP        0.96     LA        0.95     
!   MA        1.11     MC        1.09     MK        1.01     NL        0.97     
!   OV        0.97     PT        0.98     SC        1.01     TS        0.93     
!   WF        1.00     WZ        0.97     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        0.97     KP        1.15     LA        1.05     
!   MA        0.98     MC        1.00     MK        0.98     NL        1.01     
!   OV        1.00     PT        1.05     SC        0.96     TS        1.03     
!   WF        1.34     WZ        1.02     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.92     KK        1.01     KP        0.96     LA        0.95     
!   MA        0.98     MC        0.92     MK        0.97     NL        1.00     
!   OV        0.97     PT        0.97     SC        0.96     TS        1.21     
!   WF        1.01     WZ        1.00     
! 
!  A total of 27 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.06     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.07     KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.87     MC        0.86     MK        1.00*    NL        1.12     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.94     
!   WF        1.03     WZ        0.99     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.99     KK        1.01     KP        0.97     LA        0.99     
!   MA        1.00*    MC        1.00*    MK        0.98     NL        0.97     
!   OV        0.95     PT        0.99     SC        1.00*    TS        0.89     
!   WF        1.03     WZ        6.08     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.97     KK        0.98     KP        1.00     LA        0.94     
!   MA        1.10     MC        1.13     MK        1.05     NL        0.98     
!   OV        0.95     PT        0.97     SC        1.06     TS        0.94     
!   WF        0.99     WZ        0.94     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.05     KK        0.96     KP        1.16     LA        1.03     
!   MA        1.05     MC        0.99     MK        1.02     NL        1.02     
!   OV        0.98     PT        1.05     SC        1.02     TS        1.04     
!   WF        1.40     WZ        0.97     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.92     KK        1.03     KP        1.00     LA        0.93     
!   MA        0.95     MC        0.94     MK        1.01     NL        1.01     
!   OV        0.97     PT        0.96     SC        1.00     TS        1.20     
!   WF        1.00     WZ        0.97     
! 
!  A total of 27 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.11     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.08     KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.90     MC        0.90     MK        1.00*    NL        1.14     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.93     
!   WF        1.04     WZ        0.91     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.06     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.01     KK        1.01     KP        0.98     LA        0.91     
!   MA        1.00*    MC        1.00*    MK        1.04     NL        0.97     
!   OV        0.95     PT        0.98     SC        1.00*    TS        0.90     
!   WF        1.02     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.201780Jy  sigma=0.001347
! Fit after  self-cal, rms=0.211061Jy  sigma=0.001265
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6682 mas, bmaj=0.9135 mas, bpa=-12.47 degrees
! Estimated noise=401.462 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 (1.4, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00949039 Jy
! Component: 100  -  total flux cleaned = 0.0121849 Jy
! Component: 150  -  total flux cleaned = 0.0128021 Jy
! Component: 200  -  total flux cleaned = 0.0133245 Jy
! Total flux subtracted in 200 components = 0.0133245 Jy
! Clean residual min=-0.004214 max=0.005239 Jy/beam
! Clean residual mean=0.000532 rms=0.001208 Jy/beam
! Combined flux in latest and established models = 0.684207 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 44 components and 0.684207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210358Jy  sigma=0.001260
! Fit after  self-cal, rms=0.210533Jy  sigma=0.001260
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.210533Jy  sigma=0.001260
! Fit after  self-cal, rms=0.256623Jy  sigma=0.001233
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6682 mas, bmaj=0.9137 mas, bpa=-12.81 degrees
! Estimated noise=402.463 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0037241 Jy
! Component: 100  -  total flux cleaned = 0.00453619 Jy
! Component: 150  -  total flux cleaned = 0.00504219 Jy
! Component: 200  -  total flux cleaned = 0.00540443 Jy
! Total flux subtracted in 200 components = 0.00540443 Jy
! Clean residual min=-0.002224 max=0.004704 Jy/beam
! Clean residual mean=0.000309 rms=0.000732 Jy/beam
! Combined flux in latest and established models = 0.689611 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 54 components and 0.689611 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256547Jy  sigma=0.001232
! Fit after  self-cal, rms=0.256783Jy  sigma=0.001231
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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 (1, -1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00430688 Jy
! Component: 100  -  total flux cleaned = 0.00510921 Jy
! Component: 150  -  total flux cleaned = 0.00549781 Jy
! Component: 200  -  total flux cleaned = 0.00590502 Jy
! Total flux subtracted in 200 components = 0.00590502 Jy
! Clean residual min=-0.002500 max=0.002640 Jy/beam
! Clean residual mean=0.000130 rms=0.000638 Jy/beam
! Combined flux in latest and established models = 0.695516 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 67 components and 0.695516 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256703Jy  sigma=0.001230
! Fit after  self-cal, rms=0.256699Jy  sigma=0.001230
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Added new window around map position (-0.4, -1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00181453 Jy
! Component: 100  -  total flux cleaned = 0.00193365 Jy
! Component: 150  -  total flux cleaned = 0.00198726 Jy
! Component: 200  -  total flux cleaned = 0.00208744 Jy
! Total flux subtracted in 200 components = 0.00208744 Jy
! Clean residual min=-0.002333 max=0.002282 Jy/beam
! Clean residual mean=0.000071 rms=0.000612 Jy/beam
! Combined flux in latest and established models = 0.697603 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 73 components and 0.697603 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256667Jy  sigma=0.001230
! Fit after  self-cal, rms=0.256677Jy  sigma=0.001230
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.256677Jy  sigma=0.001230
! Fit after  self-cal, rms=0.299194Jy  sigma=0.001229
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6678 mas, bmaj=0.9148 mas, bpa=-12.86 degrees
! Estimated noise=403.168 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00231989 Jy
! Component: 100  -  total flux cleaned = 0.00276082 Jy
! Component: 150  -  total flux cleaned = 0.0030932 Jy
! Component: 200  -  total flux cleaned = 0.00333236 Jy
! Total flux subtracted in 200 components = 0.00333236 Jy
! Clean residual min=-0.001768 max=0.002153 Jy/beam
! Clean residual mean=0.000109 rms=0.000549 Jy/beam
! Combined flux in latest and established models = 0.700936 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 83 components and 0.700936 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299130Jy  sigma=0.001229
! Fit after  self-cal, rms=0.299184Jy  sigma=0.001229
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.000237506 Jy
! Component: 100  -  total flux cleaned = 0.000399662 Jy
! Component: 150  -  total flux cleaned = 0.000550494 Jy
! Component: 200  -  total flux cleaned = 0.000692523 Jy
! Total flux subtracted in 200 components = 0.000692523 Jy
! Clean residual min=-0.001798 max=0.002152 Jy/beam
! Clean residual mean=0.000088 rms=0.000538 Jy/beam
! Combined flux in latest and established models = 0.701628 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 88 components and 0.701628 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299144Jy  sigma=0.001229
! Fit after  self-cal, rms=0.299149Jy  sigma=0.001229
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.299149Jy  sigma=0.001229
! Fit after  self-cal, rms=0.300897Jy  sigma=0.001229
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=2.328 mas, bmaj=2.65 mas, bpa=-62.06 degrees
! Estimated noise=593.801 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00242071 Jy
! Component: 100  -  total flux cleaned = 0.00332267 Jy
! Component: 150  -  total flux cleaned = 0.00350253 Jy
! Component: 200  -  total flux cleaned = 0.00365075 Jy
! Total flux subtracted in 200 components = 0.00365075 Jy
! Clean residual min=-0.001580 max=0.002241 Jy/beam
! Clean residual mean=0.000136 rms=0.000688 Jy/beam
! Combined flux in latest and established models = 0.705279 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 104 components and 0.705279 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.300891Jy  sigma=0.001228
! Fit after  self-cal, rms=0.300888Jy  sigma=0.001228
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.000213593 Jy
! Component: 100  -  total flux cleaned = 0.000307762 Jy
! Component: 150  -  total flux cleaned = 0.00041191 Jy
! Component: 200  -  total flux cleaned = 0.000480495 Jy
! Total flux subtracted in 200 components = 0.000480495 Jy
! Clean residual min=-0.001507 max=0.002227 Jy/beam
! Clean residual mean=0.000093 rms=0.000686 Jy/beam
! Combined flux in latest and established models = 0.705759 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 108 components and 0.70576 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.300884Jy  sigma=0.001228
! Fit after  self-cal, rms=0.300879Jy  sigma=0.001228
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6676 mas, bmaj=0.9153 mas, bpa=-12.87 degrees
! Estimated noise=403.828 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6676 x 0.9153 at -12.87 degrees (North through East)
! Clean map  min=-0.0018235  max=0.58249 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.300879Jy  sigma=0.001228
! Fit after  self-cal, rms=0.525505Jy  sigma=0.001124
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6684 mas, bmaj=0.915 mas, bpa=-12.9 degrees
! Estimated noise=403.213 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000443456 Jy
! Component: 100  -  total flux cleaned = 0.0004405 Jy
! Component: 150  -  total flux cleaned = 0.000401614 Jy
! Component: 200  -  total flux cleaned = 0.000401771 Jy
! Total flux subtracted in 200 components = 0.000401771 Jy
! Clean residual min=-0.001400 max=0.002059 Jy/beam
! Clean residual mean=0.000066 rms=0.000462 Jy/beam
! Combined flux in latest and established models = 0.706161 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 114 components and 0.706161 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.525496Jy  sigma=0.001124
! Fit after  self-cal, rms=0.525506Jy  sigma=0.001124
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Added new window around map position (1.4, -5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00188774 Jy
! Component: 100  -  total flux cleaned = 0.00241851 Jy
! Component: 150  -  total flux cleaned = 0.00249239 Jy
! Component: 200  -  total flux cleaned = 0.00252567 Jy
! Total flux subtracted in 200 components = 0.00252567 Jy
! Clean residual min=-0.001413 max=0.001547 Jy/beam
! Clean residual mean=-0.000004 rms=0.000434 Jy/beam
! Combined flux in latest and established models = 0.708687 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 125 components and 0.708687 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.525501Jy  sigma=0.001124
! Fit after  self-cal, rms=0.525503Jy  sigma=0.001124
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.525503Jy  sigma=0.001124
! Fit after  self-cal, rms=0.525120Jy  sigma=0.001124
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 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.5141 mas, bmaj=0.6599 mas, bpa=-7.473 degrees
! Estimated noise=834.603 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.441432 Jy
! Component: 100  -  total flux cleaned = 0.537821 Jy
! Component: 150  -  total flux cleaned = 0.568858 Jy
! Component: 200  -  total flux cleaned = 0.589967 Jy
! Total flux subtracted in 200 components = 0.589967 Jy
! Clean residual min=-0.004442 max=0.012030 Jy/beam
! Clean residual mean=0.000227 rms=0.001544 Jy/beam
! Combined flux in latest and established models = 0.589967 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.589967 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6684 mas, bmaj=0.9154 mas, bpa=-12.88 degrees
! Estimated noise=403.147 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.0388419 Jy
! Component: 100  -  total flux cleaned = 0.0612344 Jy
! Component: 150  -  total flux cleaned = 0.0757246 Jy
! Component: 200  -  total flux cleaned = 0.0855572 Jy
! Total flux subtracted in 200 components = 0.0855572 Jy
! Clean residual min=-0.001484 max=0.005628 Jy/beam
! Clean residual mean=0.001047 rms=0.000921 Jy/beam
! Combined flux in latest and established models = 0.675525 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 65 components and 0.675525 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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.0071074 Jy
! Component: 100  -  total flux cleaned = 0.0123641 Jy
! Component: 150  -  total flux cleaned = 0.0163687 Jy
! Component: 200  -  total flux cleaned = 0.0195785 Jy
! Total flux subtracted in 200 components = 0.0195785 Jy
! Clean residual min=-0.001211 max=0.002098 Jy/beam
! Clean residual mean=0.000427 rms=0.000516 Jy/beam
! Combined flux in latest and established models = 0.695103 Jy
! Adding 57 model components to the UV plane model.
! The established model now contains 104 components and 0.695103 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 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 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=2.327 mas, bmaj=2.644 mas, bpa=-62.15 degrees
! Estimated noise=592.881 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00573111 Jy
! Component: 100  -  total flux cleaned = 0.00881365 Jy
! Component: 150  -  total flux cleaned = 0.0107325 Jy
! Component: 200  -  total flux cleaned = 0.0119693 Jy
! Total flux subtracted in 200 components = 0.0119693 Jy
! Clean residual min=-0.001277 max=0.001606 Jy/beam
! Clean residual mean=0.000176 rms=0.000511 Jy/beam
! Combined flux in latest and established models = 0.707073 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.000802869 Jy
! Component: 100  -  total flux cleaned = 0.00107877 Jy
! Component: 150  -  total flux cleaned = 0.00126126 Jy
! Component: 200  -  total flux cleaned = 0.00138075 Jy
! Total flux subtracted in 200 components = 0.00138075 Jy
! Clean residual min=-0.001454 max=0.001522 Jy/beam
! Clean residual mean=0.000046 rms=0.000502 Jy/beam
! Combined flux in latest and established models = 0.708453 Jy
! Adding 71 model components to the UV plane model.
! The established model now contains 149 components and 0.708453 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! Estimated beam: bmin=0.6684 mas, bmaj=0.9154 mas, bpa=-12.88 degrees
! Estimated noise=403.147 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -7.78958e-05 Jy
! Component: 100  -  total flux cleaned = -7.78985e-05 Jy
! Component: 150  -  total flux cleaned = -9.1306e-06 Jy
! Component: 200  -  total flux cleaned = 8.67163e-05 Jy
! Total flux subtracted in 200 components = 8.67163e-05 Jy
! Clean residual min=-0.001517 max=0.001505 Jy/beam
! Clean residual mean=0.000016 rms=0.000414 Jy/beam
! Combined flux in latest and established models = 0.70854 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 163 components and 0.70854 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.525124Jy  sigma=0.001123
! Fit after  self-cal, rms=0.525130Jy  sigma=0.001123
wmodel J0808+4950_X_2001_10_29_pus_map.mod
! Writing 163 model components to file: J0808+4950_X_2001_10_29_pus_map.mod
wobs J0808+4950_X_2001_10_29_pus_uvs.fits
! Writing UV FITS file: J0808+4950_X_2001_10_29_pus_uvs.fits
wwins J0808+4950_X_2001_10_29_pus_map.win
! wwins: Wrote 7 windows to J0808+4950_X_2001_10_29_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 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000245844 Jy
! Component: 100  -  total flux cleaned = 0.000550096 Jy
! Component: 150  -  total flux cleaned = 0.000692899 Jy
! Component: 200  -  total flux cleaned = 0.000832698 Jy
! Component: 250  -  total flux cleaned = 0.000878265 Jy
! Component: 300  -  total flux cleaned = 0.000945647 Jy
! Component: 350  -  total flux cleaned = 0.000968058 Jy
! Component: 400  -  total flux cleaned = 0.00107664 Jy
! Component: 450  -  total flux cleaned = 0.0010978 Jy
! Component: 500  -  total flux cleaned = 0.00116083 Jy
! Component: 550  -  total flux cleaned = 0.00120219 Jy
! Component: 600  -  total flux cleaned = 0.00124304 Jy
! Component: 650  -  total flux cleaned = 0.00126323 Jy
! Component: 700  -  total flux cleaned = 0.00130304 Jy
! Component: 750  -  total flux cleaned = 0.00130302 Jy
! Component: 800  -  total flux cleaned = 0.00130318 Jy
! Component: 850  -  total flux cleaned = 0.00132264 Jy
! Component: 900  -  total flux cleaned = 0.00134175 Jy
! Component: 950  -  total flux cleaned = 0.00136072 Jy
! Component: 1000  -  total flux cleaned = 0.00137958 Jy
! Total flux subtracted in 1024 components = 0.00139827 Jy
! Clean residual min=-0.000930 max=0.001159 Jy/beam
! Clean residual mean=-0.000005 rms=0.000357 Jy/beam
! Combined flux in latest and established models = 0.709938 Jy
keep
! Adding 74 model components to the UV plane model.
! The established model now contains 237 components and 0.709938 Jy
![Exited script file: muppet]
wmap "J0808+4950_X_2001_10_29_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6684 x 0.9154 at -12.88 degrees (North through East)
! Clean map  min=-0.0014525  max=0.58196 Jy/beam
! Writing clean map to FITS file: J0808+4950_X_2001_10_29_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.581961 
invert
! Inverting map 
! Your choice of large map pixels excluded 4.94% of the data.
!  The x-axis pixel size should ideally be below 0.1581 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1847 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000356776 
device "J0808+4950_X_2001_10_29_pus\_map.eps/VPS"
! Attempting to open device: 'J0808+4950_X_2001_10_29_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.183918 0.183918 0.367835 0.73567 1.47134 2.94268 5.88536 11.7707 23.5415 47.0829 94.1658
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.581 
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.6684 x 0.9154 at -12.88 degrees (North through East)
! Clean map  min=-0.0014525  max=0.58196 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0808+4950_X_2001_10_29_pus\_map.gif/vgif"
! Attempting to open device: 'J0808+4950_X_2001_10_29_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0808+4950_X_2001_10_29_pus_uvs.log closed on Mon Feb 25 16:10:06 2008