! Started logfile: 1424+240_X.log on Mon May 19 08:40:19 1997
observe 1424+240_X.edt
! Reading UV FITS file: 1424+240_X.edt
! AN table 1: 60 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.725556 visibilities/baseline/integration-bin.
! Found source: 1424+240
! 
! 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 7836 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 256 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 233 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 220 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 256 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.873571Jy  sigma=5.400282
! Fit after  self-cal, rms=0.873464Jy  sigma=5.400233
! 
! 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.8792 mas, bmaj=1.81 mas, bpa=-15.36 degrees
! Estimated noise=2.58927 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.098874 Jy
! Total flux subtracted in 50 components = 0.098874 Jy
! Clean residual min=-0.009084 max=0.027577 Jy/beam
! Clean residual mean=-0.000028 rms=0.002274 Jy/beam
! Combined flux in latest and established models = 0.098874 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 1 components and 0.098874 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.085226Jy  sigma=0.524653
! Fit after  self-cal, rms=0.085226Jy  sigma=0.524652
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0220167 Jy
! Total flux subtracted in 50 components = 0.0220167 Jy
! Clean residual min=-0.007513 max=0.008286 Jy/beam
! Clean residual mean=-0.000020 rms=0.001752 Jy/beam
! Combined flux in latest and established models = 0.120891 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.120891 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079805Jy  sigma=0.491201
! Fit after  self-cal, rms=0.079803Jy  sigma=0.491184
! 
! 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.161 mas, bmaj=2.151 mas, bpa=-17.08 degrees
! Estimated noise=1.73052 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.2, -1.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0110324 Jy
! Component: 100  -  total flux cleaned = 0.0174112 Jy
! Total flux subtracted in 100 components = 0.0174112 Jy
! Clean residual min=-0.005234 max=0.005421 Jy/beam
! Clean residual mean=-0.000021 rms=0.001235 Jy/beam
! Combined flux in latest and established models = 0.138302 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 25 components and 0.138302 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078398Jy  sigma=0.482560
! Fit after  self-cal, rms=0.078368Jy  sigma=0.482373
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 1424+240_X
! Writing UV FITS file: 1424+240_X.uvf
! Writing 25 model components to file: 1424+240_X.mod
! wwins: Wrote 2 windows to 1424+240_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.161 x 2.151 at -17.08 degrees (North through East)
! Clean map  min=-0.0048586  max=0.12773 Jy/beam
! Writing clean map to FITS file: 1424+240_X.fits
! Writing difmap environment to: 1424+240_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1424+240_Xuv.ps/vps,1,2
! Attempting to open device: '1424+240_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1424+240_Xim.ps/vps
! Attempting to open device: '1424+240_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.161 mas, bmaj=2.151 mas, bpa=-17.08 degrees
! Estimated noise=1.73052 mJy/beam.
! The new contour levels are:
!  -0.00369978 0.00369978 0.00739955 0.0147991 0.0295982 0.0591964 0.118393 0.236786 0.473571 0.947143 1.89429 3.78857 7.57714 15.1543 30.3086 60.6171 121.234 242.469 484.937 969.874 1939.75 3879.5 7758.99 15518
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.161 x 2.151 at -17.08 degrees (North through East)
! Clean map  min=-0.0048586  max=0.12773 Jy/beam
quit
! Quitting program
! Log file 1424+240_X.log closed on Mon May 19 08:42:09 1997