! Started logfile: J1924-2914_S_1999_05_10_pus_uvs.log on Mon Jan 21 17:48:14 2008
obs J1924-2914_S_1999_05_10_pus_uva.fits
! Reading UV FITS file: J1924-2914_S_1999_05_10_pus_uva.fits
! AN table 1: 80 integrations on 153 of 153 possible baselines.
! AN table 2: 22 integrations on 153 of 153 possible baselines.
! AN table 3: 141 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.137282 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 1998 lines of history.
! 
! Reading 20416 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_1999_05_10_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 1232 telescope corrections were flagged in sub-array 1.
!  A total of 396 telescope corrections were flagged in sub-array 2.
!  A total of 1481 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1232 telescope corrections were flagged in sub-array 1.
!  A total of 396 telescope corrections were flagged in sub-array 2.
!  A total of 1481 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1232 telescope corrections were flagged in sub-array 1.
!  A total of 396 telescope corrections were flagged in sub-array 2.
!  A total of 1481 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1286 telescope corrections were flagged in sub-array 1.
!  A total of 396 telescope corrections were flagged in sub-array 2.
!  A total of 1481 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=6.631078Jy  sigma=0.054822
! Fit after  self-cal, rms=6.532090Jy  sigma=0.054307
! 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.477 mas, bmaj=5.706 mas, bpa=-3.583 degrees
! Estimated noise=1380.7 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 = 4.36847 Jy
! Component: 100  -  total flux cleaned = 6.02271 Jy
! Total flux subtracted in 100 components = 6.02271 Jy
! Clean residual min=-0.397510 max=1.182417 Jy/beam
! Clean residual mean=0.007515 rms=0.155162 Jy/beam
! Combined flux in latest and established models = 6.02271 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 6.02271 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.819032Jy  sigma=0.023818
! Fit after  self-cal, rms=2.815423Jy  sigma=0.023801
! Inverting map 
! Added new window around map position (4, 3).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.22764 Jy
! Component: 100  -  total flux cleaned = 2.07317 Jy
! Total flux subtracted in 100 components = 2.07317 Jy
! Clean residual min=-0.275169 max=0.603854 Jy/beam
! Clean residual mean=0.002703 rms=0.091570 Jy/beam
! Combined flux in latest and established models = 8.09588 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 49 components and 8.09588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.692133Jy  sigma=0.014167
! Fit after  self-cal, rms=1.656648Jy  sigma=0.013933
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.66065 Jy
! Component: 100  -  total flux cleaned = 1.131 Jy
! Total flux subtracted in 100 components = 1.131 Jy
! Clean residual min=-0.187673 max=0.372631 Jy/beam
! Clean residual mean=0.000134 rms=0.059444 Jy/beam
! Combined flux in latest and established models = 9.22688 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 72 components and 9.22688 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.102245Jy  sigma=0.009019
! Fit after  self-cal, rms=1.082479Jy  sigma=0.008885
! Inverting map 
! Added new window around map position (0.5, 9).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.407451 Jy
! Component: 100  -  total flux cleaned = 0.675857 Jy
! Total flux subtracted in 100 components = 0.675857 Jy
! Clean residual min=-0.164834 max=0.241090 Jy/beam
! Clean residual mean=-0.001409 rms=0.041929 Jy/beam
! Combined flux in latest and established models = 9.90274 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 81 components and 9.90274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.804604Jy  sigma=0.006336
! Fit after  self-cal, rms=0.788526Jy  sigma=0.006215
! 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.991 mas, bmaj=8.069 mas, bpa=-1.494 degrees
! Estimated noise=647.934 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.38982 Jy
! Component: 100  -  total flux cleaned = 0.610704 Jy
! Component: 150  -  total flux cleaned = 0.748238 Jy
! Component: 200  -  total flux cleaned = 0.835027 Jy
! Total flux subtracted in 200 components = 0.835027 Jy
! Clean residual min=-0.088009 max=0.122811 Jy/beam
! Clean residual mean=-0.002349 rms=0.024494 Jy/beam
! Combined flux in latest and established models = 10.7378 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 110 components and 10.7378 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.596231Jy  sigma=0.004181
! Fit after  self-cal, rms=0.591148Jy  sigma=0.004135
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 60 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.96     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00*    KP        0.82     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        1.12     NY        1.00*    
!   ON        1.00*    OV        1.11     PT        1.03     SC        0.96     
!   WF        1.06     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        0.98     GC        1.00*    HH        1.00*    
!   HN        1.09     KK        1.19     KP        0.97     LA        0.99     
!   MC        1.00*    MK        0.98     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        1.03     PT        1.01     SC        0.99     
!   WF        1.06     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 60 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.03     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00*    KP        1.00     LA        0.96     
!   MC        1.00*    MK        1.00*    NL        1.09     NY        1.00*    
!   ON        1.00*    OV        1.05     PT        0.99     SC        0.98     
!   WF        1.04     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.02     GC        1.00*    HH        1.00*    
!   HN        1.07     KK        1.15     KP        1.00     LA        0.96     
!   MC        1.00*    MK        1.03     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.01     
!   WF        1.04     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 60 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.01     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00*    KP        1.01     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        1.13     NY        1.00*    
!   ON        1.00*    OV        1.03     PT        0.95     SC        0.97     
!   WF        1.06     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.09     KK        1.11     KP        0.99     LA        0.99     
!   MC        1.00*    MK        0.94     NL        1.02     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.96     SC        1.00     
!   WF        1.05     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00*    KP        1.02     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        1.13     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        1.03     SC        0.98     
!   WF        1.05     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.07     KK        1.14     KP        0.98     LA        1.00     
!   MC        1.00*    MK        0.96     NL        1.02     NY        1.00*    
!   ON        1.00*    OV        0.95     PT        1.00     SC        1.01     
!   WF        1.03     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.591148Jy  sigma=0.004135
! Fit after  self-cal, rms=0.445542Jy  sigma=0.003136
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.986 mas, bmaj=8.31 mas, bpa=-1.631 degrees
! Estimated noise=649.166 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.00369643 Jy
! Component: 100  -  total flux cleaned = -0.00801364 Jy
! Component: 150  -  total flux cleaned = -0.0102878 Jy
! Component: 200  -  total flux cleaned = -0.0132249 Jy
! Total flux subtracted in 200 components = -0.0132249 Jy
! Clean residual min=-0.086422 max=0.057352 Jy/beam
! Clean residual mean=0.000417 rms=0.015161 Jy/beam
! Combined flux in latest and established models = 10.7245 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 122 components and 10.7245 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.437317Jy  sigma=0.003074
! Fit after  self-cal, rms=0.435753Jy  sigma=0.003063
! 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.435753Jy  sigma=0.003063
! Fit after  self-cal, rms=0.433905Jy  sigma=0.003060
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.983 mas, bmaj=8.299 mas, bpa=-1.654 degrees
! Estimated noise=648.653 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00372344 Jy
! Component: 100  -  total flux cleaned = -0.00070954 Jy
! Component: 150  -  total flux cleaned = -0.00451714 Jy
! Component: 200  -  total flux cleaned = -0.0069857 Jy
! Total flux subtracted in 200 components = -0.0069857 Jy
! Clean residual min=-0.082811 max=0.053501 Jy/beam
! Clean residual mean=0.000395 rms=0.014315 Jy/beam
! Combined flux in latest and established models = 10.7176 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 126 components and 10.7176 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.428537Jy  sigma=0.003022
! Fit after  self-cal, rms=0.427238Jy  sigma=0.003013
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.000204559 Jy
! Component: 100  -  total flux cleaned = -0.00237799 Jy
! Component: 150  -  total flux cleaned = -0.00461947 Jy
! Component: 200  -  total flux cleaned = -0.00595225 Jy
! Total flux subtracted in 200 components = -0.00595225 Jy
! Clean residual min=-0.077913 max=0.053141 Jy/beam
! Clean residual mean=0.000417 rms=0.013826 Jy/beam
! Combined flux in latest and established models = 10.7116 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 134 components and 10.7116 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.423516Jy  sigma=0.002987
! Fit after  self-cal, rms=0.422291Jy  sigma=0.002979
! 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.422291Jy  sigma=0.002979
! Fit after  self-cal, rms=0.420245Jy  sigma=0.002972
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.981 mas, bmaj=8.293 mas, bpa=-1.666 degrees
! Estimated noise=648.862 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00230135 Jy
! Component: 100  -  total flux cleaned = -0.000122271 Jy
! Component: 150  -  total flux cleaned = -0.00156216 Jy
! Component: 200  -  total flux cleaned = -0.00289042 Jy
! Total flux subtracted in 200 components = -0.00289042 Jy
! Clean residual min=-0.077356 max=0.051141 Jy/beam
! Clean residual mean=0.000317 rms=0.013265 Jy/beam
! Combined flux in latest and established models = 10.7087 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 136 components and 10.7087 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.416679Jy  sigma=0.002948
! Fit after  self-cal, rms=0.415680Jy  sigma=0.002941
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 = 5.54052e-05 Jy
! Component: 100  -  total flux cleaned = -0.00216857 Jy
! Component: 150  -  total flux cleaned = -0.00280727 Jy
! Component: 200  -  total flux cleaned = -0.00336529 Jy
! Total flux subtracted in 200 components = -0.00336529 Jy
! Clean residual min=-0.074267 max=0.049529 Jy/beam
! Clean residual mean=0.000327 rms=0.012899 Jy/beam
! Combined flux in latest and established models = 10.7053 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 137 components and 10.7054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412951Jy  sigma=0.002922
! Fit after  self-cal, rms=0.412051Jy  sigma=0.002916
! 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.412051Jy  sigma=0.002916
! Fit after  self-cal, rms=0.410798Jy  sigma=0.002911
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.49 mas, bmaj=19.78 mas, bpa=3.929 degrees
! Estimated noise=818.263 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00713718 Jy
! Component: 100  -  total flux cleaned = -0.00642089 Jy
! Component: 150  -  total flux cleaned = -0.00696845 Jy
! Component: 200  -  total flux cleaned = -0.00752446 Jy
! Total flux subtracted in 200 components = -0.00752446 Jy
! Clean residual min=-0.034734 max=0.032257 Jy/beam
! Clean residual mean=0.000581 rms=0.009645 Jy/beam
! Combined flux in latest and established models = 10.6978 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 144 components and 10.6978 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.408825Jy  sigma=0.002901
! Fit after  self-cal, rms=0.408001Jy  sigma=0.002895
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.00160687 Jy
! Component: 100  -  total flux cleaned = -0.000961169 Jy
! Component: 150  -  total flux cleaned = -0.000907929 Jy
! Component: 200  -  total flux cleaned = -0.00189236 Jy
! Total flux subtracted in 200 components = -0.00189236 Jy
! Clean residual min=-0.032468 max=0.031894 Jy/beam
! Clean residual mean=0.000608 rms=0.009418 Jy/beam
! Combined flux in latest and established models = 10.6959 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 148 components and 10.6959 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.406181Jy  sigma=0.002886
! Fit after  self-cal, rms=0.405437Jy  sigma=0.002880
! 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.98 mas, bmaj=8.29 mas, bpa=-1.683 degrees
! Estimated noise=649.091 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.98 x 8.29 at -1.683 degrees (North through East)
! Clean map  min=-0.067519  max=5.5467 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.405437Jy  sigma=0.002880
! Fit after  self-cal, rms=0.310877Jy  sigma=0.001858
! Inverting map and beam 
! Estimated beam: bmin=2.982 mas, bmaj=8.29 mas, bpa=-1.658 degrees
! Estimated noise=649.129 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000186037 Jy
! Component: 100  -  total flux cleaned = -0.0025066 Jy
! Component: 150  -  total flux cleaned = -0.00383013 Jy
! Component: 200  -  total flux cleaned = -0.00499072 Jy
! Total flux subtracted in 200 components = -0.00499072 Jy
! Clean residual min=-0.067266 max=0.048722 Jy/beam
! Clean residual mean=0.000581 rms=0.011790 Jy/beam
! Combined flux in latest and established models = 10.6909 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 150 components and 10.6909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.307073Jy  sigma=0.001829
! Fit after  self-cal, rms=0.306299Jy  sigma=0.001823
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000830506 Jy
! Component: 100  -  total flux cleaned = 0.000807262 Jy
! Component: 150  -  total flux cleaned = 0.000211901 Jy
! Component: 200  -  total flux cleaned = -0.000295884 Jy
! Total flux subtracted in 200 components = -0.000295884 Jy
! Clean residual min=-0.065662 max=0.046934 Jy/beam
! Clean residual mean=0.000578 rms=0.011533 Jy/beam
! Combined flux in latest and established models = 10.6906 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 152 components and 10.6906 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.303483Jy  sigma=0.001801
! Fit after  self-cal, rms=0.302673Jy  sigma=0.001794
! 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.302673Jy  sigma=0.001794
! Fit after  self-cal, rms=0.301884Jy  sigma=0.001792
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.452 mas, bmaj=7.106 mas, bpa=-3.883 degrees
! Estimated noise=1316.96 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 4.55124 Jy
! Component: 100  -  total flux cleaned = 6.40131 Jy
! Component: 150  -  total flux cleaned = 7.57184 Jy
! Component: 200  -  total flux cleaned = 8.38073 Jy
! Total flux subtracted in 200 components = 8.38073 Jy
! Clean residual min=-0.192064 max=0.449394 Jy/beam
! Clean residual mean=0.003228 rms=0.077416 Jy/beam
! Combined flux in latest and established models = 8.38072 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 46 model components to the UV plane model.
! The established model now contains 46 components and 8.38072 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.981 mas, bmaj=8.289 mas, bpa=-1.698 degrees
! Estimated noise=649.185 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.937854 Jy
! Component: 100  -  total flux cleaned = 1.46246 Jy
! Component: 150  -  total flux cleaned = 1.77536 Jy
! Component: 200  -  total flux cleaned = 1.96524 Jy
! Total flux subtracted in 200 components = 1.96524 Jy
! Clean residual min=-0.062544 max=0.113836 Jy/beam
! Clean residual mean=0.001502 rms=0.021072 Jy/beam
! Combined flux in latest and established models = 10.346 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 92 components and 10.346 Jy
! Inverting map 
! Added new window around map position (-3.5, -3.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.124267 Jy
! Component: 100  -  total flux cleaned = 0.203698 Jy
! Component: 150  -  total flux cleaned = 0.251087 Jy
! Component: 200  -  total flux cleaned = 0.259556 Jy
! Total flux subtracted in 200 components = 0.259556 Jy
! Clean residual min=-0.044325 max=0.061504 Jy/beam
! Clean residual mean=0.000798 rms=0.011225 Jy/beam
! Combined flux in latest and established models = 10.6055 Jy
! Adding 43 model components to the UV plane model.
! The established model now contains 132 components and 10.6055 Jy
! Inverting map 
! Added new window around map position (7.5, 16).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0416715 Jy
! Component: 100  -  total flux cleaned = 0.0462947 Jy
! Component: 150  -  total flux cleaned = 0.0491153 Jy
! Component: 200  -  total flux cleaned = 0.0517069 Jy
! Total flux subtracted in 200 components = 0.0517069 Jy
! Clean residual min=-0.033323 max=0.036602 Jy/beam
! Clean residual mean=0.000546 rms=0.009037 Jy/beam
! Combined flux in latest and established models = 10.6572 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 157 components and 10.6572 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.496 mas, bmaj=19.79 mas, bpa=3.919 degrees
! Estimated noise=817.771 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0234047 Jy
! Component: 100  -  total flux cleaned = 0.02698 Jy
! Component: 150  -  total flux cleaned = 0.0280023 Jy
! Component: 200  -  total flux cleaned = 0.0280149 Jy
! Total flux subtracted in 200 components = 0.0280149 Jy
! Clean residual min=-0.020355 max=0.030007 Jy/beam
! Clean residual mean=0.000983 rms=0.006841 Jy/beam
! Combined flux in latest and established models = 10.6852 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 (51.5, 24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0244652 Jy
! Component: 100  -  total flux cleaned = 0.0325317 Jy
! Component: 150  -  total flux cleaned = 0.0351189 Jy
! Component: 200  -  total flux cleaned = 0.0374842 Jy
! Total flux subtracted in 200 components = 0.0374842 Jy
! Clean residual min=-0.017694 max=0.017175 Jy/beam
! Clean residual mean=0.000759 rms=0.005541 Jy/beam
! Combined flux in latest and established models = 10.7227 Jy
! Adding 50 model components to the UV plane model.
! The established model now contains 203 components and 10.7227 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.981 mas, bmaj=8.289 mas, bpa=-1.698 degrees
! Estimated noise=649.185 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00805914 Jy
! Component: 100  -  total flux cleaned = -0.0103284 Jy
! Component: 150  -  total flux cleaned = -0.00842696 Jy
! Component: 200  -  total flux cleaned = -0.00659659 Jy
! Total flux subtracted in 200 components = -0.00659659 Jy
! Clean residual min=-0.027544 max=0.031022 Jy/beam
! Clean residual mean=0.000421 rms=0.007625 Jy/beam
! Combined flux in latest and established models = 10.7161 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 221 components and 10.7161 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.272835Jy  sigma=0.001525
! Fit after  self-cal, rms=0.270051Jy  sigma=0.001500
wmodel J1924-2914_S_1999_05_10_pus_map.mod
! Writing 221 model components to file: J1924-2914_S_1999_05_10_pus_map.mod
wobs J1924-2914_S_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J1924-2914_S_1999_05_10_pus_uvs.fits
wwins J1924-2914_S_1999_05_10_pus_map.win
! wwins: Wrote 6 windows to J1924-2914_S_1999_05_10_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.00299797 Jy
! Component: 100  -  total flux cleaned = 0.000362497 Jy
! Component: 150  -  total flux cleaned = 0.00485964 Jy
! Component: 200  -  total flux cleaned = 0.00869548 Jy
! Component: 250  -  total flux cleaned = 0.0107331 Jy
! Component: 300  -  total flux cleaned = 0.0126771 Jy
! Component: 350  -  total flux cleaned = 0.0138121 Jy
! Component: 400  -  total flux cleaned = 0.01491 Jy
! Component: 450  -  total flux cleaned = 0.0149105 Jy
! Component: 500  -  total flux cleaned = 0.0162952 Jy
! Component: 550  -  total flux cleaned = 0.0162958 Jy
! Component: 600  -  total flux cleaned = 0.0176162 Jy
! Component: 650  -  total flux cleaned = 0.0182542 Jy
! Component: 700  -  total flux cleaned = 0.0182539 Jy
! Component: 750  -  total flux cleaned = 0.0194933 Jy
! Component: 800  -  total flux cleaned = 0.0197962 Jy
! Component: 850  -  total flux cleaned = 0.0206922 Jy
! Component: 900  -  total flux cleaned = 0.0215722 Jy
! Component: 950  -  total flux cleaned = 0.0224408 Jy
! Component: 1000  -  total flux cleaned = 0.0230065 Jy
! Component: 1050  -  total flux cleaned = 0.0232853 Jy
! Component: 1100  -  total flux cleaned = 0.0246585 Jy
! Component: 1150  -  total flux cleaned = 0.0243872 Jy
! Component: 1200  -  total flux cleaned = 0.0251897 Jy
! Component: 1250  -  total flux cleaned = 0.0262467 Jy
! Component: 1300  -  total flux cleaned = 0.0272872 Jy
! Component: 1350  -  total flux cleaned = 0.028311 Jy
! Component: 1400  -  total flux cleaned = 0.0288154 Jy
! Component: 1450  -  total flux cleaned = 0.0295611 Jy
! Component: 1500  -  total flux cleaned = 0.030055 Jy
! Component: 1550  -  total flux cleaned = 0.0312698 Jy
! Component: 1600  -  total flux cleaned = 0.0319872 Jy
! Component: 1650  -  total flux cleaned = 0.0329351 Jy
! Component: 1700  -  total flux cleaned = 0.0329352 Jy
! Component: 1750  -  total flux cleaned = 0.0338658 Jy
! Component: 1800  -  total flux cleaned = 0.0343261 Jy
! Component: 1850  -  total flux cleaned = 0.0350069 Jy
! Component: 1900  -  total flux cleaned = 0.0354554 Jy
! Component: 1950  -  total flux cleaned = 0.0356773 Jy
! Component: 2000  -  total flux cleaned = 0.0358944 Jy
! Total flux subtracted in 2048 components = 0.0358934 Jy
! Clean residual min=-0.010855 max=0.010822 Jy/beam
! Clean residual mean=0.000160 rms=0.004578 Jy/beam
! Combined flux in latest and established models = 10.752 Jy
keep
! Adding 128 model components to the UV plane model.
! The established model now contains 345 components and 10.752 Jy
![Exited script file: muppet]
wmap "J1924-2914_S_1999_05_10_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.981 x 8.289 at -1.698 degrees (North through East)
! Clean map  min=-0.036978  max=5.6337 Jy/beam
! Writing clean map to FITS file: J1924-2914_S_1999_05_10_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 5.63372 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00456764 
device "J1924-2914_S_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_S_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.24323 0.24323 0.48646 0.97292 1.94584 3.89168 7.78336 15.5667 31.1334 62.2669
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0137 
print "peak=",int(1000*peak_flux)/1000
! peak= 5.633 
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.981 x 8.289 at -1.698 degrees (North through East)
! Clean map  min=-0.036978  max=5.6337 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_S_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_S_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_S_1999_05_10_pus_uvs.log closed on Mon Jan 21 17:48:27 2008