! Started logfile: 2234+282_X.log on Fri Jun 23 13:29:07 2000
observe 2234+282_X.edt
! Reading UV FITS file: 2234+282_X.edt
! AN table 1: 71 integrations on 6 of 6 possible baselines.
! AN table 2: 37 integrations on 68 of 78 possible baselines.
! Apparent sampling: 0.332087 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 2234+282
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40999e+09        8e+06          1        8e+06
!  02        2  8.47999e+09        8e+06          1        8e+06
!  03        3  8.79499e+09        8e+06          1        8e+06
!  04        4  8.89999e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1048 lines of history.
! 
! Reading 3908 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
select
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
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.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 148 telescope corrections were flagged in sub-array 1.
!  A total of 264 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 151 telescope corrections were flagged in sub-array 1.
!  A total of 263 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 152 telescope corrections were flagged in sub-array 1.
!  A total of 264 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 168 telescope corrections were flagged in sub-array 1.
!  A total of 287 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.372608Jy  sigma=2.126751
! Fit after  self-cal, rms=0.370883Jy  sigma=2.118936
! 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.708 mas, bmaj=1.29 mas, bpa=18.25 degrees
! Estimated noise=3.09594 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.51676 Jy
! Total flux subtracted in 50 components = 0.51676 Jy
! Clean residual min=-0.035893 max=0.153973 Jy/beam
! Clean residual mean=-0.000309 rms=0.012443 Jy/beam
! Combined flux in latest and established models = 0.51676 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.51676 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.241826Jy  sigma=1.375841
! Fit after  self-cal, rms=0.241819Jy  sigma=1.375803
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.145618 Jy
! Total flux subtracted in 50 components = 0.145618 Jy
! Clean residual min=-0.020448 max=0.057799 Jy/beam
! Clean residual mean=-0.000163 rms=0.006296 Jy/beam
! Combined flux in latest and established models = 0.662378 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 12 components and 0.662378 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.149850Jy  sigma=0.851173
! Fit after  self-cal, rms=0.149645Jy  sigma=0.849962
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0625707 Jy
! Total flux subtracted in 50 components = 0.0625707 Jy
! Clean residual min=-0.015851 max=0.030401 Jy/beam
! Clean residual mean=-0.000100 rms=0.004352 Jy/beam
! Combined flux in latest and established models = 0.724949 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 21 components and 0.724949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123267Jy  sigma=0.699370
! Fit after  self-cal, rms=0.123137Jy  sigma=0.698608
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0366875 Jy
! Total flux subtracted in 50 components = 0.0366875 Jy
! Clean residual min=-0.013436 max=0.019905 Jy/beam
! Clean residual mean=-0.000063 rms=0.003499 Jy/beam
! Combined flux in latest and established models = 0.761636 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 26 components and 0.761636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.112753Jy  sigma=0.639460
! Fit after  self-cal, rms=0.112658Jy  sigma=0.638906
! 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.753 mas, bmaj=1.377 mas, bpa=14.82 degrees
! Estimated noise=2.11438 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.0309116 Jy
! Component: 100  -  total flux cleaned = 0.049105 Jy
! Total flux subtracted in 100 components = 0.049105 Jy
! Clean residual min=-0.010334 max=0.020691 Jy/beam
! Clean residual mean=-0.000020 rms=0.002912 Jy/beam
! Combined flux in latest and established models = 0.810741 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 35 components and 0.810741 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104608Jy  sigma=0.593139
! Fit after  self-cal, rms=0.104525Jy  sigma=0.592662
! Inverting map 
! Added new window around map position (-1.2, 0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0174929 Jy
! Component: 100  -  total flux cleaned = 0.0247946 Jy
! Total flux subtracted in 100 components = 0.0247946 Jy
! Clean residual min=-0.008697 max=0.011369 Jy/beam
! Clean residual mean=0.000027 rms=0.002300 Jy/beam
! Combined flux in latest and established models = 0.835536 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 49 components and 0.835536 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101785Jy  sigma=0.576854
! Fit after  self-cal, rms=0.101639Jy  sigma=0.576003
! 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 48 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   KP        1.00     MC        1.11     SC        1.00     WF        1.06     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.01     GC        1.05     GN        1.06     
!   HN        0.97     KK        1.03     KP        1.00     LA        0.97     
!   NL        0.99     NY        1.10     OV        1.00     PT        0.99     
!   SC        0.98     
! 
! 
! Correcting IF 2.
!  A total of 45 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   KP        0.99     MC        1.14     SC        0.99     WF        1.02     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.99     GC        1.04     GN        1.03     
!   HN        0.94     KK        1.08     KP        1.00     LA        0.96     
!   NL        0.98     NY        1.03     OV        1.01     PT        1.01     
!   SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   KP        1.03     MC        1.00     SC        0.94     WF        1.03     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        1.02     GN        1.05     
!   HN        0.95     KK        1.07     KP        1.01     LA        0.96     
!   NL        1.01     NY        1.03     OV        0.99     PT        0.99     
!   SC        0.98     
! 
! 
! Correcting IF 4.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   KP        1.03     MC        1.04     SC        0.92     WF        1.05     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.99     GC        1.01     GN        1.03     
!   HN        0.99     KK        1.05     KP        1.00     LA        0.95     
!   NL        1.00     NY        1.00*    OV        1.01     PT        0.99     
!   SC        0.95     
! 
! 
! Fit before self-cal, rms=0.101639Jy  sigma=0.576003
! Fit after  self-cal, rms=0.099181Jy  sigma=0.548958
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7608 mas, bmaj=1.41 mas, bpa=14.07 degrees
! Estimated noise=2.19568 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.00100689 Jy
! Component: 100  -  total flux cleaned = 0.00101225 Jy
! Total flux subtracted in 100 components = 0.00101225 Jy
! Clean residual min=-0.006678 max=0.006466 Jy/beam
! Clean residual mean=0.000035 rms=0.001585 Jy/beam
! Combined flux in latest and established models = 0.836548 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 59 components and 0.836548 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098684Jy  sigma=0.546260
! Fit after  self-cal, rms=0.098672Jy  sigma=0.546151
! 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=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000185839 Jy
! Component: 100  -  total flux cleaned = -0.00018868 Jy
! Total flux subtracted in 100 components = -0.00018868 Jy
! Clean residual min=-0.006646 max=0.006120 Jy/beam
! Clean residual mean=0.000034 rms=0.001522 Jy/beam
! Combined flux in latest and established models = 0.836359 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 64 components and 0.836359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098430Jy  sigma=0.544841
! Fit after  self-cal, rms=0.097102Jy  sigma=0.536724
! Inverting map and beam 
! Estimated beam: bmin=0.7604 mas, bmaj=1.407 mas, bpa=13.84 degrees
! Estimated noise=2.1962 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)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00290409 Jy
! Component: 100  -  total flux cleaned = 0.00360782 Jy
! Total flux subtracted in 100 components = 0.00360782 Jy
! Clean residual min=-0.006327 max=0.005786 Jy/beam
! Clean residual mean=0.000009 rms=0.001362 Jy/beam
! Combined flux in latest and established models = 0.839967 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 71 components and 0.839967 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096874Jy  sigma=0.535418
! Fit after  self-cal, rms=0.096871Jy  sigma=0.535393
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2234+282_X
! Writing UV FITS file: 2234+282_X.uvf
! Writing 71 model components to file: 2234+282_X.mod
! wwins: Wrote 2 windows to 2234+282_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7604 x 1.407 at 13.84 degrees (North through East)
! Clean map  min=-0.0060533  max=0.65718 Jy/beam
! Writing clean map to FITS file: 2234+282_X.fits
! Writing difmap environment to: 2234+282_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 2234+282_Xuv.ps/vps,1,2
! Attempting to open device: '2234+282_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 2234+282_Xim.ps/vps
! Attempting to open device: '2234+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.7604 mas, bmaj=1.407 mas, bpa=13.84 degrees
! Estimated noise=2.1962 mJy/beam.
! The new contour levels are:
!  -0.00407893 0.00407893 0.00815786 0.0163157 0.0326315 0.0652629 0.130526 0.261052 0.522103 1.04421 2.08841 4.17683 8.35365 16.7073 33.4146 66.8292 133.658 267.317 534.634 1069.27 2138.53 4277.07 8554.14 17108.3
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7604 x 1.407 at 13.84 degrees (North through East)
! Clean map  min=-0.0060533  max=0.65718 Jy/beam
quit
! Quitting program
! Log file 2234+282_X.log closed on Fri Jun 23 13:30:22 2000