! Started logfile: 0048-427_S.log on Wed Oct 31 15:52:21 2007
observe 0048-427_S.edt
! Reading UV FITS file: 0048-427_S.edt
! AN table 1: 61 integrations on 105 of 105 possible baselines.
! AN table 2: 97 integrations on 105 of 105 possible baselines.
! AN table 3: 8 integrations on 105 of 105 possible baselines.
! AN table 4: 83 integrations on 105 of 105 possible baselines.
! AN table 5: 83 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.114716 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0048-427
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 970 lines of history.
! 
! Reading 15996 visibilities.
![@gonzo8-0.4_south 0048-427_S]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.4
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 8.0
float win_mult
win_mult = 1.0
float solint
solint = 3.6/6.0
logical doflt
doflt = true
logical doamp
float new_peak
float flux_cutoff
mapsize field_size,field_cell
! Map grid = 1024x1024 pixels with 0.400x0.400 milli-arcsec cellsize.
select
! 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
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 697 telescope corrections were flagged in sub-array 1.
!  A total of 738 telescope corrections were flagged in sub-array 2.
!  A total of 112 telescope corrections were flagged in sub-array 3.
!  A total of 1002 telescope corrections were flagged in sub-array 4.
!  A total of 954 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 697 telescope corrections were flagged in sub-array 1.
!  A total of 738 telescope corrections were flagged in sub-array 2.
!  A total of 112 telescope corrections were flagged in sub-array 3.
!  A total of 1002 telescope corrections were flagged in sub-array 4.
!  A total of 954 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 697 telescope corrections were flagged in sub-array 1.
!  A total of 738 telescope corrections were flagged in sub-array 2.
!  A total of 112 telescope corrections were flagged in sub-array 3.
!  A total of 1002 telescope corrections were flagged in sub-array 4.
!  A total of 954 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 697 telescope corrections were flagged in sub-array 1.
!  A total of 738 telescope corrections were flagged in sub-array 2.
!  A total of 112 telescope corrections were flagged in sub-array 3.
!  A total of 1002 telescope corrections were flagged in sub-array 4.
!  A total of 954 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.428301Jy  sigma=0.002793
! Fit after  self-cal, rms=0.406477Jy  sigma=0.002683
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvweight 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.
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.012 mas, bmaj=3.636 mas, bpa=13.11 degrees
! Estimated noise=1689.85 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.591347 Jy
! Total flux subtracted in 50 components = 0.591347 Jy
! Clean residual min=-0.065072 max=0.164986 Jy/beam
! Clean residual mean=0.000005 rms=0.012311 Jy/beam
! Combined flux in latest and established models = 0.591347 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.591347 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.400198Jy  sigma=0.002544
! Fit after  self-cal, rms=0.400198Jy  sigma=0.002544
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.147514 Jy
! Total flux subtracted in 50 components = 0.147514 Jy
! Clean residual min=-0.042792 max=0.072672 Jy/beam
! Clean residual mean=0.000011 rms=0.008733 Jy/beam
! Combined flux in latest and established models = 0.738861 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.738861 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.344665Jy  sigma=0.001917
! Fit after  self-cal, rms=0.344610Jy  sigma=0.001917
! Inverting map 
! Added new window around map position (-6, -0.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0615391 Jy
! Total flux subtracted in 50 components = 0.0615391 Jy
! Clean residual min=-0.047033 max=0.060042 Jy/beam
! Clean residual mean=0.000005 rms=0.008159 Jy/beam
! Combined flux in latest and established models = 0.8004 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 16 components and 0.8004 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.333144Jy  sigma=0.001836
! Fit after  self-cal, rms=0.332073Jy  sigma=0.001817
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Uniform Weighting CLEAN ***"
! *** Finished Uniform Weighting CLEAN *** 
print "****************************************"
! **************************************** 
uvweight 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
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.862 mas, bmaj=4.921 mas, bpa=8.517 degrees
! Estimated noise=704.112 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0400396 Jy
! Component: 100  -  total flux cleaned = 0.0565485 Jy
! Total flux subtracted in 100 components = 0.0565485 Jy
! Clean residual min=-0.036436 max=0.043332 Jy/beam
! Clean residual mean=0.000280 rms=0.008274 Jy/beam
! Combined flux in latest and established models = 0.856948 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 26 components and 0.856948 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325140Jy  sigma=0.001812
! Fit after  self-cal, rms=0.325026Jy  sigma=0.001808
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 123 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.92     HH        1.00*    KB        1.00*    KP        0.54     
!   LA        1.02     MK        0.72     NL        1.62     NY        1.00*    
!   OV        0.86     PT        0.97     SC        1.12     TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.95     HH        1.00*    KB        1.00*    KP        1.06     
!   LA        1.00     MK        0.95     NL        1.10     NY        1.00*    
!   OV        1.06     PT        1.10     SC        0.96     TC        0.88     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        1.01     HH        1.00*    KB        1.00*    KP        1.12     
!   LA        0.80     MK        1.00*    NL        1.87     NY        1.00*    
!   OV        1.00*    PT        1.04     SC        1.00*    TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 243 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    HH        0.00*    KB        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   WF        0.00*    WZ        0.00*    BR        0.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.67     HH        1.00*    KB        1.00*    KP        0.98     
!   LA        0.94     MK        0.91     NL        1.00*    NY        1.00*    
!   OV        1.10     PT        0.99     SC        1.00*    TC        1.15     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 123 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.91     HH        1.00*    KB        1.00*    KP        0.58     
!   LA        0.83     MK        0.83     NL        1.78     NY        1.00*    
!   OV        0.88     PT        1.02     SC        1.08     TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.98     HH        1.00*    KB        1.00*    KP        1.12     
!   LA        1.02     MK        1.05     NL        1.13     NY        1.00*    
!   OV        1.04     PT        1.11     SC        0.94     TC        1.01     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.93     HH        1.00*    KB        1.00*    KP        1.32     
!   LA        0.93     MK        1.00*    NL        1.38     NY        1.00*    
!   OV        1.00*    PT        1.20     SC        1.00*    TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 243 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    HH        0.00*    KB        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   WF        0.00*    WZ        0.00*    BR        0.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.69     HH        1.00*    KB        1.00*    KP        0.92     
!   LA        0.93     MK        0.93     NL        1.00*    NY        1.00*    
!   OV        1.10     PT        1.08     SC        1.00*    TC        1.09     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 123 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.89     HH        1.00*    KB        1.00*    KP        0.56     
!   LA        0.90     MK        0.88     NL        1.67     NY        1.00*    
!   OV        0.93     PT        1.03     SC        1.06     TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.95     HH        1.00*    KB        1.00*    KP        1.09     
!   LA        1.01     MK        1.08     NL        1.16     NY        1.00*    
!   OV        1.03     PT        1.10     SC        0.97     TC        1.01     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.85     HH        1.00*    KB        1.00*    KP        1.35     
!   LA        1.11     MK        1.00*    NL        1.55     NY        1.00*    
!   OV        1.00*    PT        0.83     SC        1.00*    TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 243 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    HH        0.00*    KB        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   WF        0.00*    WZ        0.00*    BR        0.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.67     HH        1.00*    KB        1.00*    KP        0.85     
!   LA        0.85     MK        0.85     NL        1.00*    NY        1.00*    
!   OV        1.09     PT        1.01     SC        1.00*    TC        1.12     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 123 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.90     HH        1.00*    KB        1.00*    KP        0.59     
!   LA        0.86     MK        0.89     NL        1.93     NY        1.00*    
!   OV        0.93     PT        1.02     SC        1.13     TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     HH        1.00*    KB        1.00*    KP        1.10     
!   LA        0.99     MK        1.09     NL        1.20     NY        1.00*    
!   OV        1.05     PT        1.11     SC        1.00     TC        0.85     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.99     HH        1.00*    KB        1.00*    KP        1.13     
!   LA        0.83     MK        1.00*    NL        2.43     NY        1.00*    
!   OV        1.00*    PT        1.30     SC        1.00*    TC        1.00*    
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
!  A total of 243 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    HH        0.00*    KB        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   WF        0.00*    WZ        0.00*    BR        0.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.69     HH        1.00*    KB        1.00*    KP        0.86     
!   LA        0.87     MK        0.80     NL        1.00*    NY        1.00*    
!   OV        1.06     PT        0.98     SC        1.00*    TC        1.03     
!   WF        1.00*    WZ        1.00*    BR        1.00*    
! 
! 
! Fit before self-cal, rms=0.325026Jy  sigma=0.001808
! Fit after  self-cal, rms=0.245951Jy  sigma=0.001333
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.129 mas, bmaj=5.632 mas, bpa=-0.2952 degrees
! Estimated noise=708.267 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00225959 Jy
! Component: 100  -  total flux cleaned = 0.00269418 Jy
! Total flux subtracted in 100 components = 0.00269418 Jy
! Clean residual min=-0.011538 max=0.013743 Jy/beam
! Clean residual mean=-0.000269 rms=0.003185 Jy/beam
! Combined flux in latest and established models = 0.859642 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 31 components and 0.859642 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245568Jy  sigma=0.001332
! Fit after  self-cal, rms=0.245505Jy  sigma=0.001331
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
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 doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000863122 Jy
! Component: 100  -  total flux cleaned = -0.000717207 Jy
! Total flux subtracted in 100 components = -0.000717207 Jy
! Clean residual min=-0.011192 max=0.013632 Jy/beam
! Clean residual mean=-0.000265 rms=0.003113 Jy/beam
! Combined flux in latest and established models = 0.858925 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 33 components and 0.858925 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245354Jy  sigma=0.001330
! Fit after  self-cal, rms=0.235297Jy  sigma=0.001097
! Inverting map and beam 
! Estimated beam: bmin=3.135 mas, bmaj=5.632 mas, bpa=-0.3164 degrees
! Estimated noise=708.168 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
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 doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00282169 Jy
! Component: 100  -  total flux cleaned = -0.00281739 Jy
! Total flux subtracted in 100 components = -0.00281739 Jy
! Clean residual min=-0.006787 max=0.006957 Jy/beam
! Clean residual mean=0.000038 rms=0.001546 Jy/beam
! Combined flux in latest and established models = 0.856108 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 37 components and 0.856108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235146Jy  sigma=0.001096
! Fit after  self-cal, rms=0.235059Jy  sigma=0.001095
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0048-427_S
! Writing UV FITS file: 0048-427_S.uvf
! Writing 37 model components to file: 0048-427_S.mod
! wwins: Wrote 2 windows to 0048-427_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.135 x 5.632 at -0.3164 degrees (North through East)
! Clean map  min=-0.0078452  max=0.76917 Jy/beam
! Writing clean map to FITS file: 0048-427_S.fits
! Writing difmap environment to: 0048-427_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0048-427_S]
device 0048-427_Suv.ps/vps,1,2
! Attempting to open device: '0048-427_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0048-427_Sim.ps/vps
! Attempting to open device: '0048-427_Sim.ps/vps'
uvweight 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.
loglevs -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=3.135 mas, bmaj=5.632 mas, bpa=-0.3164 degrees
! Estimated noise=708.168 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.135 x 5.632 at -0.3164 degrees (North through East)
! Clean map  min=-0.0078452  max=0.76917 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo8-0.4_south]
quit
! Quitting program
! Log file 0048-427_S.log closed on Wed Oct 31 15:52:47 2007