! Started logfile: 2255-282_X.log on Wed Jul 17 17:57:32 1996
observe 2255-282_X.edt
! Reading UV FITS file: 2255-282_X.edt
! AN table 1: 84 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.648148 visibilities/baseline/integration-bin.
! Found source: 2255-282
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.10599e+09       1.6e+07       1.6e+07       USB
! 
! Polarization(s): RR
! 
! Read 1199 lines of history.
! 
! Reading 1960 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 = 75
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 183 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=1.733728Jy  sigma=20.907356
! Fit after  self-cal, rms=1.734180Jy  sigma=20.914191
! 
! 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.8902 mas, bmaj=2.307 mas, bpa=-2.263 degrees
! Estimated noise=1.66657 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=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.10662 Jy
! Total flux subtracted in 75 components = 2.41976 Jy
! Clean residual min=-0.073144 max=0.274351 Jy/beam
! Clean residual mean=-0.000663 rms=0.022078 Jy/beam
! Combined flux in latest and established models = 2.41976 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 2.41976 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.460391Jy  sigma=5.524597
! Fit after  self-cal, rms=0.460391Jy  sigma=5.524599
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.226048 Jy
! Total flux subtracted in 75 components = 0.281972 Jy
! Clean residual min=-0.059646 max=0.103529 Jy/beam
! Clean residual mean=-0.000301 rms=0.015931 Jy/beam
! Combined flux in latest and established models = 2.70174 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 10 components and 2.70174 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.357077Jy  sigma=4.246049
! Fit after  self-cal, rms=0.357019Jy  sigma=4.245235
! 
! 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.8936 mas, bmaj=2.314 mas, bpa=-1.023 degrees
! Estimated noise=1.39679 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0729222 Jy
! Component: 100  -  total flux cleaned = 0.115789 Jy
! Component: 150  -  total flux cleaned = 0.143623 Jy
! Total flux subtracted in 150 components = 0.143623 Jy
! Clean residual min=-0.050312 max=0.086768 Jy/beam
! Clean residual mean=-0.000130 rms=0.014773 Jy/beam
! Combined flux in latest and established models = 2.84536 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 23 components and 2.84536 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.341640Jy  sigma=4.055297
! Fit after  self-cal, rms=0.341585Jy  sigma=4.054620
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.95     HN        1.12     LA        0.97     
!   MK        0.98     NL        1.06     OV        1.00     PT        0.97     
!   SC        0.98     
! 
! 
! Fit before self-cal, rms=0.341585Jy  sigma=4.054620
! Fit after  self-cal, rms=0.311637Jy  sigma=3.557521
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8934 mas, bmaj=2.309 mas, bpa=-0.7304 degrees
! Estimated noise=1.39299 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0305358 Jy
! Component: 100  -  total flux cleaned = -0.0335845 Jy
! Component: 150  -  total flux cleaned = -0.0370282 Jy
! Total flux subtracted in 150 components = -0.0370282 Jy
! Clean residual min=-0.048591 max=0.060236 Jy/beam
! Clean residual mean=0.000150 rms=0.012110 Jy/beam
! Combined flux in latest and established models = 2.80833 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 30 components and 2.80833 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.305480Jy  sigma=3.489395
! Fit after  self-cal, rms=0.305452Jy  sigma=3.488937
! 
! Reinstating the default IF.
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * 1.5
flux_cutoff = imstat(rms) * dynam
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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00323887 Jy
! Component: 100  -  total flux cleaned = -0.00456438 Jy
! Component: 150  -  total flux cleaned = -0.00574597 Jy
! Total flux subtracted in 150 components = -0.00574597 Jy
! Clean residual min=-0.047421 max=0.059353 Jy/beam
! Clean residual mean=0.000140 rms=0.011991 Jy/beam
! Combined flux in latest and established models = 2.80258 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 33 components and 2.80258 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.303607Jy  sigma=3.464517
! Fit after  self-cal, rms=0.161198Jy  sigma=1.770832
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.8957 mas, bmaj=2.323 mas, bpa=-0.7804 degrees
! Estimated noise=1.3922 mJy/beam.
doamp = false
solint = solint / 1.5
flux_cutoff = imstat(rms) * dynam
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 (-3, -3).
! clean: niter=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.039205 Jy
! Component: 100  -  total flux cleaned = 0.0480487 Jy
! Component: 150  -  total flux cleaned = 0.049303 Jy
! Total flux subtracted in 150 components = 0.049303 Jy
! Clean residual min=-0.013241 max=0.015484 Jy/beam
! Clean residual mean=0.000067 rms=0.003481 Jy/beam
! Combined flux in latest and established models = 2.85189 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 54 components and 2.85189 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.151174Jy  sigma=1.642942
! Fit after  self-cal, rms=0.149927Jy  sigma=1.628633
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2255-282_X
! Writing UV FITS file: 2255-282_X.uvf
! Writing 54 model components to file: 2255-282_X.mod
! wwins: Wrote 2 windows to 2255-282_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8957 x 2.323 at -0.7804 degrees (North through East)
! Clean map  min=-0.011526  max=2.6458 Jy/beam
! Writing clean map to FITS file: 2255-282_X.fits
! Writing difmap environment to: 2255-282_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 2255-282_Xuv.ps/vps,1,2
! Attempting to open device: '2255-282_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 2255-282_Xim.ps/vps
! Attempting to open device: '2255-282_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.8957 mas, bmaj=2.323 mas, bpa=-0.7804 degrees
! Estimated noise=1.3922 mJy/beam.
! The new contour levels are:
!  -0.0102185 0.0102185 0.0204371 0.0408742 0.0817484 0.163497 0.326994 0.653987 1.30797 2.61595 5.2319 10.4638 20.9276 41.8552 83.7104 167.421 334.841 669.683 1339.37 2678.73 5357.46 10714.9
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8957 x 2.323 at -0.7804 degrees (North through East)
! Clean map  min=-0.011526  max=2.6458 Jy/beam
quit
! Quitting program
! Log file 2255-282_X.log closed on Wed Jul 17 17:58:58 1996