! Started logfile: 2335-027_U.log on Wed Nov 20 14:20:10 1996
observe 2335-027_U.edt
! Reading UV FITS file: 2335-027_U.edt
! AN table 1: 11 integrations on 21 of 21 possible baselines.
! Apparent sampling: 1 visibilities/baseline/integration-bin.
! Found source: 2335-027
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  1.49105e+10         8e+06         8e+06       USB
! 02  1.49205e+10         8e+06         8e+06       USB
! 03  1.49505e+10         8e+06         8e+06       USB
! 04  1.50105e+10         8e+06         8e+06       USB
! 05  1.51205e+10         8e+06         8e+06       USB
! 06  1.52005e+10         8e+06         8e+06       USB
! 07  1.52505e+10         8e+06         8e+06       USB
! 08  1.52705e+10         8e+06         8e+06       USB
! 
! Polarization(s): RR
! 
! Read 565 lines of history.
! 
! Reading 1848 visibilities.
! Selecting polarization: RR,  channels: 1..1
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
integer clean_niter
clean_niter = -100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 4.0
float win_mult
win_mult = 1.5
float solint
solint = 4.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.100x0.100 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 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 5.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 6.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 7.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 8.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.462609Jy  sigma=2.757279
! Fit after  self-cal, rms=0.462608Jy  sigma=2.757273
! 
! Reinstating the default IF.
! 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.9782 mas, bmaj=1.224 mas, bpa=0.9224 degrees
! Estimated noise=5.7332 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=-100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.436892 Jy
! Component: 100  -  total flux cleaned = 0.532767 Jy
! Total flux subtracted in 100 components = 0.532767 Jy
! Clean residual min=-0.031117 max=0.038096 Jy/beam
! Clean residual mean=-0.000025 rms=0.010725 Jy/beam
! Combined flux in latest and established models = 0.532767 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.532767 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.137221Jy  sigma=0.811578
! Fit after  self-cal, rms=0.136949Jy  sigma=0.809945
! 
! Reinstating the default IF.
! 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.3
clean_niter = clean_niter * 2
dynam = dynam - 1.0
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.122 mas, bmaj=1.331 mas, bpa=-10.9 degrees
! Estimated noise=3.06502 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.5, 2).
! clean: niter=-200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0410222 Jy
! Clean halted at first negative component
! Total flux subtracted in 64 components = 0.04844 Jy
! Clean residual min=-0.020963 max=0.023712 Jy/beam
! Clean residual mean=-0.000047 rms=0.006572 Jy/beam
! Combined flux in latest and established models = 0.581207 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 11 components and 0.581207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.127186Jy  sigma=0.750784
! Fit after  self-cal, rms=0.126949Jy  sigma=0.749351
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-13.9, -6.5).
! clean: niter=-200  gain=0.03  cutoff=0
! Clean halted at first negative component
! Total flux subtracted in 10 components = 0.00602648 Jy
! Clean residual min=-0.020271 max=0.020119 Jy/beam
! Clean residual mean=-0.000037 rms=0.006109 Jy/beam
! Combined flux in latest and established models = 0.587234 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 13 components and 0.587234 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.126006Jy  sigma=0.743585
! Fit after  self-cal, rms=0.125979Jy  sigma=0.743418
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 2335-027_U
! Writing UV FITS file: 2335-027_U.uvf
! Writing 13 model components to file: 2335-027_U.mod
! wwins: Wrote 3 windows to 2335-027_U.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.122 x 1.331 at -10.9 degrees (North through East)
! Clean map  min=-0.019979  max=0.55598 Jy/beam
! Writing clean map to FITS file: 2335-027_U.fits
! Writing difmap environment to: 2335-027_U.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 2335-027_Uuv.ps/vps,1,2
! Attempting to open device: '2335-027_Uuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 2335-027_Uim.ps/vps
! Attempting to open device: '2335-027_Uim.ps/vps'
cmul = 1.0
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 (imstat(rms)*3),20000,2
! Inverting map and beam 
! Estimated beam: bmin=1.122 mas, bmaj=1.331 mas, bpa=-10.9 degrees
! Estimated noise=3.06502 mJy/beam.
! The new contour levels are:
!  -0.0182914 0.0182914 0.0365828 0.0731656 0.146331 0.292663 0.585325 1.17065 2.3413 4.6826 9.3652 18.7304 37.4608 74.9216 149.843 299.686 599.373 1198.75 2397.49 4794.98 9589.97 19179.9
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.122 x 1.331 at -10.9 degrees (North through East)
! Clean map  min=-0.019979  max=0.55598 Jy/beam
quit
! Quitting program
! Log file 2335-027_U.log closed on Wed Nov 20 14:21:04 1996