! Started logfile: J0241-0815_X_2003_09_17_pus_uvs.log on Mon May 14 14:33:09 2007
obs J0241-0815_X_2003_09_17_pus_uva.fits
! Reading UV FITS file: J0241-0815_X_2003_09_17_pus_uva.fits
! AN table 1: 175 integrations on 120 of 120 possible baselines.
! AN table 2: 186 integrations on 120 of 120 possible baselines.
! AN table 3: 187 integrations on 120 of 120 possible baselines.
! AN table 4: 45 integrations on 120 of 120 possible baselines.
! Apparent sampling: 0.081661 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0241-0815
! 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.
! 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 1489 lines of history.
! 
! Reading 23244 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
float field_size
field_size = 512
float field_cell
field_cell = 0.2
float 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 = 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 2100 telescope corrections were flagged in sub-array 1.
!  A total of 2521 telescope corrections were flagged in sub-array 2.
!  A total of 2668 telescope corrections were flagged in sub-array 3.
!  A total of 515 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2100 telescope corrections were flagged in sub-array 1.
!  A total of 2521 telescope corrections were flagged in sub-array 2.
!  A total of 2668 telescope corrections were flagged in sub-array 3.
!  A total of 515 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2100 telescope corrections were flagged in sub-array 1.
!  A total of 2521 telescope corrections were flagged in sub-array 2.
!  A total of 2668 telescope corrections were flagged in sub-array 3.
!  A total of 515 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2100 telescope corrections were flagged in sub-array 1.
!  A total of 2521 telescope corrections were flagged in sub-array 2.
!  A total of 2668 telescope corrections were flagged in sub-array 3.
!  A total of 515 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.635160Jy  sigma=0.006031
! Fit after  self-cal, rms=0.627097Jy  sigma=0.005944
! 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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.5839 mas, bmaj=2.049 mas, bpa=3.475 degrees
! Estimated noise=881.67 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.28803 Jy
! Component: 100  -  total flux cleaned = 0.394615 Jy
! Total flux subtracted in 100 components = 0.394615 Jy
! Clean residual min=-0.019141 max=0.061667 Jy/beam
! Clean residual mean=0.000260 rms=0.005824 Jy/beam
! Combined flux in latest and established models = 0.394615 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.394614 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.213409Jy  sigma=0.002018
! Fit after  self-cal, rms=0.212465Jy  sigma=0.002011
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (2, 0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0616327 Jy
! Component: 100  -  total flux cleaned = 0.0983071 Jy
! Total flux subtracted in 100 components = 0.0983071 Jy
! Clean residual min=-0.013996 max=0.030597 Jy/beam
! Clean residual mean=0.000248 rms=0.004134 Jy/beam
! Combined flux in latest and established models = 0.492922 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 12 components and 0.492922 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.179321Jy  sigma=0.001649
! Fit after  self-cal, rms=0.177145Jy  sigma=0.001628
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0317694 Jy
! Component: 100  -  total flux cleaned = 0.0496994 Jy
! Total flux subtracted in 100 components = 0.0496994 Jy
! Clean residual min=-0.010961 max=0.028038 Jy/beam
! Clean residual mean=0.000248 rms=0.003329 Jy/beam
! Combined flux in latest and established models = 0.542621 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 15 components and 0.542621 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.166007Jy  sigma=0.001504
! Fit after  self-cal, rms=0.165146Jy  sigma=0.001495
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (7.6, 2.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0261874 Jy
! Component: 100  -  total flux cleaned = 0.043487 Jy
! Total flux subtracted in 100 components = 0.043487 Jy
! Clean residual min=-0.008846 max=0.018137 Jy/beam
! Clean residual mean=0.000213 rms=0.002622 Jy/beam
! Combined flux in latest and established models = 0.586108 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 25 components and 0.586108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.157388Jy  sigma=0.001405
! Fit after  self-cal, rms=0.156996Jy  sigma=0.001401
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (0.8, 0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0181019 Jy
! Component: 100  -  total flux cleaned = 0.0311281 Jy
! Total flux subtracted in 100 components = 0.0311281 Jy
! Clean residual min=-0.007576 max=0.014405 Jy/beam
! Clean residual mean=0.000201 rms=0.002262 Jy/beam
! Combined flux in latest and established models = 0.617236 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 35 components and 0.617236 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152404Jy  sigma=0.001348
! Fit after  self-cal, rms=0.152296Jy  sigma=0.001347
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7186 mas, bmaj=2.399 mas, bpa=3.844 degrees
! Estimated noise=523.889 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.027401 Jy
! Component: 100  -  total flux cleaned = 0.0471144 Jy
! Component: 150  -  total flux cleaned = 0.0619214 Jy
! Component: 200  -  total flux cleaned = 0.0730986 Jy
! Total flux subtracted in 200 components = 0.0730985 Jy
! Clean residual min=-0.010190 max=0.018972 Jy/beam
! Clean residual mean=0.000830 rms=0.003880 Jy/beam
! Combined flux in latest and established models = 0.690335 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 55 components and 0.690335 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146453Jy  sigma=0.001274
! Fit after  self-cal, rms=0.146091Jy  sigma=0.001270
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.00     GC        1.01     HN        1.00*    KP        0.98     
!   LA        0.94     MK        1.02     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.95     SC        1.00*    
!   TS        1.04     KK        1.02     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     GC        1.01     HN        1.00     KP        1.00     
!   LA        0.99     MK        1.04     NL        1.08     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        1.00     SC        1.00     
!   TS        1.01     KK        0.98     WZ        1.00*    WF        0.97     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.99     GC        1.01     HN        0.97     KP        1.01     
!   LA        0.96     MK        1.04     NL        1.04     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.96     SC        1.05     
!   TS        0.96     KK        1.05     WZ        1.00*    WF        0.93     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.97     GC        1.00*    HN        1.00     KP        1.01     
!   LA        1.02     MK        1.00*    NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.98     SC        0.99     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.00     GC        1.01     HN        1.00*    KP        0.98     
!   LA        0.94     MK        1.02     NL        1.02     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.94     SC        1.00*    
!   TS        1.03     KK        1.02     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     GC        1.01     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.05     NL        1.07     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        1.00     SC        1.01     
!   TS        1.00     KK        0.98     WZ        1.00*    WF        0.98     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.99     GC        1.01     HN        0.97     KP        1.02     
!   LA        0.96     MK        1.03     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.96     SC        1.05     
!   TS        0.98     KK        1.04     WZ        1.00*    WF        0.93     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.97     GC        1.00*    HN        1.00     KP        1.01     
!   LA        1.01     MK        1.00*    NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.99     SC        0.99     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.01     GC        1.00     HN        1.00*    KP        0.98     
!   LA        0.94     MK        1.01     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.94     SC        1.00*    
!   TS        1.03     KK        1.03     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     GC        0.99     HN        0.99     KP        0.99     
!   LA        1.00     MK        1.08     NL        1.05     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        1.00     SC        1.01     
!   TS        1.00     KK        0.96     WZ        1.00*    WF        0.97     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.99     GC        1.00     HN        0.98     KP        1.02     
!   LA        0.97     MK        1.03     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.96     SC        1.06     
!   TS        1.00     KK        1.04     WZ        1.00*    WF        0.93     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.97     GC        1.00*    HN        0.99     KP        1.01     
!   LA        1.02     MK        1.00*    NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.98     SC        0.99     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.01     GC        0.99     HN        1.00*    KP        0.98     
!   LA        0.94     MK        1.01     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.94     SC        1.00*    
!   TS        1.04     KK        1.03     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     GC        1.00     HN        0.99     KP        0.99     
!   LA        1.00     MK        1.08     NL        1.05     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        1.00     SC        1.01     
!   TS        0.98     KK        0.96     WZ        1.00*    WF        0.97     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.99     GC        1.00     HN        0.99     KP        1.02     
!   LA        0.97     MK        1.03     NL        1.04     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.96     SC        1.06     
!   TS        1.01     KK        1.03     WZ        1.00*    WF        0.93     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.96     GC        1.00*    HN        0.99     KP        1.01     
!   LA        1.02     MK        1.00*    NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.98     SC        0.99     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
! 
! Fit before self-cal, rms=0.146091Jy  sigma=0.001270
! Fit after  self-cal, rms=0.144842Jy  sigma=0.001255
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.723 mas, bmaj=2.414 mas, bpa=3.885 degrees
! Estimated noise=521.262 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 (10.4, 5.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0137057 Jy
! Component: 100  -  total flux cleaned = 0.0206634 Jy
! Component: 150  -  total flux cleaned = 0.0249335 Jy
! Component: 200  -  total flux cleaned = 0.026932 Jy
! Total flux subtracted in 200 components = 0.026932 Jy
! Clean residual min=-0.006997 max=0.012393 Jy/beam
! Clean residual mean=0.000241 rms=0.002303 Jy/beam
! Combined flux in latest and established models = 0.717267 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 87 components and 0.717267 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.143783Jy  sigma=0.001240
! Fit after  self-cal, rms=0.143658Jy  sigma=0.001237
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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.143658Jy  sigma=0.001237
! Fit after  self-cal, rms=0.142833Jy  sigma=0.001234
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7231 mas, bmaj=2.414 mas, bpa=3.876 degrees
! Estimated noise=520.167 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00508821 Jy
! Component: 100  -  total flux cleaned = 0.00736052 Jy
! Component: 150  -  total flux cleaned = 0.00877828 Jy
! Component: 200  -  total flux cleaned = 0.00955379 Jy
! Total flux subtracted in 200 components = 0.00955379 Jy
! Clean residual min=-0.005859 max=0.010960 Jy/beam
! Clean residual mean=0.000295 rms=0.002063 Jy/beam
! Combined flux in latest and established models = 0.72682 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 96 components and 0.72682 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.142643Jy  sigma=0.001231
! Fit after  self-cal, rms=0.142623Jy  sigma=0.001231
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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 (-5.8, -3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0103812 Jy
! Component: 100  -  total flux cleaned = 0.0160572 Jy
! Component: 150  -  total flux cleaned = 0.0196849 Jy
! Component: 200  -  total flux cleaned = 0.0213802 Jy
! Total flux subtracted in 200 components = 0.0213802 Jy
! Clean residual min=-0.004657 max=0.006537 Jy/beam
! Clean residual mean=0.000154 rms=0.001605 Jy/beam
! Combined flux in latest and established models = 0.748201 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 130 components and 0.748201 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.142038Jy  sigma=0.001221
! Fit after  self-cal, rms=0.141944Jy  sigma=0.001220
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (-3, -1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00480204 Jy
! Component: 100  -  total flux cleaned = 0.00513256 Jy
! Component: 150  -  total flux cleaned = 0.0052677 Jy
! Component: 200  -  total flux cleaned = 0.0050201 Jy
! Total flux subtracted in 200 components = 0.0050201 Jy
! Clean residual min=-0.004743 max=0.006781 Jy/beam
! Clean residual mean=0.000123 rms=0.001495 Jy/beam
! Combined flux in latest and established models = 0.753221 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 151 components and 0.753221 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141586Jy  sigma=0.001216
! Fit after  self-cal, rms=0.141527Jy  sigma=0.001215
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (-8.8, -3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00605367 Jy
! Component: 100  -  total flux cleaned = 0.00813172 Jy
! Component: 150  -  total flux cleaned = 0.00848508 Jy
! Component: 200  -  total flux cleaned = 0.00849057 Jy
! Total flux subtracted in 200 components = 0.00849057 Jy
! Clean residual min=-0.004837 max=0.006297 Jy/beam
! Clean residual mean=0.000067 rms=0.001405 Jy/beam
! Combined flux in latest and established models = 0.761711 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 177 components and 0.761711 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141241Jy  sigma=0.001212
! Fit after  self-cal, rms=0.141209Jy  sigma=0.001211
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (-16, -7.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00585774 Jy
! Component: 100  -  total flux cleaned = 0.00862058 Jy
! Component: 150  -  total flux cleaned = 0.00905811 Jy
! Component: 200  -  total flux cleaned = 0.00915365 Jy
! Total flux subtracted in 200 components = 0.00915365 Jy
! Clean residual min=-0.004798 max=0.004677 Jy/beam
! Clean residual mean=0.000012 rms=0.001292 Jy/beam
! Combined flux in latest and established models = 0.770865 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 202 components and 0.770865 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.140947Jy  sigma=0.001208
! Fit after  self-cal, rms=0.140936Jy  sigma=0.001208
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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.140936Jy  sigma=0.001208
! Fit after  self-cal, rms=0.140095Jy  sigma=0.001204
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7253 mas, bmaj=2.412 mas, bpa=3.859 degrees
! Estimated noise=519.508 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00499127 Jy
! Component: 100  -  total flux cleaned = 0.00876549 Jy
! Component: 150  -  total flux cleaned = 0.0115744 Jy
! Component: 200  -  total flux cleaned = 0.0133698 Jy
! Total flux subtracted in 200 components = 0.0133698 Jy
! Clean residual min=-0.003952 max=0.005091 Jy/beam
! Clean residual mean=0.000136 rms=0.001106 Jy/beam
! Combined flux in latest and established models = 0.784234 Jy
selfcal
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 231 components and 0.784234 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139847Jy  sigma=0.001201
! Fit after  self-cal, rms=0.139833Jy  sigma=0.001200
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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 (6, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00462896 Jy
! Component: 100  -  total flux cleaned = 0.00635133 Jy
! Component: 150  -  total flux cleaned = 0.00763462 Jy
! Component: 200  -  total flux cleaned = 0.00870258 Jy
! Total flux subtracted in 200 components = 0.00870258 Jy
! Clean residual min=-0.003993 max=0.004776 Jy/beam
! Clean residual mean=0.000080 rms=0.001001 Jy/beam
! Combined flux in latest and established models = 0.792937 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 251 components and 0.792937 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139634Jy  sigma=0.001198
! Fit after  self-cal, rms=0.139630Jy  sigma=0.001198
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Added new window around map position (14.8, 5.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00390818 Jy
! Component: 100  -  total flux cleaned = 0.00471959 Jy
! Component: 150  -  total flux cleaned = 0.00535754 Jy
! Component: 200  -  total flux cleaned = 0.00595575 Jy
! Total flux subtracted in 200 components = 0.00595575 Jy
! Clean residual min=-0.003631 max=0.003450 Jy/beam
! Clean residual mean=0.000043 rms=0.000943 Jy/beam
! Combined flux in latest and established models = 0.798893 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 266 components and 0.798893 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139471Jy  sigma=0.001196
! Fit after  self-cal, rms=0.139454Jy  sigma=0.001196
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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.139454Jy  sigma=0.001196
! Fit after  self-cal, rms=0.139345Jy  sigma=0.001195
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=2.519 mas, bmaj=4.305 mas, bpa=-2.888 degrees
! Estimated noise=654.687 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0059819 Jy
! Component: 100  -  total flux cleaned = 0.0102556 Jy
! Component: 150  -  total flux cleaned = 0.0133245 Jy
! Component: 200  -  total flux cleaned = 0.0147531 Jy
! Total flux subtracted in 200 components = 0.0147531 Jy
! Clean residual min=-0.003689 max=0.003630 Jy/beam
! Clean residual mean=0.000109 rms=0.001137 Jy/beam
! Combined flux in latest and established models = 0.813646 Jy
selfcal
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 297 components and 0.813646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139197Jy  sigma=0.001192
! Fit after  self-cal, rms=0.139190Jy  sigma=0.001192
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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.00147851 Jy
! Component: 100  -  total flux cleaned = 0.0024105 Jy
! Component: 150  -  total flux cleaned = 0.00300736 Jy
! Component: 200  -  total flux cleaned = 0.0031432 Jy
! Total flux subtracted in 200 components = 0.0031432 Jy
! Clean residual min=-0.003346 max=0.003553 Jy/beam
! Clean residual mean=0.000069 rms=0.001089 Jy/beam
! Combined flux in latest and established models = 0.816789 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 314 components and 0.816789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139159Jy  sigma=0.001192
! Fit after  self-cal, rms=0.139152Jy  sigma=0.001192
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7264 mas, bmaj=2.411 mas, bpa=3.842 degrees
! Estimated noise=519.486 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7264 x 2.411 at 3.842 degrees (North through East)
! Clean map  min=-0.0049962  max=0.35691 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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.5879 mas, bmaj=2.054 mas, bpa=3.501 degrees
! Estimated noise=880.437 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.285848 Jy
! Component: 100  -  total flux cleaned = 0.401676 Jy
! Component: 150  -  total flux cleaned = 0.468317 Jy
! Component: 200  -  total flux cleaned = 0.509331 Jy
! Total flux subtracted in 200 components = 0.509331 Jy
! Clean residual min=-0.010841 max=0.022899 Jy/beam
! Clean residual mean=0.000268 rms=0.003444 Jy/beam
! Combined flux in latest and established models = 0.509331 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 0.509331 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7264 mas, bmaj=2.411 mas, bpa=3.842 degrees
! Estimated noise=519.486 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.0558889 Jy
! Component: 100  -  total flux cleaned = 0.09578 Jy
! Component: 150  -  total flux cleaned = 0.126403 Jy
! Component: 200  -  total flux cleaned = 0.150442 Jy
! Total flux subtracted in 200 components = 0.150442 Jy
! Clean residual min=-0.010028 max=0.015599 Jy/beam
! Clean residual mean=0.000954 rms=0.004101 Jy/beam
! Combined flux in latest and established models = 0.659772 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 58 components and 0.659773 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=2.519 mas, bmaj=4.305 mas, bpa=-2.888 degrees
! Estimated noise=654.687 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0348451 Jy
! Component: 100  -  total flux cleaned = 0.0597374 Jy
! Component: 150  -  total flux cleaned = 0.0788196 Jy
! Component: 200  -  total flux cleaned = 0.0939425 Jy
! Total flux subtracted in 200 components = 0.0939425 Jy
! Clean residual min=-0.006416 max=0.009486 Jy/beam
! Clean residual mean=0.000851 rms=0.003219 Jy/beam
! Combined flux in latest and established models = 0.753715 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.0121205 Jy
! Component: 100  -  total flux cleaned = 0.0219142 Jy
! Component: 150  -  total flux cleaned = 0.029884 Jy
! Component: 200  -  total flux cleaned = 0.0364122 Jy
! Total flux subtracted in 200 components = 0.0364122 Jy
! Clean residual min=-0.004124 max=0.004879 Jy/beam
! Clean residual mean=0.000405 rms=0.001657 Jy/beam
! Combined flux in latest and established models = 0.790127 Jy
! Adding 152 model components to the UV plane model.
! The established model now contains 197 components and 0.790127 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! Estimated beam: bmin=0.7264 mas, bmaj=2.411 mas, bpa=3.842 degrees
! Estimated noise=519.486 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00528084 Jy
! Component: 100  -  total flux cleaned = 0.00975687 Jy
! Component: 150  -  total flux cleaned = 0.0134949 Jy
! Component: 200  -  total flux cleaned = 0.0159939 Jy
! Total flux subtracted in 200 components = 0.0159939 Jy
! Clean residual min=-0.003357 max=0.003081 Jy/beam
! Clean residual mean=0.000100 rms=0.000923 Jy/beam
! Combined flux in latest and established models = 0.806121 Jy
selfcal
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 233 components and 0.806121 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139592Jy  sigma=0.001196
! Fit after  self-cal, rms=0.139470Jy  sigma=0.001195
wmodel J0241-0815_X_2003_09_17_pus_map.mod
! Writing 233 model components to file: J0241-0815_X_2003_09_17_pus_map.mod
wobs J0241-0815_X_2003_09_17_pus_uvs.fits
! Writing UV FITS file: J0241-0815_X_2003_09_17_pus_uvs.fits
wwins J0241-0815_X_2003_09_17_pus_map.win
! wwins: Wrote 11 windows to J0241-0815_X_2003_09_17_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 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000374738 Jy
! Component: 100  -  total flux cleaned = -0.000259933 Jy
! Component: 150  -  total flux cleaned = -9.83525e-05 Jy
! Component: 200  -  total flux cleaned = 0.000210178 Jy
! Component: 250  -  total flux cleaned = 0.000608572 Jy
! Component: 300  -  total flux cleaned = 0.000947943 Jy
! Component: 350  -  total flux cleaned = 0.00118436 Jy
! Component: 400  -  total flux cleaned = 0.00155511 Jy
! Component: 450  -  total flux cleaned = 0.00182677 Jy
! Component: 500  -  total flux cleaned = 0.00213752 Jy
! Component: 550  -  total flux cleaned = 0.00235568 Jy
! Component: 600  -  total flux cleaned = 0.00269859 Jy
! Component: 650  -  total flux cleaned = 0.00307716 Jy
! Component: 700  -  total flux cleaned = 0.00332592 Jy
! Component: 750  -  total flux cleaned = 0.00369322 Jy
! Component: 800  -  total flux cleaned = 0.00401466 Jy
! Component: 850  -  total flux cleaned = 0.00445026 Jy
! Component: 900  -  total flux cleaned = 0.00472334 Jy
! Component: 950  -  total flux cleaned = 0.00503222 Jy
! Component: 1000  -  total flux cleaned = 0.00548946 Jy
! Component: 1050  -  total flux cleaned = 0.00571541 Jy
! Component: 1100  -  total flux cleaned = 0.00612499 Jy
! Component: 1150  -  total flux cleaned = 0.00645561 Jy
! Component: 1200  -  total flux cleaned = 0.0066014 Jy
! Component: 1250  -  total flux cleaned = 0.00688931 Jy
! Component: 1300  -  total flux cleaned = 0.00721008 Jy
! Component: 1350  -  total flux cleaned = 0.00735067 Jy
! Component: 1400  -  total flux cleaned = 0.00766464 Jy
! Component: 1450  -  total flux cleaned = 0.00783692 Jy
! Component: 1500  -  total flux cleaned = 0.00807618 Jy
! Component: 1550  -  total flux cleaned = 0.00814401 Jy
! Component: 1600  -  total flux cleaned = 0.0084791 Jy
! Component: 1650  -  total flux cleaned = 0.0086119 Jy
! Component: 1700  -  total flux cleaned = 0.00877638 Jy
! Component: 1750  -  total flux cleaned = 0.00893927 Jy
! Component: 1800  -  total flux cleaned = 0.00903583 Jy
! Component: 1850  -  total flux cleaned = 0.00919594 Jy
! Component: 1900  -  total flux cleaned = 0.00932299 Jy
! Component: 1950  -  total flux cleaned = 0.00951174 Jy
! Component: 2000  -  total flux cleaned = 0.00966741 Jy
! Total flux subtracted in 2048 components = 0.00972945 Jy
! Clean residual min=-0.001820 max=0.001618 Jy/beam
! Clean residual mean=0.000047 rms=0.000605 Jy/beam
! Combined flux in latest and established models = 0.815851 Jy
keep
! Adding 162 model components to the UV plane model.
! The established model now contains 388 components and 0.815851 Jy
wmap "J0241-0815_X_2003_09_17_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7264 x 2.411 at 3.842 degrees (North through East)
! Clean map  min=-0.002817  max=0.35278 Jy/beam
! Writing clean map to FITS file: J0241-0815_X_2003_09_17_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.352781 
invert
! Inverting map 
! Your choice of large map pixels excluded 2.14% of the data.
!  The x-axis pixel size should ideally be below 0.1893 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000603116 
device "J0241-0815_X_2003_09_17_pus\_map.eps/VPS"
! Attempting to open device: 'J0241-0815_X_2003_09_17_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.512882 0.512882 1.02576 2.05153 4.10305 8.20611 16.4122 32.8244 65.6488
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.352 
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.7264 x 2.411 at 3.842 degrees (North through East)
! Clean map  min=-0.002817  max=0.35278 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0241-0815_X_2003_09_17_pus\_map.gif/vgif"
! Attempting to open device: 'J0241-0815_X_2003_09_17_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0241-0815_X_2003_09_17_pus_uvs.log closed on Mon May 14 14:35:41 2007