! Started logfile: J0501+1356_X_2003_05_07_pus_uvs.log on Thu Dec 14 14:54:33 2006
obs J0501+1356_X_2003_05_07_pus_uva.fits
! Reading UV FITS file: J0501+1356_X_2003_05_07_pus_uva.fits
! AN table 1: 310 integrations on 171 of 171 possible baselines.
! AN table 2: 47 integrations on 171 of 171 possible baselines.
! AN table 3: 322 integrations on 171 of 171 possible baselines.
! AN table 4: 201 integrations on 171 of 171 possible baselines.
! AN table 5: 67 integrations on 171 of 171 possible baselines.
! AN table 6: 29 integrations on 171 of 171 possible baselines.
! AN table 7: 37 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.157733 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0501+1356
! 
! 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 1739 lines of history.
! 
! Reading 109292 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
float field_size
field_size = 256
float field_cell
field_cell = 0.2
float 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 3230 telescope corrections were flagged in sub-array 1.
!  A total of 854 telescope corrections were flagged in sub-array 2.
!  A total of 3805 telescope corrections were flagged in sub-array 3.
!  A total of 3385 telescope corrections were flagged in sub-array 4.
!  A total of 1273 telescope corrections were flagged in sub-array 5.
!  A total of 390 telescope corrections were flagged in sub-array 6.
!  A total of 703 telescope corrections were flagged in sub-array 7.
! 
! Correcting IF 2.
!  A total of 3230 telescope corrections were flagged in sub-array 1.
!  A total of 854 telescope corrections were flagged in sub-array 2.
!  A total of 3805 telescope corrections were flagged in sub-array 3.
!  A total of 3385 telescope corrections were flagged in sub-array 4.
!  A total of 1216 telescope corrections were flagged in sub-array 5.
!  A total of 389 telescope corrections were flagged in sub-array 6.
!  A total of 703 telescope corrections were flagged in sub-array 7.
! 
! Correcting IF 3.
!  A total of 3230 telescope corrections were flagged in sub-array 1.
!  A total of 854 telescope corrections were flagged in sub-array 2.
!  A total of 3805 telescope corrections were flagged in sub-array 3.
!  A total of 3424 telescope corrections were flagged in sub-array 4.
!  A total of 1216 telescope corrections were flagged in sub-array 5.
!  A total of 389 telescope corrections were flagged in sub-array 6.
!  A total of 703 telescope corrections were flagged in sub-array 7.
! 
! Correcting IF 4.
!  A total of 3230 telescope corrections were flagged in sub-array 1.
!  A total of 854 telescope corrections were flagged in sub-array 2.
!  A total of 3887 telescope corrections were flagged in sub-array 3.
!  A total of 3424 telescope corrections were flagged in sub-array 4.
!  A total of 1216 telescope corrections were flagged in sub-array 5.
!  A total of 390 telescope corrections were flagged in sub-array 6.
!  A total of 703 telescope corrections were flagged in sub-array 7.
! 
! Fit before self-cal, rms=0.918143Jy  sigma=0.007328
! Fit after  self-cal, rms=0.848306Jy  sigma=0.006831
! 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.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.5159 mas, bmaj=1.425 mas, bpa=-5.492 degrees
! Estimated noise=752.604 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.139806 Jy
! Component: 100  -  total flux cleaned = 0.186432 Jy
! Total flux subtracted in 100 components = 0.186432 Jy
! Clean residual min=-0.007644 max=0.021787 Jy/beam
! Clean residual mean=0.000144 rms=0.002669 Jy/beam
! Combined flux in latest and established models = 0.186432 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.186432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254628Jy  sigma=0.001344
! Fit after  self-cal, rms=0.254007Jy  sigma=0.001343
! Inverting map 
! Your choice of large map pixels excluded 3.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Added new window around map position (0.6, 0.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0265885 Jy
! Component: 100  -  total flux cleaned = 0.042848 Jy
! Total flux subtracted in 100 components = 0.042848 Jy
! Clean residual min=-0.005641 max=0.013824 Jy/beam
! Clean residual mean=0.000076 rms=0.001740 Jy/beam
! Combined flux in latest and established models = 0.22928 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 15 components and 0.22928 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250676Jy  sigma=0.001290
! Fit after  self-cal, rms=0.250278Jy  sigma=0.001288
! Inverting map 
! Your choice of large map pixels excluded 3.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0131046 Jy
! Component: 100  -  total flux cleaned = 0.0211276 Jy
! Total flux subtracted in 100 components = 0.0211276 Jy
! Clean residual min=-0.004860 max=0.009115 Jy/beam
! Clean residual mean=0.000039 rms=0.001390 Jy/beam
! Combined flux in latest and established models = 0.250407 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 20 components and 0.250407 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.249380Jy  sigma=0.001275
! Fit after  self-cal, rms=0.249194Jy  sigma=0.001274
! Inverting map 
! Your choice of large map pixels excluded 3.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6284 mas, bmaj=1.838 mas, bpa=-6.85 degrees
! Estimated noise=280.527 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.00904057 Jy
! Component: 100  -  total flux cleaned = 0.013352 Jy
! Component: 150  -  total flux cleaned = 0.0153545 Jy
! Component: 200  -  total flux cleaned = 0.0157406 Jy
! Total flux subtracted in 200 components = 0.0157406 Jy
! Clean residual min=-0.003734 max=0.005665 Jy/beam
! Clean residual mean=0.000187 rms=0.000993 Jy/beam
! Combined flux in latest and established models = 0.266148 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 30 components and 0.266148 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248784Jy  sigma=0.001271
! Fit after  self-cal, rms=0.248701Jy  sigma=0.001270
! Inverting map 
! Your choice of large map pixels excluded 3.47% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.00     GG        1.00*    HN        1.03     
!   KK        1.00*    KP        1.09     LA        0.96     MA        0.89     
!   MC        1.11     MK        1.00*    NL        1.06     ON        0.90     
!   OV        0.96     PT        1.00     SC        1.00     TC        1.00*    
!   TS        1.00*    WF        0.96     WZ        0.91     
! 
!  A total of 39 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.94     FD        0.94     GG        1.00*    HN        0.98     
!   KK        1.00*    KP        1.10     LA        0.96     MA        0.90     
!   MC        1.29     MK        1.05     NL        1.07     ON        0.95     
!   OV        0.96     PT        0.98     SC        0.99     TC        1.00*    
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.33     
!   KK        1.00*    KP        1.00*    LA        1.15     MA        0.80     
!   MC        1.09     MK        1.00*    NL        0.98     ON        0.84     
!   OV        1.00*    PT        1.01     SC        0.87     TC        1.00*    
!   TS        1.31     WF        1.00*    WZ        1.05     
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.08     
!   KK        1.00*    KP        1.00*    LA        1.05     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.04     ON        1.00*    
!   OV        1.00*    PT        1.10     SC        0.95     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 7:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00     GG        1.00*    HN        1.03     
!   KK        1.00*    KP        1.02     LA        0.98     MA        0.90     
!   MC        1.05     MK        1.00*    NL        1.02     ON        0.85     
!   OV        0.90     PT        1.04     SC        0.96     TC        1.00*    
!   TS        1.00*    WF        1.09     WZ        0.93     
! 
!  A total of 39 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.97     GG        1.00*    HN        0.99     
!   KK        1.00*    KP        1.01     LA        0.98     MA        0.97     
!   MC        1.32     MK        1.05     NL        1.02     ON        0.96     
!   OV        0.93     PT        1.02     SC        0.96     TC        1.00*    
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        0.93     
!   KK        1.00*    KP        1.00*    LA        0.98     MA        0.90     
!   MC        1.07     MK        1.00*    NL        0.94     ON        0.92     
!   OV        1.00*    PT        1.08     SC        1.21     TC        1.00*    
!   TS        1.28     WF        1.00*    WZ        1.00     
! 
!  A total of 57 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.03     GG        1.00*    HN        0.96     
!   KK        1.00*    KP        1.00*    LA        1.04     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.02     ON        1.00*    
!   OV        1.00*    PT        1.15     SC        1.01     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 7:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.98     GG        1.00*    HN        1.03     
!   KK        1.00*    KP        0.95     LA        0.98     MA        1.06     
!   MC        0.96     MK        1.00*    NL        1.01     ON        0.80     
!   OV        0.98     PT        1.08     SC        1.00     TC        1.00*    
!   TS        1.00*    WF        0.97     WZ        0.91     
! 
!  A total of 39 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.95     GG        1.00*    HN        1.00     
!   KK        1.00*    KP        0.95     LA        0.97     MA        0.84     
!   MC        1.24     MK        1.05     NL        1.03     ON        0.85     
!   OV        0.99     PT        1.06     SC        1.00     TC        1.00*    
!   TS        1.00*    WF        0.97     WZ        1.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        0.82     
!   KK        1.00*    KP        1.00*    LA        0.99     MA        0.80     
!   MC        1.00     MK        1.00*    NL        0.87     ON        0.70     
!   OV        1.00*    PT        1.20     SC        1.03     TC        1.00*    
!   TS        1.34     WF        1.00*    WZ        1.07     
! 
!  A total of 57 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.02     GG        1.00*    HN        1.00     
!   KK        1.00*    KP        1.00*    LA        1.02     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.02     ON        1.00*    
!   OV        1.00*    PT        1.17     SC        1.09     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 7:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.00     GG        1.00*    HN        1.07     
!   KK        1.00*    KP        1.01     LA        0.97     MA        0.81     
!   MC        0.97     MK        1.00*    NL        1.00     ON        0.78     
!   OV        0.96     PT        1.07     SC        1.05     TC        1.00*    
!   TS        1.00*    WF        1.02     WZ        0.91     
! 
!  A total of 39 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.95     GG        1.00*    HN        1.02     
!   KK        1.00*    KP        1.01     LA        0.97     MA        0.78     
!   MC        1.41     MK        1.08     NL        1.01     ON        0.92     
!   OV        1.00     PT        1.05     SC        1.06     TC        1.00*    
!   TS        1.00*    WF        0.97     WZ        1.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.01     
!   KK        1.00*    KP        1.00*    LA        1.07     MA        0.76     
!   MC        0.96     MK        1.00*    NL        0.94     ON        0.87     
!   OV        1.00*    PT        1.14     SC        1.29     TC        1.00*    
!   TS        1.32     WF        1.00*    WZ        1.11     
! 
!  A total of 57 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        0.99     GG        1.00*    HN        1.03     
!   KK        1.00*    KP        1.00*    LA        1.02     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.04     ON        1.00*    
!   OV        1.00*    PT        1.10     SC        1.07     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 7:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.248701Jy  sigma=0.001270
! Fit after  self-cal, rms=0.224997Jy  sigma=0.001264
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6246 mas, bmaj=1.834 mas, bpa=-7.024 degrees
! Estimated noise=280.966 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, 1.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00283583 Jy
! Component: 100  -  total flux cleaned = 0.0028565 Jy
! Component: 150  -  total flux cleaned = 0.00279691 Jy
! Component: 200  -  total flux cleaned = 0.00274118 Jy
! Total flux subtracted in 200 components = 0.00274118 Jy
! Clean residual min=-0.001579 max=0.002629 Jy/beam
! Clean residual mean=0.000265 rms=0.000576 Jy/beam
! Combined flux in latest and established models = 0.268889 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 45 components and 0.268889 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224945Jy  sigma=0.001264
! Fit after  self-cal, rms=0.224533Jy  sigma=0.001263
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.224533Jy  sigma=0.001263
! Fit after  self-cal, rms=0.222841Jy  sigma=0.001263
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6239 mas, bmaj=1.835 mas, bpa=-7.066 degrees
! Estimated noise=281.126 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00167075 Jy
! Component: 100  -  total flux cleaned = 0.00156092 Jy
! Component: 150  -  total flux cleaned = 0.001562 Jy
! Component: 200  -  total flux cleaned = 0.00151773 Jy
! Total flux subtracted in 200 components = 0.00151773 Jy
! Clean residual min=-0.001613 max=0.002459 Jy/beam
! Clean residual mean=0.000253 rms=0.000533 Jy/beam
! Combined flux in latest and established models = 0.270407 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 49 components and 0.270407 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222814Jy  sigma=0.001263
! Fit after  self-cal, rms=0.222761Jy  sigma=0.001263
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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 (-6.2, -6.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00217573 Jy
! Component: 100  -  total flux cleaned = 0.00277435 Jy
! Component: 150  -  total flux cleaned = 0.00310608 Jy
! Component: 200  -  total flux cleaned = 0.00323435 Jy
! Total flux subtracted in 200 components = 0.00323435 Jy
! Clean residual min=-0.001539 max=0.002199 Jy/beam
! Clean residual mean=0.000218 rms=0.000487 Jy/beam
! Combined flux in latest and established models = 0.273641 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 60 components and 0.273641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222735Jy  sigma=0.001262
! Fit after  self-cal, rms=0.222732Jy  sigma=0.001262
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Added new window around map position (9.4, -7.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0014872 Jy
! Component: 100  -  total flux cleaned = 0.00188145 Jy
! Component: 150  -  total flux cleaned = 0.00196717 Jy
! Component: 200  -  total flux cleaned = 0.00200706 Jy
! Total flux subtracted in 200 components = 0.00200706 Jy
! Clean residual min=-0.001456 max=0.002052 Jy/beam
! Clean residual mean=0.000189 rms=0.000459 Jy/beam
! Combined flux in latest and established models = 0.275648 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 70 components and 0.275648 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222709Jy  sigma=0.001262
! Fit after  self-cal, rms=0.222697Jy  sigma=0.001262
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Added new window around map position (10.6, 5.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00202351 Jy
! Component: 100  -  total flux cleaned = 0.00298972 Jy
! Component: 150  -  total flux cleaned = 0.00358001 Jy
! Component: 200  -  total flux cleaned = 0.0039217 Jy
! Total flux subtracted in 200 components = 0.0039217 Jy
! Clean residual min=-0.001323 max=0.001680 Jy/beam
! Clean residual mean=0.000168 rms=0.000411 Jy/beam
! Combined flux in latest and established models = 0.27957 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 84 components and 0.27957 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222674Jy  sigma=0.001262
! Fit after  self-cal, rms=0.222664Jy  sigma=0.001262
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.222664Jy  sigma=0.001262
! Fit after  self-cal, rms=0.223249Jy  sigma=0.001262
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6242 mas, bmaj=1.837 mas, bpa=-7.094 degrees
! Estimated noise=281.924 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00135473 Jy
! Component: 100  -  total flux cleaned = 0.0019702 Jy
! Component: 150  -  total flux cleaned = 0.00225004 Jy
! Component: 200  -  total flux cleaned = 0.0023478 Jy
! Total flux subtracted in 200 components = 0.0023478 Jy
! Clean residual min=-0.001417 max=0.001639 Jy/beam
! Clean residual mean=0.000151 rms=0.000391 Jy/beam
! Combined flux in latest and established models = 0.281918 Jy
selfcal
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 96 components and 0.281918 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223235Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223234Jy  sigma=0.001261
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.00017275 Jy
! Component: 100  -  total flux cleaned = 0.000331445 Jy
! Component: 150  -  total flux cleaned = 0.000422875 Jy
! Component: 200  -  total flux cleaned = 0.000538905 Jy
! Total flux subtracted in 200 components = 0.000538905 Jy
! Clean residual min=-0.001369 max=0.001608 Jy/beam
! Clean residual mean=0.000149 rms=0.000381 Jy/beam
! Combined flux in latest and established models = 0.282457 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 103 components and 0.282457 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223227Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223227Jy  sigma=0.001261
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.223227Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223769Jy  sigma=0.001261
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=2.255 mas, bmaj=2.939 mas, bpa=-8.995 degrees
! Estimated noise=367.206 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00144651 Jy
! Component: 100  -  total flux cleaned = 0.00235068 Jy
! Component: 150  -  total flux cleaned = 0.00289183 Jy
! Component: 200  -  total flux cleaned = 0.00336317 Jy
! Total flux subtracted in 200 components = 0.00336317 Jy
! Clean residual min=-0.001191 max=0.002182 Jy/beam
! Clean residual mean=0.000326 rms=0.000450 Jy/beam
! Combined flux in latest and established models = 0.28582 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 111 components and 0.28582 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223763Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223756Jy  sigma=0.001261
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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 (-3.4, -5.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00199354 Jy
! Component: 100  -  total flux cleaned = 0.00281437 Jy
! Component: 150  -  total flux cleaned = 0.00313352 Jy
! Component: 200  -  total flux cleaned = 0.00351609 Jy
! Total flux subtracted in 200 components = 0.00351609 Jy
! Clean residual min=-0.001155 max=0.001565 Jy/beam
! Clean residual mean=0.000191 rms=0.000357 Jy/beam
! Combined flux in latest and established models = 0.289336 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 143 components and 0.289336 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223743Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223737Jy  sigma=0.001261
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Added new window around map position (7.2, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00144381 Jy
! Component: 100  -  total flux cleaned = 0.00239781 Jy
! Component: 150  -  total flux cleaned = 0.00303271 Jy
! Component: 200  -  total flux cleaned = 0.003459 Jy
! Total flux subtracted in 200 components = 0.003459 Jy
! Clean residual min=-0.000987 max=0.001183 Jy/beam
! Clean residual mean=0.000091 rms=0.000306 Jy/beam
! Combined flux in latest and established models = 0.292795 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 178 components and 0.292795 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223723Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223709Jy  sigma=0.001261
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6243 mas, bmaj=1.837 mas, bpa=-7.108 degrees
! Estimated noise=282.645 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6243 x 1.837 at -7.108 degrees (North through East)
! Clean map  min=-0.0010452  max=0.17817 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
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.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.5149 mas, bmaj=1.416 mas, bpa=-6.015 degrees
! Estimated noise=757.016 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.139714 Jy
! Component: 100  -  total flux cleaned = 0.193211 Jy
! Component: 150  -  total flux cleaned = 0.223802 Jy
! Component: 200  -  total flux cleaned = 0.242091 Jy
! Total flux subtracted in 200 components = 0.242091 Jy
! Clean residual min=-0.005846 max=0.009517 Jy/beam
! Clean residual mean=0.000074 rms=0.001419 Jy/beam
! Combined flux in latest and established models = 0.242091 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 11 model components to the UV plane model.
! The established model now contains 11 components and 0.242091 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6243 mas, bmaj=1.837 mas, bpa=-7.108 degrees
! Estimated noise=282.645 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.013829 Jy
! Component: 100  -  total flux cleaned = 0.0212177 Jy
! Component: 150  -  total flux cleaned = 0.0256322 Jy
! Component: 200  -  total flux cleaned = 0.0289924 Jy
! Total flux subtracted in 200 components = 0.0289924 Jy
! Clean residual min=-0.001820 max=0.002033 Jy/beam
! Clean residual mean=0.000283 rms=0.000551 Jy/beam
! Combined flux in latest and established models = 0.271084 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 30 components and 0.271084 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 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.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=2.255 mas, bmaj=2.939 mas, bpa=-8.995 degrees
! Estimated noise=367.206 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00414035 Jy
! Component: 100  -  total flux cleaned = 0.00721417 Jy
! Component: 150  -  total flux cleaned = 0.00967056 Jy
! Component: 200  -  total flux cleaned = 0.0117536 Jy
! Total flux subtracted in 200 components = 0.0117536 Jy
! Clean residual min=-0.001362 max=0.001884 Jy/beam
! Clean residual mean=0.000394 rms=0.000488 Jy/beam
! Combined flux in latest and established models = 0.282837 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.00179433 Jy
! Component: 100  -  total flux cleaned = 0.00335054 Jy
! Component: 150  -  total flux cleaned = 0.00471414 Jy
! Component: 200  -  total flux cleaned = 0.00591566 Jy
! Total flux subtracted in 200 components = 0.00591566 Jy
! Clean residual min=-0.001132 max=0.001438 Jy/beam
! Clean residual mean=0.000206 rms=0.000383 Jy/beam
! Combined flux in latest and established models = 0.288753 Jy
! Adding 83 model components to the UV plane model.
! The established model now contains 104 components and 0.288753 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! Estimated beam: bmin=0.6243 mas, bmaj=1.837 mas, bpa=-7.108 degrees
! Estimated noise=282.645 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000853783 Jy
! Component: 100  -  total flux cleaned = 0.00159245 Jy
! Component: 150  -  total flux cleaned = 0.0019903 Jy
! Component: 200  -  total flux cleaned = 0.00241704 Jy
! Total flux subtracted in 200 components = 0.00241704 Jy
! Clean residual min=-0.001247 max=0.001289 Jy/beam
! Clean residual mean=0.000052 rms=0.000353 Jy/beam
! Combined flux in latest and established models = 0.29117 Jy
selfcal
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 135 components and 0.29117 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223716Jy  sigma=0.001261
! Fit after  self-cal, rms=0.223661Jy  sigma=0.001261
wmodel J0501+1356_X_2003_05_07_pus_map.mod
! Writing 135 model components to file: J0501+1356_X_2003_05_07_pus_map.mod
wobs J0501+1356_X_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J0501+1356_X_2003_05_07_pus_uvs.fits
wwins J0501+1356_X_2003_05_07_pus_map.win
! wwins: Wrote 8 windows to J0501+1356_X_2003_05_07_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.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000362036 Jy
! Component: 100  -  total flux cleaned = 0.000538268 Jy
! Component: 150  -  total flux cleaned = 0.000682575 Jy
! Component: 200  -  total flux cleaned = 0.000761837 Jy
! Component: 250  -  total flux cleaned = 0.000857669 Jy
! Component: 300  -  total flux cleaned = 0.000950798 Jy
! Component: 350  -  total flux cleaned = 0.00107796 Jy
! Component: 400  -  total flux cleaned = 0.00118427 Jy
! Component: 450  -  total flux cleaned = 0.00128864 Jy
! Component: 500  -  total flux cleaned = 0.0013741 Jy
! Component: 550  -  total flux cleaned = 0.00145794 Jy
! Component: 600  -  total flux cleaned = 0.00150751 Jy
! Component: 650  -  total flux cleaned = 0.00157279 Jy
! Component: 700  -  total flux cleaned = 0.00162102 Jy
! Component: 750  -  total flux cleaned = 0.00170044 Jy
! Component: 800  -  total flux cleaned = 0.00174744 Jy
! Component: 850  -  total flux cleaned = 0.00180949 Jy
! Component: 900  -  total flux cleaned = 0.00188603 Jy
! Component: 950  -  total flux cleaned = 0.00194659 Jy
! Component: 1000  -  total flux cleaned = 0.0020215 Jy
! Total flux subtracted in 1024 components = 0.00203629 Jy
! Clean residual min=-0.000944 max=0.000841 Jy/beam
! Clean residual mean=0.000032 rms=0.000294 Jy/beam
! Combined flux in latest and established models = 0.293206 Jy
keep
! Adding 66 model components to the UV plane model.
! The established model now contains 193 components and 0.293206 Jy
wmap "J0501+1356_X_2003_05_07_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6243 x 1.837 at -7.108 degrees (North through East)
! Clean map  min=-0.0010353  max=0.17697 Jy/beam
! Writing clean map to FITS file: J0501+1356_X_2003_05_07_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.176972 
invert
! Inverting map 
! Your choice of large map pixels excluded 3.49% of the data.
!  The x-axis pixel size should ideally be below 0.1559 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000293712 
device "J0501+1356_X_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J0501+1356_X_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.497896 0.497896 0.995793 1.99159 3.98317 7.96634 15.9327 31.8654 63.7307
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0008 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.176 
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.6243 x 1.837 at -7.108 degrees (North through East)
! Clean map  min=-0.0010353  max=0.17697 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0501+1356_X_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J0501+1356_X_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0501+1356_X_2003_05_07_pus_uvs.log closed on Thu Dec 14 14:58:52 2006