! Started logfile: J0433+0521_S_2001_07_05_pus_uvs.log on Fri Aug 10 12:20:29 2007
obs J0433+0521_S_2001_07_05_pus_uva.fits
! Reading UV FITS file: J0433+0521_S_2001_07_05_pus_uva.fits
! AN table 1: 90 integrations on 171 of 171 possible baselines.
! AN table 2: 74 integrations on 171 of 171 possible baselines.
! AN table 3: 132 integrations on 171 of 171 possible baselines.
! AN table 4: 45 integrations on 171 of 171 possible baselines.
! AN table 5: 75 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.112868 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0433+0521
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.22997e+09        8e+06          1        8e+06
!  02        2  2.25997e+09        8e+06          1        8e+06
!  03        3  2.34997e+09        8e+06          1        8e+06
!  04        4  2.36997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1774 lines of history.
! 
! Reading 32116 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
print "field_size =",field_size
! field_size = 1024 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
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.500x0.500 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 1405 telescope corrections were flagged in sub-array 1.
!  A total of 1138 telescope corrections were flagged in sub-array 2.
!  A total of 1741 telescope corrections were flagged in sub-array 3.
!  A total of 532 telescope corrections were flagged in sub-array 4.
!  A total of 786 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 1405 telescope corrections were flagged in sub-array 1.
!  A total of 1138 telescope corrections were flagged in sub-array 2.
!  A total of 1741 telescope corrections were flagged in sub-array 3.
!  A total of 532 telescope corrections were flagged in sub-array 4.
!  A total of 786 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 1405 telescope corrections were flagged in sub-array 1.
!  A total of 1138 telescope corrections were flagged in sub-array 2.
!  A total of 1741 telescope corrections were flagged in sub-array 3.
!  A total of 532 telescope corrections were flagged in sub-array 4.
!  A total of 786 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 1405 telescope corrections were flagged in sub-array 1.
!  A total of 1138 telescope corrections were flagged in sub-array 2.
!  A total of 1741 telescope corrections were flagged in sub-array 3.
!  A total of 532 telescope corrections were flagged in sub-array 4.
!  A total of 786 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=1.635011Jy  sigma=0.014311
! Fit after  self-cal, rms=1.201320Jy  sigma=0.010625
! 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=2.005 mas, bmaj=4.442 mas, bpa=-1.242 degrees
! Estimated noise=831.323 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.901763 Jy
! Component: 100  -  total flux cleaned = 1.33413 Jy
! Total flux subtracted in 100 components = 1.33413 Jy
! Clean residual min=-0.078659 max=0.430871 Jy/beam
! Clean residual mean=0.000631 rms=0.024092 Jy/beam
! Combined flux in latest and established models = 1.33413 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.33413 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.987388Jy  sigma=0.008706
! Fit after  self-cal, rms=0.983854Jy  sigma=0.008679
! Inverting map 
! Added new window around map position (3, 1.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.365061 Jy
! Component: 100  -  total flux cleaned = 0.556494 Jy
! Total flux subtracted in 100 components = 0.556494 Jy
! Clean residual min=-0.057251 max=0.373131 Jy/beam
! Clean residual mean=0.000458 rms=0.017867 Jy/beam
! Combined flux in latest and established models = 1.89063 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 20 components and 1.89063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.738843Jy  sigma=0.006332
! Fit after  self-cal, rms=0.718826Jy  sigma=0.006151
! Inverting map 
! Added new window around map position (-4, -0.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.325626 Jy
! Component: 100  -  total flux cleaned = 0.509711 Jy
! Total flux subtracted in 100 components = 0.509711 Jy
! Clean residual min=-0.034305 max=0.109735 Jy/beam
! Clean residual mean=0.000299 rms=0.010325 Jy/beam
! Combined flux in latest and established models = 2.40034 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 31 components and 2.40034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.475334Jy  sigma=0.003888
! Fit after  self-cal, rms=0.454841Jy  sigma=0.003737
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.148005 Jy
! Component: 100  -  total flux cleaned = 0.243241 Jy
! Total flux subtracted in 100 components = 0.243241 Jy
! Clean residual min=-0.031891 max=0.080500 Jy/beam
! Clean residual mean=0.000223 rms=0.007077 Jy/beam
! Combined flux in latest and established models = 2.64358 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 42 components and 2.64358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.371370Jy  sigma=0.002872
! Fit after  self-cal, rms=0.366474Jy  sigma=0.002835
! Inverting map 
! Added new window around map position (-6.5, -1.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.090262 Jy
! Component: 100  -  total flux cleaned = 0.150411 Jy
! Total flux subtracted in 100 components = 0.150411 Jy
! Clean residual min=-0.029276 max=0.039393 Jy/beam
! Clean residual mean=0.000175 rms=0.005532 Jy/beam
! Combined flux in latest and established models = 2.79399 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 47 components and 2.79399 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.332072Jy  sigma=0.002441
! Fit after  self-cal, rms=0.329447Jy  sigma=0.002421
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0534646 Jy
! Component: 100  -  total flux cleaned = 0.090197 Jy
! Total flux subtracted in 100 components = 0.090197 Jy
! Clean residual min=-0.030804 max=0.028236 Jy/beam
! Clean residual mean=0.000146 rms=0.004812 Jy/beam
! Combined flux in latest and established models = 2.88419 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 53 components and 2.88419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.317159Jy  sigma=0.002265
! Fit after  self-cal, rms=0.316033Jy  sigma=0.002256
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0337458 Jy
! Component: 100  -  total flux cleaned = 0.0544553 Jy
! Total flux subtracted in 100 components = 0.0544553 Jy
! Clean residual min=-0.030848 max=0.026618 Jy/beam
! Clean residual mean=0.000129 rms=0.004479 Jy/beam
! Combined flux in latest and established models = 2.93864 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 56 components and 2.93864 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.311844Jy  sigma=0.002198
! Fit after  self-cal, rms=0.311370Jy  sigma=0.002194
! 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=2.418 mas, bmaj=5.953 mas, bpa=-2.579 degrees
! Estimated noise=488.561 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 (-14, -0.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0410465 Jy
! Component: 100  -  total flux cleaned = 0.0641534 Jy
! Component: 150  -  total flux cleaned = 0.0769864 Jy
! Component: 200  -  total flux cleaned = 0.0803367 Jy
! Total flux subtracted in 200 components = 0.0803367 Jy
! Clean residual min=-0.018412 max=0.023852 Jy/beam
! Clean residual mean=0.000987 rms=0.005271 Jy/beam
! Combined flux in latest and established models = 3.01898 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 80 components and 3.01898 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306014Jy  sigma=0.002132
! Fit after  self-cal, rms=0.304937Jy  sigma=0.002121
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 165 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.14     HN        0.89     KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        0.88     MK        1.00*    NL        1.00*    
!   NY        1.10     OV        1.00*    PT        1.00*    SC        1.04     
!   TS        1.00*    WF        0.93     WZ        0.98     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.08     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.98     KP        1.00*    
!   LA        1.00*    MC        1.00*    MK        0.98     NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.93     WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.01     GC        0.93     GG        1.00*    
!   HH        1.01     HN        0.97     KK        0.96     KP        1.00     
!   LA        1.02     MC        0.91     MK        0.99     NL        1.04     
!   NY        1.07     OV        0.99     PT        0.96     SC        1.05     
!   TS        0.96     WF        0.96     WZ        1.04     
! 
!  A total of 39 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.91     FD        0.98     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        0.97     
!   LA        1.00     MC        1.00*    MK        0.96     NL        0.93     
!   NY        1.00*    OV        0.94     PT        0.97     SC        1.03     
!   TS        1.20     WF        1.02     WZ        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00     FD        0.98     GC        1.14     GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        1.03     
!   LA        1.00     MC        1.04     MK        1.00*    NL        0.95     
!   NY        1.00*    OV        0.99     PT        0.96     SC        1.00     
!   TS        1.00*    WF        0.96     WZ        1.21     
! 
! 
! Correcting IF 2.
!  A total of 165 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.11     HN        0.93     KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        0.88     MK        1.00*    NL        1.00*    
!   NY        1.09     OV        1.00*    PT        1.00*    SC        1.02     
!   TS        1.00*    WF        0.91     WZ        0.93     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.03     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.99     KP        1.00*    
!   LA        1.00*    MC        1.00*    MK        0.97     NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.90     WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.03     GC        0.89     GG        1.00*    
!   HH        1.10     HN        0.96     KK        0.97     KP        0.87     
!   LA        0.98     MC        1.12     MK        0.96     NL        1.03     
!   NY        1.04     OV        1.02     PT        0.99     SC        1.07     
!   TS        0.93     WF        0.94     WZ        1.03     
! 
!  A total of 39 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.91     FD        1.00     GC        0.96     GG        1.00*    
!   HH        1.00*    HN        0.94     KK        1.00*    KP        0.96     
!   LA        0.97     MC        1.00*    MK        0.94     NL        0.91     
!   NY        1.00*    OV        0.96     PT        1.00     SC        1.03     
!   TS        1.16     WF        0.99     WZ        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.99     GC        1.12     GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        0.97     
!   LA        0.97     MC        0.95     MK        1.00*    NL        0.95     
!   NY        1.00*    OV        1.01     PT        0.99     SC        1.02     
!   TS        1.00*    WF        0.94     WZ        1.18     
! 
! 
! Correcting IF 3.
!  A total of 165 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.11     HN        1.00     KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        0.88     MK        1.00*    NL        1.00*    
!   NY        1.13     OV        1.00*    PT        1.00*    SC        0.99     
!   TS        1.00*    WF        0.91     WZ        0.96     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.05     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.02     KP        1.00*    
!   LA        1.00*    MC        1.00*    MK        0.99     NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.91     WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        0.95     GC        0.94     GG        1.00*    
!   HH        1.09     HN        1.07     KK        1.00     KP        1.03     
!   LA        0.99     MC        0.94     MK        1.00     NL        1.10     
!   NY        1.01     OV        1.05     PT        0.96     SC        1.06     
!   TS        0.92     WF        0.98     WZ        1.02     
! 
!  A total of 39 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.97     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.04     KK        1.00*    KP        1.02     
!   LA        1.00     MC        1.00*    MK        1.00     NL        1.01     
!   NY        1.00*    OV        0.98     PT        1.02     SC        1.02     
!   TS        1.16     WF        1.03     WZ        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.04     FD        0.94     GC        1.15     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00*    KP        1.09     
!   LA        0.98     MC        1.08     MK        1.00*    NL        1.02     
!   NY        1.00*    OV        1.03     PT        0.98     SC        0.99     
!   TS        1.00*    WF        1.21     WZ        1.14     
! 
! 
! Correcting IF 4.
!  A total of 165 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.11     HN        0.89     KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        1.61     MK        1.00*    NL        1.00*    
!   NY        1.13     OV        1.00*    PT        1.00*    SC        1.04     
!   TS        1.00*    WF        0.89     WZ        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.04     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.99     KP        1.00*    
!   LA        1.00*    MC        1.00*    MK        1.00     NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.90     WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        0.99     GC        0.92     GG        1.00*    
!   HH        1.21     HN        0.93     KK        1.00     KP        1.03     
!   LA        1.00     MC        1.20     MK        0.98     NL        1.06     
!   NY        1.05     OV        1.02     PT        0.96     SC        1.08     
!   TS        0.90     WF        1.00     WZ        1.62     
! 
!  A total of 39 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.92     FD        0.99     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        1.08     
!   LA        0.99     MC        1.00*    MK        1.00     NL        0.96     
!   NY        1.00*    OV        0.92     PT        1.05     SC        1.02     
!   TS        1.14     WF        1.00     WZ        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.99     GC        1.13     GG        1.00*    
!   HH        1.00*    HN        0.90     KK        1.00*    KP        1.11     
!   LA        1.01     MC        1.82     MK        1.00*    NL        0.98     
!   NY        1.00*    OV        1.02     PT        1.03     SC        1.00     
!   TS        1.00*    WF        1.00     WZ        1.12     
! 
! 
! Fit before self-cal, rms=0.304937Jy  sigma=0.002121
! Fit after  self-cal, rms=0.302188Jy  sigma=0.001795
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.47 mas, bmaj=6.077 mas, bpa=-2.198 degrees
! Estimated noise=499.798 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 (-20, -2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0217912 Jy
! Component: 100  -  total flux cleaned = 0.0270168 Jy
! Component: 150  -  total flux cleaned = 0.0297412 Jy
! Component: 200  -  total flux cleaned = 0.0316852 Jy
! Total flux subtracted in 200 components = 0.0316852 Jy
! Clean residual min=-0.014261 max=0.013346 Jy/beam
! Clean residual mean=0.000230 rms=0.003187 Jy/beam
! Combined flux in latest and established models = 3.05066 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 123 components and 3.05066 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.300064Jy  sigma=0.001767
! Fit after  self-cal, rms=0.300478Jy  sigma=0.001762
! 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.300478Jy  sigma=0.001762
! Fit after  self-cal, rms=0.302341Jy  sigma=0.001732
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.475 mas, bmaj=6.083 mas, bpa=-2.222 degrees
! Estimated noise=500.03 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0112395 Jy
! Component: 100  -  total flux cleaned = 0.0141899 Jy
! Component: 150  -  total flux cleaned = 0.0170499 Jy
! Component: 200  -  total flux cleaned = 0.0182922 Jy
! Total flux subtracted in 200 components = 0.0182922 Jy
! Clean residual min=-0.009082 max=0.012305 Jy/beam
! Clean residual mean=0.000230 rms=0.002639 Jy/beam
! Combined flux in latest and established models = 3.06896 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 136 components and 3.06896 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301402Jy  sigma=0.001720
! Fit after  self-cal, rms=0.301391Jy  sigma=0.001719
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)
! Added new window around map position (-9.5, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00623833 Jy
! Component: 100  -  total flux cleaned = 0.0074745 Jy
! Component: 150  -  total flux cleaned = 0.00856251 Jy
! Component: 200  -  total flux cleaned = 0.00932032 Jy
! Total flux subtracted in 200 components = 0.00932032 Jy
! Clean residual min=-0.009524 max=0.012168 Jy/beam
! Clean residual mean=0.000200 rms=0.002546 Jy/beam
! Combined flux in latest and established models = 3.07828 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 152 components and 3.07828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.300716Jy  sigma=0.001711
! Fit after  self-cal, rms=0.300638Jy  sigma=0.001710
! Inverting map 
! Added new window around map position (-84, -12).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0127452 Jy
! Component: 100  -  total flux cleaned = 0.0163755 Jy
! Component: 150  -  total flux cleaned = 0.0185673 Jy
! Component: 200  -  total flux cleaned = 0.0205328 Jy
! Total flux subtracted in 200 components = 0.0205328 Jy
! Clean residual min=-0.009623 max=0.009932 Jy/beam
! Clean residual mean=0.000164 rms=0.002240 Jy/beam
! Combined flux in latest and established models = 3.09881 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 171 components and 3.09881 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299949Jy  sigma=0.001701
! Fit after  self-cal, rms=0.299890Jy  sigma=0.001700
! 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.299890Jy  sigma=0.001700
! Fit after  self-cal, rms=0.299577Jy  sigma=0.001697
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.485 mas, bmaj=6.085 mas, bpa=-2.225 degrees
! Estimated noise=501.311 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00739225 Jy
! Component: 100  -  total flux cleaned = 0.0102623 Jy
! Component: 150  -  total flux cleaned = 0.0130542 Jy
! Component: 200  -  total flux cleaned = 0.0155829 Jy
! Total flux subtracted in 200 components = 0.0155829 Jy
! Clean residual min=-0.007815 max=0.009640 Jy/beam
! Clean residual mean=0.000171 rms=0.002043 Jy/beam
! Combined flux in latest and established models = 3.11439 Jy
selfcal
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 183 components and 3.11439 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299112Jy  sigma=0.001691
! Fit after  self-cal, rms=0.299138Jy  sigma=0.001691
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)
! Added new window around map position (-27.5, -5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00769939 Jy
! Component: 100  -  total flux cleaned = 0.0100445 Jy
! Component: 150  -  total flux cleaned = 0.0119031 Jy
! Component: 200  -  total flux cleaned = 0.0138102 Jy
! Total flux subtracted in 200 components = 0.0138102 Jy
! Clean residual min=-0.007935 max=0.008626 Jy/beam
! Clean residual mean=0.000132 rms=0.001904 Jy/beam
! Combined flux in latest and established models = 3.1282 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 207 components and 3.1282 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298683Jy  sigma=0.001685
! Fit after  self-cal, rms=0.298674Jy  sigma=0.001685
! Inverting map 
! Added new window around map position (-89.5, -10.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00808897 Jy
! Component: 100  -  total flux cleaned = 0.0105636 Jy
! Component: 150  -  total flux cleaned = 0.0129456 Jy
! Component: 200  -  total flux cleaned = 0.014707 Jy
! Total flux subtracted in 200 components = 0.014707 Jy
! Clean residual min=-0.007899 max=0.007715 Jy/beam
! Clean residual mean=0.000103 rms=0.001746 Jy/beam
! Combined flux in latest and established models = 3.14291 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 226 components and 3.14291 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298268Jy  sigma=0.001680
! Fit after  self-cal, rms=0.298257Jy  sigma=0.001680
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 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.298257Jy  sigma=0.001680
! Fit after  self-cal, rms=0.298705Jy  sigma=0.001677
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.306 mas, bmaj=10.28 mas, bpa=-19.33 degrees
! Estimated noise=652.624 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0115074 Jy
! Component: 100  -  total flux cleaned = 0.0164782 Jy
! Component: 150  -  total flux cleaned = 0.0201357 Jy
! Component: 200  -  total flux cleaned = 0.0231046 Jy
! Total flux subtracted in 200 components = 0.0231046 Jy
! Clean residual min=-0.008440 max=0.010708 Jy/beam
! Clean residual mean=0.000241 rms=0.002495 Jy/beam
! Combined flux in latest and established models = 3.16601 Jy
selfcal
! Performing phase self-cal
! Adding 46 model components to the UV plane model.
! The established model now contains 266 components and 3.16601 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298497Jy  sigma=0.001675
! Fit after  self-cal, rms=0.298652Jy  sigma=0.001674
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.00180464 Jy
! Component: 100  -  total flux cleaned = 0.00438116 Jy
! Component: 150  -  total flux cleaned = 0.00663741 Jy
! Component: 200  -  total flux cleaned = 0.00838999 Jy
! Total flux subtracted in 200 components = 0.00838999 Jy
! Clean residual min=-0.007764 max=0.010024 Jy/beam
! Clean residual mean=0.000194 rms=0.002347 Jy/beam
! Combined flux in latest and established models = 3.1744 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 293 components and 3.1744 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298568Jy  sigma=0.001673
! Fit after  self-cal, rms=0.298542Jy  sigma=0.001673
! 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=2.49 mas, bmaj=6.086 mas, bpa=-2.204 degrees
! Estimated noise=502.22 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.49 x 6.086 at -2.204 degrees (North through East)
! Clean map  min=-0.006479  max=1.115 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.298542Jy  sigma=0.001673
! Fit after  self-cal, rms=0.540405Jy  sigma=0.001332
! Inverting map and beam 
! Estimated beam: bmin=2.489 mas, bmaj=6.099 mas, bpa=-2.164 degrees
! Estimated noise=502.181 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000370102 Jy
! Component: 100  -  total flux cleaned = 0.000268864 Jy
! Component: 150  -  total flux cleaned = 0.000991928 Jy
! Component: 200  -  total flux cleaned = 0.00147681 Jy
! Total flux subtracted in 200 components = 0.00147681 Jy
! Clean residual min=-0.005893 max=0.005851 Jy/beam
! Clean residual mean=0.000103 rms=0.001389 Jy/beam
! Combined flux in latest and established models = 3.17588 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 302 components and 3.17588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.540242Jy  sigma=0.001328
! Fit after  self-cal, rms=0.540258Jy  sigma=0.001327
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 5.11124e-05 Jy
! Component: 100  -  total flux cleaned = 0.000746258 Jy
! Component: 150  -  total flux cleaned = 0.00120866 Jy
! Component: 200  -  total flux cleaned = 0.00176324 Jy
! Total flux subtracted in 200 components = 0.00176324 Jy
! Clean residual min=-0.005800 max=0.005713 Jy/beam
! Clean residual mean=0.000098 rms=0.001352 Jy/beam
! Combined flux in latest and established models = 3.17764 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 312 components and 3.17764 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.540155Jy  sigma=0.001324
! Fit after  self-cal, rms=0.540146Jy  sigma=0.001324
! 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.540146Jy  sigma=0.001324
! Fit after  self-cal, rms=0.845026Jy  sigma=0.001323
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=2.053 mas, bmaj=4.613 mas, bpa=-0.9545 degrees
! Estimated noise=850.95 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.91786 Jy
! Component: 100  -  total flux cleaned = 1.44967 Jy
! Component: 150  -  total flux cleaned = 1.82602 Jy
! Component: 200  -  total flux cleaned = 2.09876 Jy
! Total flux subtracted in 200 components = 2.09876 Jy
! Clean residual min=-0.037826 max=0.154680 Jy/beam
! Clean residual mean=0.000359 rms=0.011884 Jy/beam
! Combined flux in latest and established models = 2.09876 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 20 model components to the UV plane model.
! The established model now contains 20 components and 2.09876 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.489 mas, bmaj=6.099 mas, bpa=-2.149 degrees
! Estimated noise=501.987 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.352618 Jy
! Component: 100  -  total flux cleaned = 0.555581 Jy
! Component: 150  -  total flux cleaned = 0.679356 Jy
! Component: 200  -  total flux cleaned = 0.761982 Jy
! Total flux subtracted in 200 components = 0.761982 Jy
! Clean residual min=-0.018520 max=0.045043 Jy/beam
! Clean residual mean=0.001001 rms=0.006573 Jy/beam
! Combined flux in latest and established models = 2.86075 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 61 components and 2.86075 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0572538 Jy
! Component: 100  -  total flux cleaned = 0.0992855 Jy
! Component: 150  -  total flux cleaned = 0.130947 Jy
! Component: 200  -  total flux cleaned = 0.156612 Jy
! Total flux subtracted in 200 components = 0.156612 Jy
! Clean residual min=-0.009454 max=0.016501 Jy/beam
! Clean residual mean=0.000518 rms=0.003193 Jy/beam
! Combined flux in latest and established models = 3.01736 Jy
! Adding 64 model components to the UV plane model.
! The established model now contains 112 components and 3.01736 Jy
! Inverting map 
! Added new window around map position (-2.5, 5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0215939 Jy
! Component: 100  -  total flux cleaned = 0.0398783 Jy
! Component: 150  -  total flux cleaned = 0.0556165 Jy
! Component: 200  -  total flux cleaned = 0.0692276 Jy
! Total flux subtracted in 200 components = 0.0692276 Jy
! Clean residual min=-0.007212 max=0.008666 Jy/beam
! Clean residual mean=0.000330 rms=0.002111 Jy/beam
! Combined flux in latest and established models = 3.08659 Jy
! Adding 83 model components to the UV plane model.
! The established model now contains 170 components and 3.08659 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.302 mas, bmaj=10.27 mas, bpa=-19.04 degrees
! Estimated noise=652.34 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0231282 Jy
! Component: 100  -  total flux cleaned = 0.0397555 Jy
! Component: 150  -  total flux cleaned = 0.0524621 Jy
! Component: 200  -  total flux cleaned = 0.0624356 Jy
! Total flux subtracted in 200 components = 0.0624356 Jy
! Clean residual min=-0.008110 max=0.009491 Jy/beam
! Clean residual mean=0.000425 rms=0.002381 Jy/beam
! Combined flux in latest and established models = 3.14902 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.00798409 Jy
! Component: 100  -  total flux cleaned = 0.0144834 Jy
! Component: 150  -  total flux cleaned = 0.0198062 Jy
! Component: 200  -  total flux cleaned = 0.0241734 Jy
! Total flux subtracted in 200 components = 0.0241734 Jy
! Clean residual min=-0.006727 max=0.008994 Jy/beam
! Clean residual mean=0.000276 rms=0.002005 Jy/beam
! Combined flux in latest and established models = 3.17319 Jy
! Adding 163 model components to the UV plane model.
! The established model now contains 321 components and 3.17319 Jy
! Inverting map 
! Added new window around map position (-41.5, -4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00796844 Jy
! Component: 100  -  total flux cleaned = 0.0123057 Jy
! Component: 150  -  total flux cleaned = 0.0158917 Jy
! Component: 200  -  total flux cleaned = 0.0189643 Jy
! Total flux subtracted in 200 components = 0.0189643 Jy
! Clean residual min=-0.006322 max=0.006830 Jy/beam
! Clean residual mean=0.000154 rms=0.001782 Jy/beam
! Combined flux in latest and established models = 3.19216 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 363 components and 3.19216 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.489 mas, bmaj=6.099 mas, bpa=-2.149 degrees
! Estimated noise=501.987 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 8.14581e-05 Jy
! Component: 100  -  total flux cleaned = 0.000595154 Jy
! Component: 150  -  total flux cleaned = 0.00121849 Jy
! Component: 200  -  total flux cleaned = 0.00196099 Jy
! Total flux subtracted in 200 components = 0.00196099 Jy
! Clean residual min=-0.004748 max=0.005698 Jy/beam
! Clean residual mean=0.000057 rms=0.001239 Jy/beam
! Combined flux in latest and established models = 3.19412 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 389 components and 3.19412 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.846308Jy  sigma=0.001320
! Fit after  self-cal, rms=0.845994Jy  sigma=0.001315
wmodel J0433+0521_S_2001_07_05_pus_map.mod
! Writing 389 model components to file: J0433+0521_S_2001_07_05_pus_map.mod
wobs J0433+0521_S_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J0433+0521_S_2001_07_05_pus_uvs.fits
wwins J0433+0521_S_2001_07_05_pus_map.win
! wwins: Wrote 12 windows to J0433+0521_S_2001_07_05_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00242995 Jy
! Component: 100  -  total flux cleaned = 0.00334016 Jy
! Component: 150  -  total flux cleaned = 0.00386088 Jy
! Component: 200  -  total flux cleaned = 0.00427805 Jy
! Component: 250  -  total flux cleaned = 0.00476356 Jy
! Component: 300  -  total flux cleaned = 0.00523527 Jy
! Component: 350  -  total flux cleaned = 0.0054664 Jy
! Component: 400  -  total flux cleaned = 0.00584317 Jy
! Component: 450  -  total flux cleaned = 0.00621098 Jy
! Component: 500  -  total flux cleaned = 0.00635599 Jy
! Component: 550  -  total flux cleaned = 0.00657101 Jy
! Component: 600  -  total flux cleaned = 0.00692148 Jy
! Component: 650  -  total flux cleaned = 0.00719567 Jy
! Component: 700  -  total flux cleaned = 0.00726373 Jy
! Component: 750  -  total flux cleaned = 0.00739934 Jy
! Component: 800  -  total flux cleaned = 0.00779743 Jy
! Component: 850  -  total flux cleaned = 0.00799237 Jy
! Component: 900  -  total flux cleaned = 0.00818675 Jy
! Component: 950  -  total flux cleaned = 0.00850733 Jy
! Component: 1000  -  total flux cleaned = 0.00882358 Jy
! Component: 1050  -  total flux cleaned = 0.00913714 Jy
! Component: 1100  -  total flux cleaned = 0.00932314 Jy
! Component: 1150  -  total flux cleaned = 0.00981444 Jy
! Component: 1200  -  total flux cleaned = 0.00999669 Jy
! Component: 1250  -  total flux cleaned = 0.0104186 Jy
! Component: 1300  -  total flux cleaned = 0.0107172 Jy
! Component: 1350  -  total flux cleaned = 0.010954 Jy
! Component: 1400  -  total flux cleaned = 0.0111309 Jy
! Component: 1450  -  total flux cleaned = 0.0114804 Jy
! Component: 1500  -  total flux cleaned = 0.0117109 Jy
! Component: 1550  -  total flux cleaned = 0.0119974 Jy
! Component: 1600  -  total flux cleaned = 0.0119408 Jy
! Component: 1650  -  total flux cleaned = 0.0122799 Jy
! Component: 1700  -  total flux cleaned = 0.0123364 Jy
! Component: 1750  -  total flux cleaned = 0.0125592 Jy
! Component: 1800  -  total flux cleaned = 0.0131121 Jy
! Component: 1850  -  total flux cleaned = 0.0128373 Jy
! Component: 1900  -  total flux cleaned = 0.0132191 Jy
! Component: 1950  -  total flux cleaned = 0.0132735 Jy
! Component: 2000  -  total flux cleaned = 0.0134347 Jy
! Component: 2050  -  total flux cleaned = 0.0135952 Jy
! Component: 2100  -  total flux cleaned = 0.0138605 Jy
! Component: 2150  -  total flux cleaned = 0.0140182 Jy
! Component: 2200  -  total flux cleaned = 0.0140706 Jy
! Component: 2250  -  total flux cleaned = 0.0142269 Jy
! Component: 2300  -  total flux cleaned = 0.0142789 Jy
! Component: 2350  -  total flux cleaned = 0.0143821 Jy
! Component: 2400  -  total flux cleaned = 0.0144336 Jy
! Component: 2450  -  total flux cleaned = 0.0146885 Jy
! Component: 2500  -  total flux cleaned = 0.0147895 Jy
! Component: 2550  -  total flux cleaned = 0.0150412 Jy
! Component: 2600  -  total flux cleaned = 0.0150912 Jy
! Component: 2650  -  total flux cleaned = 0.0155395 Jy
! Component: 2700  -  total flux cleaned = 0.0154894 Jy
! Component: 2750  -  total flux cleaned = 0.0156862 Jy
! Component: 2800  -  total flux cleaned = 0.0158334 Jy
! Component: 2850  -  total flux cleaned = 0.0159311 Jy
! Component: 2900  -  total flux cleaned = 0.0161251 Jy
! Component: 2950  -  total flux cleaned = 0.0162698 Jy
! Component: 3000  -  total flux cleaned = 0.0164619 Jy
! Component: 3050  -  total flux cleaned = 0.0166053 Jy
! Component: 3100  -  total flux cleaned = 0.016653 Jy
! Component: 3150  -  total flux cleaned = 0.0166529 Jy
! Component: 3200  -  total flux cleaned = 0.0168418 Jy
! Component: 3250  -  total flux cleaned = 0.0170296 Jy
! Component: 3300  -  total flux cleaned = 0.0172638 Jy
! Component: 3350  -  total flux cleaned = 0.0174032 Jy
! Component: 3400  -  total flux cleaned = 0.0175888 Jy
! Component: 3450  -  total flux cleaned = 0.0177737 Jy
! Component: 3500  -  total flux cleaned = 0.0177734 Jy
! Component: 3550  -  total flux cleaned = 0.0181858 Jy
! Component: 3600  -  total flux cleaned = 0.0183228 Jy
! Component: 3650  -  total flux cleaned = 0.0183225 Jy
! Component: 3700  -  total flux cleaned = 0.0184131 Jy
! Component: 3750  -  total flux cleaned = 0.0187735 Jy
! Component: 3800  -  total flux cleaned = 0.0188184 Jy
! Component: 3850  -  total flux cleaned = 0.0188185 Jy
! Component: 3900  -  total flux cleaned = 0.0192189 Jy
! Component: 3950  -  total flux cleaned = 0.0193076 Jy
! Component: 4000  -  total flux cleaned = 0.0195728 Jy
! Component: 4050  -  total flux cleaned = 0.0196609 Jy
! Total flux subtracted in 4096 components = 0.0198361 Jy
! Clean residual min=-0.002233 max=0.002532 Jy/beam
! Clean residual mean=0.000015 rms=0.000786 Jy/beam
! Combined flux in latest and established models = 3.21396 Jy
keep
! Adding 324 model components to the UV plane model.
! The established model now contains 706 components and 3.21396 Jy
wmap "J0433+0521_S_2001_07_05_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.489 x 6.099 at -2.149 degrees (North through East)
! Clean map  min=-0.0044075  max=1.1176 Jy/beam
! Writing clean map to FITS file: J0433+0521_S_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.11764 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000787676 
device "J0433+0521_S_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J0433+0521_S_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.21143 0.21143 0.422859 0.845719 1.69144 3.38287 6.76575 13.5315 27.063 54.126
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.117 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.489 x 6.099 at -2.149 degrees (North through East)
! Clean map  min=-0.0044075  max=1.1176 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0433+0521_S_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J0433+0521_S_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0433+0521_S_2001_07_05_pus_uvs.log closed on Fri Aug 10 12:26:33 2007