! Started logfile: 1727+502_X.log on Mon May 19 10:18:29 1997
observe 1727+502_X.edt
! Reading UV FITS file: 1727+502_X.edt
! AN table 1: 75 integrations on 39 of 45 possible baselines.
! Apparent sampling: 0.237265 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1727+502
! 
! 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 2776 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 585 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 575 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 575 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 565 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.876642Jy  sigma=5.427290
! Fit after  self-cal, rms=0.876256Jy  sigma=5.425270
! 
! 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.9984 mas, bmaj=3.066 mas, bpa=74.5 degrees
! Estimated noise=6.10158 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.0958564 Jy
! Total flux subtracted in 50 components = 0.0958564 Jy
! Clean residual min=-0.017463 max=0.026763 Jy/beam
! Clean residual mean=-0.000021 rms=0.004701 Jy/beam
! Combined flux in latest and established models = 0.0958564 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.0958564 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077251Jy  sigma=0.478775
! Fit after  self-cal, rms=0.077250Jy  sigma=0.478771
! 
! 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.697 mas, bmaj=3.925 mas, bpa=82.49 degrees
! Estimated noise=3.44665 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.0244311 Jy
! Component: 100  -  total flux cleaned = 0.0332333 Jy
! Total flux subtracted in 100 components = 0.0332333 Jy
! Clean residual min=-0.009796 max=0.008353 Jy/beam
! Clean residual mean=-0.000022 rms=0.002245 Jy/beam
! Combined flux in latest and established models = 0.12909 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 11 components and 0.12909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070304Jy  sigma=0.436434
! Fit after  self-cal, rms=0.070282Jy  sigma=0.436294
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 1727+502_X
! Writing UV FITS file: 1727+502_X.uvf
! Writing 11 model components to file: 1727+502_X.mod
! wwins: Wrote 1 windows to 1727+502_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.697 x 3.925 at 82.49 degrees (North through East)
! Clean map  min=-0.0095512  max=0.12273 Jy/beam
! Writing clean map to FITS file: 1727+502_X.fits
! Writing difmap environment to: 1727+502_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1727+502_Xuv.ps/vps,1,2
! Attempting to open device: '1727+502_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1727+502_Xim.ps/vps
! Attempting to open device: '1727+502_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.697 mas, bmaj=3.925 mas, bpa=82.49 degrees
! Estimated noise=3.44665 mJy/beam.
! The new contour levels are:
!  -0.00671921 0.00671921 0.0134384 0.0268769 0.0537537 0.107507 0.215015 0.43003 0.860059 1.72012 3.44024 6.88048 13.761 27.5219 55.0438 110.088 220.175 440.35 880.701 1761.4 3522.8 7045.61 14091.2
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.697 x 3.925 at 82.49 degrees (North through East)
! Clean map  min=-0.0095512  max=0.12273 Jy/beam
quit
! Quitting program
! Log file 1727+502_X.log closed on Mon May 19 10:19:22 1997