! Started logfile: 1026-084_S.log on Mon Nov 18 19:00:28 2002
observe 1026-084_S.edt
! Reading UV FITS file: 1026-084_S.edt
! AN table 1: 29 integrations on 120 of 120 possible baselines.
! Apparent sampling: 0.233333 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1026-084
! 
! 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 6827 lines of history.
! 
! Reading 3248 visibilities.
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 = 7.0
float win_mult
win_mult = 1.8
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 248 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 248 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 248 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 248 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.815645Jy  sigma=5.874978
! Fit after  self-cal, rms=0.815643Jy  sigma=5.874962
! 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=5.339 mas, bmaj=14.71 mas, bpa=1.813 degrees
! Estimated noise=3.29268 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.144473 Jy
! Total flux subtracted in 50 components = 0.144473 Jy
! Clean residual min=-0.013291 max=0.040293 Jy/beam
! Clean residual mean=0.000012 rms=0.006004 Jy/beam
! Combined flux in latest and established models = 0.144473 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.144473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090115Jy  sigma=0.647557
! Fit after  self-cal, rms=0.090115Jy  sigma=0.647557
! 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=6.138 mas, bmaj=15.9 mas, bpa=3.233 degrees
! Estimated noise=1.78776 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.0341546 Jy
! Component: 100  -  total flux cleaned = 0.0379372 Jy
! Total flux subtracted in 100 components = 0.0379372 Jy
! Clean residual min=-0.015285 max=0.009791 Jy/beam
! Clean residual mean=0.000036 rms=0.003407 Jy/beam
! Combined flux in latest and established models = 0.18241 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 0.18241 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078651Jy  sigma=0.564749
! Fit after  self-cal, rms=0.078650Jy  sigma=0.564744
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     GC        1.00*    HN        1.03     
!   KK        1.00*    KP        1.07     LA        1.00     MC        1.00*    
!   MK        1.00*    NL        0.77     NY        1.00*    OV        1.04     
!   PT        1.02     SC        1.00*    WF        1.00*    GN        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.08     GC        1.00*    HN        1.01     
!   KK        1.00*    KP        1.13     LA        1.01     MC        1.00*    
!   MK        1.00*    NL        0.76     NY        1.00*    OV        1.04     
!   PT        0.98     SC        1.00*    WF        1.00*    GN        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.05     GC        1.00*    HN        0.99     
!   KK        1.00*    KP        1.11     LA        0.99     MC        1.00*    
!   MK        1.00*    NL        0.79     NY        1.00*    OV        1.10     
!   PT        1.00     SC        1.00*    WF        1.00*    GN        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.06     GC        1.00*    HN        1.02     
!   KK        1.00*    KP        1.14     LA        1.00     MC        1.00*    
!   MK        1.00*    NL        0.73     NY        1.00*    OV        1.01     
!   PT        1.04     SC        1.00*    WF        1.00*    GN        1.00*    
! 
! 
! Fit before self-cal, rms=0.078650Jy  sigma=0.564744
! Fit after  self-cal, rms=0.071821Jy  sigma=0.526038
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=6.135 mas, bmaj=16.04 mas, bpa=2.708 degrees
! Estimated noise=1.7486 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.00362582 Jy
! Component: 100  -  total flux cleaned = 0.00530825 Jy
! Total flux subtracted in 100 components = 0.00530825 Jy
! Clean residual min=-0.004134 max=0.002624 Jy/beam
! Clean residual mean=0.000008 rms=0.000896 Jy/beam
! Combined flux in latest and established models = 0.187719 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 33 components and 0.187719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071670Jy  sigma=0.524829
! Fit after  self-cal, rms=0.071724Jy  sigma=0.524637
! 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.00101703 Jy
! Component: 100  -  total flux cleaned = 0.00137862 Jy
! Total flux subtracted in 100 components = 0.00137862 Jy
! Clean residual min=-0.004044 max=0.002603 Jy/beam
! Clean residual mean=0.000009 rms=0.000874 Jy/beam
! Combined flux in latest and established models = 0.189097 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 42 components and 0.189097 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071708Jy  sigma=0.524508
! Fit after  self-cal, rms=0.071135Jy  sigma=0.518908
! Inverting map and beam 
! Estimated beam: bmin=6.113 mas, bmaj=16.04 mas, bpa=2.609 degrees
! Estimated noise=1.75139 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.00158531 Jy
! Component: 100  -  total flux cleaned = 0.00226188 Jy
! Total flux subtracted in 100 components = 0.00226188 Jy
! Clean residual min=-0.003904 max=0.002590 Jy/beam
! Clean residual mean=0.000005 rms=0.000811 Jy/beam
! Combined flux in latest and established models = 0.191359 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 48 components and 0.191359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071101Jy  sigma=0.518698
! Fit after  self-cal, rms=0.071118Jy  sigma=0.518661
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1026-084_S
! Writing UV FITS file: 1026-084_S.uvf
! Writing 48 model components to file: 1026-084_S.mod
! wwins: Wrote 1 windows to 1026-084_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.113 x 16.04 at 2.609 degrees (North through East)
! Clean map  min=-0.0038635  max=0.18469 Jy/beam
! Writing clean map to FITS file: 1026-084_S.fits
! Writing difmap environment to: 1026-084_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1026-084_Suv.ps/vps,1,2
! Attempting to open device: '1026-084_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1026-084_Sim.ps/vps
! Attempting to open device: '1026-084_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=6.113 mas, bmaj=16.04 mas, bpa=2.609 degrees
! Estimated noise=1.75139 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.113 x 16.04 at 2.609 degrees (North through East)
! Clean map  min=-0.0038635  max=0.18469 Jy/beam
quit
! Quitting program
! Log file 1026-084_S.log closed on Mon Nov 18 19:00:52 2002