! Started logfile: J1924-2914_X_1999_05_10_pus_uvs.log on Mon Jan 14 12:57:01 2008
obs J1924-2914_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J1924-2914_X_1999_05_10_pus_uva.fits
! AN table 1: 154 integrations on 153 of 153 possible baselines.
! AN table 2: 9 integrations on 153 of 153 possible baselines.
! AN table 3: 80 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1759 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 = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1924-2914_X_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 = 256x256 pixels with 0.200x0.200 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 1715 telescope corrections were flagged in sub-array 1.
!  A total of 162 telescope corrections were flagged in sub-array 2.
!  A total of 1232 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1715 telescope corrections were flagged in sub-array 1.
!  A total of 162 telescope corrections were flagged in sub-array 2.
!  A total of 1232 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1715 telescope corrections were flagged in sub-array 1.
!  A total of 162 telescope corrections were flagged in sub-array 2.
!  A total of 1232 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1715 telescope corrections were flagged in sub-array 1.
!  A total of 162 telescope corrections were flagged in sub-array 2.
!  A total of 1286 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=6.570444Jy  sigma=0.066394
! Fit after  self-cal, rms=6.469929Jy  sigma=0.065969
! 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 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.7001 mas, bmaj=1.477 mas, bpa=-5.087 degrees
! Estimated noise=1243.1 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 = 5.21806 Jy
! Component: 100  -  total flux cleaned = 6.6837 Jy
! Total flux subtracted in 100 components = 6.6837 Jy
! Clean residual min=-0.295106 max=0.600278 Jy/beam
! Clean residual mean=0.018213 rms=0.105224 Jy/beam
! Combined flux in latest and established models = 6.6837 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 6.6837 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.777353Jy  sigma=0.019680
! Fit after  self-cal, rms=1.776626Jy  sigma=0.019671
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8379 mas, bmaj=2.181 mas, bpa=-2.348 degrees
! Estimated noise=540.802 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 = 1.19453 Jy
! Component: 100  -  total flux cleaned = 1.81394 Jy
! Component: 150  -  total flux cleaned = 2.15946 Jy
! Component: 200  -  total flux cleaned = 2.35217 Jy
! Total flux subtracted in 200 components = 2.35217 Jy
! Clean residual min=-0.232284 max=0.441471 Jy/beam
! Clean residual mean=0.020419 rms=0.107827 Jy/beam
! Combined flux in latest and established models = 9.03587 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 23 components and 9.03587 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.003283Jy  sigma=0.009785
! Fit after  self-cal, rms=1.003393Jy  sigma=0.009776
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.91     GC        1.00*    HH        1.00*    
!   HN        1.14     KK        1.04     KP        1.00     LA        0.97     
!   MC        1.00*    MK        1.01     NL        1.16     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.96     SC        1.05     
!   WF        1.24     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*    
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.93     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        1.04     LA        1.03     
!   MC        1.00*    MK        1.00*    NL        1.30     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        1.00     SC        1.01     
!   WF        1.22     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.90     GC        1.00*    HH        1.00*    
!   HN        1.13     KK        1.05     KP        1.01     LA        0.97     
!   MC        1.00*    MK        1.00     NL        1.11     NY        1.00*    
!   ON        1.00*    OV        0.97     PT        0.88     SC        1.03     
!   WF        1.16     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*    
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.92     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        1.05     LA        1.00     
!   MC        1.00*    MK        1.00*    NL        1.26     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.92     SC        1.00     
!   WF        1.05     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.93     GC        1.00*    HH        1.00*    
!   HN        1.13     KK        1.13     KP        1.04     LA        0.97     
!   MC        1.00*    MK        1.01     NL        1.10     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.90     SC        1.05     
!   WF        1.14     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*    
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.89     GC        1.00*    HH        1.00*    
!   HN        1.00     KK        1.00*    KP        1.08     LA        1.00     
!   MC        1.00*    MK        1.00*    NL        1.25     NY        1.00*    
!   ON        1.00*    OV        1.06     PT        0.93     SC        1.01     
!   WF        1.06     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.92     GC        1.00*    HH        1.00*    
!   HN        1.14     KK        1.10     KP        1.02     LA        0.99     
!   MC        1.00*    MK        1.02     NL        1.11     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.92     SC        1.02     
!   WF        1.13     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*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.88     GC        1.00*    HH        1.00*    
!   HN        1.00     KK        1.00*    KP        1.06     LA        1.02     
!   MC        1.00*    MK        1.00*    NL        1.26     NY        1.00*    
!   ON        1.00*    OV        1.06     PT        0.95     SC        0.96     
!   WF        1.05     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=1.003393Jy  sigma=0.009776
! Fit after  self-cal, rms=0.744431Jy  sigma=0.006710
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8476 mas, bmaj=2.266 mas, bpa=-2.439 degrees
! Estimated noise=545.69 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.0204803 Jy
! Component: 100  -  total flux cleaned = -0.0271913 Jy
! Component: 150  -  total flux cleaned = -0.0302161 Jy
! Component: 200  -  total flux cleaned = -0.0328978 Jy
! Total flux subtracted in 200 components = -0.0328978 Jy
! Clean residual min=-0.130586 max=0.309208 Jy/beam
! Clean residual mean=0.016653 rms=0.072894 Jy/beam
! Combined flux in latest and established models = 9.00297 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 30 components and 9.00297 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.736859Jy  sigma=0.006665
! Fit after  self-cal, rms=0.738354Jy  sigma=0.006661
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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.738354Jy  sigma=0.006661
! Fit after  self-cal, rms=0.739787Jy  sigma=0.006656
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.849 mas, bmaj=2.27 mas, bpa=-2.472 degrees
! Estimated noise=546.12 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0196693 Jy
! Component: 100  -  total flux cleaned = -0.0223251 Jy
! Component: 150  -  total flux cleaned = -0.0247585 Jy
! Component: 200  -  total flux cleaned = -0.0280573 Jy
! Total flux subtracted in 200 components = -0.0280573 Jy
! Clean residual min=-0.126814 max=0.309304 Jy/beam
! Clean residual mean=0.016781 rms=0.072063 Jy/beam
! Combined flux in latest and established models = 8.97491 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 31 components and 8.97491 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.734734Jy  sigma=0.006631
! Fit after  self-cal, rms=0.733671Jy  sigma=0.006630
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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 (1.6, 5.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.286725 Jy
! Component: 100  -  total flux cleaned = 0.391477 Jy
! Component: 150  -  total flux cleaned = 0.420739 Jy
! Component: 200  -  total flux cleaned = 0.434366 Jy
! Total flux subtracted in 200 components = 0.434366 Jy
! Clean residual min=-0.100826 max=0.233200 Jy/beam
! Clean residual mean=0.010063 rms=0.051567 Jy/beam
! Combined flux in latest and established models = 9.40928 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 54 components and 9.40928 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.629437Jy  sigma=0.005338
! Fit after  self-cal, rms=0.599840Jy  sigma=0.005118
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Added new window around map position (4, 4.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.226846 Jy
! Component: 100  -  total flux cleaned = 0.323909 Jy
! Component: 150  -  total flux cleaned = 0.363715 Jy
! Component: 200  -  total flux cleaned = 0.396646 Jy
! Total flux subtracted in 200 components = 0.396646 Jy
! Clean residual min=-0.101237 max=0.118598 Jy/beam
! Clean residual mean=0.004336 rms=0.030895 Jy/beam
! Combined flux in latest and established models = 9.80593 Jy
! Performing phase self-cal
! Adding 51 model components to the UV plane model.
! The established model now contains 104 components and 9.80592 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.513456Jy  sigma=0.003972
! Fit after  self-cal, rms=0.498436Jy  sigma=0.003842
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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.498436Jy  sigma=0.003842
! Fit after  self-cal, rms=0.456144Jy  sigma=0.003559
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8471 mas, bmaj=2.266 mas, bpa=-2.506 degrees
! Estimated noise=542.795 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.1083 Jy
! Component: 100  -  total flux cleaned = 0.182649 Jy
! Component: 150  -  total flux cleaned = 0.214447 Jy
! Component: 200  -  total flux cleaned = 0.240494 Jy
! Total flux subtracted in 200 components = 0.240494 Jy
! Clean residual min=-0.070146 max=0.085693 Jy/beam
! Clean residual mean=0.002168 rms=0.023253 Jy/beam
! Combined flux in latest and established models = 10.0464 Jy
selfcal
! Performing phase self-cal
! Adding 44 model components to the UV plane model.
! The established model now contains 131 components and 10.0464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.425218Jy  sigma=0.003102
! Fit after  self-cal, rms=0.416467Jy  sigma=0.003023
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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.0504477 Jy
! Component: 100  -  total flux cleaned = 0.064661 Jy
! Component: 150  -  total flux cleaned = 0.0736303 Jy
! Component: 200  -  total flux cleaned = 0.0802575 Jy
! Total flux subtracted in 200 components = 0.0802575 Jy
! Clean residual min=-0.061667 max=0.069787 Jy/beam
! Clean residual mean=0.000839 rms=0.019593 Jy/beam
! Combined flux in latest and established models = 10.1267 Jy
! Performing phase self-cal
! Adding 49 model components to the UV plane model.
! The established model now contains 153 components and 10.1267 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403318Jy  sigma=0.002845
! Fit after  self-cal, rms=0.399482Jy  sigma=0.002815
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 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.399482Jy  sigma=0.002815
! Fit after  self-cal, rms=0.387240Jy  sigma=0.002725
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=2.213 mas, bmaj=5.992 mas, bpa=3.656 degrees
! Estimated noise=655.339 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0713892 Jy
! Component: 100  -  total flux cleaned = 0.0906633 Jy
! Component: 150  -  total flux cleaned = 0.101418 Jy
! Component: 200  -  total flux cleaned = 0.109438 Jy
! Total flux subtracted in 200 components = 0.109438 Jy
! Clean residual min=-0.058073 max=0.057524 Jy/beam
! Clean residual mean=0.000696 rms=0.021109 Jy/beam
! Combined flux in latest and established models = 10.2361 Jy
selfcal
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 181 components and 10.2361 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.380239Jy  sigma=0.002562
! Fit after  self-cal, rms=0.375656Jy  sigma=0.002515
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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.0268469 Jy
! Component: 100  -  total flux cleaned = 0.0355659 Jy
! Component: 150  -  total flux cleaned = 0.0411256 Jy
! Component: 200  -  total flux cleaned = 0.0449 Jy
! Total flux subtracted in 200 components = 0.0449 Jy
! Clean residual min=-0.056441 max=0.043243 Jy/beam
! Clean residual mean=-0.000920 rms=0.018061 Jy/beam
! Combined flux in latest and established models = 10.281 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 204 components and 10.281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.373253Jy  sigma=0.002475
! Fit after  self-cal, rms=0.371206Jy  sigma=0.002454
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
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 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8477 mas, bmaj=2.268 mas, bpa=-2.511 degrees
! Estimated noise=542.987 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8477 x 2.268 at -2.511 degrees (North through East)
! Clean map  min=-0.052674  max=6.9212 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.371206Jy  sigma=0.002454
! Fit after  self-cal, rms=0.321166Jy  sigma=0.002091
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8496 mas, bmaj=2.273 mas, bpa=-2.498 degrees
! Estimated noise=543.153 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0292387 Jy
! Component: 100  -  total flux cleaned = 0.0367535 Jy
! Component: 150  -  total flux cleaned = 0.0388617 Jy
! Component: 200  -  total flux cleaned = 0.0398117 Jy
! Total flux subtracted in 200 components = 0.0398117 Jy
! Clean residual min=-0.048344 max=0.045912 Jy/beam
! Clean residual mean=-0.000252 rms=0.012712 Jy/beam
! Combined flux in latest and established models = 10.3208 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 212 components and 10.3208 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.311603Jy  sigma=0.001980
! Fit after  self-cal, rms=0.309924Jy  sigma=0.001965
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0154031 Jy
! Component: 100  -  total flux cleaned = 0.0188805 Jy
! Component: 150  -  total flux cleaned = 0.0188642 Jy
! Component: 200  -  total flux cleaned = 0.0181757 Jy
! Total flux subtracted in 200 components = 0.0181757 Jy
! Clean residual min=-0.045138 max=0.043312 Jy/beam
! Clean residual mean=-0.000549 rms=0.011835 Jy/beam
! Combined flux in latest and established models = 10.339 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 218 components and 10.339 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.304981Jy  sigma=0.001909
! Fit after  self-cal, rms=0.304194Jy  sigma=0.001902
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.304194Jy  sigma=0.001902
! Fit after  self-cal, rms=0.301647Jy  sigma=0.001881
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 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.695 mas, bmaj=1.958 mas, bpa=-5.69 degrees
! Estimated noise=1149.43 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 5.47931 Jy
! Component: 100  -  total flux cleaned = 6.95526 Jy
! Component: 150  -  total flux cleaned = 7.57629 Jy
! Component: 200  -  total flux cleaned = 7.97065 Jy
! Total flux subtracted in 200 components = 7.97065 Jy
! Clean residual min=-0.133191 max=0.241828 Jy/beam
! Clean residual mean=0.013957 rms=0.057656 Jy/beam
! Combined flux in latest and established models = 7.97065 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 32 model components to the UV plane model.
! The established model now contains 32 components and 7.97065 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8504 mas, bmaj=2.275 mas, bpa=-2.484 degrees
! Estimated noise=543.437 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.584142 Jy
! Component: 100  -  total flux cleaned = 0.972974 Jy
! Component: 150  -  total flux cleaned = 1.25372 Jy
! Component: 200  -  total flux cleaned = 1.46407 Jy
! Total flux subtracted in 200 components = 1.46407 Jy
! Clean residual min=-0.064549 max=0.129529 Jy/beam
! Clean residual mean=0.011890 rms=0.042890 Jy/beam
! Combined flux in latest and established models = 9.43473 Jy
! Adding 76 model components to the UV plane model.
! The established model now contains 96 components and 9.43473 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=2.211 mas, bmaj=6.001 mas, bpa=3.595 degrees
! Estimated noise=653.738 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.278391 Jy
! Component: 100  -  total flux cleaned = 0.451778 Jy
! Component: 150  -  total flux cleaned = 0.567695 Jy
! Component: 200  -  total flux cleaned = 0.648408 Jy
! Total flux subtracted in 200 components = 0.648408 Jy
! Clean residual min=-0.055163 max=0.067687 Jy/beam
! Clean residual mean=0.006409 rms=0.024578 Jy/beam
! Combined flux in latest and established models = 10.0831 Jy
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0573657 Jy
! Component: 100  -  total flux cleaned = 0.098414 Jy
! Component: 150  -  total flux cleaned = 0.128145 Jy
! Component: 200  -  total flux cleaned = 0.15007 Jy
! Total flux subtracted in 200 components = 0.15007 Jy
! Clean residual min=-0.049587 max=0.045628 Jy/beam
! Clean residual mean=0.002255 rms=0.016295 Jy/beam
! Combined flux in latest and established models = 10.2332 Jy
! Adding 88 model components to the UV plane model.
! The established model now contains 171 components and 10.2332 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! Estimated beam: bmin=0.8504 mas, bmaj=2.275 mas, bpa=-2.484 degrees
! Estimated noise=543.437 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00219353 Jy
! Component: 100  -  total flux cleaned = 0.0021835 Jy
! Component: 150  -  total flux cleaned = 0.00321239 Jy
! Component: 200  -  total flux cleaned = 0.00510605 Jy
! Total flux subtracted in 200 components = 0.00510605 Jy
! Clean residual min=-0.043344 max=0.047780 Jy/beam
! Clean residual mean=0.000935 rms=0.012336 Jy/beam
! Combined flux in latest and established models = 10.2383 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 183 components and 10.2383 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305095Jy  sigma=0.001944
! Fit after  self-cal, rms=0.298783Jy  sigma=0.001858
wmodel J1924-2914_X_1999_05_10_pus_map.mod
! Writing 183 model components to file: J1924-2914_X_1999_05_10_pus_map.mod
wobs J1924-2914_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J1924-2914_X_1999_05_10_pus_uvs.fits
wwins J1924-2914_X_1999_05_10_pus_map.win
! wwins: Wrote 3 windows to J1924-2914_X_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 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00798815 Jy
! Component: 100  -  total flux cleaned = 0.00789194 Jy
! Component: 150  -  total flux cleaned = 0.0114098 Jy
! Component: 200  -  total flux cleaned = 0.0141816 Jy
! Component: 250  -  total flux cleaned = 0.0178561 Jy
! Component: 300  -  total flux cleaned = 0.0218201 Jy
! Component: 350  -  total flux cleaned = 0.0256051 Jy
! Component: 400  -  total flux cleaned = 0.0283453 Jy
! Component: 450  -  total flux cleaned = 0.0314286 Jy
! Component: 500  -  total flux cleaned = 0.0339854 Jy
! Component: 550  -  total flux cleaned = 0.0364591 Jy
! Component: 600  -  total flux cleaned = 0.0384483 Jy
! Component: 650  -  total flux cleaned = 0.0403698 Jy
! Component: 700  -  total flux cleaned = 0.0414944 Jy
! Component: 750  -  total flux cleaned = 0.0425906 Jy
! Component: 800  -  total flux cleaned = 0.0440019 Jy
! Component: 850  -  total flux cleaned = 0.0453593 Jy
! Component: 900  -  total flux cleaned = 0.0463514 Jy
! Component: 950  -  total flux cleaned = 0.0479702 Jy
! Component: 1000  -  total flux cleaned = 0.0486022 Jy
! Total flux subtracted in 1024 components = 0.0492264 Jy
! Clean residual min=-0.016722 max=0.016637 Jy/beam
! Clean residual mean=0.000330 rms=0.006609 Jy/beam
! Combined flux in latest and established models = 10.2875 Jy
keep
! Adding 46 model components to the UV plane model.
! The established model now contains 228 components and 10.2875 Jy
![Exited script file: muppet]
wmap "J1924-2914_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8504 x 2.275 at -2.484 degrees (North through East)
! Clean map  min=-0.033244  max=7.1467 Jy/beam
! Writing clean map to FITS file: J1924-2914_X_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 7.14669 
invert
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1908 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00656317 
device "J1924-2914_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.275505 0.275505 0.55101 1.10202 2.20404 4.40808 8.81617 17.6323 35.2647 70.5293
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0196 
print "peak=",int(1000*peak_flux)/1000
! peak= 7.146 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8504 x 2.275 at -2.484 degrees (North through East)
! Clean map  min=-0.033244  max=7.1467 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 12:57:12 2008