! Started logfile: J1625-2527_X_2001_07_05_pus_uvs.log on Thu Jul  5 15:34:04 2007
obs J1625-2527_X_2001_07_05_pus_uva.fits
! Reading UV FITS file: J1625-2527_X_2001_07_05_pus_uva.fits
! AN table 1: 57 integrations on 171 of 171 possible baselines.
! AN table 2: 86 integrations on 171 of 171 possible baselines.
! AN table 3: 10 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0698314 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1625-2527
! 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 7308 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 960 telescope corrections were flagged in sub-array 1.
!  A total of 1321 telescope corrections were flagged in sub-array 2.
!  A total of 190 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 960 telescope corrections were flagged in sub-array 1.
!  A total of 1321 telescope corrections were flagged in sub-array 2.
!  A total of 190 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 960 telescope corrections were flagged in sub-array 1.
!  A total of 1380 telescope corrections were flagged in sub-array 2.
!  A total of 190 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 960 telescope corrections were flagged in sub-array 1.
!  A total of 1321 telescope corrections were flagged in sub-array 2.
!  A total of 190 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.261062Jy  sigma=0.011150
! Fit after  self-cal, rms=1.176793Jy  sigma=0.010537
! 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.238% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.6522 mas, bmaj=1.603 mas, bpa=-8.897 degrees
! Estimated noise=1463.73 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.65578 Jy
! Component: 100  -  total flux cleaned = 2.02662 Jy
! Total flux subtracted in 100 components = 2.02662 Jy
! Clean residual min=-0.037132 max=0.129738 Jy/beam
! Clean residual mean=0.000567 rms=0.016144 Jy/beam
! Combined flux in latest and established models = 2.02662 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 2.02662 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.330526Jy  sigma=0.002695
! Fit after  self-cal, rms=0.330575Jy  sigma=0.002695
! Inverting map 
! Your choice of large map pixels excluded 0.238% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.131546 Jy
! Component: 100  -  total flux cleaned = 0.191087 Jy
! Total flux subtracted in 100 components = 0.191087 Jy
! Clean residual min=-0.030180 max=0.038183 Jy/beam
! Clean residual mean=-0.000883 rms=0.008214 Jy/beam
! Combined flux in latest and established models = 2.21771 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 19 components and 2.21771 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.271986Jy  sigma=0.001971
! Fit after  self-cal, rms=0.272160Jy  sigma=0.001971
! Inverting map 
! Your choice of large map pixels excluded 0.238% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.238% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7689 mas, bmaj=2.143 mas, bpa=-10.33 degrees
! Estimated noise=1030.91 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.0486329 Jy
! Component: 100  -  total flux cleaned = 0.070868 Jy
! Component: 150  -  total flux cleaned = 0.0822906 Jy
! Component: 200  -  total flux cleaned = 0.0884384 Jy
! Total flux subtracted in 200 components = 0.0884384 Jy
! Clean residual min=-0.018803 max=0.028214 Jy/beam
! Clean residual mean=-0.002212 rms=0.006868 Jy/beam
! Combined flux in latest and established models = 2.30615 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 35 components and 2.30614 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.266078Jy  sigma=0.001869
! Fit after  self-cal, rms=0.266106Jy  sigma=0.001868
! Inverting map 
! Your choice of large map pixels excluded 0.238% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.99     KP        0.98     
!   LA        1.01     MC        1.00*    MK        0.95     NL        1.06     
!   NY        1.00*    OV        0.98     PT        0.99     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.00     GC        1.00*    GG        1.00*    
!   HH        0.87     HN        1.05     KK        1.14     KP        1.01     
!   LA        0.99     MC        1.15     MK        0.93     NL        1.00     
!   NY        1.00*    OV        1.03     PT        1.00     SC        1.01     
!   TS        1.00*    WF        1.04     WZ        1.05     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.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.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.97     KP        0.98     
!   LA        1.00     MC        1.00*    MK        0.95     NL        1.01     
!   NY        1.00*    OV        0.97     PT        0.96     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        0.88     HN        1.05     KK        1.14     KP        1.02     
!   LA        0.97     MC        1.16     MK        0.93     NL        0.97     
!   NY        1.00*    OV        1.01     PT        0.97     SC        0.98     
!   TS        1.00*    WF        1.04     WZ        1.04     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.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.03     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        1.01     
!   LA        1.00     MC        1.00*    MK        0.95     NL        1.04     
!   NY        1.00*    OV        1.01     PT        0.98     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.05     KK        1.07     KP        1.04     
!   LA        0.99     MC        1.00*    MK        0.94     NL        0.98     
!   NY        1.00*    OV        1.05     PT        0.98     SC        0.97     
!   TS        1.00*    WF        1.04     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.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.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        0.96     
!   LA        0.98     MC        1.00*    MK        0.98     NL        1.06     
!   NY        1.00*    OV        0.98     PT        0.97     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.04     HN        1.06     KK        1.10     KP        1.00     
!   LA        0.96     MC        1.19     MK        0.96     NL        0.99     
!   NY        1.00*    OV        1.02     PT        0.97     SC        1.02     
!   TS        1.00*    WF        1.04     WZ        1.00     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.266106Jy  sigma=0.001868
! Fit after  self-cal, rms=0.256177Jy  sigma=0.001600
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7822 mas, bmaj=2.256 mas, bpa=-10.09 degrees
! Estimated noise=1037.19 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.006058 Jy
! Component: 100  -  total flux cleaned = -0.00573212 Jy
! Component: 150  -  total flux cleaned = -0.00516746 Jy
! Component: 200  -  total flux cleaned = -0.00445566 Jy
! Total flux subtracted in 200 components = -0.00445566 Jy
! Clean residual min=-0.010868 max=0.012126 Jy/beam
! Clean residual mean=-0.000420 rms=0.002780 Jy/beam
! Combined flux in latest and established models = 2.30169 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 40 components and 2.30169 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255272Jy  sigma=0.001593
! Fit after  self-cal, rms=0.255519Jy  sigma=0.001593
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.255519Jy  sigma=0.001593
! Fit after  self-cal, rms=0.256440Jy  sigma=0.001588
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7828 mas, bmaj=2.263 mas, bpa=-10.04 degrees
! Estimated noise=1036.38 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00536048 Jy
! Component: 100  -  total flux cleaned = -0.00489172 Jy
! Component: 150  -  total flux cleaned = -0.00468061 Jy
! Component: 200  -  total flux cleaned = -0.00448837 Jy
! Total flux subtracted in 200 components = -0.00448837 Jy
! Clean residual min=-0.009645 max=0.011148 Jy/beam
! Clean residual mean=-0.000139 rms=0.002621 Jy/beam
! Combined flux in latest and established models = 2.2972 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 42 components and 2.2972 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255919Jy  sigma=0.001584
! Fit after  self-cal, rms=0.255891Jy  sigma=0.001584
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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, 4.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00711142 Jy
! Component: 100  -  total flux cleaned = 0.00740967 Jy
! Component: 150  -  total flux cleaned = 0.0074218 Jy
! Component: 200  -  total flux cleaned = 0.00742261 Jy
! Total flux subtracted in 200 components = 0.00742261 Jy
! Clean residual min=-0.008455 max=0.008676 Jy/beam
! Clean residual mean=-0.000350 rms=0.002211 Jy/beam
! Combined flux in latest and established models = 2.30462 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 61 components and 2.30462 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255180Jy  sigma=0.001578
! Fit after  self-cal, rms=0.255124Jy  sigma=0.001578
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.255124Jy  sigma=0.001578
! Fit after  self-cal, rms=0.255632Jy  sigma=0.001577
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7838 mas, bmaj=2.265 mas, bpa=-9.992 degrees
! Estimated noise=1035.65 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00381583 Jy
! Component: 100  -  total flux cleaned = -0.00381731 Jy
! Component: 150  -  total flux cleaned = -0.003628 Jy
! Component: 200  -  total flux cleaned = -0.00346115 Jy
! Total flux subtracted in 200 components = -0.00346115 Jy
! Clean residual min=-0.007316 max=0.008079 Jy/beam
! Clean residual mean=-0.000188 rms=0.002092 Jy/beam
! Combined flux in latest and established models = 2.30116 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 65 components and 2.30116 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255229Jy  sigma=0.001574
! Fit after  self-cal, rms=0.255215Jy  sigma=0.001574
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.000367287 Jy
! Component: 100  -  total flux cleaned = 0.000511842 Jy
! Component: 150  -  total flux cleaned = 0.000509838 Jy
! Component: 200  -  total flux cleaned = 0.000636108 Jy
! Total flux subtracted in 200 components = 0.000636108 Jy
! Clean residual min=-0.007012 max=0.008079 Jy/beam
! Clean residual mean=-0.000207 rms=0.002031 Jy/beam
! Combined flux in latest and established models = 2.3018 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 70 components and 2.3018 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255039Jy  sigma=0.001573
! Fit after  self-cal, rms=0.255023Jy  sigma=0.001573
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.255023Jy  sigma=0.001573
! Fit after  self-cal, rms=0.255683Jy  sigma=0.001572
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=2.219 mas, bmaj=5.083 mas, bpa=2.484 degrees
! Estimated noise=1305.21 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00224979 Jy
! Component: 100  -  total flux cleaned = -0.00226137 Jy
! Component: 150  -  total flux cleaned = -0.00234539 Jy
! Component: 200  -  total flux cleaned = -0.00248773 Jy
! Total flux subtracted in 200 components = -0.00248773 Jy
! Clean residual min=-0.005754 max=0.005439 Jy/beam
! Clean residual mean=-0.000289 rms=0.002042 Jy/beam
! Combined flux in latest and established models = 2.29931 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 84 components and 2.29931 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255672Jy  sigma=0.001572
! Fit after  self-cal, rms=0.255632Jy  sigma=0.001571
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.000233041 Jy
! Component: 100  -  total flux cleaned = 0.000245297 Jy
! Component: 150  -  total flux cleaned = 4.97137e-05 Jy
! Component: 200  -  total flux cleaned = -0.000123341 Jy
! Total flux subtracted in 200 components = -0.000123341 Jy
! Clean residual min=-0.005737 max=0.005155 Jy/beam
! Clean residual mean=-0.000285 rms=0.002013 Jy/beam
! Combined flux in latest and established models = 2.29919 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 88 components and 2.29919 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255662Jy  sigma=0.001571
! Fit after  self-cal, rms=0.255634Jy  sigma=0.001571
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7849 mas, bmaj=2.267 mas, bpa=-9.945 degrees
! Estimated noise=1035.36 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7849 x 2.267 at -9.945 degrees (North through East)
! Clean map  min=-0.0075051  max=2.1431 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.255634Jy  sigma=0.001571
! Fit after  self-cal, rms=0.247144Jy  sigma=0.001413
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7849 mas, bmaj=2.269 mas, bpa=-9.979 degrees
! Estimated noise=1034.35 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00366323 Jy
! Component: 100  -  total flux cleaned = -0.0034109 Jy
! Component: 150  -  total flux cleaned = -0.00329394 Jy
! Component: 200  -  total flux cleaned = -0.00307837 Jy
! Total flux subtracted in 200 components = -0.00307837 Jy
! Clean residual min=-0.006181 max=0.007175 Jy/beam
! Clean residual mean=-0.000006 rms=0.001837 Jy/beam
! Combined flux in latest and established models = 2.29611 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 93 components and 2.29611 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246975Jy  sigma=0.001412
! Fit after  self-cal, rms=0.246955Jy  sigma=0.001412
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000200795 Jy
! Component: 100  -  total flux cleaned = 0.000198891 Jy
! Component: 150  -  total flux cleaned = 0.000285241 Jy
! Component: 200  -  total flux cleaned = 0.000285399 Jy
! Total flux subtracted in 200 components = 0.000285399 Jy
! Clean residual min=-0.006009 max=0.007039 Jy/beam
! Clean residual mean=-0.000014 rms=0.001818 Jy/beam
! Combined flux in latest and established models = 2.2964 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 95 components and 2.2964 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246882Jy  sigma=0.001411
! Fit after  self-cal, rms=0.246871Jy  sigma=0.001411
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.246871Jy  sigma=0.001411
! Fit after  self-cal, rms=0.247534Jy  sigma=0.001411
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.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.6559 mas, bmaj=1.627 mas, bpa=-8.475 degrees
! Estimated noise=1516.04 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.65902 Jy
! Component: 100  -  total flux cleaned = 2.02288 Jy
! Component: 150  -  total flux cleaned = 2.13746 Jy
! Component: 200  -  total flux cleaned = 2.19158 Jy
! Total flux subtracted in 200 components = 2.19158 Jy
! Clean residual min=-0.010694 max=0.026459 Jy/beam
! Clean residual mean=0.000613 rms=0.004618 Jy/beam
! Combined flux in latest and established models = 2.19158 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 2.19158 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7857 mas, bmaj=2.27 mas, bpa=-9.946 degrees
! Estimated noise=1034.14 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.0456749 Jy
! Component: 100  -  total flux cleaned = 0.0694578 Jy
! Component: 150  -  total flux cleaned = 0.0830028 Jy
! Component: 200  -  total flux cleaned = 0.0911652 Jy
! Total flux subtracted in 200 components = 0.0911652 Jy
! Clean residual min=-0.005959 max=0.008676 Jy/beam
! Clean residual mean=0.000405 rms=0.002057 Jy/beam
! Combined flux in latest and established models = 2.28275 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 53 components and 2.28275 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 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.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=2.22 mas, bmaj=5.086 mas, bpa=2.495 degrees
! Estimated noise=1301.96 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00844336 Jy
! Component: 100  -  total flux cleaned = 0.0107902 Jy
! Component: 150  -  total flux cleaned = 0.0112255 Jy
! Component: 200  -  total flux cleaned = 0.0115251 Jy
! Total flux subtracted in 200 components = 0.0115251 Jy
! Clean residual min=-0.005316 max=0.005401 Jy/beam
! Clean residual mean=0.000112 rms=0.001936 Jy/beam
! Combined flux in latest and established models = 2.29427 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.000324459 Jy
! Component: 100  -  total flux cleaned = 0.000552883 Jy
! Component: 150  -  total flux cleaned = 0.000708855 Jy
! Component: 200  -  total flux cleaned = 0.000805812 Jy
! Total flux subtracted in 200 components = 0.000805812 Jy
! Clean residual min=-0.005183 max=0.005275 Jy/beam
! Clean residual mean=0.000055 rms=0.001895 Jy/beam
! Combined flux in latest and established models = 2.29508 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 66 components and 2.29508 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! Estimated beam: bmin=0.7857 mas, bmaj=2.27 mas, bpa=-9.946 degrees
! Estimated noise=1034.14 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00160051 Jy
! Component: 100  -  total flux cleaned = -0.0016031 Jy
! Component: 150  -  total flux cleaned = -0.0014889 Jy
! Component: 200  -  total flux cleaned = -0.00148815 Jy
! Total flux subtracted in 200 components = -0.00148815 Jy
! Clean residual min=-0.005381 max=0.006364 Jy/beam
! Clean residual mean=0.000071 rms=0.001773 Jy/beam
! Combined flux in latest and established models = 2.29359 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 80 components and 2.29359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247235Jy  sigma=0.001409
! Fit after  self-cal, rms=0.247154Jy  sigma=0.001409
wmodel J1625-2527_X_2001_07_05_pus_map.mod
! Writing 80 model components to file: J1625-2527_X_2001_07_05_pus_map.mod
wobs J1625-2527_X_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J1625-2527_X_2001_07_05_pus_uvs.fits
wwins J1625-2527_X_2001_07_05_pus_map.win
! wwins: Wrote 2 windows to J1625-2527_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 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00294652 Jy
! Component: 100  -  total flux cleaned = 0.00409357 Jy
! Component: 150  -  total flux cleaned = 0.00457433 Jy
! Component: 200  -  total flux cleaned = 0.00466835 Jy
! Component: 250  -  total flux cleaned = 0.00466915 Jy
! Component: 300  -  total flux cleaned = 0.00474925 Jy
! Component: 350  -  total flux cleaned = 0.00482722 Jy
! Component: 400  -  total flux cleaned = 0.00482793 Jy
! Component: 450  -  total flux cleaned = 0.00482803 Jy
! Component: 500  -  total flux cleaned = 0.00475803 Jy
! Component: 550  -  total flux cleaned = 0.0048267 Jy
! Component: 600  -  total flux cleaned = 0.00475987 Jy
! Component: 650  -  total flux cleaned = 0.00469594 Jy
! Component: 700  -  total flux cleaned = 0.00469588 Jy
! Component: 750  -  total flux cleaned = 0.00463346 Jy
! Component: 800  -  total flux cleaned = 0.00463288 Jy
! Component: 850  -  total flux cleaned = 0.0045746 Jy
! Component: 900  -  total flux cleaned = 0.00463245 Jy
! Component: 950  -  total flux cleaned = 0.0046323 Jy
! Component: 1000  -  total flux cleaned = 0.00457746 Jy
! Total flux subtracted in 1024 components = 0.00463132 Jy
! Clean residual min=-0.003305 max=0.003302 Jy/beam
! Clean residual mean=-0.000105 rms=0.001128 Jy/beam
! Combined flux in latest and established models = 2.29822 Jy
keep
! Adding 71 model components to the UV plane model.
! The established model now contains 151 components and 2.29822 Jy
wmap "J1625-2527_X_2001_07_05_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7857 x 2.27 at -9.946 degrees (North through East)
! Clean map  min=-0.0050651  max=2.1424 Jy/beam
! Writing clean map to FITS file: J1625-2527_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 2.14245 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.121% of the data.
!  The x-axis pixel size should ideally be below 0.1976 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00112801 
device "J1625-2527_X_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J1625-2527_X_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.157951 0.157951 0.315903 0.631805 1.26361 2.52722 5.05444 10.1089 20.2178 40.4355 80.871
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0033 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.142 
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.7857 x 2.27 at -9.946 degrees (North through East)
! Clean map  min=-0.0050651  max=2.1424 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1625-2527_X_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J1625-2527_X_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1625-2527_X_2001_07_05_pus_uvs.log closed on Thu Jul  5 15:34:46 2007