! Started logfile: J1337-1257_S_1999_12_20_pus_uvs.log on Thu Dec 20 15:17:50 2007
obs J1337-1257_S_1999_12_20_pus_uva.fits
! Reading UV FITS file: J1337-1257_S_1999_12_20_pus_uva.fits
! AN table 1: 79 integrations on 190 of 190 possible baselines.
! AN table 2: 31 integrations on 190 of 190 possible baselines.
! AN table 3: 51 integrations on 190 of 190 possible baselines.
! AN table 4: 206 integrations on 190 of 190 possible baselines.
! AN table 5: 29 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0675704 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1337-1257
! 
! 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 2298 lines of history.
! 
! Reading 20336 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 J1337-1257_S_1999_12_20_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 1373 telescope corrections were flagged in sub-array 1.
!  A total of 425 telescope corrections were flagged in sub-array 2.
!  A total of 693 telescope corrections were flagged in sub-array 3.
!  A total of 3295 telescope corrections were flagged in sub-array 4.
!  A total of 489 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 1373 telescope corrections were flagged in sub-array 1.
!  A total of 425 telescope corrections were flagged in sub-array 2.
!  A total of 693 telescope corrections were flagged in sub-array 3.
!  A total of 3295 telescope corrections were flagged in sub-array 4.
!  A total of 489 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 1383 telescope corrections were flagged in sub-array 1.
!  A total of 425 telescope corrections were flagged in sub-array 2.
!  A total of 707 telescope corrections were flagged in sub-array 3.
!  A total of 3295 telescope corrections were flagged in sub-array 4.
!  A total of 550 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 1373 telescope corrections were flagged in sub-array 1.
!  A total of 425 telescope corrections were flagged in sub-array 2.
!  A total of 693 telescope corrections were flagged in sub-array 3.
!  A total of 3295 telescope corrections were flagged in sub-array 4.
!  A total of 489 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=1.527146Jy  sigma=0.011906
! Fit after  self-cal, rms=0.629625Jy  sigma=0.005323
! 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.915 mas, bmaj=3.969 mas, bpa=11.29 degrees
! Estimated noise=1333.34 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.15226 Jy
! Component: 100  -  total flux cleaned = 1.46431 Jy
! Total flux subtracted in 100 components = 1.46431 Jy
! Clean residual min=-0.046853 max=0.136251 Jy/beam
! Clean residual mean=-0.000627 rms=0.012845 Jy/beam
! Combined flux in latest and established models = 1.46431 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 1.46431 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.349684Jy  sigma=0.002663
! Fit after  self-cal, rms=0.349400Jy  sigma=0.002662
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.149553 Jy
! Component: 100  -  total flux cleaned = 0.23101 Jy
! Total flux subtracted in 100 components = 0.23101 Jy
! Clean residual min=-0.035125 max=0.051343 Jy/beam
! Clean residual mean=-0.000291 rms=0.007533 Jy/beam
! Combined flux in latest and established models = 1.69532 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 24 components and 1.69532 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.303572Jy  sigma=0.001930
! Fit after  self-cal, rms=0.303022Jy  sigma=0.001927
! Inverting map 
! Added new window around map position (2, -4.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0522944 Jy
! Component: 100  -  total flux cleaned = 0.0815427 Jy
! Total flux subtracted in 100 components = 0.0815427 Jy
! Clean residual min=-0.034499 max=0.033747 Jy/beam
! Clean residual mean=-0.000175 rms=0.006486 Jy/beam
! Combined flux in latest and established models = 1.77686 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 38 components and 1.77686 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305694Jy  sigma=0.001852
! Fit after  self-cal, rms=0.305029Jy  sigma=0.001848
! 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.987 mas, bmaj=5.933 mas, bpa=7.668 degrees
! Estimated noise=692.405 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.0104554 Jy
! Component: 100  -  total flux cleaned = -0.0133721 Jy
! Component: 150  -  total flux cleaned = -0.0155822 Jy
! Component: 200  -  total flux cleaned = -0.0172788 Jy
! Total flux subtracted in 200 components = -0.0172788 Jy
! Clean residual min=-0.036369 max=0.047707 Jy/beam
! Clean residual mean=-0.001220 rms=0.013109 Jy/beam
! Combined flux in latest and established models = 1.75958 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 51 components and 1.75958 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299837Jy  sigma=0.001840
! Fit after  self-cal, rms=0.299533Jy  sigma=0.001838
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.99     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.95     MK        1.00*    NY        1.00*    ON        1.12     
!   OV        1.00*    PT        1.00*    SC        1.12     TS        1.00*    
!   WF        1.05     WZ        1.02     GN        1.00*    NL        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.94     KK        1.00     KP        0.93     LA        0.96     
!   MC        1.00*    MK        1.01     NY        1.00*    ON        1.00*    
!   OV        0.96     PT        0.99     SC        0.99     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.98     GC        1.00*    HH        0.99     
!   HN        0.96     KK        1.00*    KP        1.01     LA        1.01     
!   MC        2.29     MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.04     PT        1.03     SC        1.08     TS        1.00*    
!   WF        1.00     WZ        1.01     GN        0.94     NL        0.97     
! 
!  A total of 309 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        1.22     KK        1.00     KP        0.91     LA        0.97     
!   MC        1.00*    MK        0.99     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        1.01     SC        1.03     TS        1.00*    
!   WF        1.42     WZ        1.00*    GN        1.02     NL        1.00*    
! 
!  A total of 51 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.98     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.03     MK        1.00*    NY        1.00*    ON        1.03     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        0.90     GN        1.00*    NL        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.99     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.87     MK        1.00*    NY        1.00*    ON        1.11     
!   OV        1.00*    PT        1.00*    SC        1.16     TS        1.00*    
!   WF        1.06     WZ        1.06     GN        1.00*    NL        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        0.98     KK        0.97     KP        0.96     LA        0.94     
!   MC        1.00*    MK        0.97     NY        1.00*    ON        1.00*    
!   OV        0.94     PT        0.96     SC        0.98     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.03     GC        1.00*    HH        1.00     
!   HN        1.03     KK        1.00*    KP        1.01     LA        0.97     
!   MC        0.86     MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.01     PT        0.99     SC        1.00     TS        1.00*    
!   WF        0.99     WZ        1.04     GN        0.96     NL        0.98     
! 
!  A total of 309 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.02     GC        1.00*    HH        1.00*    
!   HN        1.26     KK        0.99     KP        0.97     LA        0.94     
!   MC        1.00*    MK        0.96     NY        1.00*    ON        1.00*    
!   OV        0.96     PT        0.98     SC        1.00     TS        1.00*    
!   WF        1.39     WZ        1.00*    GN        1.02     NL        1.00*    
! 
!  A total of 51 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        1.00     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.89     MK        1.00*    NY        1.00*    ON        1.15     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        0.98     GN        1.00*    NL        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.93     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.12     
!   OV        1.00*    PT        1.00*    SC        1.19     TS        1.00*    
!   WF        1.07     WZ        1.01     GN        1.00*    NL        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.94     KK        0.98     KP        0.98     LA        0.95     
!   MC        1.00*    MK        0.95     NY        1.00*    ON        1.00*    
!   OV        0.97     PT        0.94     SC        0.98     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GC        1.00*    HH        1.02     
!   HN        0.97     KK        1.00*    KP        0.98     LA        0.99     
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.04     PT        0.96     SC        1.05     TS        1.00*    
!   WF        0.97     WZ        1.06     GN        0.95     NL        0.96     
! 
!  A total of 309 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.97     FD        0.98     GC        1.00*    HH        1.00*    
!   HN        1.25     KK        0.97     KP        0.98     LA        0.96     
!   MC        1.00*    MK        0.95     NY        1.00*    ON        1.00*    
!   OV        0.98     PT        0.96     SC        1.01     TS        1.00*    
!   WF        1.35     WZ        1.00*    GN        1.00     NL        1.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    GN        0.00*    NL        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.90     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.11     MK        1.00*    NY        1.00*    ON        1.09     
!   OV        1.00*    PT        1.00*    SC        1.27     TS        1.00*    
!   WF        1.05     WZ        1.03     GN        1.00*    NL        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.94     FD        0.95     GC        1.00*    HH        1.00*    
!   HN        0.94     KK        0.97     KP        0.95     LA        0.95     
!   MC        1.00*    MK        0.98     NY        1.00*    ON        1.00*    
!   OV        0.90     PT        1.08     SC        0.97     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.98     GC        1.00*    HH        1.03     
!   HN        0.96     KK        1.00*    KP        0.97     LA        0.98     
!   MC        1.14     MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        0.97     PT        0.98     SC        1.04     TS        1.00*    
!   WF        0.98     WZ        1.05     GN        0.93     NL        0.93     
! 
!  A total of 309 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.94     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        1.22     KK        0.94     KP        0.96     LA        0.96     
!   MC        1.00*    MK        0.97     NY        1.00*    ON        1.00*    
!   OV        0.93     PT        1.11     SC        0.99     TS        1.00*    
!   WF        1.35     WZ        1.00*    GN        1.00     NL        1.00*    
! 
!  A total of 51 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.89     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.95     MK        1.00*    NY        1.00*    ON        1.13     
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.03     GN        1.00*    NL        1.00*    
! 
! 
! Fit before self-cal, rms=0.299533Jy  sigma=0.001838
! Fit after  self-cal, rms=0.259205Jy  sigma=0.001395
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.952 mas, bmaj=6.251 mas, bpa=5.961 degrees
! Estimated noise=710.81 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 (6.5, -7).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0154267 Jy
! Component: 100  -  total flux cleaned = 0.0175468 Jy
! Component: 150  -  total flux cleaned = 0.0188541 Jy
! Component: 200  -  total flux cleaned = 0.0199095 Jy
! Total flux subtracted in 200 components = 0.0199095 Jy
! Clean residual min=-0.007454 max=0.010013 Jy/beam
! Clean residual mean=0.001666 rms=0.002099 Jy/beam
! Combined flux in latest and established models = 1.77949 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 70 components and 1.77949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.257127Jy  sigma=0.001380
! Fit after  self-cal, rms=0.257482Jy  sigma=0.001379
! 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.257482Jy  sigma=0.001379
! Fit after  self-cal, rms=0.257242Jy  sigma=0.001377
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.952 mas, bmaj=6.244 mas, bpa=5.976 degrees
! Estimated noise=710.402 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00448107 Jy
! Component: 100  -  total flux cleaned = 0.00494944 Jy
! Component: 150  -  total flux cleaned = 0.00591112 Jy
! Component: 200  -  total flux cleaned = 0.0065765 Jy
! Total flux subtracted in 200 components = 0.0065765 Jy
! Clean residual min=-0.006630 max=0.009109 Jy/beam
! Clean residual mean=0.001511 rms=0.001867 Jy/beam
! Combined flux in latest and established models = 1.78607 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 82 components and 1.78607 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256688Jy  sigma=0.001374
! Fit after  self-cal, rms=0.256649Jy  sigma=0.001373
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, -33.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00925664 Jy
! Component: 100  -  total flux cleaned = 0.0131043 Jy
! Component: 150  -  total flux cleaned = 0.015142 Jy
! Component: 200  -  total flux cleaned = 0.0159831 Jy
! Total flux subtracted in 200 components = 0.0159831 Jy
! Clean residual min=-0.005966 max=0.007056 Jy/beam
! Clean residual mean=0.001340 rms=0.001580 Jy/beam
! Combined flux in latest and established models = 1.80205 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 101 components and 1.80205 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255991Jy  sigma=0.001370
! Fit after  self-cal, rms=0.255964Jy  sigma=0.001370
! Inverting map 
! Added new window around map position (-54, -24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00585359 Jy
! Component: 100  -  total flux cleaned = 0.00839847 Jy
! Component: 150  -  total flux cleaned = 0.0108796 Jy
! Component: 200  -  total flux cleaned = 0.0118759 Jy
! Total flux subtracted in 200 components = 0.0118759 Jy
! Clean residual min=-0.005883 max=0.006329 Jy/beam
! Clean residual mean=0.001271 rms=0.001504 Jy/beam
! Combined flux in latest and established models = 1.81392 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 118 components and 1.81392 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255516Jy  sigma=0.001368
! Fit after  self-cal, rms=0.255496Jy  sigma=0.001368
! 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.255496Jy  sigma=0.001368
! Fit after  self-cal, rms=0.256411Jy  sigma=0.001367
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.951 mas, bmaj=6.233 mas, bpa=6.027 degrees
! Estimated noise=711.315 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00387608 Jy
! Component: 100  -  total flux cleaned = 0.00580185 Jy
! Component: 150  -  total flux cleaned = 0.00685377 Jy
! Component: 200  -  total flux cleaned = 0.00733522 Jy
! Total flux subtracted in 200 components = 0.00733522 Jy
! Clean residual min=-0.005300 max=0.006078 Jy/beam
! Clean residual mean=0.001278 rms=0.001461 Jy/beam
! Combined flux in latest and established models = 1.82126 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 124 components and 1.82126 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256120Jy  sigma=0.001366
! Fit after  self-cal, rms=0.256112Jy  sigma=0.001366
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 (20.5, -34).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00547627 Jy
! Component: 100  -  total flux cleaned = 0.00730397 Jy
! Component: 150  -  total flux cleaned = 0.00743459 Jy
! Component: 200  -  total flux cleaned = 0.00755363 Jy
! Total flux subtracted in 200 components = 0.00755363 Jy
! Clean residual min=-0.005164 max=0.006075 Jy/beam
! Clean residual mean=0.001177 rms=0.001377 Jy/beam
! Combined flux in latest and established models = 1.82881 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 140 components and 1.82881 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255808Jy  sigma=0.001364
! Fit after  self-cal, rms=0.255779Jy  sigma=0.001364
! 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.255779Jy  sigma=0.001364
! Fit after  self-cal, rms=0.256317Jy  sigma=0.001363
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.536 mas, bmaj=15.05 mas, bpa=9.322 degrees
! Estimated noise=848.582 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00560433 Jy
! Component: 100  -  total flux cleaned = 0.00864089 Jy
! Component: 150  -  total flux cleaned = 0.00968513 Jy
! Component: 200  -  total flux cleaned = 0.0100621 Jy
! Total flux subtracted in 200 components = 0.0100621 Jy
! Clean residual min=-0.002943 max=0.007532 Jy/beam
! Clean residual mean=0.002345 rms=0.001624 Jy/beam
! Combined flux in latest and established models = 1.83888 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 155 components and 1.83888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256090Jy  sigma=0.001363
! Fit after  self-cal, rms=0.256083Jy  sigma=0.001362
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 (-39, -4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00772239 Jy
! Component: 100  -  total flux cleaned = 0.0128296 Jy
! Component: 150  -  total flux cleaned = 0.0165767 Jy
! Component: 200  -  total flux cleaned = 0.0195637 Jy
! Total flux subtracted in 200 components = 0.0195637 Jy
! Clean residual min=-0.002218 max=0.006153 Jy/beam
! Clean residual mean=0.001895 rms=0.001391 Jy/beam
! Combined flux in latest and established models = 1.85844 Jy
! Performing phase self-cal
! Adding 45 model components to the UV plane model.
! The established model now contains 199 components and 1.85844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255703Jy  sigma=0.001361
! Fit after  self-cal, rms=0.255686Jy  sigma=0.001361
! Inverting map 
! Added new window around map position (-63, -61).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00594826 Jy
! Component: 100  -  total flux cleaned = 0.00975225 Jy
! Component: 150  -  total flux cleaned = 0.0129892 Jy
! Component: 200  -  total flux cleaned = 0.0158895 Jy
! Total flux subtracted in 200 components = 0.0158895 Jy
! Clean residual min=-0.001872 max=0.005930 Jy/beam
! Clean residual mean=0.001802 rms=0.001322 Jy/beam
! Combined flux in latest and established models = 1.87433 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 235 components and 1.87433 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255368Jy  sigma=0.001361
! Fit after  self-cal, rms=0.255367Jy  sigma=0.001361
! 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.951 mas, bmaj=6.228 mas, bpa=6.05 degrees
! Estimated noise=712.421 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.951 x 6.228 at 6.05 degrees (North through East)
! Clean map  min=-0.0059047  max=1.5049 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.255367Jy  sigma=0.001361
! Fit after  self-cal, rms=0.237953Jy  sigma=0.001153
! Inverting map and beam 
! Estimated beam: bmin=2.953 mas, bmaj=6.23 mas, bpa=6.054 degrees
! Estimated noise=711.843 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00143416 Jy
! Component: 100  -  total flux cleaned = 0.00263425 Jy
! Component: 150  -  total flux cleaned = 0.00386367 Jy
! Component: 200  -  total flux cleaned = 0.00513018 Jy
! Total flux subtracted in 200 components = 0.00513018 Jy
! Clean residual min=-0.004296 max=0.005121 Jy/beam
! Clean residual mean=0.000884 rms=0.001173 Jy/beam
! Combined flux in latest and established models = 1.87946 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 265 components and 1.87946 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.237687Jy  sigma=0.001152
! Fit after  self-cal, rms=0.237684Jy  sigma=0.001152
! Inverting map 
! Added new window around map position (-26, 32.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00415706 Jy
! Component: 100  -  total flux cleaned = 0.00606943 Jy
! Component: 150  -  total flux cleaned = 0.00770512 Jy
! Component: 200  -  total flux cleaned = 0.00900808 Jy
! Total flux subtracted in 200 components = 0.00900808 Jy
! Clean residual min=-0.004142 max=0.004562 Jy/beam
! Clean residual mean=0.000800 rms=0.001089 Jy/beam
! Combined flux in latest and established models = 1.88847 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 285 components and 1.88847 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.237356Jy  sigma=0.001151
! Fit after  self-cal, rms=0.237344Jy  sigma=0.001151
! 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.237344Jy  sigma=0.001151
! Fit after  self-cal, rms=0.236913Jy  sigma=0.001150
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.954 mas, bmaj=3.971 mas, bpa=11.52 degrees
! Estimated noise=1353.88 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.15152 Jy
! Component: 100  -  total flux cleaned = 1.45355 Jy
! Component: 150  -  total flux cleaned = 1.58961 Jy
! Component: 200  -  total flux cleaned = 1.65953 Jy
! Total flux subtracted in 200 components = 1.65953 Jy
! Clean residual min=-0.014053 max=0.033668 Jy/beam
! Clean residual mean=-0.000038 rms=0.004014 Jy/beam
! Combined flux in latest and established models = 1.65953 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 26 model components to the UV plane model.
! The established model now contains 26 components and 1.65953 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.953 mas, bmaj=6.232 mas, bpa=6.043 degrees
! Estimated noise=711.6 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.0579057 Jy
! Component: 100  -  total flux cleaned = 0.0872347 Jy
! Component: 150  -  total flux cleaned = 0.105433 Jy
! Component: 200  -  total flux cleaned = 0.119281 Jy
! Total flux subtracted in 200 components = 0.119281 Jy
! Clean residual min=-0.005603 max=0.009393 Jy/beam
! Clean residual mean=0.001759 rms=0.002225 Jy/beam
! Combined flux in latest and established models = 1.77881 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 64 components and 1.77881 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=7.532 mas, bmaj=15.05 mas, bpa=9.287 degrees
! Estimated noise=847.39 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0175642 Jy
! Component: 100  -  total flux cleaned = 0.0297295 Jy
! Component: 150  -  total flux cleaned = 0.0392143 Jy
! Component: 200  -  total flux cleaned = 0.0473016 Jy
! Total flux subtracted in 200 components = 0.0473016 Jy
! Clean residual min=-0.003030 max=0.006744 Jy/beam
! Clean residual mean=0.002549 rms=0.001399 Jy/beam
! Combined flux in latest and established models = 1.82611 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)
! Added new window around map position (29.5, -42).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00754376 Jy
! Component: 100  -  total flux cleaned = 0.0139047 Jy
! Component: 150  -  total flux cleaned = 0.0196171 Jy
! Component: 200  -  total flux cleaned = 0.0247704 Jy
! Total flux subtracted in 200 components = 0.0247704 Jy
! Clean residual min=-0.002283 max=0.004791 Jy/beam
! Clean residual mean=0.002141 rms=0.000951 Jy/beam
! Combined flux in latest and established models = 1.85089 Jy
! Adding 112 model components to the UV plane model.
! The established model now contains 171 components and 1.85088 Jy
! Inverting map 
! Added new window around map position (61.5, 1.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00537719 Jy
! Component: 100  -  total flux cleaned = 0.0100149 Jy
! Component: 150  -  total flux cleaned = 0.0143282 Jy
! Component: 200  -  total flux cleaned = 0.0183768 Jy
! Total flux subtracted in 200 components = 0.0183768 Jy
! Clean residual min=-0.001957 max=0.004052 Jy/beam
! Clean residual mean=0.001888 rms=0.000800 Jy/beam
! Combined flux in latest and established models = 1.86926 Jy
! Adding 78 model components to the UV plane model.
! The established model now contains 238 components and 1.86926 Jy
! Inverting map 
! Added new window around map position (60.5, 61).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00436901 Jy
! Component: 100  -  total flux cleaned = 0.00816328 Jy
! Component: 150  -  total flux cleaned = 0.01177 Jy
! Component: 200  -  total flux cleaned = 0.015219 Jy
! Total flux subtracted in 200 components = 0.015219 Jy
! Clean residual min=-0.001786 max=0.004033 Jy/beam
! Clean residual mean=0.001738 rms=0.000756 Jy/beam
! Combined flux in latest and established models = 1.88448 Jy
! Adding 80 model components to the UV plane model.
! The established model now contains 292 components and 1.88448 Jy
! Inverting map 
! Added new window around map position (23.5, 11.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00403172 Jy
! Component: 100  -  total flux cleaned = 0.00747002 Jy
! Component: 150  -  total flux cleaned = 0.0107606 Jy
! Component: 200  -  total flux cleaned = 0.0139234 Jy
! Total flux subtracted in 200 components = 0.0139234 Jy
! Clean residual min=-0.001550 max=0.003510 Jy/beam
! Clean residual mean=0.001547 rms=0.000687 Jy/beam
! Combined flux in latest and established models = 1.8984 Jy
! Adding 75 model components to the UV plane model.
! The established model now contains 346 components and 1.8984 Jy
! Inverting map 
! Added new window around map position (-11.5, 24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00364585 Jy
! Component: 100  -  total flux cleaned = 0.00675886 Jy
! Component: 150  -  total flux cleaned = 0.00974784 Jy
! Component: 200  -  total flux cleaned = 0.0126282 Jy
! Total flux subtracted in 200 components = 0.0126282 Jy
! Clean residual min=-0.001839 max=0.003420 Jy/beam
! Clean residual mean=0.001371 rms=0.000677 Jy/beam
! Combined flux in latest and established models = 1.91103 Jy
! Adding 66 model components to the UV plane model.
! The established model now contains 395 components and 1.91103 Jy
! Inverting map 
! Added new window around map position (4, -58.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00358012 Jy
! Component: 100  -  total flux cleaned = 0.00656107 Jy
! Component: 150  -  total flux cleaned = 0.00939769 Jy
! Component: 200  -  total flux cleaned = 0.0121312 Jy
! Total flux subtracted in 200 components = 0.0121312 Jy
! Clean residual min=-0.001816 max=0.003090 Jy/beam
! Clean residual mean=0.001241 rms=0.000629 Jy/beam
! Combined flux in latest and established models = 1.92316 Jy
! Adding 63 model components to the UV plane model.
! The established model now contains 433 components and 1.92316 Jy
! Inverting map 
! Added new window around map position (-40.5, -37).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00324341 Jy
! Component: 100  -  total flux cleaned = 0.00596044 Jy
! Component: 150  -  total flux cleaned = 0.00855891 Jy
! Component: 200  -  total flux cleaned = 0.0110598 Jy
! Total flux subtracted in 200 components = 0.0110598 Jy
! Clean residual min=-0.001762 max=0.002692 Jy/beam
! Clean residual mean=0.001101 rms=0.000564 Jy/beam
! Combined flux in latest and established models = 1.93422 Jy
! Adding 57 model components to the UV plane model.
! The established model now contains 472 components and 1.93422 Jy
! Inverting map 
! Added new window around map position (12.5, 63.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00295845 Jy
! Component: 100  -  total flux cleaned = 0.00545501 Jy
! Component: 150  -  total flux cleaned = 0.00784547 Jy
! Component: 200  -  total flux cleaned = 0.0101529 Jy
! Total flux subtracted in 200 components = 0.0101529 Jy
! Clean residual min=-0.001787 max=0.002583 Jy/beam
! Clean residual mean=0.001002 rms=0.000525 Jy/beam
! Combined flux in latest and established models = 1.94438 Jy
! Adding 63 model components to the UV plane model.
! The established model now contains 513 components and 1.94438 Jy
! Inverting map 
! Added new window around map position (-48, 40.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00260129 Jy
! Component: 100  -  total flux cleaned = 0.00457515 Jy
! Component: 150  -  total flux cleaned = 0.00657501 Jy
! Component: 200  -  total flux cleaned = 0.00851899 Jy
! Total flux subtracted in 200 components = 0.00851899 Jy
! Clean residual min=-0.001820 max=0.002461 Jy/beam
! Clean residual mean=0.000879 rms=0.000514 Jy/beam
! Combined flux in latest and established models = 1.9529 Jy
! Adding 72 model components to the UV plane model.
! The established model now contains 563 components and 1.9529 Jy
! Inverting map 
! Added new window around map position (-22, -60).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00267086 Jy
! Component: 100  -  total flux cleaned = 0.00486254 Jy
! Component: 150  -  total flux cleaned = 0.00695264 Jy
! Component: 200  -  total flux cleaned = 0.00896505 Jy
! Total flux subtracted in 200 components = 0.00896505 Jy
! Clean residual min=-0.001639 max=0.002087 Jy/beam
! Clean residual mean=0.000790 rms=0.000473 Jy/beam
! Combined flux in latest and established models = 1.96186 Jy
! Adding 61 model components to the UV plane model.
! The established model now contains 600 components and 1.96186 Jy
! Inverting map 
! Added new window around map position (39.5, 8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00221687 Jy
! Component: 100  -  total flux cleaned = 0.00416446 Jy
! Component: 150  -  total flux cleaned = 0.00589246 Jy
! Component: 200  -  total flux cleaned = 0.00749763 Jy
! Total flux subtracted in 200 components = 0.00749763 Jy
! Clean residual min=-0.001592 max=0.002052 Jy/beam
! Clean residual mean=0.000691 rms=0.000445 Jy/beam
! Combined flux in latest and established models = 1.96936 Jy
! Adding 65 model components to the UV plane model.
! The established model now contains 636 components and 1.96936 Jy
! Inverting map 
! Added new window around map position (-63, -16).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00215773 Jy
! Component: 100  -  total flux cleaned = 0.00391449 Jy
! Component: 150  -  total flux cleaned = 0.00547875 Jy
! Component: 200  -  total flux cleaned = 0.00707454 Jy
! Total flux subtracted in 200 components = 0.00707454 Jy
! Clean residual min=-0.001570 max=0.001994 Jy/beam
! Clean residual mean=0.000626 rms=0.000422 Jy/beam
! Combined flux in latest and established models = 1.97643 Jy
! Adding 58 model components to the UV plane model.
! The established model now contains 674 components and 1.97643 Jy
! Inverting map 
! Added new window around map position (-31.5, 61).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00201648 Jy
! Component: 100  -  total flux cleaned = 0.00360696 Jy
! Component: 150  -  total flux cleaned = 0.00507482 Jy
! Component: 200  -  total flux cleaned = 0.00657128 Jy
! Total flux subtracted in 200 components = 0.00657128 Jy
! Clean residual min=-0.001642 max=0.001758 Jy/beam
! Clean residual mean=0.000544 rms=0.000405 Jy/beam
! Combined flux in latest and established models = 1.983 Jy
! Adding 59 model components to the UV plane model.
! The established model now contains 707 components and 1.983 Jy
! Inverting map 
! Added new window around map position (39, 59.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0018141 Jy
! Component: 100  -  total flux cleaned = 0.00326697 Jy
! Component: 150  -  total flux cleaned = 0.00455137 Jy
! Component: 200  -  total flux cleaned = 0.00592319 Jy
! Total flux subtracted in 200 components = 0.00592319 Jy
! Clean residual min=-0.001511 max=0.001473 Jy/beam
! Clean residual mean=0.000487 rms=0.000385 Jy/beam
! Combined flux in latest and established models = 1.98893 Jy
! Adding 65 model components to the UV plane model.
! The established model now contains 736 components and 1.98893 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.953 mas, bmaj=6.232 mas, bpa=6.043 degrees
! Estimated noise=711.6 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00145485 Jy
! Component: 100  -  total flux cleaned = 0.00370243 Jy
! Component: 150  -  total flux cleaned = 0.00552177 Jy
! Component: 200  -  total flux cleaned = 0.00711702 Jy
! Total flux subtracted in 200 components = 0.00711702 Jy
! Clean residual min=-0.002776 max=0.003190 Jy/beam
! Clean residual mean=0.000184 rms=0.000834 Jy/beam
! Combined flux in latest and established models = 1.99604 Jy
selfcal
! Performing phase self-cal
! Adding 50 model components to the UV plane model.
! The established model now contains 783 components and 1.99604 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235191Jy  sigma=0.001148
! Fit after  self-cal, rms=0.235018Jy  sigma=0.001147
wmodel J1337-1257_S_1999_12_20_pus_map.mod
! Writing 783 model components to file: J1337-1257_S_1999_12_20_pus_map.mod
wobs J1337-1257_S_1999_12_20_pus_uvs.fits
! Writing UV FITS file: J1337-1257_S_1999_12_20_pus_uvs.fits
wwins J1337-1257_S_1999_12_20_pus_map.win
! wwins: Wrote 23 windows to J1337-1257_S_1999_12_20_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.00120841 Jy
! Component: 100  -  total flux cleaned = 0.00210715 Jy
! Component: 150  -  total flux cleaned = 0.00286745 Jy
! Component: 200  -  total flux cleaned = 0.0036043 Jy
! Component: 250  -  total flux cleaned = 0.00432542 Jy
! Component: 300  -  total flux cleaned = 0.00512609 Jy
! Component: 350  -  total flux cleaned = 0.00558823 Jy
! Component: 400  -  total flux cleaned = 0.0060436 Jy
! Component: 450  -  total flux cleaned = 0.00644783 Jy
! Component: 500  -  total flux cleaned = 0.00684703 Jy
! Component: 550  -  total flux cleaned = 0.00737241 Jy
! Component: 600  -  total flux cleaned = 0.00789134 Jy
! Component: 650  -  total flux cleaned = 0.00823319 Jy
! Component: 700  -  total flux cleaned = 0.00869815 Jy
! Component: 750  -  total flux cleaned = 0.00907519 Jy
! Component: 800  -  total flux cleaned = 0.00949085 Jy
! Component: 850  -  total flux cleaned = 0.00990217 Jy
! Component: 900  -  total flux cleaned = 0.010269 Jy
! Component: 950  -  total flux cleaned = 0.0106328 Jy
! Component: 1000  -  total flux cleaned = 0.0109534 Jy
! Component: 1050  -  total flux cleaned = 0.0111522 Jy
! Component: 1100  -  total flux cleaned = 0.0114677 Jy
! Component: 1150  -  total flux cleaned = 0.0117026 Jy
! Component: 1200  -  total flux cleaned = 0.0118969 Jy
! Component: 1250  -  total flux cleaned = 0.0120901 Jy
! Component: 1300  -  total flux cleaned = 0.012435 Jy
! Component: 1350  -  total flux cleaned = 0.0125868 Jy
! Component: 1400  -  total flux cleaned = 0.0128138 Jy
! Component: 1450  -  total flux cleaned = 0.0130764 Jy
! Component: 1500  -  total flux cleaned = 0.0131885 Jy
! Component: 1550  -  total flux cleaned = 0.0133739 Jy
! Component: 1600  -  total flux cleaned = 0.0136683 Jy
! Component: 1650  -  total flux cleaned = 0.013888 Jy
! Component: 1700  -  total flux cleaned = 0.0139971 Jy
! Component: 1750  -  total flux cleaned = 0.0143225 Jy
! Component: 1800  -  total flux cleaned = 0.0144663 Jy
! Component: 1850  -  total flux cleaned = 0.0147163 Jy
! Component: 1900  -  total flux cleaned = 0.0149294 Jy
! Component: 1950  -  total flux cleaned = 0.0151413 Jy
! Component: 2000  -  total flux cleaned = 0.0153871 Jy
! Total flux subtracted in 2048 components = 0.0155268 Jy
! Clean residual min=-0.002021 max=0.001797 Jy/beam
! Clean residual mean=0.000086 rms=0.000656 Jy/beam
! Combined flux in latest and established models = 2.01157 Jy
keep
! Adding 139 model components to the UV plane model.
! The established model now contains 893 components and 2.01157 Jy
![Exited script file: muppet]
wmap "J1337-1257_S_1999_12_20_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.953 x 6.232 at 6.043 degrees (North through East)
! Clean map  min=-0.002909  max=1.5025 Jy/beam
! Writing clean map to FITS file: J1337-1257_S_1999_12_20_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.50254 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000655285 
device "J1337-1257_S_1999_12_20_pus\_map.eps/VPS"
! Attempting to open device: 'J1337-1257_S_1999_12_20_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.130835 0.130835 0.26167 0.52334 1.04668 2.09336 4.18672 8.37345 16.7469 33.4938 66.9876
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.502 
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.953 x 6.232 at 6.043 degrees (North through East)
! Clean map  min=-0.002909  max=1.5025 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1337-1257_S_1999_12_20_pus\_map.gif/vgif"
! Attempting to open device: 'J1337-1257_S_1999_12_20_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1337-1257_S_1999_12_20_pus_uvs.log closed on Thu Dec 20 15:18:24 2007