! Started logfile: J1924-2914_S_2000_12_04_pus_uvs.log on Wed Oct 17 17:20:32 2007
obs J1924-2914_S_2000_12_04_pus_uva.fits
! Reading UV FITS file: J1924-2914_S_2000_12_04_pus_uva.fits
! AN table 1: 17 integrations on 190 of 190 possible baselines.
! AN table 2: 135 integrations on 190 of 190 possible baselines.
! AN table 3: 10 integrations on 190 of 190 possible baselines.
! AN table 4: 55 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.056585 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1924-2914
! 
! 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 2169 lines of history.
! 
! Reading 9332 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 J1924-2914_S_2000_12_04_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 239 telescope corrections were flagged in sub-array 1.
!  A total of 2231 telescope corrections were flagged in sub-array 2.
!  A total of 200 telescope corrections were flagged in sub-array 3.
!  A total of 812 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 239 telescope corrections were flagged in sub-array 1.
!  A total of 2231 telescope corrections were flagged in sub-array 2.
!  A total of 200 telescope corrections were flagged in sub-array 3.
!  A total of 812 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 237 telescope corrections were flagged in sub-array 1.
!  A total of 2231 telescope corrections were flagged in sub-array 2.
!  A total of 200 telescope corrections were flagged in sub-array 3.
!  A total of 812 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 237 telescope corrections were flagged in sub-array 1.
!  A total of 2231 telescope corrections were flagged in sub-array 2.
!  A total of 200 telescope corrections were flagged in sub-array 3.
!  A total of 812 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=5.166441Jy  sigma=0.038430
! Fit after  self-cal, rms=4.798420Jy  sigma=0.035734
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.535 mas, bmaj=5.888 mas, bpa=-2.144 degrees
! Estimated noise=1510.5 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 = 3.51467 Jy
! Component: 100  -  total flux cleaned = 4.85958 Jy
! Total flux subtracted in 100 components = 4.85958 Jy
! Clean residual min=-0.280187 max=1.002081 Jy/beam
! Clean residual mean=0.007554 rms=0.107569 Jy/beam
! Combined flux in latest and established models = 4.85958 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 21 components and 4.85958 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.369553Jy  sigma=0.017259
! Fit after  self-cal, rms=2.367723Jy  sigma=0.017239
! Inverting map 
! Added new window around map position (4, 4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.992404 Jy
! Component: 100  -  total flux cleaned = 1.65403 Jy
! Total flux subtracted in 100 components = 1.65403 Jy
! Clean residual min=-0.175847 max=0.486758 Jy/beam
! Clean residual mean=0.003205 rms=0.063804 Jy/beam
! Combined flux in latest and established models = 6.51361 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 42 components and 6.51361 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.656624Jy  sigma=0.011254
! Fit after  self-cal, rms=1.640176Jy  sigma=0.011136
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.512613 Jy
! Component: 100  -  total flux cleaned = 0.872699 Jy
! Total flux subtracted in 100 components = 0.872699 Jy
! Clean residual min=-0.129923 max=0.296301 Jy/beam
! Clean residual mean=0.000913 rms=0.042953 Jy/beam
! Combined flux in latest and established models = 7.3863 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 53 components and 7.3863 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.409838Jy  sigma=0.008752
! Fit after  self-cal, rms=1.404254Jy  sigma=0.008713
! Inverting map 
! Added new window around map position (-2.5, -8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.308583 Jy
! Component: 100  -  total flux cleaned = 0.531761 Jy
! Total flux subtracted in 100 components = 0.531761 Jy
! Clean residual min=-0.124290 max=0.154200 Jy/beam
! Clean residual mean=-0.000452 rms=0.032363 Jy/beam
! Combined flux in latest and established models = 7.91807 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 66 components and 7.91807 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.337375Jy  sigma=0.007756
! Fit after  self-cal, rms=1.336497Jy  sigma=0.007750
! 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.751 mas, bmaj=6.012 mas, bpa=-3.351 degrees
! Estimated noise=1074.4 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.194992 Jy
! Component: 100  -  total flux cleaned = 0.288256 Jy
! Component: 150  -  total flux cleaned = 0.31471 Jy
! Component: 200  -  total flux cleaned = 0.338001 Jy
! Total flux subtracted in 200 components = 0.338001 Jy
! Clean residual min=-0.156370 max=0.135115 Jy/beam
! Clean residual mean=-0.004486 rms=0.045137 Jy/beam
! Combined flux in latest and established models = 8.25607 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 84 components and 8.25607 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.324236Jy  sigma=0.007384
! Fit after  self-cal, rms=1.323090Jy  sigma=0.007375
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.90     KP        0.93     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        0.94     
!   NL        1.00*    NY        1.00*    OV        0.95     PT        0.96     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 237 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        0.79     HN        1.03     KK        1.00*    KP        0.84     
!   LA        0.96     MA       15.92     MC        1.03     MK        1.00*    
!   NL        1.02     NY        1.00*    OV        1.00     PT        0.96     
!   SC        1.02     TS        1.00*    WF        0.93     WZ        1.03     
! 
!  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*    
!   LA        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*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.97     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.11     KK        1.01     KP        0.95     
!   LA        0.97     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.97     NY        1.00*    OV        0.94     PT        0.95     
!   SC        1.04     TS        1.00*    WF        0.76     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        0.94     
!   LA        0.97     MA        1.00*    MC        1.00*    MK        0.95     
!   NL        1.00*    NY        1.00*    OV        0.92     PT        0.98     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 237 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        0.94     GC        1.00*    GG        1.00*    
!   HH        0.81     HN        1.00     KK        1.00*    KP        0.86     
!   LA        0.94     MA        4.85     MC        0.89     MK        1.00*    
!   NL        0.97     NY        1.00*    OV        0.98     PT        0.97     
!   SC        0.98     TS        1.00*    WF        0.92     WZ        1.03     
! 
!  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*    
!   LA        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*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        1.01     KP        0.94     
!   LA        0.94     MA        1.00*    MC        1.00*    MK        1.00     
!   NL        0.93     NY        1.00*    OV        0.92     PT        0.96     
!   SC        1.01     TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.91     KP        0.92     
!   LA        0.98     MA        1.00*    MC        1.00*    MK        0.92     
!   NL        1.00*    NY        1.00*    OV        1.03     PT        0.99     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 237 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.27     FD        1.20     GC        1.00*    GG        1.00*    
!   HH        0.75     HN        1.14     KK        1.00*    KP        0.88     
!   LA        1.18     MA        2.70     MC        2.83     MK        1.00*    
!   NL        1.02     NY        1.00*    OV        1.01     PT        1.27     
!   SC        1.03     TS        1.00*    WF        1.14     WZ        1.06     
! 
!  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*    
!   LA        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*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.87     FD        0.88     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.09     KK        0.95     KP        0.98     
!   LA        0.92     MA        1.00*    MC        1.00*    MK        0.97     
!   NL        1.07     NY        1.00*    OV        1.00     PT        1.09     
!   SC        0.99     TS        1.00*    WF        0.88     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        0.96     
!   LA        0.98     MA        1.00*    MC        1.00*    MK        0.96     
!   NL        1.00*    NY        1.00*    OV        0.99     PT        1.04     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 237 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        0.82     HN        1.02     KK        1.00*    KP        0.89     
!   LA        0.97     MA        2.39     MC        3.07     MK        1.00*    
!   NL        1.02     NY        1.00*    OV        1.02     PT        0.97     
!   SC        1.03     TS        1.00*    WF        0.94     WZ        1.11     
! 
!  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*    
!   LA        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*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.10     KK        1.00     KP        0.94     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.96     NY        1.00*    OV        0.96     PT        0.98     
!   SC        1.06     TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=1.323090Jy  sigma=0.007375
! Fit after  self-cal, rms=0.939478Jy  sigma=0.003668
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.737 mas, bmaj=9.095 mas, bpa=-4.74 degrees
! Estimated noise=1089.24 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, -10.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.038906 Jy
! Component: 100  -  total flux cleaned = 0.0344356 Jy
! Component: 150  -  total flux cleaned = 0.0363237 Jy
! Component: 200  -  total flux cleaned = 0.0362844 Jy
! Total flux subtracted in 200 components = 0.0362844 Jy
! Clean residual min=-0.047680 max=0.053617 Jy/beam
! Clean residual mean=0.000852 rms=0.010047 Jy/beam
! Combined flux in latest and established models = 8.29235 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 96 components and 8.29235 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.928721Jy  sigma=0.003545
! Fit after  self-cal, rms=0.935837Jy  sigma=0.003535
! Inverting map 
! Added new window around map position (2, 15).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0151642 Jy
! Component: 100  -  total flux cleaned = 0.00638038 Jy
! Component: 150  -  total flux cleaned = 0.00343886 Jy
! Component: 200  -  total flux cleaned = 0.00347815 Jy
! Total flux subtracted in 200 components = 0.00347815 Jy
! Clean residual min=-0.030304 max=0.034694 Jy/beam
! Clean residual mean=0.000809 rms=0.008111 Jy/beam
! Combined flux in latest and established models = 8.29583 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 116 components and 8.29583 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.930629Jy  sigma=0.003459
! Fit after  self-cal, rms=0.930627Jy  sigma=0.003455
! 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.930627Jy  sigma=0.003455
! Fit after  self-cal, rms=0.947641Jy  sigma=0.003446
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.736 mas, bmaj=9.106 mas, bpa=-4.749 degrees
! Estimated noise=1088.99 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00375572 Jy
! Component: 100  -  total flux cleaned = 0.00374856 Jy
! Component: 150  -  total flux cleaned = 0.00285432 Jy
! Component: 200  -  total flux cleaned = 0.00288774 Jy
! Total flux subtracted in 200 components = 0.00288774 Jy
! Clean residual min=-0.030127 max=0.031762 Jy/beam
! Clean residual mean=0.000710 rms=0.007242 Jy/beam
! Combined flux in latest and established models = 8.29872 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 131 components and 8.29871 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.945394Jy  sigma=0.003417
! Fit after  self-cal, rms=0.945578Jy  sigma=0.003416
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.00190733 Jy
! Component: 100  -  total flux cleaned = 0.00188207 Jy
! Component: 150  -  total flux cleaned = 0.00113361 Jy
! Component: 200  -  total flux cleaned = 0.0011385 Jy
! Total flux subtracted in 200 components = 0.0011385 Jy
! Clean residual min=-0.028261 max=0.028819 Jy/beam
! Clean residual mean=0.000674 rms=0.006732 Jy/beam
! Combined flux in latest and established models = 8.29985 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 144 components and 8.29985 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.944255Jy  sigma=0.003401
! Fit after  self-cal, rms=0.944151Jy  sigma=0.003400
! 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.944151Jy  sigma=0.003400
! Fit after  self-cal, rms=0.943333Jy  sigma=0.003398
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.736 mas, bmaj=9.106 mas, bpa=-4.749 degrees
! Estimated noise=1088.81 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00314786 Jy
! Component: 100  -  total flux cleaned = 0.002495 Jy
! Component: 150  -  total flux cleaned = 0.00250561 Jy
! Component: 200  -  total flux cleaned = 0.00192351 Jy
! Total flux subtracted in 200 components = 0.00192351 Jy
! Clean residual min=-0.026728 max=0.026579 Jy/beam
! Clean residual mean=0.000603 rms=0.006425 Jy/beam
! Combined flux in latest and established models = 8.30178 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 158 components and 8.30178 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.942285Jy  sigma=0.003388
! Fit after  self-cal, rms=0.942180Jy  sigma=0.003387
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.00132167 Jy
! Component: 100  -  total flux cleaned = 0.00133811 Jy
! Component: 150  -  total flux cleaned = 0.00133112 Jy
! Component: 200  -  total flux cleaned = 0.00180259 Jy
! Total flux subtracted in 200 components = 0.00180259 Jy
! Clean residual min=-0.024890 max=0.024722 Jy/beam
! Clean residual mean=0.000564 rms=0.006146 Jy/beam
! Combined flux in latest and established models = 8.30358 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 165 components and 8.30358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.941362Jy  sigma=0.003380
! Fit after  self-cal, rms=0.941373Jy  sigma=0.003380
! 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.941373Jy  sigma=0.003380
! Fit after  self-cal, rms=0.939361Jy  sigma=0.003379
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.517 mas, bmaj=18.15 mas, bpa=1.158 degrees
! Estimated noise=1420.58 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00681784 Jy
! Component: 100  -  total flux cleaned = 0.00635884 Jy
! Component: 150  -  total flux cleaned = 0.00563945 Jy
! Component: 200  -  total flux cleaned = 0.00536152 Jy
! Total flux subtracted in 200 components = 0.00536152 Jy
! Clean residual min=-0.016902 max=0.023744 Jy/beam
! Clean residual mean=0.000980 rms=0.006596 Jy/beam
! Combined flux in latest and established models = 8.30894 Jy
selfcal
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 203 components and 8.30894 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.939057Jy  sigma=0.003378
! Fit after  self-cal, rms=0.939058Jy  sigma=0.003377
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.000573568 Jy
! Component: 100  -  total flux cleaned = -0.000539185 Jy
! Component: 150  -  total flux cleaned = -0.000534314 Jy
! Component: 200  -  total flux cleaned = -0.000750267 Jy
! Total flux subtracted in 200 components = -0.000750267 Jy
! Clean residual min=-0.016575 max=0.023248 Jy/beam
! Clean residual mean=0.000993 rms=0.006406 Jy/beam
! Combined flux in latest and established models = 8.30819 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 225 components and 8.30819 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.938854Jy  sigma=0.003377
! Fit after  self-cal, rms=0.938891Jy  sigma=0.003377
! 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.736 mas, bmaj=9.102 mas, bpa=-4.747 degrees
! Estimated noise=1088.66 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.736 x 9.102 at -4.747 degrees (North through East)
! Clean map  min=-0.12074  max=4.2669 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.938891Jy  sigma=0.003377
! Fit after  self-cal, rms=1.070517Jy  sigma=0.001836
! Inverting map and beam 
! Estimated beam: bmin=2.733 mas, bmaj=9.098 mas, bpa=-4.763 degrees
! Estimated noise=1089.58 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000705755 Jy
! Component: 100  -  total flux cleaned = -0.000215803 Jy
! Component: 150  -  total flux cleaned = 0.000225895 Jy
! Component: 200  -  total flux cleaned = 0.00108714 Jy
! Total flux subtracted in 200 components = 0.00108714 Jy
! Clean residual min=-0.022539 max=0.023831 Jy/beam
! Clean residual mean=0.000083 rms=0.005529 Jy/beam
! Combined flux in latest and established models = 8.30928 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 242 components and 8.30928 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.069791Jy  sigma=0.001823
! Fit after  self-cal, rms=1.069898Jy  sigma=0.001823
! Inverting map 
! Added new window around map position (-5.5, -18).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00161903 Jy
! Component: 100  -  total flux cleaned = -0.00154909 Jy
! Component: 150  -  total flux cleaned = -0.00270512 Jy
! Component: 200  -  total flux cleaned = -0.00325146 Jy
! Total flux subtracted in 200 components = -0.00325146 Jy
! Clean residual min=-0.017615 max=0.019732 Jy/beam
! Clean residual mean=0.000113 rms=0.004806 Jy/beam
! Combined flux in latest and established models = 8.30603 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 259 components and 8.30603 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.068474Jy  sigma=0.001796
! Fit after  self-cal, rms=1.068577Jy  sigma=0.001795
! Inverting map 
! Added new window around map position (10, 44.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00408463 Jy
! Component: 100  -  total flux cleaned = 0.00409108 Jy
! Component: 150  -  total flux cleaned = 0.00215589 Jy
! Component: 200  -  total flux cleaned = 0.000863208 Jy
! Total flux subtracted in 200 components = 0.000863208 Jy
! Clean residual min=-0.013058 max=0.016332 Jy/beam
! Clean residual mean=0.000095 rms=0.004343 Jy/beam
! Combined flux in latest and established models = 8.30689 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 280 components and 8.30689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.067816Jy  sigma=0.001779
! Fit after  self-cal, rms=1.067754Jy  sigma=0.001778
! 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.067754Jy  sigma=0.001778
! Fit after  self-cal, rms=1.083914Jy  sigma=0.001776
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.54 mas, bmaj=6.258 mas, bpa=-2.754 degrees
! Estimated noise=1522.1 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.41391 Jy
! Component: 100  -  total flux cleaned = 4.86441 Jy
! Component: 150  -  total flux cleaned = 5.82387 Jy
! Component: 200  -  total flux cleaned = 6.48699 Jy
! Total flux subtracted in 200 components = 6.48699 Jy
! Clean residual min=-0.134931 max=0.371355 Jy/beam
! Clean residual mean=0.003928 rms=0.053636 Jy/beam
! Combined flux in latest and established models = 6.48699 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 44 model components to the UV plane model.
! The established model now contains 44 components and 6.48699 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.733 mas, bmaj=9.091 mas, bpa=-4.762 degrees
! Estimated noise=1089.7 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.77926 Jy
! Component: 100  -  total flux cleaned = 1.22739 Jy
! Component: 150  -  total flux cleaned = 1.4922 Jy
! Component: 200  -  total flux cleaned = 1.65231 Jy
! Total flux subtracted in 200 components = 1.65231 Jy
! Clean residual min=-0.061049 max=0.083396 Jy/beam
! Clean residual mean=0.002668 rms=0.017092 Jy/beam
! Combined flux in latest and established models = 8.13929 Jy
! Adding 54 model components to the UV plane model.
! The established model now contains 83 components and 8.13929 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.07768 Jy
! Component: 100  -  total flux cleaned = 0.109515 Jy
! Component: 150  -  total flux cleaned = 0.129774 Jy
! Component: 200  -  total flux cleaned = 0.136306 Jy
! Total flux subtracted in 200 components = 0.136306 Jy
! Clean residual min=-0.039555 max=0.037429 Jy/beam
! Clean residual mean=0.000638 rms=0.009859 Jy/beam
! Combined flux in latest and established models = 8.2756 Jy
! Adding 49 model components to the UV plane model.
! The established model now contains 123 components and 8.27559 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.518 mas, bmaj=18.15 mas, bpa=1.142 degrees
! Estimated noise=1422.62 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0458162 Jy
! Component: 100  -  total flux cleaned = 0.0428897 Jy
! Component: 150  -  total flux cleaned = 0.0396055 Jy
! Component: 200  -  total flux cleaned = 0.0387598 Jy
! Total flux subtracted in 200 components = 0.0387598 Jy
! Clean residual min=-0.019755 max=0.029569 Jy/beam
! Clean residual mean=0.000090 rms=0.007459 Jy/beam
! Combined flux in latest and established models = 8.31435 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 = 2.38376e-05 Jy
! Component: 100  -  total flux cleaned = 7.34266e-06 Jy
! Component: 150  -  total flux cleaned = 0.000653716 Jy
! Component: 200  -  total flux cleaned = 0.000632757 Jy
! Total flux subtracted in 200 components = 0.000632757 Jy
! Clean residual min=-0.015524 max=0.026828 Jy/beam
! Clean residual mean=0.000030 rms=0.006507 Jy/beam
! Combined flux in latest and established models = 8.31499 Jy
! Adding 82 model components to the UV plane model.
! The established model now contains 199 components and 8.31499 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.733 mas, bmaj=9.091 mas, bpa=-4.762 degrees
! Estimated noise=1089.7 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0047286 Jy
! Component: 100  -  total flux cleaned = -0.00999674 Jy
! Component: 150  -  total flux cleaned = -0.0111862 Jy
! Component: 200  -  total flux cleaned = -0.0112162 Jy
! Total flux subtracted in 200 components = -0.0112162 Jy
! Clean residual min=-0.023895 max=0.027774 Jy/beam
! Clean residual mean=0.000183 rms=0.006305 Jy/beam
! Combined flux in latest and established models = 8.30377 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 223 components and 8.30377 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.087712Jy  sigma=0.001868
! Fit after  self-cal, rms=1.086992Jy  sigma=0.001860
wmodel J1924-2914_S_2000_12_04_pus_map.mod
! Writing 223 model components to file: J1924-2914_S_2000_12_04_pus_map.mod
wobs J1924-2914_S_2000_12_04_pus_uvs.fits
! Writing UV FITS file: J1924-2914_S_2000_12_04_pus_uvs.fits
wwins J1924-2914_S_2000_12_04_pus_map.win
! wwins: Wrote 7 windows to J1924-2914_S_2000_12_04_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.00867348 Jy
! Component: 100  -  total flux cleaned = 0.0110602 Jy
! Component: 150  -  total flux cleaned = 0.0144091 Jy
! Component: 200  -  total flux cleaned = 0.0161765 Jy
! Component: 250  -  total flux cleaned = 0.0161858 Jy
! Component: 300  -  total flux cleaned = 0.0165116 Jy
! Component: 350  -  total flux cleaned = 0.0158891 Jy
! Component: 400  -  total flux cleaned = 0.0158919 Jy
! Component: 450  -  total flux cleaned = 0.0155983 Jy
! Component: 500  -  total flux cleaned = 0.0153118 Jy
! Component: 550  -  total flux cleaned = 0.0153144 Jy
! Component: 600  -  total flux cleaned = 0.0155896 Jy
! Component: 650  -  total flux cleaned = 0.0153259 Jy
! Component: 700  -  total flux cleaned = 0.0158527 Jy
! Component: 750  -  total flux cleaned = 0.0163657 Jy
! Component: 800  -  total flux cleaned = 0.0168708 Jy
! Component: 850  -  total flux cleaned = 0.0173618 Jy
! Component: 900  -  total flux cleaned = 0.0176068 Jy
! Component: 950  -  total flux cleaned = 0.0180898 Jy
! Component: 1000  -  total flux cleaned = 0.0192647 Jy
! Component: 1050  -  total flux cleaned = 0.0192644 Jy
! Component: 1100  -  total flux cleaned = 0.0199503 Jy
! Component: 1150  -  total flux cleaned = 0.0203957 Jy
! Component: 1200  -  total flux cleaned = 0.0206159 Jy
! Component: 1250  -  total flux cleaned = 0.0210483 Jy
! Component: 1300  -  total flux cleaned = 0.0212615 Jy
! Component: 1350  -  total flux cleaned = 0.0214711 Jy
! Component: 1400  -  total flux cleaned = 0.0216768 Jy
! Component: 1450  -  total flux cleaned = 0.0218793 Jy
! Component: 1500  -  total flux cleaned = 0.0222804 Jy
! Component: 1550  -  total flux cleaned = 0.0222787 Jy
! Component: 1600  -  total flux cleaned = 0.0224761 Jy
! Component: 1650  -  total flux cleaned = 0.0226715 Jy
! Component: 1700  -  total flux cleaned = 0.0228651 Jy
! Component: 1750  -  total flux cleaned = 0.0234314 Jy
! Component: 1800  -  total flux cleaned = 0.0236171 Jy
! Component: 1850  -  total flux cleaned = 0.0236185 Jy
! Component: 1900  -  total flux cleaned = 0.0239826 Jy
! Component: 1950  -  total flux cleaned = 0.0245206 Jy
! Component: 2000  -  total flux cleaned = 0.0245199 Jy
! Total flux subtracted in 2048 components = 0.0250425 Jy
! Clean residual min=-0.009653 max=0.009541 Jy/beam
! Clean residual mean=0.000035 rms=0.003580 Jy/beam
! Combined flux in latest and established models = 8.32881 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 359 components and 8.32881 Jy
![Exited script file: muppet]
wmap "J1924-2914_S_2000_12_04_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.733 x 9.091 at -4.762 degrees (North through East)
! Clean map  min=-0.083985  max=4.2668 Jy/beam
! Writing clean map to FITS file: J1924-2914_S_2000_12_04_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 4.26676 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.0035681 
device "J1924-2914_S_2000_12_04_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_S_2000_12_04_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.250876 0.250876 0.501752 1.0035 2.00701 4.01402 8.02804 16.0561 32.1121 64.2243
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0107 
print "peak=",int(1000*peak_flux)/1000
! peak= 4.266 
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.733 x 9.091 at -4.762 degrees (North through East)
! Clean map  min=-0.083985  max=4.2668 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_S_2000_12_04_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_S_2000_12_04_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_S_2000_12_04_pus_uvs.log closed on Wed Oct 17 17:20:44 2007