! Started logfile: 1508+572_U.log on Thu Dec 12 17:17:31 1996
observe 1508+572_U.edt
! Reading UV FITS file: 1508+572_U.edt
! AN table 1: 93 integrations on 28 of 28 possible baselines.
! Apparent sampling: 0.525346 visibilities/baseline/integration-bin.
! Found source: 1508+572
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  1.49105e+10         2e+06         2e+06       USB
! 02  1.49205e+10         2e+06         2e+06       USB
! 03  1.49505e+10         2e+06         2e+06       USB
! 04  1.50105e+10         2e+06         2e+06       USB
! 05  1.51205e+10         2e+06         2e+06       USB
! 06  1.52005e+10         2e+06         2e+06       USB
! 07  1.52505e+10         2e+06         2e+06       USB
! 08  1.52705e+10         2e+06         2e+06       USB
! 
! Polarization(s): RR
! 
! Read 2592 lines of history.
! 
! Reading 10944 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 = 5.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 490 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 486 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 472 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 451 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 5.
!  A total of 399 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 6.
!  A total of 429 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 7.
!  A total of 490 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 8.
!  A total of 434 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.696125Jy  sigma=3.957691
! Fit after  self-cal, rms=0.694766Jy  sigma=3.964859
! 
! 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.5971 mas, bmaj=0.7156 mas, bpa=15 degrees
! Estimated noise=3.63118 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.263076 Jy
! Component: 100  -  total flux cleaned = 0.320817 Jy
! Total flux subtracted in 100 components = 0.320817 Jy
! Clean residual min=-0.017932 max=0.018999 Jy/beam
! Clean residual mean=-0.000030 rms=0.004306 Jy/beam
! Combined flux in latest and established models = 0.320817 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 2 components and 0.320817 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.181469Jy  sigma=0.973082
! Fit after  self-cal, rms=0.181454Jy  sigma=0.972920
! 
! 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=0.9383 mas, bmaj=1.113 mas, bpa=-0.1247 degrees
! Estimated noise=1.73897 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=-200  gain=0.03  cutoff=0
! Clean halted at first negative component
! Total flux subtracted in 34 components = 0.00495489 Jy
! Clean residual min=-0.009070 max=0.007535 Jy/beam
! Clean residual mean=-0.000041 rms=0.002195 Jy/beam
! Combined flux in latest and established models = 0.325772 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 2 components and 0.325772 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.181281Jy  sigma=0.972166
! Fit after  self-cal, rms=0.181281Jy  sigma=0.972166
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 1508+572_U
! Writing UV FITS file: 1508+572_U.uvf
! Writing 2 model components to file: 1508+572_U.mod
! wwins: Wrote 1 windows to 1508+572_U.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9383 x 1.113 at -0.1247 degrees (North through East)
! Clean map  min=-0.0088654  max=0.3279 Jy/beam
! Writing clean map to FITS file: 1508+572_U.fits
! Writing difmap environment to: 1508+572_U.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1508+572_Uuv.ps/vps,1,2
! Attempting to open device: '1508+572_Uuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1508+572_Uim.ps/vps
! Attempting to open device: '1508+572_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=0.9383 mas, bmaj=1.113 mas, bpa=-0.1247 degrees
! Estimated noise=1.73897 mJy/beam.
! The new contour levels are:
!  -0.00658395 0.00658395 0.0131679 0.0263358 0.0526716 0.105343 0.210686 0.421373 0.842745 1.68549 3.37098 6.74196 13.4839 26.9678 53.9357 107.871 215.743 431.486 862.971 1725.94 3451.88 6903.77 13807.5
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9383 x 1.113 at -0.1247 degrees (North through East)
! Clean map  min=-0.0088654  max=0.3279 Jy/beam
quit
! Quitting program
! Log file 1508+572_U.log closed on Thu Dec 12 17:18:28 1996