! Started logfile: J0457-2324_X_2001_07_05_pus_uvs.log on Thu Jul  5 14:58:20 2007
obs J0457-2324_X_2001_07_05_pus_uva.fits
! Reading UV FITS file: J0457-2324_X_2001_07_05_pus_uva.fits
! AN table 1: 15 integrations on 171 of 171 possible baselines.
! AN table 2: 100 integrations on 171 of 171 possible baselines.
! AN table 3: 57 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0610295 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0457-2324
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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 2374 lines of history.
! 
! Reading 7180 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 
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 161 telescope corrections were flagged in sub-array 1.
!  A total of 1742 telescope corrections were flagged in sub-array 2.
!  A total of 794 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 161 telescope corrections were flagged in sub-array 1.
!  A total of 1765 telescope corrections were flagged in sub-array 2.
!  A total of 794 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 161 telescope corrections were flagged in sub-array 1.
!  A total of 1742 telescope corrections were flagged in sub-array 2.
!  A total of 794 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 161 telescope corrections were flagged in sub-array 1.
!  A total of 1742 telescope corrections were flagged in sub-array 2.
!  A total of 794 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.177959Jy  sigma=0.009517
! Fit after  self-cal, rms=0.942234Jy  sigma=0.007845
! 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 4.41% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.616 mas, bmaj=1.369 mas, bpa=9.79 degrees
! Estimated noise=1873.14 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 = 1.42972 Jy
! Component: 100  -  total flux cleaned = 1.76005 Jy
! Total flux subtracted in 100 components = 1.76005 Jy
! Clean residual min=-0.061330 max=0.125652 Jy/beam
! Clean residual mean=0.000565 rms=0.020582 Jy/beam
! Combined flux in latest and established models = 1.76005 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 1.76005 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.385674Jy  sigma=0.002989
! Fit after  self-cal, rms=0.385591Jy  sigma=0.002988
! Inverting map 
! Your choice of large map pixels excluded 4.41% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.137028 Jy
! Component: 100  -  total flux cleaned = 0.210066 Jy
! Total flux subtracted in 100 components = 0.210066 Jy
! Clean residual min=-0.055241 max=0.079220 Jy/beam
! Clean residual mean=-0.000360 rms=0.014836 Jy/beam
! Combined flux in latest and established models = 1.97011 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 14 components and 1.97011 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.335680Jy  sigma=0.002337
! Fit after  self-cal, rms=0.335429Jy  sigma=0.002335
! Inverting map 
! Your choice of large map pixels excluded 4.41% of the data.
!  The x-axis pixel size should ideally be below 0.165 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 4.41% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.8037 mas, bmaj=1.781 mas, bpa=4.455 degrees
! Estimated noise=1137.47 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.0511452 Jy
! Component: 100  -  total flux cleaned = 0.0720419 Jy
! Component: 150  -  total flux cleaned = 0.0783496 Jy
! Component: 200  -  total flux cleaned = 0.0783609 Jy
! Total flux subtracted in 200 components = 0.0783609 Jy
! Clean residual min=-0.046072 max=0.059916 Jy/beam
! Clean residual mean=-0.005649 rms=0.012714 Jy/beam
! Combined flux in latest and established models = 2.04847 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 18 components and 2.04847 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.333298Jy  sigma=0.002231
! Fit after  self-cal, rms=0.333148Jy  sigma=0.002230
! Inverting map 
! Your choice of large map pixels excluded 4.41% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.99     GC        1.00*    GG        1.00*    
!   HH        0.91     HN        1.01     KK        1.00*    KP        1.10     
!   LA        0.99     MC        1.00*    MK        1.00*    NL        1.08     
!   NY        1.00*    OV        1.12     PT        1.01     SC        0.97     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 87 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.92     KP        1.51     
!   LA        1.00*    MC        1.00*    MK        0.95     NL        1.00*    
!   NY        1.00*    OV        1.15     PT        1.20     SC        1.00*    
!   TS        0.98     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        0.97     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.91     KK        1.00*    KP        1.00     
!   LA        0.96     MC        1.00*    MK        0.97     NL        0.98     
!   NY        1.00*    OV        0.97     PT        0.98     SC        0.98     
!   TS        1.00*    WF        1.22     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.97     GC        1.00*    GG        1.00*    
!   HH        0.96     HN        1.00     KK        1.00*    KP        1.12     
!   LA        0.97     MC        1.00*    MK        1.00*    NL        1.03     
!   NY        1.00*    OV        1.11     PT        0.99     SC        0.93     
!   TS        1.00*    WF        0.98     WZ        1.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.94     KP        1.51     
!   LA        1.00*    MC        1.00*    MK        0.94     NL        1.00*    
!   NY        1.00*    OV        1.17     PT        1.16     SC        1.00*    
!   TS        0.96     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        0.99     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.90     KK        1.00*    KP        1.01     
!   LA        0.95     MC        1.00*    MK        0.96     NL        0.94     
!   NY        1.00*    OV        0.96     PT        0.96     SC        0.94     
!   TS        1.00*    WF        1.23     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.01     HN        1.02     KK        1.00*    KP        1.17     
!   LA        1.00     MC        1.00*    MK        1.00*    NL        1.07     
!   NY        1.00*    OV        1.19     PT        1.01     SC        0.93     
!   TS        1.00*    WF        0.96     WZ        1.00*    
! 
!  A total of 87 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.92     KP        1.53     
!   LA        1.00*    MC        1.00*    MK        0.96     NL        1.00*    
!   NY        1.00*    OV        1.19     PT        1.18     SC        1.00*    
!   TS        0.96     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.02     FD        0.94     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        1.04     
!   LA        0.96     MC        1.00*    MK        0.98     NL        0.96     
!   NY        1.00*    OV        1.00     PT        0.97     SC        0.95     
!   TS        1.00*    WF        1.23     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.12     HN        1.02     KK        1.00*    KP        1.13     
!   LA        0.99     MC        1.00*    MK        1.00*    NL        1.09     
!   NY        1.00*    OV        1.13     PT        0.99     SC        0.99     
!   TS        1.00*    WF        0.95     WZ        1.00*    
! 
!  A total of 87 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.93     KP        1.46     
!   LA        1.00*    MC        1.00*    MK        1.02     NL        1.00*    
!   NY        1.00*    OV        1.18     PT        1.17     SC        1.00*    
!   TS        0.95     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        0.99     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        1.00     
!   LA        0.94     MC        1.00*    MK        1.02     NL        0.97     
!   NY        1.00*    OV        0.98     PT        0.97     SC        1.00     
!   TS        1.00*    WF        1.21     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.333148Jy  sigma=0.002230
! Fit after  self-cal, rms=0.291640Jy  sigma=0.001529
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.8447 mas, bmaj=1.99 mas, bpa=8.022 degrees
! Estimated noise=1179.93 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.000845571 Jy
! Component: 100  -  total flux cleaned = -0.000526246 Jy
! Component: 150  -  total flux cleaned = -0.000875866 Jy
! Component: 200  -  total flux cleaned = -0.000859777 Jy
! Total flux subtracted in 200 components = -0.000859777 Jy
! Clean residual min=-0.017780 max=0.029749 Jy/beam
! Clean residual mean=0.002806 rms=0.006748 Jy/beam
! Combined flux in latest and established models = 2.04761 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 24 components and 2.04761 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289570Jy  sigma=0.001522
! Fit after  self-cal, rms=0.289743Jy  sigma=0.001521
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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.289743Jy  sigma=0.001521
! Fit after  self-cal, rms=0.223420Jy  sigma=0.001231
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.846 mas, bmaj=1.986 mas, bpa=8.005 degrees
! Estimated noise=1181.41 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00294783 Jy
! Component: 100  -  total flux cleaned = 0.00376598 Jy
! Component: 150  -  total flux cleaned = 0.00442104 Jy
! Component: 200  -  total flux cleaned = 0.00497011 Jy
! Total flux subtracted in 200 components = 0.00497011 Jy
! Clean residual min=-0.006313 max=0.010010 Jy/beam
! Clean residual mean=0.000608 rms=0.002115 Jy/beam
! Combined flux in latest and established models = 2.05258 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 30 components and 2.05258 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223087Jy  sigma=0.001228
! Fit after  self-cal, rms=0.223164Jy  sigma=0.001228
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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 (0.4, -3.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00717455 Jy
! Component: 100  -  total flux cleaned = 0.00879694 Jy
! Component: 150  -  total flux cleaned = 0.00933424 Jy
! Component: 200  -  total flux cleaned = 0.0099298 Jy
! Total flux subtracted in 200 components = 0.0099298 Jy
! Clean residual min=-0.006145 max=0.007822 Jy/beam
! Clean residual mean=0.000352 rms=0.001791 Jy/beam
! Combined flux in latest and established models = 2.06251 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 43 components and 2.06251 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222581Jy  sigma=0.001223
! Fit after  self-cal, rms=0.222529Jy  sigma=0.001223
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Added new window around map position (-4.8, -2.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00799087 Jy
! Component: 100  -  total flux cleaned = 0.0111588 Jy
! Component: 150  -  total flux cleaned = 0.0118775 Jy
! Component: 200  -  total flux cleaned = 0.0121293 Jy
! Total flux subtracted in 200 components = 0.0121292 Jy
! Clean residual min=-0.006021 max=0.005356 Jy/beam
! Clean residual mean=-0.000004 rms=0.001495 Jy/beam
! Combined flux in latest and established models = 2.07464 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 59 components and 2.07464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222195Jy  sigma=0.001220
! Fit after  self-cal, rms=0.222158Jy  sigma=0.001219
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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.222158Jy  sigma=0.001219
! Fit after  self-cal, rms=0.222055Jy  sigma=0.001218
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.8456 mas, bmaj=1.984 mas, bpa=8.002 degrees
! Estimated noise=1180.66 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0021393 Jy
! Component: 100  -  total flux cleaned = 0.00266202 Jy
! Component: 150  -  total flux cleaned = 0.00289855 Jy
! Component: 200  -  total flux cleaned = 0.00312356 Jy
! Total flux subtracted in 200 components = 0.00312356 Jy
! Clean residual min=-0.005977 max=0.004747 Jy/beam
! Clean residual mean=-0.000090 rms=0.001361 Jy/beam
! Combined flux in latest and established models = 2.07777 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 67 components and 2.07777 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221906Jy  sigma=0.001217
! Fit after  self-cal, rms=0.221882Jy  sigma=0.001217
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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.000352959 Jy
! Component: 100  -  total flux cleaned = 0.00045628 Jy
! Component: 150  -  total flux cleaned = 0.000650837 Jy
! Component: 200  -  total flux cleaned = 0.000741105 Jy
! Total flux subtracted in 200 components = 0.000741105 Jy
! Clean residual min=-0.005805 max=0.004438 Jy/beam
! Clean residual mean=-0.000110 rms=0.001320 Jy/beam
! Combined flux in latest and established models = 2.07851 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 72 components and 2.07851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221804Jy  sigma=0.001216
! Fit after  self-cal, rms=0.221791Jy  sigma=0.001216
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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.221791Jy  sigma=0.001216
! Fit after  self-cal, rms=0.221671Jy  sigma=0.001216
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=2.059 mas, bmaj=4.214 mas, bpa=-3.154 degrees
! Estimated noise=1499.75 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000676876 Jy
! Component: 100  -  total flux cleaned = 0.000676056 Jy
! Component: 150  -  total flux cleaned = 0.000617268 Jy
! Component: 200  -  total flux cleaned = 0.000616813 Jy
! Total flux subtracted in 200 components = 0.000616813 Jy
! Clean residual min=-0.004372 max=0.003566 Jy/beam
! Clean residual mean=-0.000324 rms=0.001211 Jy/beam
! Combined flux in latest and established models = 2.07912 Jy
selfcal
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 84 components and 2.07912 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221644Jy  sigma=0.001216
! Fit after  self-cal, rms=0.221634Jy  sigma=0.001216
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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 = 3.0096e-06 Jy
! Component: 100  -  total flux cleaned = -4.51064e-05 Jy
! Component: 150  -  total flux cleaned = -4.5629e-05 Jy
! Component: 200  -  total flux cleaned = -4.76574e-05 Jy
! Total flux subtracted in 200 components = -4.76574e-05 Jy
! Clean residual min=-0.004240 max=0.003467 Jy/beam
! Clean residual mean=-0.000321 rms=0.001193 Jy/beam
! Combined flux in latest and established models = 2.07908 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 92 components and 2.07908 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221611Jy  sigma=0.001216
! Fit after  self-cal, rms=0.221610Jy  sigma=0.001216
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.8453 mas, bmaj=1.982 mas, bpa=8.017 degrees
! Estimated noise=1180.28 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8453 x 1.982 at 8.017 degrees (North through East)
! Clean map  min=-0.0053877  max=1.8921 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.221610Jy  sigma=0.001216
! Fit after  self-cal, rms=0.204390Jy  sigma=0.001081
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.8452 mas, bmaj=1.981 mas, bpa=8.01 degrees
! Estimated noise=1179.63 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000625037 Jy
! Component: 100  -  total flux cleaned = 0.000806508 Jy
! Component: 150  -  total flux cleaned = 0.00088593 Jy
! Component: 200  -  total flux cleaned = 0.000888691 Jy
! Total flux subtracted in 200 components = 0.000888691 Jy
! Clean residual min=-0.005643 max=0.003632 Jy/beam
! Clean residual mean=-0.000175 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 2.07996 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 99 components and 2.07996 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204315Jy  sigma=0.001080
! Fit after  self-cal, rms=0.204307Jy  sigma=0.001080
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -8.76615e-05 Jy
! Component: 100  -  total flux cleaned = -1.94083e-05 Jy
! Component: 150  -  total flux cleaned = -1.98743e-05 Jy
! Component: 200  -  total flux cleaned = 4.02283e-05 Jy
! Total flux subtracted in 200 components = 4.02283e-05 Jy
! Clean residual min=-0.005586 max=0.003669 Jy/beam
! Clean residual mean=-0.000175 rms=0.001149 Jy/beam
! Combined flux in latest and established models = 2.08 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 104 components and 2.08 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204269Jy  sigma=0.001080
! Fit after  self-cal, rms=0.204263Jy  sigma=0.001080
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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.204263Jy  sigma=0.001080
! Fit after  self-cal, rms=0.204201Jy  sigma=0.001080
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 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.6369 mas, bmaj=1.592 mas, bpa=12.44 degrees
! Estimated noise=1926.15 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.43816 Jy
! Component: 100  -  total flux cleaned = 1.76794 Jy
! Component: 150  -  total flux cleaned = 1.89445 Jy
! Component: 200  -  total flux cleaned = 1.96123 Jy
! Total flux subtracted in 200 components = 1.96123 Jy
! Clean residual min=-0.013678 max=0.032965 Jy/beam
! Clean residual mean=0.000364 rms=0.004753 Jy/beam
! Combined flux in latest and established models = 1.96123 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 16 model components to the UV plane model.
! The established model now contains 16 components and 1.96123 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.845 mas, bmaj=1.98 mas, bpa=8.019 degrees
! Estimated noise=1179.46 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.0509181 Jy
! Component: 100  -  total flux cleaned = 0.0763062 Jy
! Component: 150  -  total flux cleaned = 0.0907146 Jy
! Component: 200  -  total flux cleaned = 0.0997689 Jy
! Total flux subtracted in 200 components = 0.0997689 Jy
! Clean residual min=-0.005703 max=0.005939 Jy/beam
! Clean residual mean=0.000335 rms=0.001589 Jy/beam
! Combined flux in latest and established models = 2.061 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 32 components and 2.061 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 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 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=2.058 mas, bmaj=4.21 mas, bpa=-3.165 degrees
! Estimated noise=1500.27 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00824207 Jy
! Component: 100  -  total flux cleaned = 0.0129952 Jy
! Component: 150  -  total flux cleaned = 0.0159594 Jy
! Component: 200  -  total flux cleaned = 0.0165649 Jy
! Total flux subtracted in 200 components = 0.0165649 Jy
! Clean residual min=-0.004701 max=0.002960 Jy/beam
! Clean residual mean=-0.000291 rms=0.001229 Jy/beam
! Combined flux in latest and established models = 2.07757 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.000297116 Jy
! Component: 100  -  total flux cleaned = 0.00055828 Jy
! Component: 150  -  total flux cleaned = 0.000792999 Jy
! Component: 200  -  total flux cleaned = 0.00100503 Jy
! Total flux subtracted in 200 components = 0.00100503 Jy
! Clean residual min=-0.004840 max=0.002885 Jy/beam
! Clean residual mean=-0.000353 rms=0.001183 Jy/beam
! Combined flux in latest and established models = 2.07857 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 80 components and 2.07857 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! Estimated beam: bmin=0.845 mas, bmaj=1.98 mas, bpa=8.019 degrees
! Estimated noise=1179.46 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00093834 Jy
! Component: 100  -  total flux cleaned = -0.000780869 Jy
! Component: 150  -  total flux cleaned = -0.000780402 Jy
! Component: 200  -  total flux cleaned = -0.000655128 Jy
! Total flux subtracted in 200 components = -0.000655128 Jy
! Clean residual min=-0.006150 max=0.004210 Jy/beam
! Clean residual mean=-0.000139 rms=0.001212 Jy/beam
! Combined flux in latest and established models = 2.07792 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 91 components and 2.07792 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204771Jy  sigma=0.001083
! Fit after  self-cal, rms=0.204521Jy  sigma=0.001082
wmodel J0457-2324_X_2001_07_05_pus_map.mod
! Writing 91 model components to file: J0457-2324_X_2001_07_05_pus_map.mod
wobs J0457-2324_X_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J0457-2324_X_2001_07_05_pus_uvs.fits
wwins J0457-2324_X_2001_07_05_pus_map.win
! wwins: Wrote 3 windows to J0457-2324_X_2001_07_05_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 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00227041 Jy
! Component: 100  -  total flux cleaned = -0.00315685 Jy
! Component: 150  -  total flux cleaned = -0.0040449 Jy
! Component: 200  -  total flux cleaned = -0.00474775 Jy
! Component: 250  -  total flux cleaned = -0.00548349 Jy
! Component: 300  -  total flux cleaned = -0.00586714 Jy
! Component: 350  -  total flux cleaned = -0.00617486 Jy
! Component: 400  -  total flux cleaned = -0.00629325 Jy
! Component: 450  -  total flux cleaned = -0.00640858 Jy
! Component: 500  -  total flux cleaned = -0.0064652 Jy
! Component: 550  -  total flux cleaned = -0.00657464 Jy
! Component: 600  -  total flux cleaned = -0.00657431 Jy
! Component: 650  -  total flux cleaned = -0.00652216 Jy
! Component: 700  -  total flux cleaned = -0.00647059 Jy
! Component: 750  -  total flux cleaned = -0.00637008 Jy
! Component: 800  -  total flux cleaned = -0.00637053 Jy
! Component: 850  -  total flux cleaned = -0.00637025 Jy
! Component: 900  -  total flux cleaned = -0.00632227 Jy
! Component: 950  -  total flux cleaned = -0.00627558 Jy
! Component: 1000  -  total flux cleaned = -0.00627558 Jy
! Total flux subtracted in 1024 components = -0.00618463 Jy
! Clean residual min=-0.002417 max=0.003025 Jy/beam
! Clean residual mean=0.000001 rms=0.000891 Jy/beam
! Combined flux in latest and established models = 2.07173 Jy
keep
! Adding 61 model components to the UV plane model.
! The established model now contains 152 components and 2.07173 Jy
wmap "J0457-2324_X_2001_07_05_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.845 x 1.98 at 8.019 degrees (North through East)
! Clean map  min=-0.0056271  max=1.8863 Jy/beam
! Writing clean map to FITS file: J0457-2324_X_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.88635 
invert
! Inverting map 
! Your choice of large map pixels excluded 4.64% of the data.
!  The x-axis pixel size should ideally be below 0.165 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00088801 
device "J0457-2324_X_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J0457-2324_X_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.141227 0.141227 0.282454 0.564907 1.12981 2.25963 4.51926 9.03851 18.077 36.1541 72.3081
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0026 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.886 
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.845 x 1.98 at 8.019 degrees (North through East)
! Clean map  min=-0.0056271  max=1.8863 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0457-2324_X_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J0457-2324_X_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0457-2324_X_2001_07_05_pus_uvs.log closed on Thu Jul  5 14:59:07 2007