! Started logfile: 1021-006_X.log on Fri May 16 12:29:46 1997
observe 1021-006_X.edt
! Reading UV FITS file: 1021-006_X.edt
! AN table 1: 45 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.54321 visibilities/baseline/integration-bin.
! Found source: 1021-006
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.15049e+09         4e+06         4e+06       USB
! 02  8.23049e+09         4e+06         4e+06       USB
! 03  8.41049e+09         4e+06         4e+06       USB
! 04  8.55049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 351 lines of history.
! 
! Reading 4400 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.2
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 = 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.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 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 209 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.796122Jy  sigma=4.903320
! Fit after  self-cal, rms=0.795952Jy  sigma=4.902180
! 
! 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=1.011 mas, bmaj=4.048 mas, bpa=23.99 degrees
! Estimated noise=2.70047 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.152624 Jy
! Total flux subtracted in 50 components = 0.152624 Jy
! Clean residual min=-0.020855 max=0.050704 Jy/beam
! Clean residual mean=0.000001 rms=0.006895 Jy/beam
! Combined flux in latest and established models = 0.152624 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 7 components and 0.152624 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126560Jy  sigma=0.778323
! Fit after  self-cal, rms=0.126553Jy  sigma=0.778275
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (3.2, 2.8).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0563793 Jy
! Total flux subtracted in 50 components = 0.0563793 Jy
! Clean residual min=-0.014936 max=0.038350 Jy/beam
! Clean residual mean=-0.000004 rms=0.004709 Jy/beam
! Combined flux in latest and established models = 0.209003 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 13 components and 0.209003 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103580Jy  sigma=0.636432
! Fit after  self-cal, rms=0.102686Jy  sigma=0.630896
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0340239 Jy
! Total flux subtracted in 50 components = 0.0340239 Jy
! Clean residual min=-0.011248 max=0.028425 Jy/beam
! Clean residual mean=-0.000007 rms=0.003440 Jy/beam
! Combined flux in latest and established models = 0.243027 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 19 components and 0.243027 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.093067Jy  sigma=0.571403
! Fit after  self-cal, rms=0.092331Jy  sigma=0.566843
! 
! 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.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.271 mas, bmaj=4.247 mas, bpa=23.92 degrees
! Estimated noise=2.01295 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.0249189 Jy
! Component: 100  -  total flux cleaned = 0.0387495 Jy
! Total flux subtracted in 100 components = 0.0387495 Jy
! Clean residual min=-0.006893 max=0.017671 Jy/beam
! Clean residual mean=-0.000020 rms=0.002091 Jy/beam
! Combined flux in latest and established models = 0.281776 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 37 components and 0.281776 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.086150Jy  sigma=0.528491
! Fit after  self-cal, rms=0.085865Jy  sigma=0.526735
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 1021-006_X
! Writing UV FITS file: 1021-006_X.uvf
! Writing 37 model components to file: 1021-006_X.mod
! wwins: Wrote 2 windows to 1021-006_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.271 x 4.247 at 23.92 degrees (North through East)
! Clean map  min=-0.0070077  max=0.19087 Jy/beam
! Writing clean map to FITS file: 1021-006_X.fits
! Writing difmap environment to: 1021-006_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1021-006_Xuv.ps/vps,1,2
! Attempting to open device: '1021-006_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1021-006_Xim.ps/vps
! Attempting to open device: '1021-006_Xim.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.271 mas, bmaj=4.247 mas, bpa=23.92 degrees
! Estimated noise=2.01295 mJy/beam.
! The new contour levels are:
!  -0.00609701 0.00609701 0.012194 0.024388 0.0487761 0.0975521 0.195104 0.390208 0.780417 1.56083 3.12167 6.24334 12.4867 24.9733 49.9467 99.8934 199.787 399.573 799.147 1598.29 3196.59 6393.18 12786.4
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.271 x 4.247 at 23.92 degrees (North through East)
! Clean map  min=-0.0070077  max=0.19087 Jy/beam
quit
! Quitting program
! Log file 1021-006_X.log closed on Fri May 16 12:30:46 1997