! Started logfile: J1911-2006_X_2003_05_07_pus_uvs.log on Thu Dec 14 17:09:55 2006
obs J1911-2006_X_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1911-2006_X_2003_05_07_pus_uva.fits
! AN table 1: 510 integrations on 171 of 171 possible baselines.
! AN table 2: 62 integrations on 171 of 171 possible baselines.
! AN table 3: 77 integrations on 171 of 171 possible baselines.
! AN table 4: 130 integrations on 171 of 171 possible baselines.
! AN table 5: 44 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0722503 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1911-2006
! 
! 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 40672 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 7142 telescope corrections were flagged in sub-array 1.
!  A total of 1157 telescope corrections were flagged in sub-array 2.
!  A total of 1274 telescope corrections were flagged in sub-array 3.
!  A total of 2268 telescope corrections were flagged in sub-array 4.
!  A total of 708 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 7142 telescope corrections were flagged in sub-array 1.
!  A total of 1157 telescope corrections were flagged in sub-array 2.
!  A total of 1274 telescope corrections were flagged in sub-array 3.
!  A total of 2269 telescope corrections were flagged in sub-array 4.
!  A total of 708 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 7142 telescope corrections were flagged in sub-array 1.
!  A total of 1157 telescope corrections were flagged in sub-array 2.
!  A total of 1274 telescope corrections were flagged in sub-array 3.
!  A total of 2268 telescope corrections were flagged in sub-array 4.
!  A total of 708 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 7142 telescope corrections were flagged in sub-array 1.
!  A total of 1157 telescope corrections were flagged in sub-array 2.
!  A total of 1274 telescope corrections were flagged in sub-array 3.
!  A total of 2271 telescope corrections were flagged in sub-array 4.
!  A total of 708 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=1.162827Jy  sigma=0.008930
! Fit after  self-cal, rms=0.523052Jy  sigma=0.003656
! 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 1.89% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.5779 mas, bmaj=1.019 mas, bpa=-1.018 degrees
! Estimated noise=1151.1 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.963993 Jy
! Component: 100  -  total flux cleaned = 1.2063 Jy
! Total flux subtracted in 100 components = 1.2063 Jy
! Clean residual min=-0.039244 max=0.104243 Jy/beam
! Clean residual mean=0.001441 rms=0.013420 Jy/beam
! Combined flux in latest and established models = 1.2063 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 1.2063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.449699Jy  sigma=0.002721
! Fit after  self-cal, rms=0.449804Jy  sigma=0.002720
! Inverting map 
! Your choice of large map pixels excluded 1.89% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.118767 Jy
! Component: 100  -  total flux cleaned = 0.187869 Jy
! Total flux subtracted in 100 components = 0.187869 Jy
! Clean residual min=-0.033079 max=0.048904 Jy/beam
! Clean residual mean=0.000856 rms=0.009460 Jy/beam
! Combined flux in latest and established models = 1.39417 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 17 components and 1.39417 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.418261Jy  sigma=0.002129
! Fit after  self-cal, rms=0.418231Jy  sigma=0.002128
! Inverting map 
! Your choice of large map pixels excluded 1.89% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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 1.89% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7286 mas, bmaj=1.433 mas, bpa=-5.042 degrees
! Estimated noise=553.83 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.8, 2.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0890604 Jy
! Component: 100  -  total flux cleaned = 0.142944 Jy
! Component: 150  -  total flux cleaned = 0.178532 Jy
! Component: 200  -  total flux cleaned = 0.202246 Jy
! Total flux subtracted in 200 components = 0.202246 Jy
! Clean residual min=-0.024711 max=0.053548 Jy/beam
! Clean residual mean=-0.000192 rms=0.008454 Jy/beam
! Combined flux in latest and established models = 1.59642 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 42 components and 1.59642 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.406955Jy  sigma=0.001823
! Fit after  self-cal, rms=0.405399Jy  sigma=0.001802
! Inverting map 
! Your choice of large map pixels excluded 1.89% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 189 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        0.95     GG        1.00*    HN        1.15     
!   KK        0.94     KP        0.98     LA        0.95     MA        1.09     
!   MC        1.23     MK        0.94     NL        1.09     ON        1.00*    
!   OV        0.93     PT        0.95     SC        1.00     TC        1.04     
!   TS        1.00*    WF        1.04     WZ        1.00*    
! 
!  A total of 21 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 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        1.00*    GG        1.00*    HN        1.05     
!   KK        1.04     KP        1.00*    LA        1.00*    MA        1.12     
!   MC        1.12     MK        1.02     NL        1.00*    ON        1.12     
!   OV        0.97     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.01     
! 
!  A total of 126 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.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.04     
!   MC        1.14     MK        1.00*    NL        1.00*    ON        1.08     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.02     
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.97     KP        1.36     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.00*    ON        1.00*    
!   OV        0.94     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.98     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 189 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        0.95     GG        1.00*    HN        1.16     
!   KK        0.92     KP        0.92     LA        0.96     MA        1.08     
!   MC        1.20     MK        0.94     NL        1.05     ON        1.00*    
!   OV        0.93     PT        0.99     SC        0.95     TC        1.09     
!   TS        1.00*    WF        1.05     WZ        1.00*    
! 
!  A total of 21 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 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        1.00*    GG        1.00*    HN        1.02     
!   KK        1.11     KP        1.00*    LA        1.00*    MA        1.03     
!   MC        1.11     MK        1.03     NL        1.00*    ON        1.05     
!   OV        0.96     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.01     
! 
!  A total of 129 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.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.02     
!   MC        1.14     MK        1.00*    NL        1.00*    ON        1.10     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.04     
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.98     KP        1.23     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.00*    ON        1.00*    
!   OV        0.93     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.96     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 189 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.94     GG        1.00*    HN        1.17     
!   KK        0.98     KP        0.86     LA        0.96     MA        1.08     
!   MC        1.27     MK        0.94     NL        1.02     ON        1.00*    
!   OV        0.96     PT        1.01     SC        0.97     TC        1.06     
!   TS        1.00*    WF        1.02     WZ        1.00*    
! 
!  A total of 21 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 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.00*    GG        1.00*    HN        1.04     
!   KK        1.16     KP        1.00*    LA        1.00*    MA        1.03     
!   MC        1.08     MK        0.97     NL        1.00*    ON        1.13     
!   OV        1.04     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.02     
! 
!  A total of 126 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.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.01     
!   MC        1.02     MK        1.00*    NL        1.00*    ON        1.10     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        0.99     
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.04     KP        1.13     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.00*    ON        1.00*    
!   OV        0.98     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.94     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 189 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.92     GG        1.00*    HN        1.20     
!   KK        0.93     KP        0.93     LA        0.95     MA        1.11     
!   MC        1.26     MK        0.97     NL        1.03     ON        1.00*    
!   OV        0.95     PT        1.02     SC        1.01     TC        1.06     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 21 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 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.00*    GG        1.00*    HN        1.10     
!   KK        1.08     KP        1.00*    LA        1.00*    MA        1.14     
!   MC        1.85     MK        1.03     NL        1.00*    ON        1.07     
!   OV        1.02     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.06     
! 
!  A total of 123 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.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.09     
!   MC        1.77     MK        1.00*    NL        1.00*    ON        1.06     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.03     
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.97     KP        1.28     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        1.01     NL        1.00*    ON        1.00*    
!   OV        0.95     PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.95     WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.405399Jy  sigma=0.001802
! Fit after  self-cal, rms=0.399097Jy  sigma=0.001445
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7484 mas, bmaj=1.463 mas, bpa=-5.375 degrees
! Estimated noise=559.916 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.0105056 Jy
! Component: 100  -  total flux cleaned = 0.00885689 Jy
! Component: 150  -  total flux cleaned = 0.00715571 Jy
! Component: 200  -  total flux cleaned = 0.00680082 Jy
! Total flux subtracted in 200 components = 0.00680081 Jy
! Clean residual min=-0.013797 max=0.023208 Jy/beam
! Clean residual mean=0.001601 rms=0.004750 Jy/beam
! Combined flux in latest and established models = 1.60322 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 50 components and 1.60322 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.397765Jy  sigma=0.001428
! Fit after  self-cal, rms=0.397772Jy  sigma=0.001426
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.397772Jy  sigma=0.001426
! Fit after  self-cal, rms=0.395036Jy  sigma=0.001312
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7475 mas, bmaj=1.463 mas, bpa=-5.389 degrees
! Estimated noise=559.048 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000413415 Jy
! Component: 100  -  total flux cleaned = 0.000240925 Jy
! Component: 150  -  total flux cleaned = 0.000531992 Jy
! Component: 200  -  total flux cleaned = 0.000802777 Jy
! Total flux subtracted in 200 components = 0.000802777 Jy
! Clean residual min=-0.008477 max=0.024631 Jy/beam
! Clean residual mean=0.001403 rms=0.003424 Jy/beam
! Combined flux in latest and established models = 1.60402 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 58 components and 1.60402 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394378Jy  sigma=0.001305
! Fit after  self-cal, rms=0.394335Jy  sigma=0.001305
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.2, 2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0210089 Jy
! Component: 100  -  total flux cleaned = 0.0247722 Jy
! Component: 150  -  total flux cleaned = 0.0247804 Jy
! Component: 200  -  total flux cleaned = 0.0251043 Jy
! Total flux subtracted in 200 components = 0.0251043 Jy
! Clean residual min=-0.007436 max=0.012102 Jy/beam
! Clean residual mean=0.000668 rms=0.002427 Jy/beam
! Combined flux in latest and established models = 1.62913 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 80 components and 1.62913 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.392970Jy  sigma=0.001284
! Fit after  self-cal, rms=0.392796Jy  sigma=0.001282
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Added new window around map position (-0.8, 2.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00916413 Jy
! Component: 100  -  total flux cleaned = 0.0104668 Jy
! Component: 150  -  total flux cleaned = 0.010751 Jy
! Component: 200  -  total flux cleaned = 0.0110049 Jy
! Total flux subtracted in 200 components = 0.0110049 Jy
! Clean residual min=-0.006444 max=0.007649 Jy/beam
! Clean residual mean=0.000345 rms=0.002135 Jy/beam
! Combined flux in latest and established models = 1.64013 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 86 components and 1.64013 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.392220Jy  sigma=0.001275
! Fit after  self-cal, rms=0.392148Jy  sigma=0.001274
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.392148Jy  sigma=0.001274
! Fit after  self-cal, rms=0.394108Jy  sigma=0.001258
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7492 mas, bmaj=1.465 mas, bpa=-5.398 degrees
! Estimated noise=559.212 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0046913 Jy
! Component: 100  -  total flux cleaned = 0.00582939 Jy
! Component: 150  -  total flux cleaned = 0.00657302 Jy
! Component: 200  -  total flux cleaned = 0.00722906 Jy
! Total flux subtracted in 200 components = 0.00722906 Jy
! Clean residual min=-0.004871 max=0.006929 Jy/beam
! Clean residual mean=0.000372 rms=0.001515 Jy/beam
! Combined flux in latest and established models = 1.64736 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 96 components and 1.64736 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.393708Jy  sigma=0.001253
! Fit after  self-cal, rms=0.393680Jy  sigma=0.001252
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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 (5, 2.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0041396 Jy
! Component: 100  -  total flux cleaned = 0.00530674 Jy
! Component: 150  -  total flux cleaned = 0.0056539 Jy
! Component: 200  -  total flux cleaned = 0.00614122 Jy
! Total flux subtracted in 200 components = 0.00614122 Jy
! Clean residual min=-0.004296 max=0.005066 Jy/beam
! Clean residual mean=0.000220 rms=0.001343 Jy/beam
! Combined flux in latest and established models = 1.6535 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 109 components and 1.6535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.393464Jy  sigma=0.001249
! Fit after  self-cal, rms=0.393445Jy  sigma=0.001249
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.393445Jy  sigma=0.001249
! Fit after  self-cal, rms=0.394367Jy  sigma=0.001248
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=2.151 mas, bmaj=3.968 mas, bpa=-4.942 degrees
! Estimated noise=667.397 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00392869 Jy
! Component: 100  -  total flux cleaned = 0.00494498 Jy
! Component: 150  -  total flux cleaned = 0.00535176 Jy
! Component: 200  -  total flux cleaned = 0.0060257 Jy
! Total flux subtracted in 200 components = 0.0060257 Jy
! Clean residual min=-0.003609 max=0.005388 Jy/beam
! Clean residual mean=0.000363 rms=0.001619 Jy/beam
! Combined flux in latest and established models = 1.65953 Jy
selfcal
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 131 components and 1.65953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394271Jy  sigma=0.001247
! Fit after  self-cal, rms=0.394235Jy  sigma=0.001247
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.0011156 Jy
! Component: 100  -  total flux cleaned = 0.00188361 Jy
! Component: 150  -  total flux cleaned = 0.00216469 Jy
! Component: 200  -  total flux cleaned = 0.00233058 Jy
! Total flux subtracted in 200 components = 0.00233058 Jy
! Clean residual min=-0.003702 max=0.005330 Jy/beam
! Clean residual mean=0.000221 rms=0.001593 Jy/beam
! Combined flux in latest and established models = 1.66186 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 147 components and 1.66186 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394197Jy  sigma=0.001246
! Fit after  self-cal, rms=0.394170Jy  sigma=0.001246
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7504 mas, bmaj=1.467 mas, bpa=-5.386 degrees
! Estimated noise=559.205 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7504 x 1.467 at -5.386 degrees (North through East)
! Clean map  min=-0.0034211  max=1.2644 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.394170Jy  sigma=0.001246
! Fit after  self-cal, rms=0.456600Jy  sigma=0.001118
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7508 mas, bmaj=1.466 mas, bpa=-5.363 degrees
! Estimated noise=558.717 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000914449 Jy
! Component: 100  -  total flux cleaned = 0.00184895 Jy
! Component: 150  -  total flux cleaned = 0.0022641 Jy
! Component: 200  -  total flux cleaned = 0.00265241 Jy
! Total flux subtracted in 200 components = 0.00265241 Jy
! Clean residual min=-0.003041 max=0.004315 Jy/beam
! Clean residual mean=0.000375 rms=0.001065 Jy/beam
! Combined flux in latest and established models = 1.66451 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 157 components and 1.66451 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.456470Jy  sigma=0.001116
! Fit after  self-cal, rms=0.456470Jy  sigma=0.001116
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000684563 Jy
! Component: 100  -  total flux cleaned = 0.00115882 Jy
! Component: 150  -  total flux cleaned = 0.00148767 Jy
! Component: 200  -  total flux cleaned = 0.00159084 Jy
! Total flux subtracted in 200 components = 0.00159084 Jy
! Clean residual min=-0.002977 max=0.004207 Jy/beam
! Clean residual mean=0.000333 rms=0.001021 Jy/beam
! Combined flux in latest and established models = 1.6661 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 161 components and 1.6661 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.456390Jy  sigma=0.001115
! Fit after  self-cal, rms=0.456391Jy  sigma=0.001115
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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.456391Jy  sigma=0.001115
! Fit after  self-cal, rms=0.465175Jy  sigma=0.001114
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 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.5995 mas, bmaj=1.031 mas, bpa=-1.523 degrees
! Estimated noise=1156.83 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.963172 Jy
! Component: 100  -  total flux cleaned = 1.19145 Jy
! Component: 150  -  total flux cleaned = 1.29402 Jy
! Component: 200  -  total flux cleaned = 1.35506 Jy
! Total flux subtracted in 200 components = 1.35506 Jy
! Clean residual min=-0.011061 max=0.032333 Jy/beam
! Clean residual mean=0.001070 rms=0.005014 Jy/beam
! Combined flux in latest and established models = 1.35506 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 28 model components to the UV plane model.
! The established model now contains 28 components and 1.35506 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7517 mas, bmaj=1.467 mas, bpa=-5.354 degrees
! Estimated noise=558.593 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.0862371 Jy
! Component: 100  -  total flux cleaned = 0.144234 Jy
! Component: 150  -  total flux cleaned = 0.184937 Jy
! Component: 200  -  total flux cleaned = 0.214584 Jy
! Total flux subtracted in 200 components = 0.214584 Jy
! Clean residual min=-0.005684 max=0.016999 Jy/beam
! Clean residual mean=0.003177 rms=0.004190 Jy/beam
! Combined flux in latest and established models = 1.56965 Jy
! Adding 72 model components to the UV plane model.
! The established model now contains 93 components and 1.56965 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 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 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=2.149 mas, bmaj=3.961 mas, bpa=-4.882 degrees
! Estimated noise=666.315 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0403536 Jy
! Component: 100  -  total flux cleaned = 0.0626731 Jy
! Component: 150  -  total flux cleaned = 0.0761539 Jy
! Component: 200  -  total flux cleaned = 0.0847219 Jy
! Total flux subtracted in 200 components = 0.0847219 Jy
! Clean residual min=-0.001968 max=0.005522 Jy/beam
! Clean residual mean=0.001681 rms=0.001576 Jy/beam
! Combined flux in latest and established models = 1.65437 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.00556986 Jy
! Component: 100  -  total flux cleaned = 0.0092151 Jy
! Component: 150  -  total flux cleaned = 0.0116078 Jy
! Component: 200  -  total flux cleaned = 0.0125644 Jy
! Total flux subtracted in 200 components = 0.0125644 Jy
! Clean residual min=-0.002074 max=0.004471 Jy/beam
! Clean residual mean=0.000862 rms=0.001195 Jy/beam
! Combined flux in latest and established models = 1.66693 Jy
! Adding 112 model components to the UV plane model.
! The established model now contains 190 components and 1.66693 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! Estimated beam: bmin=0.7517 mas, bmaj=1.467 mas, bpa=-5.354 degrees
! Estimated noise=558.593 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00123132 Jy
! Component: 100  -  total flux cleaned = 0.00123021 Jy
! Component: 150  -  total flux cleaned = 0.00122585 Jy
! Component: 200  -  total flux cleaned = 0.00134404 Jy
! Total flux subtracted in 200 components = 0.00134404 Jy
! Clean residual min=-0.003382 max=0.004241 Jy/beam
! Clean residual mean=0.000330 rms=0.000970 Jy/beam
! Combined flux in latest and established models = 1.66828 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 200 components and 1.66828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.465002Jy  sigma=0.001113
! Fit after  self-cal, rms=0.464837Jy  sigma=0.001112
wmodel J1911-2006_X_2003_05_07_pus_map.mod
! Writing 200 model components to file: J1911-2006_X_2003_05_07_pus_map.mod
wobs J1911-2006_X_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1911-2006_X_2003_05_07_pus_uvs.fits
wwins J1911-2006_X_2003_05_07_pus_map.win
! wwins: Wrote 5 windows to J1911-2006_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 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00182101 Jy
! Component: 100  -  total flux cleaned = 0.00311851 Jy
! Component: 150  -  total flux cleaned = 0.00394599 Jy
! Component: 200  -  total flux cleaned = 0.00472462 Jy
! Component: 250  -  total flux cleaned = 0.00551129 Jy
! Component: 300  -  total flux cleaned = 0.00622211 Jy
! Component: 350  -  total flux cleaned = 0.0066833 Jy
! Component: 400  -  total flux cleaned = 0.0070899 Jy
! Component: 450  -  total flux cleaned = 0.00761955 Jy
! Component: 500  -  total flux cleaned = 0.00805188 Jy
! Component: 550  -  total flux cleaned = 0.00839116 Jy
! Component: 600  -  total flux cleaned = 0.00868281 Jy
! Component: 650  -  total flux cleaned = 0.00896979 Jy
! Component: 700  -  total flux cleaned = 0.0092122 Jy
! Component: 750  -  total flux cleaned = 0.00937219 Jy
! Component: 800  -  total flux cleaned = 0.00960901 Jy
! Component: 850  -  total flux cleaned = 0.00980393 Jy
! Component: 900  -  total flux cleaned = 0.0101112 Jy
! Component: 950  -  total flux cleaned = 0.0102627 Jy
! Component: 1000  -  total flux cleaned = 0.0104498 Jy
! Total flux subtracted in 1024 components = 0.0105241 Jy
! Clean residual min=-0.001855 max=0.002149 Jy/beam
! Clean residual mean=0.000149 rms=0.000738 Jy/beam
! Combined flux in latest and established models = 1.6788 Jy
keep
! Adding 76 model components to the UV plane model.
! The established model now contains 274 components and 1.6788 Jy
wmap "J1911-2006_X_2003_05_07_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7517 x 1.467 at -5.354 degrees (North through East)
! Clean map  min=-0.0025887  max=1.2597 Jy/beam
! Writing clean map to FITS file: J1911-2006_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 1.25965 
invert
! Inverting map 
! Your choice of large map pixels excluded 1.97% of the data.
!  The x-axis pixel size should ideally be below 0.1872 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1998 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000735389 
device "J1911-2006_X_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1911-2006_X_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.175141 0.175141 0.350282 0.700564 1.40113 2.80226 5.60451 11.209 22.418 44.8361 89.6722
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.259 
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.7517 x 1.467 at -5.354 degrees (North through East)
! Clean map  min=-0.0025887  max=1.2597 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1911-2006_X_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1911-2006_X_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1911-2006_X_2003_05_07_pus_uvs.log closed on Thu Dec 14 17:13:04 2006