! Started logfile: J1230+1223_X_2003_05_07_pus_uvs.log on Thu Dec 14 18:33:55 2006
obs J1230+1223_X_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1230+1223_X_2003_05_07_pus_uva.fits
! AN table 1: 71 integrations on 171 of 171 possible baselines.
! AN table 2: 27 integrations on 171 of 171 possible baselines.
! AN table 3: 123 integrations on 171 of 171 possible baselines.
! AN table 4: 237 integrations on 171 of 171 possible baselines.
! AN table 5: 19 integrations on 171 of 171 possible baselines.
! AN table 6: 10 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0748226 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1230+1223
! 
! 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 24924 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 = 1024
float field_cell
field_cell = 0.1
float taper_size
taper_size = 120.
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 = 1024x1024 pixels with 0.100x0.100 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 1175 telescope corrections were flagged in sub-array 1.
!  A total of 400 telescope corrections were flagged in sub-array 2.
!  A total of 1880 telescope corrections were flagged in sub-array 3.
!  A total of 3281 telescope corrections were flagged in sub-array 4.
!  A total of 210 telescope corrections were flagged in sub-array 5.
!  A total of 190 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 1175 telescope corrections were flagged in sub-array 1.
!  A total of 400 telescope corrections were flagged in sub-array 2.
!  A total of 1880 telescope corrections were flagged in sub-array 3.
!  A total of 3281 telescope corrections were flagged in sub-array 4.
!  A total of 210 telescope corrections were flagged in sub-array 5.
!  A total of 190 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 1175 telescope corrections were flagged in sub-array 1.
!  A total of 400 telescope corrections were flagged in sub-array 2.
!  A total of 1880 telescope corrections were flagged in sub-array 3.
!  A total of 3281 telescope corrections were flagged in sub-array 4.
!  A total of 210 telescope corrections were flagged in sub-array 5.
!  A total of 190 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 1175 telescope corrections were flagged in sub-array 1.
!  A total of 400 telescope corrections were flagged in sub-array 2.
!  A total of 1880 telescope corrections were flagged in sub-array 3.
!  A total of 3281 telescope corrections were flagged in sub-array 4.
!  A total of 210 telescope corrections were flagged in sub-array 5.
!  A total of 190 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=1.113307Jy  sigma=0.010588
! Fit after  self-cal, rms=0.489029Jy  sigma=0.004563
! 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 
! Estimated beam: bmin=0.6231 mas, bmaj=1.618 mas, bpa=-4.005 degrees
! Estimated noise=996.666 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.554463 Jy
! Component: 100  -  total flux cleaned = 0.782373 Jy
! Total flux subtracted in 100 components = 0.782373 Jy
! Clean residual min=-0.032264 max=0.130293 Jy/beam
! Clean residual mean=-0.000497 rms=0.011056 Jy/beam
! Combined flux in latest and established models = 0.782373 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.782373 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.472508Jy  sigma=0.004647
! Fit after  self-cal, rms=0.471968Jy  sigma=0.004644
! Inverting map 
! Added new window around map position (-0.9, 0.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.136591 Jy
! Component: 100  -  total flux cleaned = 0.22098 Jy
! Total flux subtracted in 100 components = 0.22098 Jy
! Clean residual min=-0.025617 max=0.081551 Jy/beam
! Clean residual mean=-0.000340 rms=0.008100 Jy/beam
! Combined flux in latest and established models = 1.00335 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 35 components and 1.00335 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356946Jy  sigma=0.003437
! Fit after  self-cal, rms=0.353229Jy  sigma=0.003408
! Inverting map 
! Added new window around map position (-1.9, 0.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0876961 Jy
! Component: 100  -  total flux cleaned = 0.144549 Jy
! Total flux subtracted in 100 components = 0.144549 Jy
! Clean residual min=-0.020990 max=0.059895 Jy/beam
! Clean residual mean=-0.000258 rms=0.006173 Jy/beam
! Combined flux in latest and established models = 1.1479 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 58 components and 1.1479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289596Jy  sigma=0.002723
! Fit after  self-cal, rms=0.285319Jy  sigma=0.002686
! Inverting map 
! Added new window around map position (-2.9, 0.3).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0577607 Jy
! Component: 100  -  total flux cleaned = 0.0981462 Jy
! Total flux subtracted in 100 components = 0.0981462 Jy
! Clean residual min=-0.018151 max=0.047197 Jy/beam
! Clean residual mean=-0.000203 rms=0.004921 Jy/beam
! Combined flux in latest and established models = 1.24605 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 92 components and 1.24605 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.249698Jy  sigma=0.002292
! Fit after  self-cal, rms=0.247681Jy  sigma=0.002274
! Inverting map 
! Added new window around map position (1, 0.1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0422047 Jy
! Component: 100  -  total flux cleaned = 0.0744026 Jy
! Total flux subtracted in 100 components = 0.0744026 Jy
! Clean residual min=-0.015854 max=0.025482 Jy/beam
! Clean residual mean=-0.000160 rms=0.004127 Jy/beam
! Combined flux in latest and established models = 1.32045 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 123 components and 1.32045 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224783Jy  sigma=0.002019
! Fit after  self-cal, rms=0.224582Jy  sigma=0.002017
! Inverting map 
! Added new window around map position (-3.9, 0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0294896 Jy
! Component: 100  -  total flux cleaned = 0.0536312 Jy
! Total flux subtracted in 100 components = 0.0536312 Jy
! Clean residual min=-0.015155 max=0.019880 Jy/beam
! Clean residual mean=-0.000131 rms=0.003726 Jy/beam
! Combined flux in latest and established models = 1.37408 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 151 components and 1.37408 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.212067Jy  sigma=0.001875
! Fit after  self-cal, rms=0.211772Jy  sigma=0.001873
! Inverting map 
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 
! Estimated beam: bmin=0.9687 mas, bmaj=2.266 mas, bpa=-5.444 degrees
! Estimated noise=481.313 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.0623855 Jy
! Component: 100  -  total flux cleaned = 0.100962 Jy
! Component: 150  -  total flux cleaned = 0.127598 Jy
! Component: 200  -  total flux cleaned = 0.1465 Jy
! Total flux subtracted in 200 components = 0.1465 Jy
! Clean residual min=-0.025839 max=0.044031 Jy/beam
! Clean residual mean=-0.000016 rms=0.008326 Jy/beam
! Combined flux in latest and established models = 1.52058 Jy
! Performing phase self-cal
! Adding 123 model components to the UV plane model.
! The established model now contains 246 components and 1.52058 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191452Jy  sigma=0.001637
! Fit after  self-cal, rms=0.190595Jy  sigma=0.001630
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 63 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.93     KP        1.15     LA        0.94     MA        1.00*    
!   MC        1.00*    MK        1.01     NL        1.06     ON        1.00*    
!   OV        0.93     PT        0.93     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.08     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.01     KP        1.03     LA        0.97     MA        1.00*    
!   MC        1.00*    MK        1.02     NL        1.16     ON        1.00*    
!   OV        0.95     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        0.94     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.01     GG        1.00*    HN        0.96     
!   KK        0.95     KP        1.11     LA        1.00     MA        1.00     
!   MC        1.27     MK        1.05     NL        1.01     ON        1.19     
!   OV        1.01     PT        1.01     SC        1.05     TC        1.00*    
!   TS        1.24     WF        1.00*    WZ        1.15     
! 
!  A total of 18 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.97     FD        0.96     GG        1.00*    HN        0.95     
!   KK        1.13     KP        1.11     LA        0.95     MA        1.00*    
!   MC        1.14     MK        0.99     NL        1.05     ON        1.07     
!   OV        0.96     PT        0.96     SC        1.08     TC        1.00*    
!   TS        1.00*    WF        0.99     WZ        0.95     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.02     FD        1.03     GG        1.00*    HN        1.08     
!   KK        1.00*    KP        1.13     LA        0.90     MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.07     ON        1.00*    
!   OV        0.98     PT        0.93     SC        1.04     TC        1.00*    
!   TS        1.00*    WF        1.09     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   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 63 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.97     KP        1.07     LA        0.93     MA        1.00*    
!   MC        1.00*    MK        1.00     NL        1.01     ON        1.00*    
!   OV        0.92     PT        0.96     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00     KP        0.96     LA        0.96     MA        1.00*    
!   MC        1.00*    MK        1.03     NL        1.11     ON        1.00*    
!   OV        0.96     PT        1.03     SC        1.00*    TC        1.00*    
!   TS        0.91     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.01     GG        1.00*    HN        0.99     
!   KK        0.97     KP        1.03     LA        1.00     MA        0.98     
!   MC        1.17     MK        1.05     NL        0.95     ON        1.12     
!   OV        1.01     PT        1.05     SC        0.99     TC        1.00*    
!   TS        1.19     WF        1.00*    WZ        1.22     
! 
!  A total of 18 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.96     GG        1.00*    HN        0.96     
!   KK        1.13     KP        1.04     LA        0.96     MA        1.00*    
!   MC        1.10     MK        0.98     NL        1.01     ON        0.93     
!   OV        0.96     PT        0.99     SC        1.02     TC        1.00*    
!   TS        1.00*    WF        0.95     WZ        0.97     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.03     FD        1.01     GG        1.00*    HN        1.09     
!   KK        1.00*    KP        1.05     LA        0.92     MA        1.00*    
!   MC        1.00*    MK        1.00     NL        1.02     ON        1.00*    
!   OV        0.95     PT        0.97     SC        1.02     TC        1.00*    
!   TS        1.00*    WF        1.38     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   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 63 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        0.99     KP        1.00     LA        0.94     MA        1.00*    
!   MC        1.00*    MK        1.04     NL        0.98     ON        1.00*    
!   OV        0.96     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.11     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.05     KP        0.90     LA        0.96     MA        1.00*    
!   MC        1.00*    MK        1.00     NL        1.12     ON        1.00*    
!   OV        0.99     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        0.95     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.08     FD        0.99     GG        1.00*    HN        0.88     
!   KK        0.98     KP        0.97     LA        1.01     MA        0.94     
!   MC        1.13     MK        1.03     NL        0.94     ON        1.11     
!   OV        1.03     PT        1.08     SC        0.98     TC        1.00*    
!   TS        1.04     WF        1.00*    WZ        1.19     
! 
!  A total of 18 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        0.95     GG        1.00*    HN        0.94     
!   KK        1.19     KP        0.96     LA        0.97     MA        1.00*    
!   MC        1.16     MK        0.99     NL        0.98     ON        1.07     
!   OV        1.00     PT        1.02     SC        1.03     TC        1.00*    
!   TS        1.00*    WF        0.88     WZ        0.88     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.04     FD        0.98     GG        1.00*    HN        1.11     
!   KK        1.00*    KP        0.97     LA        0.93     MA        1.00*    
!   MC        1.00*    MK        1.02     NL        1.00     ON        1.00*    
!   OV        1.01     PT        0.98     SC        0.96     TC        1.00*    
!   TS        1.00*    WF        0.85     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   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 63 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.00*    
!   KK        0.94     KP        1.05     LA        0.92     MA        1.00*    
!   MC        1.00*    MK        1.04     NL        0.99     ON        1.00*    
!   OV        0.92     PT        1.00     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.03     KP        0.96     LA        0.94     MA        1.00*    
!   MC        1.00*    MK        1.10     NL        1.11     ON        1.00*    
!   OV        0.98     PT        1.03     SC        1.00*    TC        1.00*    
!   TS        0.91     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        0.98     GG        1.00*    HN        0.98     
!   KK        1.02     KP        1.04     LA        0.98     MA        1.18     
!   MC        1.06     MK        1.04     NL        0.93     ON        0.97     
!   OV        1.02     PT        1.08     SC        0.97     TC        1.00*    
!   TS        1.04     WF        1.00*    WZ        1.23     
! 
!  A total of 18 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        0.93     GG        1.00*    HN        0.96     
!   KK        1.19     KP        1.02     LA        0.95     MA        1.00*    
!   MC        1.04     MK        0.99     NL        0.99     ON        0.96     
!   OV        0.99     PT        1.03     SC        1.09     TC        1.00*    
!   TS        1.00*    WF        0.92     WZ        0.96     
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        0.97     GG        1.00*    HN        1.13     
!   KK        1.00*    KP        1.06     LA        0.91     MA        1.00*    
!   MC        1.00*    MK        1.02     NL        1.02     ON        1.00*    
!   OV        0.99     PT        0.96     SC        1.01     TC        1.00*    
!   TS        1.00*    WF        1.47     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   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.190595Jy  sigma=0.001630
! Fit after  self-cal, rms=0.177050Jy  sigma=0.001481
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9928 mas, bmaj=2.295 mas, bpa=-5.724 degrees
! Estimated noise=483.261 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 (-7.5, 1.3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0374914 Jy
! Component: 100  -  total flux cleaned = 0.0576776 Jy
! Component: 150  -  total flux cleaned = 0.0717469 Jy
! Component: 200  -  total flux cleaned = 0.0823588 Jy
! Total flux subtracted in 200 components = 0.0823588 Jy
! Clean residual min=-0.016351 max=0.019200 Jy/beam
! Clean residual mean=0.000112 rms=0.004884 Jy/beam
! Combined flux in latest and established models = 1.60294 Jy
! Performing phase self-cal
! Adding 71 model components to the UV plane model.
! The established model now contains 315 components and 1.60294 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169545Jy  sigma=0.001378
! Fit after  self-cal, rms=0.168584Jy  sigma=0.001370
! Inverting map 
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.168584Jy  sigma=0.001370
! Fit after  self-cal, rms=0.164354Jy  sigma=0.001329
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9879 mas, bmaj=2.285 mas, bpa=-5.282 degrees
! Estimated noise=482.956 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0120731 Jy
! Component: 100  -  total flux cleaned = 0.0197281 Jy
! Component: 150  -  total flux cleaned = 0.0240106 Jy
! Component: 200  -  total flux cleaned = 0.02599 Jy
! Total flux subtracted in 200 components = 0.02599 Jy
! Clean residual min=-0.014929 max=0.016882 Jy/beam
! Clean residual mean=0.000052 rms=0.004172 Jy/beam
! Combined flux in latest and established models = 1.62893 Jy
selfcal
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 346 components and 1.62893 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163361Jy  sigma=0.001315
! Fit after  self-cal, rms=0.163190Jy  sigma=0.001314
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00291207 Jy
! Component: 100  -  total flux cleaned = 0.00508468 Jy
! Component: 150  -  total flux cleaned = 0.00604158 Jy
! Component: 200  -  total flux cleaned = 0.00677724 Jy
! Total flux subtracted in 200 components = 0.00677724 Jy
! Clean residual min=-0.014359 max=0.016802 Jy/beam
! Clean residual mean=0.000056 rms=0.004148 Jy/beam
! Combined flux in latest and established models = 1.63571 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 356 components and 1.63571 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.162856Jy  sigma=0.001310
! Fit after  self-cal, rms=0.162796Jy  sigma=0.001310
! Inverting map 
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.162796Jy  sigma=0.001310
! Fit after  self-cal, rms=0.162194Jy  sigma=0.001304
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9915 mas, bmaj=2.281 mas, bpa=-5.337 degrees
! Estimated noise=483.695 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00512689 Jy
! Component: 100  -  total flux cleaned = 0.00757861 Jy
! Component: 150  -  total flux cleaned = 0.00872741 Jy
! Component: 200  -  total flux cleaned = 0.00965155 Jy
! Total flux subtracted in 200 components = 0.00965155 Jy
! Clean residual min=-0.014125 max=0.016782 Jy/beam
! Clean residual mean=0.000059 rms=0.004030 Jy/beam
! Combined flux in latest and established models = 1.64536 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 370 components and 1.64536 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161908Jy  sigma=0.001301
! Fit after  self-cal, rms=0.161855Jy  sigma=0.001300
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00130504 Jy
! Component: 100  -  total flux cleaned = 0.00229736 Jy
! Component: 150  -  total flux cleaned = 0.00297941 Jy
! Component: 200  -  total flux cleaned = 0.00351438 Jy
! Total flux subtracted in 200 components = 0.00351438 Jy
! Clean residual min=-0.013814 max=0.016659 Jy/beam
! Clean residual mean=0.000062 rms=0.004019 Jy/beam
! Combined flux in latest and established models = 1.64887 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 381 components and 1.64887 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161684Jy  sigma=0.001298
! Fit after  self-cal, rms=0.161659Jy  sigma=0.001298
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 120 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.161659Jy  sigma=0.001298
! Fit after  self-cal, rms=0.161686Jy  sigma=0.001297
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=1.82 mas, bmaj=2.762 mas, bpa=-12.29 degrees
! Estimated noise=507.375 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00524147 Jy
! Component: 100  -  total flux cleaned = 0.00860259 Jy
! Component: 150  -  total flux cleaned = 0.00976949 Jy
! Component: 200  -  total flux cleaned = 0.0106735 Jy
! Total flux subtracted in 200 components = 0.0106735 Jy
! Clean residual min=-0.015884 max=0.020319 Jy/beam
! Clean residual mean=0.000077 rms=0.005073 Jy/beam
! Combined flux in latest and established models = 1.65955 Jy
selfcal
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 398 components and 1.65955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161606Jy  sigma=0.001295
! Fit after  self-cal, rms=0.161561Jy  sigma=0.001295
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00121587 Jy
! Component: 100  -  total flux cleaned = 0.00203639 Jy
! Component: 150  -  total flux cleaned = 0.00235671 Jy
! Component: 200  -  total flux cleaned = 0.00243162 Jy
! Total flux subtracted in 200 components = 0.00243162 Jy
! Clean residual min=-0.015703 max=0.020158 Jy/beam
! Clean residual mean=0.000079 rms=0.005075 Jy/beam
! Combined flux in latest and established models = 1.66198 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 411 components and 1.66198 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161519Jy  sigma=0.001295
! Fit after  self-cal, rms=0.161502Jy  sigma=0.001294
! Inverting map 
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 
! Estimated beam: bmin=0.9951 mas, bmaj=2.28 mas, bpa=-5.355 degrees
! Estimated noise=484.302 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9951 x 2.28 at -5.355 degrees (North through East)
! Clean map  min=-0.013332  max=0.78616 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.161502Jy  sigma=0.001294
! Fit after  self-cal, rms=0.195470Jy  sigma=0.001160
! Inverting map and beam 
! Estimated beam: bmin=0.9973 mas, bmaj=2.277 mas, bpa=-5.348 degrees
! Estimated noise=485.063 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00087953 Jy
! Component: 100  -  total flux cleaned = 0.00118841 Jy
! Component: 150  -  total flux cleaned = 0.001374 Jy
! Component: 200  -  total flux cleaned = 0.0015528 Jy
! Total flux subtracted in 200 components = 0.0015528 Jy
! Clean residual min=-0.013397 max=0.016466 Jy/beam
! Clean residual mean=0.000062 rms=0.003891 Jy/beam
! Combined flux in latest and established models = 1.66353 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 426 components and 1.66353 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195342Jy  sigma=0.001159
! Fit after  self-cal, rms=0.195330Jy  sigma=0.001159
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000259098 Jy
! Component: 100  -  total flux cleaned = 0.000341449 Jy
! Component: 150  -  total flux cleaned = 0.000505483 Jy
! Component: 200  -  total flux cleaned = 0.000738763 Jy
! Total flux subtracted in 200 components = 0.000738763 Jy
! Clean residual min=-0.013332 max=0.016398 Jy/beam
! Clean residual mean=0.000063 rms=0.003889 Jy/beam
! Combined flux in latest and established models = 1.66427 Jy
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 434 components and 1.66427 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195251Jy  sigma=0.001158
! Fit after  self-cal, rms=0.195242Jy  sigma=0.001158
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195242Jy  sigma=0.001158
! Fit after  self-cal, rms=0.194634Jy  sigma=0.001158
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 
! Estimated beam: bmin=0.6251 mas, bmaj=1.62 mas, bpa=-3.839 degrees
! Estimated noise=1013.15 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.561511 Jy
! Component: 100  -  total flux cleaned = 0.805057 Jy
! Component: 150  -  total flux cleaned = 0.959681 Jy
! Component: 200  -  total flux cleaned = 1.06859 Jy
! Total flux subtracted in 200 components = 1.06859 Jy
! Clean residual min=-0.020569 max=0.062006 Jy/beam
! Clean residual mean=-0.000306 rms=0.006795 Jy/beam
! Combined flux in latest and established models = 1.06859 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 45 model components to the UV plane model.
! The established model now contains 45 components and 1.06859 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9987 mas, bmaj=2.277 mas, bpa=-5.325 degrees
! Estimated noise=485.151 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.182777 Jy
! Component: 100  -  total flux cleaned = 0.283189 Jy
! Component: 150  -  total flux cleaned = 0.347399 Jy
! Component: 200  -  total flux cleaned = 0.394876 Jy
! Total flux subtracted in 200 components = 0.394876 Jy
! Clean residual min=-0.028866 max=0.030789 Jy/beam
! Clean residual mean=-0.000165 rms=0.008132 Jy/beam
! Combined flux in latest and established models = 1.46346 Jy
! Adding 143 model components to the UV plane model.
! The established model now contains 176 components and 1.46346 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 120 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=1.824 mas, bmaj=2.761 mas, bpa=-12.28 degrees
! Estimated noise=507.726 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0458056 Jy
! Component: 100  -  total flux cleaned = 0.0790846 Jy
! Component: 150  -  total flux cleaned = 0.104324 Jy
! Component: 200  -  total flux cleaned = 0.124382 Jy
! Total flux subtracted in 200 components = 0.124382 Jy
! Clean residual min=-0.023430 max=0.020225 Jy/beam
! Clean residual mean=-0.000021 rms=0.006256 Jy/beam
! Combined flux in latest and established models = 1.58784 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.0161515 Jy
! Component: 100  -  total flux cleaned = 0.0292153 Jy
! Component: 150  -  total flux cleaned = 0.0398183 Jy
! Component: 200  -  total flux cleaned = 0.0484334 Jy
! Total flux subtracted in 200 components = 0.0484334 Jy
! Clean residual min=-0.018890 max=0.020288 Jy/beam
! Clean residual mean=0.000037 rms=0.005260 Jy/beam
! Combined flux in latest and established models = 1.63628 Jy
! Adding 165 model components to the UV plane model.
! The established model now contains 323 components and 1.63628 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9987 mas, bmaj=2.277 mas, bpa=-5.325 degrees
! Estimated noise=485.151 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00694758 Jy
! Component: 100  -  total flux cleaned = 0.0124239 Jy
! Component: 150  -  total flux cleaned = 0.0151712 Jy
! Component: 200  -  total flux cleaned = 0.016488 Jy
! Total flux subtracted in 200 components = 0.016488 Jy
! Clean residual min=-0.014844 max=0.017279 Jy/beam
! Clean residual mean=0.000053 rms=0.003980 Jy/beam
! Combined flux in latest and established models = 1.65277 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 347 components and 1.65277 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195528Jy  sigma=0.001167
! Fit after  self-cal, rms=0.195454Jy  sigma=0.001165
wmodel J1230+1223_X_2003_05_07_pus_map.mod
! Writing 347 model components to file: J1230+1223_X_2003_05_07_pus_map.mod
wobs J1230+1223_X_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1230+1223_X_2003_05_07_pus_uvs.fits
wwins J1230+1223_X_2003_05_07_pus_map.win
! wwins: Wrote 7 windows to J1230+1223_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 
! clean: niter=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00462691 Jy
! Component: 100  -  total flux cleaned = 0.00706873 Jy
! Component: 150  -  total flux cleaned = 0.0083624 Jy
! Component: 200  -  total flux cleaned = 0.00914441 Jy
! Component: 250  -  total flux cleaned = 0.00986956 Jy
! Component: 300  -  total flux cleaned = 0.0105455 Jy
! Component: 350  -  total flux cleaned = 0.0113379 Jy
! Component: 400  -  total flux cleaned = 0.012825 Jy
! Component: 450  -  total flux cleaned = 0.0140941 Jy
! Component: 500  -  total flux cleaned = 0.0153018 Jy
! Component: 550  -  total flux cleaned = 0.016587 Jy
! Component: 600  -  total flux cleaned = 0.0180636 Jy
! Component: 650  -  total flux cleaned = 0.0190079 Jy
! Component: 700  -  total flux cleaned = 0.0202579 Jy
! Component: 750  -  total flux cleaned = 0.021354 Jy
! Component: 800  -  total flux cleaned = 0.0223088 Jy
! Component: 850  -  total flux cleaned = 0.0234358 Jy
! Component: 900  -  total flux cleaned = 0.0245231 Jy
! Component: 950  -  total flux cleaned = 0.0253855 Jy
! Component: 1000  -  total flux cleaned = 0.0263153 Jy
! Component: 1050  -  total flux cleaned = 0.027218 Jy
! Component: 1100  -  total flux cleaned = 0.0280067 Jy
! Component: 1150  -  total flux cleaned = 0.0286882 Jy
! Component: 1200  -  total flux cleaned = 0.0293527 Jy
! Component: 1250  -  total flux cleaned = 0.0299227 Jy
! Component: 1300  -  total flux cleaned = 0.0305597 Jy
! Component: 1350  -  total flux cleaned = 0.0313361 Jy
! Component: 1400  -  total flux cleaned = 0.0319436 Jy
! Component: 1450  -  total flux cleaned = 0.0324659 Jy
! Component: 1500  -  total flux cleaned = 0.0329787 Jy
! Component: 1550  -  total flux cleaned = 0.0338374 Jy
! Component: 1600  -  total flux cleaned = 0.0344697 Jy
! Component: 1650  -  total flux cleaned = 0.034885 Jy
! Component: 1700  -  total flux cleaned = 0.0356316 Jy
! Component: 1750  -  total flux cleaned = 0.0362307 Jy
! Component: 1800  -  total flux cleaned = 0.0366887 Jy
! Component: 1850  -  total flux cleaned = 0.0371398 Jy
! Component: 1900  -  total flux cleaned = 0.0376478 Jy
! Component: 1950  -  total flux cleaned = 0.0381491 Jy
! Component: 2000  -  total flux cleaned = 0.0388285 Jy
! Component: 2050  -  total flux cleaned = 0.0395583 Jy
! Component: 2100  -  total flux cleaned = 0.0399177 Jy
! Component: 2150  -  total flux cleaned = 0.040333 Jy
! Component: 2200  -  total flux cleaned = 0.0408588 Jy
! Component: 2250  -  total flux cleaned = 0.0411473 Jy
! Component: 2300  -  total flux cleaned = 0.0413761 Jy
! Component: 2350  -  total flux cleaned = 0.0418265 Jy
! Component: 2400  -  total flux cleaned = 0.0422721 Jy
! Component: 2450  -  total flux cleaned = 0.042603 Jy
! Component: 2500  -  total flux cleaned = 0.0428754 Jy
! Component: 2550  -  total flux cleaned = 0.04336 Jy
! Component: 2600  -  total flux cleaned = 0.0435733 Jy
! Component: 2650  -  total flux cleaned = 0.0437841 Jy
! Component: 2700  -  total flux cleaned = 0.0440978 Jy
! Component: 2750  -  total flux cleaned = 0.0444088 Jy
! Component: 2800  -  total flux cleaned = 0.0447669 Jy
! Component: 2850  -  total flux cleaned = 0.0449691 Jy
! Component: 2900  -  total flux cleaned = 0.0450197 Jy
! Component: 2950  -  total flux cleaned = 0.0452196 Jy
! Component: 3000  -  total flux cleaned = 0.045467 Jy
! Component: 3050  -  total flux cleaned = 0.0457114 Jy
! Component: 3100  -  total flux cleaned = 0.0457601 Jy
! Component: 3150  -  total flux cleaned = 0.0460016 Jy
! Component: 3200  -  total flux cleaned = 0.0461916 Jy
! Component: 3250  -  total flux cleaned = 0.0461912 Jy
! Component: 3300  -  total flux cleaned = 0.0463787 Jy
! Component: 3350  -  total flux cleaned = 0.0466581 Jy
! Component: 3400  -  total flux cleaned = 0.0467039 Jy
! Component: 3450  -  total flux cleaned = 0.0468406 Jy
! Component: 3500  -  total flux cleaned = 0.0469769 Jy
! Component: 3550  -  total flux cleaned = 0.0471116 Jy
! Component: 3600  -  total flux cleaned = 0.0472903 Jy
! Component: 3650  -  total flux cleaned = 0.0472908 Jy
! Component: 3700  -  total flux cleaned = 0.0474234 Jy
! Component: 3750  -  total flux cleaned = 0.0476418 Jy
! Component: 3800  -  total flux cleaned = 0.0477285 Jy
! Component: 3850  -  total flux cleaned = 0.0476424 Jy
! Component: 3900  -  total flux cleaned = 0.0477709 Jy
! Component: 3950  -  total flux cleaned = 0.0478131 Jy
! Component: 4000  -  total flux cleaned = 0.0478133 Jy
! Component: 4050  -  total flux cleaned = 0.0479813 Jy
! Total flux subtracted in 4096 components = 0.0478558 Jy
! Clean residual min=-0.002554 max=0.002113 Jy/beam
! Clean residual mean=0.000005 rms=0.000869 Jy/beam
! Combined flux in latest and established models = 1.70062 Jy
keep
! Adding 409 model components to the UV plane model.
! The established model now contains 754 components and 1.70062 Jy
wmap "J1230+1223_X_2003_05_07_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9987 x 2.277 at -5.325 degrees (North through East)
! Clean map  min=-0.0067503  max=0.7891 Jy/beam
! Writing clean map to FITS file: J1230+1223_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.789101 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000865286 
device "J1230+1223_X_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1230+1223_X_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.328964 0.328964 0.657929 1.31586 2.63171 5.26343 10.5269 21.0537 42.1074 84.2149
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.789 
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.9987 x 2.277 at -5.325 degrees (North through East)
! Clean map  min=-0.0067503  max=0.7891 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1230+1223_X_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1230+1223_X_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1230+1223_X_2003_05_07_pus_uvs.log closed on Thu Dec 14 18:39:48 2006