! Started logfile: 2233-148_X.log on Mon May 19 11:52:59 1997
observe 2233-148_X.edt
! Reading UV FITS file: 2233-148_X.edt
! AN table 1: 46 integrations on 44 of 45 possible baselines.
! Apparent sampling: 0.730237 visibilities/baseline/integration-bin.
! Found source: 2233-148
! 
! 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 5912 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 142 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 126 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 126 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 126 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.823981Jy  sigma=5.073143
! Fit after  self-cal, rms=0.823835Jy  sigma=5.073182
! 
! 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.7575 mas, bmaj=1.841 mas, bpa=2.611 degrees
! Estimated noise=2.37597 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.130293 Jy
! Total flux subtracted in 50 components = 0.130293 Jy
! Clean residual min=-0.012409 max=0.036341 Jy/beam
! Clean residual mean=0.000019 rms=0.003379 Jy/beam
! Combined flux in latest and established models = 0.130293 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.130293 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.122964Jy  sigma=0.753574
! Fit after  self-cal, rms=0.122964Jy  sigma=0.753573
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0346762 Jy
! Total flux subtracted in 50 components = 0.0346762 Jy
! Clean residual min=-0.010005 max=0.018450 Jy/beam
! Clean residual mean=0.000016 rms=0.002530 Jy/beam
! Combined flux in latest and established models = 0.164969 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.164969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111622Jy  sigma=0.683521
! Fit after  self-cal, rms=0.111593Jy  sigma=0.683349
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (1.6, -1).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0199838 Jy
! Total flux subtracted in 50 components = 0.0199838 Jy
! Clean residual min=-0.009729 max=0.010545 Jy/beam
! Clean residual mean=0.000015 rms=0.002189 Jy/beam
! Combined flux in latest and established models = 0.184953 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 16 components and 0.184953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107672Jy  sigma=0.659162
! Fit after  self-cal, rms=0.107577Jy  sigma=0.658579
! 
! 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=0.9865 mas, bmaj=2.258 mas, bpa=2.852 degrees
! Estimated noise=1.63979 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.0192809 Jy
! Component: 100  -  total flux cleaned = 0.0293349 Jy
! Total flux subtracted in 100 components = 0.0293349 Jy
! Clean residual min=-0.007586 max=0.008267 Jy/beam
! Clean residual mean=0.000021 rms=0.002054 Jy/beam
! Combined flux in latest and established models = 0.214288 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 35 components and 0.214288 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104510Jy  sigma=0.639743
! Fit after  self-cal, rms=0.104442Jy  sigma=0.639323
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
save 2233-148_X
! Writing UV FITS file: 2233-148_X.uvf
! Writing 35 model components to file: 2233-148_X.mod
! wwins: Wrote 2 windows to 2233-148_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9865 x 2.258 at 2.852 degrees (North through East)
! Clean map  min=-0.0070798  max=0.1718 Jy/beam
! Writing clean map to FITS file: 2233-148_X.fits
! Writing difmap environment to: 2233-148_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 2233-148_Xuv.ps/vps,1,2
! Attempting to open device: '2233-148_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 2233-148_Xim.ps/vps
! Attempting to open device: '2233-148_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=0.9865 mas, bmaj=2.258 mas, bpa=2.852 degrees
! Estimated noise=1.63979 mJy/beam.
! The new contour levels are:
!  -0.00616188 0.00616188 0.0123238 0.0246475 0.0492951 0.0985901 0.19718 0.39436 0.788721 1.57744 3.15488 6.30977 12.6195 25.2391 50.4781 100.956 201.913 403.825 807.65 1615.3 3230.6 6461.2 12922.4
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9865 x 2.258 at 2.852 degrees (North through East)
! Clean map  min=-0.0070798  max=0.1718 Jy/beam
quit
! Quitting program
! Log file 2233-148_X.log closed on Mon May 19 11:54:07 1997