! Started logfile: 2355-106_X.log on Wed Apr 15 02:58:16 1998
observe 2355-106_X.edt
! Reading UV FITS file: 2355-106_X.edt
! AN table 1: 59 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.714124 visibilities/baseline/integration-bin.
! Found source: 2355-106
! 
! 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.15049e+09        8e+06          1        8e+06
!  02        2  8.23049e+09        8e+06          1        8e+06
!  03        3  8.41049e+09        8e+06          1        8e+06
!  04        4  8.55049e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 406 lines of history.
! 
! Reading 7584 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.2
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 8.0
float win_mult
win_mult = 1.8
float solint
solint = 2.0/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.200x0.200 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 153 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 153 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 153 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 153 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.189944Jy  sigma=1.149677
! Fit after  self-cal, rms=0.189308Jy  sigma=1.145850
! 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=0.7835 mas, bmaj=1.887 mas, bpa=-1.779 degrees
! Estimated noise=2.18328 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.890014 Jy
! Total flux subtracted in 50 components = 0.890014 Jy
! Clean residual min=-0.044424 max=0.248248 Jy/beam
! Clean residual mean=-0.000208 rms=0.012649 Jy/beam
! Combined flux in latest and established models = 0.890014 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.890014 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.286199Jy  sigma=1.734058
! Fit after  self-cal, rms=0.286199Jy  sigma=1.734057
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.194108 Jy
! Total flux subtracted in 50 components = 0.194108 Jy
! Clean residual min=-0.018627 max=0.055079 Jy/beam
! Clean residual mean=-0.000023 rms=0.004423 Jy/beam
! Combined flux in latest and established models = 1.08412 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 2 components and 1.08412 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130164Jy  sigma=0.787163
! Fit after  self-cal, rms=0.130155Jy  sigma=0.787113
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0535643 Jy
! Total flux subtracted in 50 components = 0.0535643 Jy
! Clean residual min=-0.014240 max=0.022606 Jy/beam
! Clean residual mean=0.000029 rms=0.003078 Jy/beam
! Combined flux in latest and established models = 1.13769 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 6 components and 1.13769 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.108841Jy  sigma=0.657923
! Fit after  self-cal, rms=0.108828Jy  sigma=0.657851
! 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=0.9685 mas, bmaj=2.232 mas, bpa=0.9002 degrees
! Estimated noise=1.47581 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.027636 Jy
! Component: 100  -  total flux cleaned = 0.0390423 Jy
! Total flux subtracted in 100 components = 0.0390423 Jy
! Clean residual min=-0.011324 max=0.015696 Jy/beam
! Clean residual mean=0.000132 rms=0.002965 Jy/beam
! Combined flux in latest and established models = 1.17673 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 16 components and 1.17673 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.102832Jy  sigma=0.621478
! Fit after  self-cal, rms=0.102769Jy  sigma=0.621098
! 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 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.97     HN        1.07     KP        0.99     
!   LA        1.01     MK        0.98     NL        0.98     OV        1.00     
!   PT        0.99     SC        0.99     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.98     HN        1.04     KP        1.01     
!   LA        1.01     MK        0.99     NL        0.96     OV        1.00     
!   PT        1.01     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     HN        1.06     KP        1.00     
!   LA        1.01     MK        1.01     NL        0.97     OV        1.00     
!   PT        1.00     SC        1.00     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.98     HN        1.07     KP        1.01     
!   LA        1.02     MK        0.98     NL        0.99     OV        1.01     
!   PT        1.02     SC        1.01     
! 
! 
! Fit before self-cal, rms=0.102769Jy  sigma=0.621098
! Fit after  self-cal, rms=0.097173Jy  sigma=0.583875
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9707 mas, bmaj=2.23 mas, bpa=0.9061 degrees
! Estimated noise=1.47277 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.00174138 Jy
! Component: 100  -  total flux cleaned = 0.00117807 Jy
! Total flux subtracted in 100 components = 0.00117807 Jy
! Clean residual min=-0.011115 max=0.009680 Jy/beam
! Clean residual mean=0.000127 rms=0.002485 Jy/beam
! Combined flux in latest and established models = 1.17791 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 23 components and 1.17791 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096909Jy  sigma=0.582227
! Fit after  self-cal, rms=0.096868Jy  sigma=0.581963
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * 1.5
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.000106066 Jy
! Component: 100  -  total flux cleaned = -0.000369522 Jy
! Total flux subtracted in 100 components = -0.000369522 Jy
! Clean residual min=-0.010901 max=0.009529 Jy/beam
! Clean residual mean=0.000126 rms=0.002473 Jy/beam
! Combined flux in latest and established models = 1.17754 Jy
! Performing amp+phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 26 components and 1.17754 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096703Jy  sigma=0.580945
! Fit after  self-cal, rms=0.085017Jy  sigma=0.505190
! Inverting map and beam 
! Estimated beam: bmin=0.9711 mas, bmaj=2.237 mas, bpa=0.8628 degrees
! Estimated noise=1.47334 mJy/beam.
doamp = false
solint = solint / 1.5
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.00108167 Jy
! Component: 100  -  total flux cleaned = 0.00115352 Jy
! Total flux subtracted in 100 components = 0.00115352 Jy
! Clean residual min=-0.003676 max=0.004564 Jy/beam
! Clean residual mean=-0.000007 rms=0.000897 Jy/beam
! Combined flux in latest and established models = 1.17869 Jy
! Performing phase self-cal over 0.333333 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 32 components and 1.17869 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.084906Jy  sigma=0.504491
! Fit after  self-cal, rms=0.084879Jy  sigma=0.504314
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2355-106_X
! Writing UV FITS file: 2355-106_X.uvf
! Writing 32 model components to file: 2355-106_X.mod
! wwins: Wrote 1 windows to 2355-106_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9711 x 2.237 at 0.8628 degrees (North through East)
! Clean map  min=-0.00332  max=1.1475 Jy/beam
! Writing clean map to FITS file: 2355-106_X.fits
! Writing difmap environment to: 2355-106_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 2355-106_Xuv.ps/vps,1,2
! Attempting to open device: '2355-106_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 2355-106_Xim.ps/vps
! Attempting to open device: '2355-106_Xim.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=0.9711 mas, bmaj=2.237 mas, bpa=0.8628 degrees
! Estimated noise=1.47334 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9711 x 2.237 at 0.8628 degrees (North through East)
! Clean map  min=-0.00332  max=1.1475 Jy/beam
quit
! Quitting program
! Log file 2355-106_X.log closed on Wed Apr 15 03:03:41 1998