! Started logfile: J1510-0543_X_1999_05_10_pus_uvs.log on Mon Jan 14 14:08:11 2008
obs J1510-0543_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J1510-0543_X_1999_05_10_pus_uva.fits
! AN table 1: 130 integrations on 153 of 153 possible baselines.
! AN table 2: 103 integrations on 153 of 153 possible baselines.
! AN table 3: 150 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.149269 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1510-0543
! 
! 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 34988 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.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1510-0543_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 = 512x512 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 1612 telescope corrections were flagged in sub-array 1.
!  A total of 1522 telescope corrections were flagged in sub-array 2.
!  A total of 1691 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1523 telescope corrections were flagged in sub-array 1.
!  A total of 1522 telescope corrections were flagged in sub-array 2.
!  A total of 1691 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1523 telescope corrections were flagged in sub-array 1.
!  A total of 1522 telescope corrections were flagged in sub-array 2.
!  A total of 1691 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1558 telescope corrections were flagged in sub-array 1.
!  A total of 1522 telescope corrections were flagged in sub-array 2.
!  A total of 1779 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.844531Jy  sigma=0.006836
! Fit after  self-cal, rms=0.642551Jy  sigma=0.005472
! 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 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.5651 mas, bmaj=1.454 mas, bpa=-2.807 degrees
! Estimated noise=705.274 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 = 0.314612 Jy
! Component: 100  -  total flux cleaned = 0.394686 Jy
! Total flux subtracted in 100 components = 0.394686 Jy
! Clean residual min=-0.008921 max=0.034385 Jy/beam
! Clean residual mean=0.000139 rms=0.002777 Jy/beam
! Combined flux in latest and established models = 0.394686 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.394686 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.264499Jy  sigma=0.001621
! Fit after  self-cal, rms=0.264464Jy  sigma=0.001621
! Inverting map 
! Your choice of large map pixels excluded 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0383532 Jy
! Component: 100  -  total flux cleaned = 0.0599596 Jy
! Total flux subtracted in 100 components = 0.0599596 Jy
! Clean residual min=-0.007400 max=0.011204 Jy/beam
! Clean residual mean=0.000079 rms=0.001921 Jy/beam
! Combined flux in latest and established models = 0.454645 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 20 components and 0.454645 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259247Jy  sigma=0.001516
! Fit after  self-cal, rms=0.259322Jy  sigma=0.001515
! Inverting map 
! Your choice of large map pixels excluded 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6502 mas, bmaj=1.595 mas, bpa=-2.814 degrees
! Estimated noise=446.187 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.0151808 Jy
! Component: 100  -  total flux cleaned = 0.0232119 Jy
! Component: 150  -  total flux cleaned = 0.0276798 Jy
! Component: 200  -  total flux cleaned = 0.0302577 Jy
! Total flux subtracted in 200 components = 0.0302577 Jy
! Clean residual min=-0.006552 max=0.012581 Jy/beam
! Clean residual mean=0.000057 rms=0.001905 Jy/beam
! Combined flux in latest and established models = 0.484903 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 32 components and 0.484903 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258740Jy  sigma=0.001500
! Fit after  self-cal, rms=0.258751Jy  sigma=0.001500
! Inverting map 
! Your choice of large map pixels excluded 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Added new window around map position (17.2, 3.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.012204 Jy
! Component: 100  -  total flux cleaned = 0.0187306 Jy
! Component: 150  -  total flux cleaned = 0.0229518 Jy
! Component: 200  -  total flux cleaned = 0.0257826 Jy
! Total flux subtracted in 200 components = 0.0257826 Jy
! Clean residual min=-0.005448 max=0.010402 Jy/beam
! Clean residual mean=-0.000166 rms=0.001630 Jy/beam
! Combined flux in latest and established models = 0.510685 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 52 components and 0.510685 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258271Jy  sigma=0.001490
! Fit after  self-cal, rms=0.258216Jy  sigma=0.001490
! Inverting map 
! Your choice of large map pixels excluded 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Added new window around map position (1.8, 0.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00932945 Jy
! Component: 100  -  total flux cleaned = 0.0116102 Jy
! Component: 150  -  total flux cleaned = 0.0130974 Jy
! Component: 200  -  total flux cleaned = 0.013982 Jy
! Total flux subtracted in 200 components = 0.013982 Jy
! Clean residual min=-0.005269 max=0.006862 Jy/beam
! Clean residual mean=-0.000308 rms=0.001485 Jy/beam
! Combined flux in latest and established models = 0.524667 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 75 components and 0.524667 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.257853Jy  sigma=0.001484
! Fit after  self-cal, rms=0.257781Jy  sigma=0.001484
! Inverting map 
! Your choice of large map pixels excluded 3.02% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.97     GC        1.04     HH        1.00*    
!   HN        1.01     KK        0.92     KP        0.99     LA        0.99     
!   MC        1.07     MK        1.00     NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        1.04     SC        1.00     
!   WF        1.06     WZ        1.26     
! 
!  A total of 201 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.00     GC        1.02     HH        1.00*    
!   HN        1.00*    KK        0.89     KP        1.00     LA        0.96     
!   MC        1.00*    MK        0.99     NL        1.06     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.97     GC        1.12     HH        0.85     
!   HN        0.96     KK        0.95     KP        1.02     LA        0.98     
!   MC        1.02     MK        0.97     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        0.94     PT        1.06     SC        1.02     
!   WF        1.08     WZ        0.96     
! 
! 
! Correcting IF 2.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.97     GC        1.01     HH        1.00*    
!   HN        1.00     KK        0.94     KP        0.98     LA        0.96     
!   MC        1.32     MK        1.02     NL        0.97     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        0.94     SC        1.01     
!   WF        1.08     WZ        1.26     
! 
!  A total of 201 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.98     GC        1.02     HH        1.00*    
!   HN        1.00*    KK        0.91     KP        1.02     LA        0.99     
!   MC        1.00*    MK        0.97     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        0.91     PT        0.92     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.97     GC        1.09     HH        0.90     
!   HN        0.96     KK        0.94     KP        1.05     LA        1.00     
!   MC        1.01     MK        0.95     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        0.95     PT        0.95     SC        1.00     
!   WF        1.02     WZ        0.99     
! 
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     GC        1.02     HH        1.00*    
!   HN        1.02     KK        1.00     KP        1.01     LA        0.95     
!   MC        1.36     MK        1.00     NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.96     SC        1.04     
!   WF        1.14     WZ        1.27     
! 
!  A total of 201 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        0.99     HH        1.00*    
!   HN        1.00*    KK        1.01     KP        1.02     LA        0.94     
!   MC        1.00*    MK        0.96     NL        1.07     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        0.93     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.99     GC        1.12     HH        0.93     
!   HN        0.99     KK        1.02     KP        1.04     LA        1.00     
!   MC        1.05     MK        0.92     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.96     SC        1.03     
!   WF        1.01     WZ        1.04     
! 
! 
! Correcting IF 4.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.97     GC        1.02     HH        1.00*    
!   HN        1.01     KK        0.95     KP        1.02     LA        0.99     
!   MC        1.24     MK        1.01     NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.99     SC        0.99     
!   WF        1.10     WZ        1.00*    
! 
!  A total of 201 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.92     FD        0.98     GC        0.99     HH        1.00*    
!   HN        1.00*    KK        0.96     KP        1.03     LA        0.95     
!   MC        1.00*    MK        0.98     NL        1.18     NY        1.00*    
!   ON        1.00*    OV        0.92     PT        0.94     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 69 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.93     FD        0.97     GC        1.12     HH        1.08     
!   HN        0.97     KK        0.97     KP        1.03     LA        1.02     
!   MC        1.06     MK        0.96     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        1.00     SC        0.96     
!   WF        1.04     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.257781Jy  sigma=0.001484
! Fit after  self-cal, rms=0.258770Jy  sigma=0.001475
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6584 mas, bmaj=1.72 mas, bpa=-2.566 degrees
! Estimated noise=448.853 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 (14.4, 1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00348938 Jy
! Component: 100  -  total flux cleaned = 0.00477132 Jy
! Component: 150  -  total flux cleaned = 0.00595206 Jy
! Component: 200  -  total flux cleaned = 0.00685357 Jy
! Total flux subtracted in 200 components = 0.00685357 Jy
! Clean residual min=-0.004177 max=0.005479 Jy/beam
! Clean residual mean=-0.000111 rms=0.001087 Jy/beam
! Combined flux in latest and established models = 0.531521 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 100 components and 0.531521 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258533Jy  sigma=0.001471
! Fit after  self-cal, rms=0.258669Jy  sigma=0.001471
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Added new window around map position (19.6, 1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00540229 Jy
! Component: 100  -  total flux cleaned = 0.00737274 Jy
! Component: 150  -  total flux cleaned = 0.00813275 Jy
! Component: 200  -  total flux cleaned = 0.00911523 Jy
! Total flux subtracted in 200 components = 0.00911523 Jy
! Clean residual min=-0.004140 max=0.004331 Jy/beam
! Clean residual mean=-0.000191 rms=0.001014 Jy/beam
! Combined flux in latest and established models = 0.540636 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 123 components and 0.540636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258543Jy  sigma=0.001469
! Fit after  self-cal, rms=0.258534Jy  sigma=0.001469
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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.258534Jy  sigma=0.001469
! Fit after  self-cal, rms=0.258747Jy  sigma=0.001465
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6609 mas, bmaj=1.722 mas, bpa=-2.542 degrees
! Estimated noise=448.442 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00196898 Jy
! Component: 100  -  total flux cleaned = -0.00167867 Jy
! Component: 150  -  total flux cleaned = -0.00112983 Jy
! Component: 200  -  total flux cleaned = -0.000543516 Jy
! Total flux subtracted in 200 components = -0.000543516 Jy
! Clean residual min=-0.003478 max=0.004197 Jy/beam
! Clean residual mean=-0.000108 rms=0.000940 Jy/beam
! Combined flux in latest and established models = 0.540093 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 134 components and 0.540093 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258663Jy  sigma=0.001464
! Fit after  self-cal, rms=0.258676Jy  sigma=0.001464
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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 (7.2, 1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00423659 Jy
! Component: 100  -  total flux cleaned = 0.00602062 Jy
! Component: 150  -  total flux cleaned = 0.00701074 Jy
! Component: 200  -  total flux cleaned = 0.00768964 Jy
! Total flux subtracted in 200 components = 0.00768964 Jy
! Clean residual min=-0.003322 max=0.003239 Jy/beam
! Clean residual mean=-0.000189 rms=0.000854 Jy/beam
! Combined flux in latest and established models = 0.547782 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 146 components and 0.547782 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258584Jy  sigma=0.001463
! Fit after  self-cal, rms=0.258580Jy  sigma=0.001463
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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.258580Jy  sigma=0.001463
! Fit after  self-cal, rms=0.259478Jy  sigma=0.001463
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6628 mas, bmaj=1.727 mas, bpa=-2.569 degrees
! Estimated noise=448.178 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00143756 Jy
! Component: 100  -  total flux cleaned = -0.00135241 Jy
! Component: 150  -  total flux cleaned = -0.000896341 Jy
! Component: 200  -  total flux cleaned = -0.000337544 Jy
! Total flux subtracted in 200 components = -0.000337544 Jy
! Clean residual min=-0.003229 max=0.003256 Jy/beam
! Clean residual mean=-0.000170 rms=0.000822 Jy/beam
! Combined flux in latest and established models = 0.547445 Jy
selfcal
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 147 components and 0.547445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259413Jy  sigma=0.001462
! Fit after  self-cal, rms=0.259421Jy  sigma=0.001462
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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.000687302 Jy
! Component: 100  -  total flux cleaned = 0.00113093 Jy
! Component: 150  -  total flux cleaned = 0.00155029 Jy
! Component: 200  -  total flux cleaned = 0.00183651 Jy
! Total flux subtracted in 200 components = 0.00183651 Jy
! Clean residual min=-0.003139 max=0.003215 Jy/beam
! Clean residual mean=-0.000189 rms=0.000805 Jy/beam
! Combined flux in latest and established models = 0.549282 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 157 components and 0.549281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259391Jy  sigma=0.001462
! Fit after  self-cal, rms=0.259391Jy  sigma=0.001462
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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.259391Jy  sigma=0.001462
! Fit after  self-cal, rms=0.260083Jy  sigma=0.001462
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=2.209 mas, bmaj=3.363 mas, bpa=-4.615 degrees
! Estimated noise=571.557 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000990663 Jy
! Component: 100  -  total flux cleaned = 0.00190698 Jy
! Component: 150  -  total flux cleaned = 0.00259644 Jy
! Component: 200  -  total flux cleaned = 0.00322634 Jy
! Total flux subtracted in 200 components = 0.00322634 Jy
! Clean residual min=-0.004571 max=0.004485 Jy/beam
! Clean residual mean=-0.000556 rms=0.001156 Jy/beam
! Combined flux in latest and established models = 0.552508 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 174 components and 0.552508 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260089Jy  sigma=0.001461
! Fit after  self-cal, rms=0.260090Jy  sigma=0.001461
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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.000840483 Jy
! Component: 100  -  total flux cleaned = 0.00142661 Jy
! Component: 150  -  total flux cleaned = 0.0017924 Jy
! Component: 200  -  total flux cleaned = 0.00207178 Jy
! Total flux subtracted in 200 components = 0.00207178 Jy
! Clean residual min=-0.004511 max=0.004289 Jy/beam
! Clean residual mean=-0.000602 rms=0.001128 Jy/beam
! Combined flux in latest and established models = 0.554579 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 178 components and 0.554579 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260094Jy  sigma=0.001461
! Fit after  self-cal, rms=0.260095Jy  sigma=0.001461
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6645 mas, bmaj=1.731 mas, bpa=-2.592 degrees
! Estimated noise=448.055 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6645 x 1.731 at -2.592 degrees (North through East)
! Clean map  min=-0.0027902  max=0.41394 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
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 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.5779 mas, bmaj=1.537 mas, bpa=-2.902 degrees
! Estimated noise=712.246 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.318334 Jy
! Component: 100  -  total flux cleaned = 0.393229 Jy
! Component: 150  -  total flux cleaned = 0.425018 Jy
! Component: 200  -  total flux cleaned = 0.441691 Jy
! Total flux subtracted in 200 components = 0.441691 Jy
! Clean residual min=-0.005390 max=0.008629 Jy/beam
! Clean residual mean=0.000091 rms=0.001420 Jy/beam
! Combined flux in latest and established models = 0.441691 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.441691 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6645 mas, bmaj=1.731 mas, bpa=-2.592 degrees
! Estimated noise=448.055 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.0174455 Jy
! Component: 100  -  total flux cleaned = 0.030271 Jy
! Component: 150  -  total flux cleaned = 0.0406884 Jy
! Component: 200  -  total flux cleaned = 0.0493756 Jy
! Total flux subtracted in 200 components = 0.0493756 Jy
! Clean residual min=-0.003653 max=0.006446 Jy/beam
! Clean residual mean=0.000391 rms=0.001327 Jy/beam
! Combined flux in latest and established models = 0.491066 Jy
! Adding 54 model components to the UV plane model.
! The established model now contains 63 components and 0.491066 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Added new window around map position (15.8, 2.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00768781 Jy
! Component: 100  -  total flux cleaned = 0.0142245 Jy
! Component: 150  -  total flux cleaned = 0.019954 Jy
! Component: 200  -  total flux cleaned = 0.0250135 Jy
! Total flux subtracted in 200 components = 0.0250135 Jy
! Clean residual min=-0.003107 max=0.004287 Jy/beam
! Clean residual mean=0.000144 rms=0.001017 Jy/beam
! Combined flux in latest and established models = 0.51608 Jy
! Adding 64 model components to the UV plane model.
! The established model now contains 97 components and 0.51608 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 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 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=2.209 mas, bmaj=3.363 mas, bpa=-4.615 degrees
! Estimated noise=571.557 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00899749 Jy
! Component: 100  -  total flux cleaned = 0.0155285 Jy
! Component: 150  -  total flux cleaned = 0.020542 Jy
! Component: 200  -  total flux cleaned = 0.0244512 Jy
! Total flux subtracted in 200 components = 0.0244512 Jy
! Clean residual min=-0.004036 max=0.005197 Jy/beam
! Clean residual mean=-0.000247 rms=0.001313 Jy/beam
! Combined flux in latest and established models = 0.540531 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.00310487 Jy
! Component: 100  -  total flux cleaned = 0.00559777 Jy
! Component: 150  -  total flux cleaned = 0.00761923 Jy
! Component: 200  -  total flux cleaned = 0.00926582 Jy
! Total flux subtracted in 200 components = 0.00926582 Jy
! Clean residual min=-0.004203 max=0.004571 Jy/beam
! Clean residual mean=-0.000481 rms=0.001155 Jy/beam
! Combined flux in latest and established models = 0.549797 Jy
! Adding 90 model components to the UV plane model.
! The established model now contains 175 components and 0.549796 Jy
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! Estimated beam: bmin=0.6645 mas, bmaj=1.731 mas, bpa=-2.592 degrees
! Estimated noise=448.055 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000832256 Jy
! Component: 100  -  total flux cleaned = 0.00127983 Jy
! Component: 150  -  total flux cleaned = 0.00161928 Jy
! Component: 200  -  total flux cleaned = 0.00187471 Jy
! Total flux subtracted in 200 components = 0.00187471 Jy
! Clean residual min=-0.003085 max=0.003291 Jy/beam
! Clean residual mean=-0.000212 rms=0.000753 Jy/beam
! Combined flux in latest and established models = 0.551671 Jy
selfcal
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 199 components and 0.551671 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260154Jy  sigma=0.001462
! Fit after  self-cal, rms=0.260152Jy  sigma=0.001462
wmodel J1510-0543_X_1999_05_10_pus_map.mod
! Writing 199 model components to file: J1510-0543_X_1999_05_10_pus_map.mod
wobs J1510-0543_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J1510-0543_X_1999_05_10_pus_uvs.fits
wwins J1510-0543_X_1999_05_10_pus_map.win
! wwins: Wrote 7 windows to J1510-0543_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 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000195792 Jy
! Component: 100  -  total flux cleaned = -0.000321936 Jy
! Component: 150  -  total flux cleaned = -0.000820221 Jy
! Component: 200  -  total flux cleaned = -0.00144679 Jy
! Component: 250  -  total flux cleaned = -0.00186719 Jy
! Component: 300  -  total flux cleaned = -0.00241205 Jy
! Component: 350  -  total flux cleaned = -0.00289916 Jy
! Component: 400  -  total flux cleaned = -0.00337558 Jy
! Component: 450  -  total flux cleaned = -0.00379995 Jy
! Component: 500  -  total flux cleaned = -0.00425826 Jy
! Component: 550  -  total flux cleaned = -0.00474989 Jy
! Component: 600  -  total flux cleaned = -0.00515347 Jy
! Component: 650  -  total flux cleaned = -0.00559148 Jy
! Component: 700  -  total flux cleaned = -0.00598422 Jy
! Component: 750  -  total flux cleaned = -0.00641077 Jy
! Component: 800  -  total flux cleaned = -0.00686935 Jy
! Component: 850  -  total flux cleaned = -0.00720893 Jy
! Component: 900  -  total flux cleaned = -0.007619 Jy
! Component: 950  -  total flux cleaned = -0.00795072 Jy
! Component: 1000  -  total flux cleaned = -0.00835166 Jy
! Component: 1050  -  total flux cleaned = -0.00867592 Jy
! Component: 1100  -  total flux cleaned = -0.00899662 Jy
! Component: 1150  -  total flux cleaned = -0.00927928 Jy
! Component: 1200  -  total flux cleaned = -0.0096289 Jy
! Component: 1250  -  total flux cleaned = -0.00997488 Jy
! Component: 1300  -  total flux cleaned = -0.0103172 Jy
! Component: 1350  -  total flux cleaned = -0.0106223 Jy
! Component: 1400  -  total flux cleaned = -0.0108912 Jy
! Component: 1450  -  total flux cleaned = -0.0112241 Jy
! Component: 1500  -  total flux cleaned = -0.0114553 Jy
! Component: 1550  -  total flux cleaned = -0.0117171 Jy
! Component: 1600  -  total flux cleaned = -0.0120091 Jy
! Component: 1650  -  total flux cleaned = -0.0122024 Jy
! Component: 1700  -  total flux cleaned = -0.0124902 Jy
! Component: 1750  -  total flux cleaned = -0.0127438 Jy
! Component: 1800  -  total flux cleaned = -0.0129951 Jy
! Component: 1850  -  total flux cleaned = -0.0131512 Jy
! Component: 1900  -  total flux cleaned = -0.01343 Jy
! Component: 1950  -  total flux cleaned = -0.0136149 Jy
! Component: 2000  -  total flux cleaned = -0.013829 Jy
! Total flux subtracted in 2048 components = -0.0140719 Jy
! Clean residual min=-0.001858 max=0.001790 Jy/beam
! Clean residual mean=-0.000093 rms=0.000570 Jy/beam
! Combined flux in latest and established models = 0.537599 Jy
keep
! Adding 163 model components to the UV plane model.
! The established model now contains 362 components and 0.537599 Jy
![Exited script file: muppet]
wmap "J1510-0543_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6645 x 1.731 at -2.592 degrees (North through East)
! Clean map  min=-0.0023925  max=0.41626 Jy/beam
! Writing clean map to FITS file: J1510-0543_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 0.41626 
invert
! Inverting map 
! Your choice of large map pixels excluded 3.14% of the data.
!  The x-axis pixel size should ideally be below 0.1651 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00056809 
device "J1510-0543_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J1510-0543_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.409425 0.409425 0.81885 1.6377 3.2754 6.5508 13.1016 26.2032 52.4064
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.416 
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.6645 x 1.731 at -2.592 degrees (North through East)
! Clean map  min=-0.0023925  max=0.41626 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1510-0543_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J1510-0543_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1510-0543_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 14:08:31 2008