! Started logfile: J1800+7828_S_2000_05_22_pus_uvs.log on Mon Nov 19 18:56:58 2007
obs J1800+7828_S_2000_05_22_pus_uva.fits
! Reading UV FITS file: J1800+7828_S_2000_05_22_pus_uva.fits
! AN table 1: 164 integrations on 190 of 190 possible baselines.
! AN table 2: 252 integrations on 190 of 190 possible baselines.
! AN table 3: 9 integrations on 190 of 190 possible baselines.
! AN table 4: 152 integrations on 190 of 190 possible baselines.
! AN table 5: 34 integrations on 190 of 190 possible baselines.
! AN table 6: 251 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.227629 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1800+7828
! 
! 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2003 lines of history.
! 
! Reading 149124 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 = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
![@muppet J1800+7828_S_2000_05_22_pus]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 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 1689 telescope corrections were flagged in sub-array 1.
!  A total of 2577 telescope corrections were flagged in sub-array 2.
!  A total of 180 telescope corrections were flagged in sub-array 3.
!  A total of 2070 telescope corrections were flagged in sub-array 4.
!  A total of 169 telescope corrections were flagged in sub-array 5.
!  A total of 4000 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 1688 telescope corrections were flagged in sub-array 1.
!  A total of 2577 telescope corrections were flagged in sub-array 2.
!  A total of 180 telescope corrections were flagged in sub-array 3.
!  A total of 2070 telescope corrections were flagged in sub-array 4.
!  A total of 169 telescope corrections were flagged in sub-array 5.
!  A total of 4000 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 1690 telescope corrections were flagged in sub-array 1.
!  A total of 2577 telescope corrections were flagged in sub-array 2.
!  A total of 180 telescope corrections were flagged in sub-array 3.
!  A total of 2070 telescope corrections were flagged in sub-array 4.
!  A total of 169 telescope corrections were flagged in sub-array 5.
!  A total of 4000 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 1687 telescope corrections were flagged in sub-array 1.
!  A total of 2577 telescope corrections were flagged in sub-array 2.
!  A total of 180 telescope corrections were flagged in sub-array 3.
!  A total of 2070 telescope corrections were flagged in sub-array 4.
!  A total of 169 telescope corrections were flagged in sub-array 5.
!  A total of 4000 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=1.479399Jy  sigma=0.012524
! Fit after  self-cal, rms=0.865069Jy  sigma=0.006320
! 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=1.92 mas, bmaj=1.93 mas, bpa=-27.14 degrees
! Estimated noise=461.501 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 = 1.04723 Jy
! Component: 100  -  total flux cleaned = 1.3615 Jy
! Total flux subtracted in 100 components = 1.3615 Jy
! Clean residual min=-0.025801 max=0.143500 Jy/beam
! Clean residual mean=0.000316 rms=0.006516 Jy/beam
! Combined flux in latest and established models = 1.3615 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 1.3615 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.700336Jy  sigma=0.004355
! Fit after  self-cal, rms=0.699726Jy  sigma=0.004351
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.159937 Jy
! Component: 100  -  total flux cleaned = 0.243183 Jy
! Total flux subtracted in 100 components = 0.243183 Jy
! Clean residual min=-0.020296 max=0.042372 Jy/beam
! Clean residual mean=0.000230 rms=0.004852 Jy/beam
! Combined flux in latest and established models = 1.60468 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 9 components and 1.60468 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.637468Jy  sigma=0.003454
! Fit after  self-cal, rms=0.636976Jy  sigma=0.003451
! Inverting map 
! Added new window around map position (-2, -1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0539447 Jy
! Component: 100  -  total flux cleaned = 0.0930827 Jy
! Total flux subtracted in 100 components = 0.0930827 Jy
! Clean residual min=-0.018533 max=0.035193 Jy/beam
! Clean residual mean=0.000196 rms=0.004582 Jy/beam
! Combined flux in latest and established models = 1.69776 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 20 components and 1.69776 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.625550Jy  sigma=0.003260
! Fit after  self-cal, rms=0.625310Jy  sigma=0.003258
! Inverting map 
! Added new window around map position (-4.5, 0.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0372034 Jy
! Component: 100  -  total flux cleaned = 0.0648967 Jy
! Total flux subtracted in 100 components = 0.0648967 Jy
! Clean residual min=-0.018657 max=0.025175 Jy/beam
! Clean residual mean=0.000174 rms=0.004453 Jy/beam
! Combined flux in latest and established models = 1.76266 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 24 components and 1.76266 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.619179Jy  sigma=0.003159
! Fit after  self-cal, rms=0.619015Jy  sigma=0.003158
! 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.218 mas, bmaj=2.402 mas, bpa=86.22 degrees
! Estimated noise=220.46 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.0640556 Jy
! Component: 100  -  total flux cleaned = 0.105158 Jy
! Component: 150  -  total flux cleaned = 0.13409 Jy
! Component: 200  -  total flux cleaned = 0.154961 Jy
! Total flux subtracted in 200 components = 0.154961 Jy
! Clean residual min=-0.018400 max=0.032310 Jy/beam
! Clean residual mean=0.000937 rms=0.005725 Jy/beam
! Combined flux in latest and established models = 1.91762 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 39 components and 1.91762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.610624Jy  sigma=0.003021
! Fit after  self-cal, rms=0.610298Jy  sigma=0.003017
! Inverting map 
! Added new window around map position (-25, -6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0340736 Jy
! Component: 100  -  total flux cleaned = 0.0566561 Jy
! Component: 150  -  total flux cleaned = 0.0743178 Jy
! Component: 200  -  total flux cleaned = 0.0888391 Jy
! Total flux subtracted in 200 components = 0.0888391 Jy
! Clean residual min=-0.017168 max=0.023539 Jy/beam
! Clean residual mean=0.000608 rms=0.005130 Jy/beam
! Combined flux in latest and established models = 2.00646 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 64 components and 2.00646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.608718Jy  sigma=0.002972
! Fit after  self-cal, rms=0.608523Jy  sigma=0.002969
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.02     GC        1.03     GG        1.00*    
!   HH        1.00*    HN        0.94     KK        0.95     KP        1.09     
!   MA        0.33     MC        1.06     MK        1.06     NL        0.97     
!   NY        1.02     OV        1.03     PT        1.00     SC        0.99     
!   TS        0.98     WF        1.01     WZ        1.01     LA        0.94     
! 
!  A total of 132 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        0.90     GC        1.03     GG        1.00*    
!   HH        1.00*    HN        0.96     KK        1.02     KP        1.01     
!   MA        0.62     MC        1.05     MK        1.05     NL        0.97     
!   NY        1.02     OV        0.96     PT        0.92     SC        1.03     
!   TS        1.05     WF        1.51     WZ        1.18     LA        0.92     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 195 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.03     GC        1.03     GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.02     KP        1.17     
!   MA        1.15     MC        1.06     MK        1.06     NL        0.96     
!   NY        1.02     OV        1.04     PT        1.00     SC        1.07     
!   TS        0.97     WF        1.11     WZ        1.06     LA        1.00     
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        1.02     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        0.94     KP        1.15     
!   MA        0.87     MC        1.01     MK        1.01     NL        1.05     
!   NY        1.01     OV        1.01     PT        1.01     SC        1.16     
!   TS        0.99     WF        0.99     WZ        1.05     LA        1.00     
! 
!  A total of 651 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.04     FD        1.06     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        1.08     KP        1.08     
!   MA        0.53     MC        1.01     MK        1.06     NL        1.01     
!   NY        1.01     OV        1.03     PT        1.00     SC        1.06     
!   TS        1.00*    WF        0.92     WZ        1.03     LA        1.01     
! 
! 
! Correcting IF 2.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.04     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        1.00     KP        1.03     
!   MA        0.97     MC        0.97     MK        1.01     NL        1.01     
!   NY        1.03     OV        1.02     PT        1.00     SC        1.02     
!   TS        1.02     WF        0.99     WZ        1.00     LA        0.90     
! 
!  A total of 132 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        0.95     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.05     KK        1.06     KP        0.95     
!   MA        1.33     MC        0.88     MK        1.02     NL        0.99     
!   NY        1.03     OV        0.94     PT        0.91     SC        1.04     
!   TS        1.10     WF        1.19     WZ        1.17     LA        0.87     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 195 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.05     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.09     KP        1.11     
!   MA        1.24     MC        2.03     MK        1.02     NL        0.99     
!   NY        1.01     OV        1.03     PT        1.01     SC        1.10     
!   TS        1.01     WF        1.00     WZ        1.03     LA        0.96     
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        1.02     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.06     KK        0.97     KP        1.09     
!   MA        0.85     MC        1.01     MK        0.96     NL        1.07     
!   NY        1.03     OV        1.00     PT        1.02     SC        1.17     
!   TS        1.03     WF        0.99     WZ        1.05     LA        0.94     
! 
!  A total of 651 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.04     FD        1.08     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        1.06     KK        1.10     KP        1.03     
!   MA        0.95     MC        0.88     MK        1.00     NL        1.05     
!   NY        1.02     OV        1.02     PT        1.01     SC        1.14     
!   TS        1.00*    WF        0.99     WZ        1.01     LA        0.96     
! 
! 
! Correcting IF 3.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.02     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        0.97     KP        1.02     
!   MA        0.68     MC        0.92     MK        1.03     NL        0.96     
!   NY        1.03     OV        1.05     PT        0.94     SC        1.01     
!   TS        1.04     WF        1.00     WZ        1.05     LA        0.95     
! 
!  A total of 132 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.93     FD        0.94     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        1.01     KK        1.04     KP        0.91     
!   MA        1.05     MC        0.68     MK        1.00     NL        0.96     
!   NY        1.04     OV        0.98     PT        0.91     SC        1.05     
!   TS        1.12     WF        1.06     WZ        1.21     LA        0.92     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 195 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.99     FD        1.04     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        1.06     KP        1.04     
!   MA        1.28     MC        0.92     MK        1.02     NL        0.95     
!   NY        1.02     OV        1.06     PT        0.99     SC        1.10     
!   TS        1.03     WF        0.97     WZ        1.09     LA        1.01     
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.96     FD        1.03     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.01     KK        0.98     KP        0.98     
!   MA        0.72     MC        0.72     MK        0.97     NL        1.01     
!   NY        1.03     OV        1.03     PT        0.99     SC        1.20     
!   TS        1.05     WF        0.99     WZ        1.08     LA        1.00     
! 
!  A total of 651 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.02     FD        1.07     GC        0.96     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.08     KP        1.02     
!   MA        0.63     MC        0.94     MK        1.02     NL        1.00     
!   NY        0.99     OV        1.05     PT        0.99     SC        1.12     
!   TS        1.00*    WF        1.00     WZ        1.05     LA        1.01     
! 
! 
! Correcting IF 4.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.03     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        1.02     KP        1.01     
!   MA        0.81     MC        0.88     MK        1.06     NL        1.00     
!   NY        1.00     OV        1.01     PT        0.83     SC        1.03     
!   TS        1.04     WF        0.99     WZ        1.04     LA        0.99     
! 
!  A total of 132 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.95     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.06     KP        0.96     
!   MA        1.59     MC        0.89     MK        1.05     NL        0.98     
!   NY        0.97     OV        0.95     PT        0.92     SC        1.04     
!   TS        1.09     WF        1.91     WZ        1.22     LA        0.93     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 195 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.03     GC        1.04     GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.07     KP        1.04     
!   MA        1.52     MC        1.20     MK        1.06     NL        0.97     
!   NY        0.99     OV        1.04     PT        1.02     SC        1.08     
!   TS        1.03     WF        0.99     WZ        1.07     LA        1.00     
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.97     FD        1.02     GC        1.05     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00     KP        1.05     
!   MA        1.05     MC        1.04     MK        1.00     NL        1.03     
!   NY        1.02     OV        0.99     PT        1.02     SC        1.18     
!   TS        1.07     WF        0.99     WZ        1.07     LA        0.99     
! 
!  A total of 651 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.04     FD        1.06     GC        0.97     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.10     KP        1.02     
!   MA        0.85     MC        1.29     MK        1.06     NL        1.01     
!   NY        0.97     OV        1.02     PT        1.01     SC        1.13     
!   TS        1.00*    WF        1.00     WZ        1.05     LA        1.01     
! 
! 
! Fit before self-cal, rms=0.608523Jy  sigma=0.002969
! Fit after  self-cal, rms=0.471023Jy  sigma=0.002325
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.252 mas, bmaj=2.383 mas, bpa=84 degrees
! Estimated noise=219.219 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.0178607 Jy
! Component: 100  -  total flux cleaned = -0.026291 Jy
! Component: 150  -  total flux cleaned = -0.0269589 Jy
! Component: 200  -  total flux cleaned = -0.0275462 Jy
! Total flux subtracted in 200 components = -0.0275462 Jy
! Clean residual min=-0.017283 max=0.020359 Jy/beam
! Clean residual mean=0.000524 rms=0.003346 Jy/beam
! Combined flux in latest and established models = 1.97892 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 80 components and 1.97892 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.470061Jy  sigma=0.002315
! Fit after  self-cal, rms=0.470364Jy  sigma=0.002314
! Inverting map 
! Added new window around map position (-8, -1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0176974 Jy
! Component: 100  -  total flux cleaned = 0.0210153 Jy
! Component: 150  -  total flux cleaned = 0.0210176 Jy
! Component: 200  -  total flux cleaned = 0.0212925 Jy
! Total flux subtracted in 200 components = 0.0212925 Jy
! Clean residual min=-0.017248 max=0.013469 Jy/beam
! Clean residual mean=0.000440 rms=0.003219 Jy/beam
! Combined flux in latest and established models = 2.00021 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 91 components and 2.00021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.469502Jy  sigma=0.002303
! Fit after  self-cal, rms=0.469438Jy  sigma=0.002302
! 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.469438Jy  sigma=0.002302
! Fit after  self-cal, rms=0.908234Jy  sigma=0.001907
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.246 mas, bmaj=2.406 mas, bpa=89.48 degrees
! Estimated noise=220.108 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00344549 Jy
! Component: 100  -  total flux cleaned = 0.00648538 Jy
! Component: 150  -  total flux cleaned = 0.00908655 Jy
! Component: 200  -  total flux cleaned = 0.0113747 Jy
! Total flux subtracted in 200 components = 0.0113747 Jy
! Clean residual min=-0.007963 max=0.011270 Jy/beam
! Clean residual mean=0.000455 rms=0.001684 Jy/beam
! Combined flux in latest and established models = 2.01158 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 109 components and 2.01158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.907963Jy  sigma=0.001892
! Fit after  self-cal, rms=0.909619Jy  sigma=0.001892
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 (-30, -8.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0126704 Jy
! Component: 100  -  total flux cleaned = 0.0207424 Jy
! Component: 150  -  total flux cleaned = 0.02428 Jy
! Component: 200  -  total flux cleaned = 0.0266525 Jy
! Total flux subtracted in 200 components = 0.0266525 Jy
! Clean residual min=-0.007249 max=0.008058 Jy/beam
! Clean residual mean=0.000363 rms=0.001405 Jy/beam
! Combined flux in latest and established models = 2.03824 Jy
! Performing phase self-cal
! Adding 49 model components to the UV plane model.
! The established model now contains 145 components and 2.03824 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.909386Jy  sigma=0.001881
! Fit after  self-cal, rms=0.909432Jy  sigma=0.001880
! Inverting map 
! Added new window around map position (-26.5, -14).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00857776 Jy
! Component: 100  -  total flux cleaned = 0.0129484 Jy
! Component: 150  -  total flux cleaned = 0.0152792 Jy
! Component: 200  -  total flux cleaned = 0.0174533 Jy
! Total flux subtracted in 200 components = 0.0174533 Jy
! Clean residual min=-0.006715 max=0.007400 Jy/beam
! Clean residual mean=0.000302 rms=0.001284 Jy/beam
! Combined flux in latest and established models = 2.05569 Jy
! Performing phase self-cal
! Adding 52 model components to the UV plane model.
! The established model now contains 174 components and 2.05569 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.909299Jy  sigma=0.001875
! Fit after  self-cal, rms=0.909368Jy  sigma=0.001875
! Inverting map 
! Added new window around map position (-38, -9).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00813925 Jy
! Component: 100  -  total flux cleaned = 0.012634 Jy
! Component: 150  -  total flux cleaned = 0.0146343 Jy
! Component: 200  -  total flux cleaned = 0.0165152 Jy
! Total flux subtracted in 200 components = 0.0165152 Jy
! Clean residual min=-0.006398 max=0.006085 Jy/beam
! Clean residual mean=0.000251 rms=0.001145 Jy/beam
! Combined flux in latest and established models = 2.0722 Jy
! Performing phase self-cal
! Adding 50 model components to the UV plane model.
! The established model now contains 201 components and 2.0722 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.909272Jy  sigma=0.001870
! Fit after  self-cal, rms=0.909294Jy  sigma=0.001870
! 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.909294Jy  sigma=0.001870
! Fit after  self-cal, rms=0.933618Jy  sigma=0.001867
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.246 mas, bmaj=2.411 mas, bpa=-89.42 degrees
! Estimated noise=220.195 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00181533 Jy
! Component: 100  -  total flux cleaned = 0.000377508 Jy
! Component: 150  -  total flux cleaned = 0.00199126 Jy
! Component: 200  -  total flux cleaned = 0.00388566 Jy
! Total flux subtracted in 200 components = 0.00388566 Jy
! Clean residual min=-0.005931 max=0.005717 Jy/beam
! Clean residual mean=0.000278 rms=0.001057 Jy/beam
! Combined flux in latest and established models = 2.07609 Jy
selfcal
! Performing phase self-cal
! Adding 49 model components to the UV plane model.
! The established model now contains 213 components and 2.07609 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.933561Jy  sigma=0.001863
! Fit after  self-cal, rms=0.933653Jy  sigma=0.001862
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.0020061 Jy
! Component: 100  -  total flux cleaned = 0.00390195 Jy
! Component: 150  -  total flux cleaned = 0.00553137 Jy
! Component: 200  -  total flux cleaned = 0.00708322 Jy
! Total flux subtracted in 200 components = 0.00708322 Jy
! Clean residual min=-0.005225 max=0.005307 Jy/beam
! Clean residual mean=0.000254 rms=0.001003 Jy/beam
! Combined flux in latest and established models = 2.08317 Jy
! Performing phase self-cal
! Adding 55 model components to the UV plane model.
! The established model now contains 221 components and 2.08317 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.933611Jy  sigma=0.001860
! Fit after  self-cal, rms=0.933635Jy  sigma=0.001860
! 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.933635Jy  sigma=0.001860
! Fit after  self-cal, rms=0.944358Jy  sigma=0.001860
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.028 mas, bmaj=8.46 mas, bpa=-12.95 degrees
! Estimated noise=372.183 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0145797 Jy
! Component: 100  -  total flux cleaned = 0.0223266 Jy
! Component: 150  -  total flux cleaned = 0.0270394 Jy
! Component: 200  -  total flux cleaned = 0.0305531 Jy
! Total flux subtracted in 200 components = 0.0305531 Jy
! Clean residual min=-0.006124 max=0.011514 Jy/beam
! Clean residual mean=0.000673 rms=0.002233 Jy/beam
! Combined flux in latest and established models = 2.11373 Jy
selfcal
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 245 components and 2.11373 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.944351Jy  sigma=0.001859
! Fit after  self-cal, rms=0.944376Jy  sigma=0.001858
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 (-33, 5.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0117632 Jy
! Component: 100  -  total flux cleaned = 0.0185415 Jy
! Component: 150  -  total flux cleaned = 0.0214492 Jy
! Component: 200  -  total flux cleaned = 0.0232422 Jy
! Total flux subtracted in 200 components = 0.0232422 Jy
! Clean residual min=-0.005983 max=0.005393 Jy/beam
! Clean residual mean=0.000331 rms=0.001514 Jy/beam
! Combined flux in latest and established models = 2.13697 Jy
! Performing phase self-cal
! Adding 81 model components to the UV plane model.
! The established model now contains 320 components and 2.13697 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.944346Jy  sigma=0.001857
! Fit after  self-cal, rms=0.944360Jy  sigma=0.001856
! 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.246 mas, bmaj=2.415 mas, bpa=-88.87 degrees
! Estimated noise=220.25 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.246 x 2.415 at -88.87 degrees (North through East)
! Clean map  min=-0.0032334  max=1.4525 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.944360Jy  sigma=0.001856
! Fit after  self-cal, rms=1.751085Jy  sigma=0.001576
! Inverting map and beam 
! Estimated beam: bmin=2.246 mas, bmaj=2.415 mas, bpa=-88.59 degrees
! Estimated noise=219.981 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00245318 Jy
! Component: 100  -  total flux cleaned = -0.00174201 Jy
! Component: 150  -  total flux cleaned = -0.000773061 Jy
! Component: 200  -  total flux cleaned = -0.000170222 Jy
! Total flux subtracted in 200 components = -0.000170222 Jy
! Clean residual min=-0.004461 max=0.003220 Jy/beam
! Clean residual mean=0.000082 rms=0.000657 Jy/beam
! Combined flux in latest and established models = 2.1368 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 331 components and 2.1368 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.751060Jy  sigma=0.001573
! Fit after  self-cal, rms=1.751064Jy  sigma=0.001573
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000197037 Jy
! Component: 100  -  total flux cleaned = 0.000357999 Jy
! Component: 150  -  total flux cleaned = 0.00100594 Jy
! Component: 200  -  total flux cleaned = 0.00125141 Jy
! Total flux subtracted in 200 components = 0.00125141 Jy
! Clean residual min=-0.004037 max=0.003248 Jy/beam
! Clean residual mean=0.000078 rms=0.000630 Jy/beam
! Combined flux in latest and established models = 2.13805 Jy
! Performing phase self-cal
! Adding 45 model components to the UV plane model.
! The established model now contains 346 components and 2.13805 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.751051Jy  sigma=0.001572
! Fit after  self-cal, rms=1.751051Jy  sigma=0.001572
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.751051Jy  sigma=0.001572
! Fit after  self-cal, rms=1.760967Jy  sigma=0.001571
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=1.912 mas, bmaj=1.935 mas, bpa=-36.61 degrees
! Estimated noise=467.302 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.05757 Jy
! Component: 100  -  total flux cleaned = 1.3803 Jy
! Component: 150  -  total flux cleaned = 1.54102 Jy
! Component: 200  -  total flux cleaned = 1.62431 Jy
! Total flux subtracted in 200 components = 1.62431 Jy
! Clean residual min=-0.007900 max=0.041351 Jy/beam
! Clean residual mean=0.000166 rms=0.002228 Jy/beam
! Combined flux in latest and established models = 1.62431 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 8 model components to the UV plane model.
! The established model now contains 8 components and 1.62431 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.245 mas, bmaj=2.418 mas, bpa=-88.35 degrees
! Estimated noise=219.947 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.093798 Jy
! Component: 100  -  total flux cleaned = 0.151785 Jy
! Component: 150  -  total flux cleaned = 0.193497 Jy
! Component: 200  -  total flux cleaned = 0.226356 Jy
! Total flux subtracted in 200 components = 0.226356 Jy
! Clean residual min=-0.005222 max=0.019965 Jy/beam
! Clean residual mean=0.001123 rms=0.003220 Jy/beam
! Combined flux in latest and established models = 1.85067 Jy
! Adding 55 model components to the UV plane model.
! The established model now contains 56 components and 1.85067 Jy
! Inverting map 
! Added new window around map position (-4, -2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0270348 Jy
! Component: 100  -  total flux cleaned = 0.0499186 Jy
! Component: 150  -  total flux cleaned = 0.0696955 Jy
! Component: 200  -  total flux cleaned = 0.0870028 Jy
! Total flux subtracted in 200 components = 0.0870028 Jy
! Clean residual min=-0.003637 max=0.011040 Jy/beam
! Clean residual mean=0.000788 rms=0.002174 Jy/beam
! Combined flux in latest and established models = 1.93767 Jy
! Adding 104 model components to the UV plane model.
! The established model now contains 147 components and 1.93767 Jy
! Inverting map 
! Added new window around map position (-24, -10).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0153273 Jy
! Component: 100  -  total flux cleaned = 0.0290313 Jy
! Component: 150  -  total flux cleaned = 0.0414208 Jy
! Component: 200  -  total flux cleaned = 0.0526663 Jy
! Total flux subtracted in 200 components = 0.0526663 Jy
! Clean residual min=-0.002828 max=0.007878 Jy/beam
! Clean residual mean=0.000595 rms=0.001615 Jy/beam
! Combined flux in latest and established models = 1.99034 Jy
! Adding 110 model components to the UV plane model.
! The established model now contains 224 components and 1.99034 Jy
! Inverting map 
! Added new window around map position (-13, -4.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0103437 Jy
! Component: 100  -  total flux cleaned = 0.0197685 Jy
! Component: 150  -  total flux cleaned = 0.0284339 Jy
! Component: 200  -  total flux cleaned = 0.0364357 Jy
! Total flux subtracted in 200 components = 0.0364357 Jy
! Clean residual min=-0.002448 max=0.005284 Jy/beam
! Clean residual mean=0.000463 rms=0.001258 Jy/beam
! Combined flux in latest and established models = 2.02677 Jy
! Adding 113 model components to the UV plane model.
! The established model now contains 298 components and 2.02677 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.024 mas, bmaj=8.461 mas, bpa=-13.15 degrees
! Estimated noise=371.429 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0264298 Jy
! Component: 100  -  total flux cleaned = 0.0455321 Jy
! Component: 150  -  total flux cleaned = 0.0603799 Jy
! Component: 200  -  total flux cleaned = 0.0722873 Jy
! Total flux subtracted in 200 components = 0.0722873 Jy
! Clean residual min=-0.002879 max=0.007724 Jy/beam
! Clean residual mean=0.000912 rms=0.002197 Jy/beam
! Combined flux in latest and established models = 2.09906 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.00970225 Jy
! Component: 100  -  total flux cleaned = 0.0177012 Jy
! Component: 150  -  total flux cleaned = 0.0243588 Jy
! Component: 200  -  total flux cleaned = 0.0299462 Jy
! Total flux subtracted in 200 components = 0.0299462 Jy
! Clean residual min=-0.002663 max=0.004936 Jy/beam
! Clean residual mean=0.000453 rms=0.001334 Jy/beam
! Combined flux in latest and established models = 2.12901 Jy
! Adding 254 model components to the UV plane model.
! The established model now contains 526 components and 2.12901 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.245 mas, bmaj=2.418 mas, bpa=-88.35 degrees
! Estimated noise=219.947 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00169134 Jy
! Component: 100  -  total flux cleaned = 0.00305942 Jy
! Component: 150  -  total flux cleaned = 0.00449951 Jy
! Component: 200  -  total flux cleaned = 0.00575117 Jy
! Total flux subtracted in 200 components = 0.00575117 Jy
! Clean residual min=-0.001730 max=0.002623 Jy/beam
! Clean residual mean=0.000088 rms=0.000519 Jy/beam
! Combined flux in latest and established models = 2.13476 Jy
selfcal
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 550 components and 2.13476 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.760952Jy  sigma=0.001564
! Fit after  self-cal, rms=1.760897Jy  sigma=0.001564
wmodel J1800+7828_S_2000_05_22_pus_map.mod
! Writing 550 model components to file: J1800+7828_S_2000_05_22_pus_map.mod
wobs J1800+7828_S_2000_05_22_pus_uvs.fits
! Writing UV FITS file: J1800+7828_S_2000_05_22_pus_uvs.fits
wwins J1800+7828_S_2000_05_22_pus_map.win
! wwins: Wrote 12 windows to J1800+7828_S_2000_05_22_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=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00107322 Jy
! Component: 100  -  total flux cleaned = 0.00178464 Jy
! Component: 150  -  total flux cleaned = 0.00253011 Jy
! Component: 200  -  total flux cleaned = 0.00327219 Jy
! Component: 250  -  total flux cleaned = 0.00387625 Jy
! Component: 300  -  total flux cleaned = 0.00438893 Jy
! Component: 350  -  total flux cleaned = 0.00488638 Jy
! Component: 400  -  total flux cleaned = 0.00534048 Jy
! Component: 450  -  total flux cleaned = 0.00572301 Jy
! Component: 500  -  total flux cleaned = 0.00613084 Jy
! Component: 550  -  total flux cleaned = 0.00643976 Jy
! Component: 600  -  total flux cleaned = 0.00674462 Jy
! Component: 650  -  total flux cleaned = 0.00698603 Jy
! Component: 700  -  total flux cleaned = 0.00737378 Jy
! Component: 750  -  total flux cleaned = 0.00769799 Jy
! Component: 800  -  total flux cleaned = 0.00793129 Jy
! Component: 850  -  total flux cleaned = 0.00819149 Jy
! Component: 900  -  total flux cleaned = 0.00850654 Jy
! Component: 950  -  total flux cleaned = 0.00876182 Jy
! Component: 1000  -  total flux cleaned = 0.00904321 Jy
! Component: 1050  -  total flux cleaned = 0.00940494 Jy
! Component: 1100  -  total flux cleaned = 0.00965307 Jy
! Component: 1150  -  total flux cleaned = 0.00995375 Jy
! Component: 1200  -  total flux cleaned = 0.0101706 Jy
! Component: 1250  -  total flux cleaned = 0.0104397 Jy
! Component: 1300  -  total flux cleaned = 0.0107066 Jy
! Component: 1350  -  total flux cleaned = 0.0109185 Jy
! Component: 1400  -  total flux cleaned = 0.0111818 Jy
! Component: 1450  -  total flux cleaned = 0.011417 Jy
! Component: 1500  -  total flux cleaned = 0.0116245 Jy
! Component: 1550  -  total flux cleaned = 0.011805 Jy
! Component: 1600  -  total flux cleaned = 0.0120099 Jy
! Component: 1650  -  total flux cleaned = 0.0120863 Jy
! Component: 1700  -  total flux cleaned = 0.0123142 Jy
! Component: 1750  -  total flux cleaned = 0.0124148 Jy
! Component: 1800  -  total flux cleaned = 0.0126401 Jy
! Component: 1850  -  total flux cleaned = 0.0127146 Jy
! Component: 1900  -  total flux cleaned = 0.0129616 Jy
! Component: 1950  -  total flux cleaned = 0.0130353 Jy
! Component: 2000  -  total flux cleaned = 0.0132553 Jy
! Total flux subtracted in 2048 components = 0.0133767 Jy
! Clean residual min=-0.001261 max=0.001474 Jy/beam
! Clean residual mean=0.000043 rms=0.000437 Jy/beam
! Combined flux in latest and established models = 2.14814 Jy
keep
! Adding 155 model components to the UV plane model.
! The established model now contains 696 components and 2.14814 Jy
![Exited script file: muppet]
wmap "J1800+7828_S_2000_05_22_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.245 x 2.418 at -88.35 degrees (North through East)
! Clean map  min=-0.0015101  max=1.456 Jy/beam
! Writing clean map to FITS file: J1800+7828_S_2000_05_22_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.45598 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000436616 
device "J1800+7828_S_2000_05_22_pus\_map.eps/VPS"
! Attempting to open device: 'J1800+7828_S_2000_05_22_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0899632 0.0899632 0.179926 0.359853 0.719706 1.43941 2.87882 5.75765 11.5153 23.0306 46.0612 92.1224
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.455 
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.245 x 2.418 at -88.35 degrees (North through East)
! Clean map  min=-0.0015101  max=1.456 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1800+7828_S_2000_05_22_pus\_map.gif/vgif"
! Attempting to open device: 'J1800+7828_S_2000_05_22_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1800+7828_S_2000_05_22_pus_uvs.log closed on Mon Nov 19 18:58:14 2007