! Started logfile: J0050-0929_X_1999_05_10_pus_uvs.log on Mon Jan 14 12:29:03 2008
obs J0050-0929_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J0050-0929_X_1999_05_10_pus_uva.fits
! AN table 1: 50 integrations on 153 of 153 possible baselines.
! AN table 2: 52 integrations on 153 of 153 possible baselines.
! AN table 3: 51 integrations on 153 of 153 possible baselines.
! AN table 4: 25 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0747962 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0050-0929
! 
! 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 8148 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 J0050-0929_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 814 telescope corrections were flagged in sub-array 1.
!  A total of 717 telescope corrections were flagged in sub-array 2.
!  A total of 740 telescope corrections were flagged in sub-array 3.
!  A total of 257 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 814 telescope corrections were flagged in sub-array 1.
!  A total of 717 telescope corrections were flagged in sub-array 2.
!  A total of 692 telescope corrections were flagged in sub-array 3.
!  A total of 257 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 814 telescope corrections were flagged in sub-array 1.
!  A total of 717 telescope corrections were flagged in sub-array 2.
!  A total of 692 telescope corrections were flagged in sub-array 3.
!  A total of 257 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 885 telescope corrections were flagged in sub-array 1.
!  A total of 717 telescope corrections were flagged in sub-array 2.
!  A total of 753 telescope corrections were flagged in sub-array 3.
!  A total of 257 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.803163Jy  sigma=0.006419
! Fit after  self-cal, rms=0.244337Jy  sigma=0.001551
! 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 0.133% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.7863 mas, bmaj=1.133 mas, bpa=-1.7 degrees
! Estimated noise=1758.44 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.714534 Jy
! Component: 100  -  total flux cleaned = 0.87368 Jy
! Total flux subtracted in 100 components = 0.87368 Jy
! Clean residual min=-0.021858 max=0.053779 Jy/beam
! Clean residual mean=0.000696 rms=0.008349 Jy/beam
! Combined flux in latest and established models = 0.87368 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.87368 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235903Jy  sigma=0.001698
! Fit after  self-cal, rms=0.236017Jy  sigma=0.001698
! Inverting map 
! Your choice of large map pixels excluded 0.133% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0602022 Jy
! Component: 100  -  total flux cleaned = 0.0963535 Jy
! Total flux subtracted in 100 components = 0.0963535 Jy
! Clean residual min=-0.017813 max=0.026683 Jy/beam
! Clean residual mean=0.000189 rms=0.005284 Jy/beam
! Combined flux in latest and established models = 0.970034 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 23 components and 0.970034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221411Jy  sigma=0.001417
! Fit after  self-cal, rms=0.221461Jy  sigma=0.001416
! Inverting map 
! Your choice of large map pixels excluded 0.133% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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 0.133% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9043 mas, bmaj=1.696 mas, bpa=-4.572 degrees
! Estimated noise=942.287 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.0242277 Jy
! Component: 100  -  total flux cleaned = 0.0340011 Jy
! Component: 150  -  total flux cleaned = 0.034829 Jy
! Component: 200  -  total flux cleaned = 0.0352992 Jy
! Total flux subtracted in 200 components = 0.0352992 Jy
! Clean residual min=-0.019477 max=0.018168 Jy/beam
! Clean residual mean=-0.001560 rms=0.005384 Jy/beam
! Combined flux in latest and established models = 1.00533 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 31 components and 1.00533 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220257Jy  sigma=0.001373
! Fit after  self-cal, rms=0.220282Jy  sigma=0.001373
! Inverting map 
! Your choice of large map pixels excluded 0.133% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 66 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.98     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.63     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        1.52     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.45     
! 
!  A total of 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        0.98     GC        1.10     HH        1.00*    
!   HN        1.00*    KK        0.91     KP        0.99     LA        0.98     
!   MC        1.00*    MK        0.98     NL        1.09     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        1.01     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 45 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.88     
!   HN        1.10     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.02     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        0.96     OV        1.00*    PT        1.00*    SC        1.12     
!   WF        1.00*    WZ        1.11     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.97     KK        1.00*    KP        0.99     LA        0.95     
!   MC        1.00*    MK        1.00*    NL        1.02     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        1.00     SC        1.02     
!   WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 66 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.76     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.09     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        1.25     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.08     
! 
!  A total of 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.94     FD        0.97     GC        1.05     HH        1.00*    
!   HN        1.00*    KK        0.92     KP        1.01     LA        1.00     
!   MC        1.00*    MK        0.96     NL        1.06     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        0.94     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.89     
!   HN        1.08     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.05     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        0.98     OV        1.00*    PT        1.00*    SC        1.07     
!   WF        1.12     WZ        1.13     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        1.00     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        0.97     PT        0.92     SC        1.01     
!   WF        1.05     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 66 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.97     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.01     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        1.35     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.32     
! 
!  A total of 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.00     GC        1.08     HH        1.00*    
!   HN        1.00*    KK        0.99     KP        1.04     LA        1.00     
!   MC        1.00*    MK        0.95     NL        1.11     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.97     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.95     
!   HN        1.10     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.10     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        1.09     OV        1.00*    PT        1.00*    SC        1.12     
!   WF        1.16     WZ        1.09     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.01     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.01     KK        1.00*    KP        1.00     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.95     SC        1.02     
!   WF        1.08     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 15 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   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 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        1.02     GC        1.06     HH        1.00*    
!   HN        1.00*    KK        0.97     KP        1.02     LA        1.03     
!   MC        1.00*    MK        0.98     NL        1.13     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.98     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        1.00     
!   HN        1.16     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.05     MK        1.00*    NL        1.00*    NY        1.00*    
!   ON        1.00     OV        1.00*    PT        1.00*    SC        1.05     
!   WF        1.18     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        0.97     LA        1.01     
!   MC        1.00*    MK        1.00*    NL        1.03     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.98     SC        1.00     
!   WF        1.03     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.220282Jy  sigma=0.001373
! Fit after  self-cal, rms=0.207777Jy  sigma=0.001197
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9179 mas, bmaj=1.833 mas, bpa=-4.003 degrees
! Estimated noise=948.602 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.00403626 Jy
! Component: 100  -  total flux cleaned = -0.00423793 Jy
! Component: 150  -  total flux cleaned = -0.00431796 Jy
! Component: 200  -  total flux cleaned = -0.00445627 Jy
! Total flux subtracted in 200 components = -0.00445627 Jy
! Clean residual min=-0.004972 max=0.004324 Jy/beam
! Clean residual mean=-0.000362 rms=0.001350 Jy/beam
! Combined flux in latest and established models = 1.00088 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 38 components and 1.00088 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207602Jy  sigma=0.001196
! Fit after  self-cal, rms=0.209379Jy  sigma=0.001195
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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.209379Jy  sigma=0.001195
! Fit after  self-cal, rms=0.217097Jy  sigma=0.001189
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9185 mas, bmaj=1.835 mas, bpa=-3.983 degrees
! Estimated noise=947.903 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00195692 Jy
! Component: 100  -  total flux cleaned = -0.00225586 Jy
! Component: 150  -  total flux cleaned = -0.00250368 Jy
! Component: 200  -  total flux cleaned = -0.00271015 Jy
! Total flux subtracted in 200 components = -0.00271015 Jy
! Clean residual min=-0.003703 max=0.003894 Jy/beam
! Clean residual mean=-0.000040 rms=0.001090 Jy/beam
! Combined flux in latest and established models = 0.998166 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 39 components and 0.998166 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217043Jy  sigma=0.001189
! Fit after  self-cal, rms=0.217693Jy  sigma=0.001189
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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.000112164 Jy
! Component: 100  -  total flux cleaned = -0.000140626 Jy
! Component: 150  -  total flux cleaned = -0.000168016 Jy
! Component: 200  -  total flux cleaned = -0.00019151 Jy
! Total flux subtracted in 200 components = -0.00019151 Jy
! Clean residual min=-0.003699 max=0.003868 Jy/beam
! Clean residual mean=-0.000036 rms=0.001089 Jy/beam
! Combined flux in latest and established models = 0.997975 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 42 components and 0.997975 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217676Jy  sigma=0.001189
! Fit after  self-cal, rms=0.217680Jy  sigma=0.001189
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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.217680Jy  sigma=0.001189
! Fit after  self-cal, rms=0.223568Jy  sigma=0.001189
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9193 mas, bmaj=1.836 mas, bpa=-3.971 degrees
! Estimated noise=947.679 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00144192 Jy
! Component: 100  -  total flux cleaned = -0.00167873 Jy
! Component: 150  -  total flux cleaned = -0.00184665 Jy
! Component: 200  -  total flux cleaned = -0.00196552 Jy
! Total flux subtracted in 200 components = -0.00196552 Jy
! Clean residual min=-0.003556 max=0.003899 Jy/beam
! Clean residual mean=0.000017 rms=0.001068 Jy/beam
! Combined flux in latest and established models = 0.996009 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 42 components and 0.996009 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223535Jy  sigma=0.001189
! Fit after  self-cal, rms=0.223805Jy  sigma=0.001189
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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 = -6.79329e-05 Jy
! Component: 100  -  total flux cleaned = -9.33481e-05 Jy
! Component: 150  -  total flux cleaned = -0.000142117 Jy
! Component: 200  -  total flux cleaned = -0.00016551 Jy
! Total flux subtracted in 200 components = -0.00016551 Jy
! Clean residual min=-0.003547 max=0.003880 Jy/beam
! Clean residual mean=0.000020 rms=0.001068 Jy/beam
! Combined flux in latest and established models = 0.995844 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 43 components and 0.995844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223793Jy  sigma=0.001189
! Fit after  self-cal, rms=0.223798Jy  sigma=0.001189
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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.223798Jy  sigma=0.001189
! Fit after  self-cal, rms=0.227125Jy  sigma=0.001189
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=2.574 mas, bmaj=3.71 mas, bpa=0.7803 degrees
! Estimated noise=1132.86 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000969615 Jy
! Component: 100  -  total flux cleaned = -0.00108093 Jy
! Component: 150  -  total flux cleaned = -0.0010936 Jy
! Component: 200  -  total flux cleaned = -0.0010934 Jy
! Total flux subtracted in 200 components = -0.0010934 Jy
! Clean residual min=-0.004439 max=0.003791 Jy/beam
! Clean residual mean=0.000076 rms=0.001335 Jy/beam
! Combined flux in latest and established models = 0.99475 Jy
selfcal
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 44 components and 0.99475 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227116Jy  sigma=0.001189
! Fit after  self-cal, rms=0.227237Jy  sigma=0.001189
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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 = -8.12537e-05 Jy
! Component: 100  -  total flux cleaned = -7.02574e-05 Jy
! Component: 150  -  total flux cleaned = -5.14365e-05 Jy
! Component: 200  -  total flux cleaned = -4.31082e-05 Jy
! Total flux subtracted in 200 components = -4.31082e-05 Jy
! Clean residual min=-0.004411 max=0.003780 Jy/beam
! Clean residual mean=0.000078 rms=0.001331 Jy/beam
! Combined flux in latest and established models = 0.994707 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 44 components and 0.994707 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227237Jy  sigma=0.001189
! Fit after  self-cal, rms=0.227237Jy  sigma=0.001189
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9199 mas, bmaj=1.837 mas, bpa=-3.96 degrees
! Estimated noise=947.464 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9199 x 1.837 at -3.96 degrees (North through East)
! Clean map  min=-0.0032495  max=0.93241 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.227237Jy  sigma=0.001189
! Fit after  self-cal, rms=0.342523Jy  sigma=0.001052
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9196 mas, bmaj=1.833 mas, bpa=-3.987 degrees
! Estimated noise=946.736 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000838227 Jy
! Component: 100  -  total flux cleaned = -0.0009243 Jy
! Component: 150  -  total flux cleaned = -0.000977292 Jy
! Component: 200  -  total flux cleaned = -0.00105361 Jy
! Total flux subtracted in 200 components = -0.00105361 Jy
! Clean residual min=-0.003747 max=0.003734 Jy/beam
! Clean residual mean=0.000092 rms=0.001036 Jy/beam
! Combined flux in latest and established models = 0.993654 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 44 components and 0.993654 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.342497Jy  sigma=0.001052
! Fit after  self-cal, rms=0.342501Jy  sigma=0.001052
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -6.11948e-06 Jy
! Component: 100  -  total flux cleaned = -5.27389e-05 Jy
! Component: 150  -  total flux cleaned = -9.80395e-05 Jy
! Component: 200  -  total flux cleaned = -0.00016032 Jy
! Total flux subtracted in 200 components = -0.00016032 Jy
! Clean residual min=-0.003755 max=0.003720 Jy/beam
! Clean residual mean=0.000096 rms=0.001035 Jy/beam
! Combined flux in latest and established models = 0.993493 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 44 components and 0.993493 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.342482Jy  sigma=0.001052
! Fit after  self-cal, rms=0.342483Jy  sigma=0.001052
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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.342483Jy  sigma=0.001052
! Fit after  self-cal, rms=0.434670Jy  sigma=0.001052
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 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.796 mas, bmaj=1.218 mas, bpa=-0.3446 degrees
! Estimated noise=1831.49 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.720346 Jy
! Component: 100  -  total flux cleaned = 0.879342 Jy
! Component: 150  -  total flux cleaned = 0.92753 Jy
! Component: 200  -  total flux cleaned = 0.953358 Jy
! Total flux subtracted in 200 components = 0.953358 Jy
! Clean residual min=-0.008294 max=0.013149 Jy/beam
! Clean residual mean=0.000301 rms=0.002541 Jy/beam
! Combined flux in latest and established models = 0.953358 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.953358 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9199 mas, bmaj=1.832 mas, bpa=-3.973 degrees
! Estimated noise=946.522 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.0220652 Jy
! Component: 100  -  total flux cleaned = 0.0321924 Jy
! Component: 150  -  total flux cleaned = 0.0369517 Jy
! Component: 200  -  total flux cleaned = 0.0384061 Jy
! Total flux subtracted in 200 components = 0.0384061 Jy
! Clean residual min=-0.003591 max=0.003823 Jy/beam
! Clean residual mean=0.000131 rms=0.001087 Jy/beam
! Combined flux in latest and established models = 0.991764 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 27 components and 0.991764 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 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 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=2.574 mas, bmaj=3.713 mas, bpa=0.7362 degrees
! Estimated noise=1131.59 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000676692 Jy
! Component: 100  -  total flux cleaned = 0.000695705 Jy
! Component: 150  -  total flux cleaned = 0.000714924 Jy
! Component: 200  -  total flux cleaned = 0.000733026 Jy
! Total flux subtracted in 200 components = 0.000733026 Jy
! Clean residual min=-0.004369 max=0.003926 Jy/beam
! Clean residual mean=0.000217 rms=0.001324 Jy/beam
! Combined flux in latest and established models = 0.992497 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 = 1.68718e-05 Jy
! Component: 100  -  total flux cleaned = 3.28861e-05 Jy
! Component: 150  -  total flux cleaned = 4.84755e-05 Jy
! Component: 200  -  total flux cleaned = 6.37026e-05 Jy
! Total flux subtracted in 200 components = 6.37026e-05 Jy
! Clean residual min=-0.004376 max=0.003925 Jy/beam
! Clean residual mean=0.000214 rms=0.001323 Jy/beam
! Combined flux in latest and established models = 0.992561 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 34 components and 0.992561 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! Estimated beam: bmin=0.9199 mas, bmaj=1.832 mas, bpa=-3.973 degrees
! Estimated noise=946.522 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -2.08923e-05 Jy
! Component: 100  -  total flux cleaned = -2.28914e-05 Jy
! Component: 150  -  total flux cleaned = -9.11376e-05 Jy
! Component: 200  -  total flux cleaned = -9.46142e-05 Jy
! Total flux subtracted in 200 components = -9.46142e-05 Jy
! Clean residual min=-0.003558 max=0.003574 Jy/beam
! Clean residual mean=0.000113 rms=0.001068 Jy/beam
! Combined flux in latest and established models = 0.992466 Jy
selfcal
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 35 components and 0.992466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.434768Jy  sigma=0.001053
! Fit after  self-cal, rms=0.434911Jy  sigma=0.001053
wmodel J0050-0929_X_1999_05_10_pus_map.mod
! Writing 35 model components to file: J0050-0929_X_1999_05_10_pus_map.mod
wobs J0050-0929_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J0050-0929_X_1999_05_10_pus_uvs.fits
wwins J0050-0929_X_1999_05_10_pus_map.win
! wwins: Wrote 1 windows to J0050-0929_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 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000938994 Jy
! Component: 100  -  total flux cleaned = 0.00191618 Jy
! Component: 150  -  total flux cleaned = 0.00260782 Jy
! Component: 200  -  total flux cleaned = 0.00282714 Jy
! Component: 250  -  total flux cleaned = 0.00293361 Jy
! Component: 300  -  total flux cleaned = 0.0030353 Jy
! Component: 350  -  total flux cleaned = 0.00303359 Jy
! Component: 400  -  total flux cleaned = 0.00317612 Jy
! Component: 450  -  total flux cleaned = 0.00326922 Jy
! Component: 500  -  total flux cleaned = 0.00336028 Jy
! Component: 550  -  total flux cleaned = 0.00340565 Jy
! Component: 600  -  total flux cleaned = 0.00358109 Jy
! Component: 650  -  total flux cleaned = 0.00370946 Jy
! Component: 700  -  total flux cleaned = 0.00383551 Jy
! Component: 750  -  total flux cleaned = 0.00395901 Jy
! Component: 800  -  total flux cleaned = 0.00403999 Jy
! Component: 850  -  total flux cleaned = 0.00415898 Jy
! Component: 900  -  total flux cleaned = 0.00423703 Jy
! Component: 950  -  total flux cleaned = 0.00431432 Jy
! Component: 1000  -  total flux cleaned = 0.00450364 Jy
! Total flux subtracted in 1024 components = 0.00446588 Jy
! Clean residual min=-0.001920 max=0.002654 Jy/beam
! Clean residual mean=0.000021 rms=0.000747 Jy/beam
! Combined flux in latest and established models = 0.996932 Jy
keep
! Adding 69 model components to the UV plane model.
! The established model now contains 104 components and 0.996932 Jy
![Exited script file: muppet]
wmap "J0050-0929_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9199 x 1.832 at -3.973 degrees (North through East)
! Clean map  min=-0.0027859  max=0.93403 Jy/beam
! Writing clean map to FITS file: J0050-0929_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.934026 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.141% of the data.
!  The x-axis pixel size should ideally be below 0.1984 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000745531 
device "J0050-0929_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J0050-0929_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.239457 0.239457 0.478915 0.957829 1.91566 3.83132 7.66263 15.3253 30.6505 61.3011
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.934 
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.9199 x 1.832 at -3.973 degrees (North through East)
! Clean map  min=-0.0027859  max=0.93403 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0050-0929_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J0050-0929_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0050-0929_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 12:29:09 2008