! Started logfile: 1243-072_S.log on Wed Apr  2 22:58:53 1997
observe 1243-072_S.edt
! Reading UV FITS file: 1243-072_S.edt
! AN table 1: 44 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.867172 visibilities/baseline/integration-bin.
! Found source: 1243-072
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  2.22049e+09         4e+06         4e+06       USB
! 02  2.23049e+09         4e+06         4e+06       USB
! 03  2.29049e+09         4e+06         4e+06       USB
! 04  2.32049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 379 lines of history.
! 
! Reading 6868 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.5
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.500x0.500 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 90 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 63 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 63 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 63 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.477727Jy  sigma=2.916359
! Fit after  self-cal, rms=0.476749Jy  sigma=2.912150
! 
! 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=2.864 mas, bmaj=6.791 mas, bpa=-4.681 degrees
! Estimated noise=2.20206 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.411696 Jy
! Total flux subtracted in 50 components = 0.411696 Jy
! Clean residual min=-0.028452 max=0.114829 Jy/beam
! Clean residual mean=-0.000223 rms=0.009382 Jy/beam
! Combined flux in latest and established models = 0.411696 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.411696 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255977Jy  sigma=1.556886
! Fit after  self-cal, rms=0.255977Jy  sigma=1.556887
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.105345 Jy
! Total flux subtracted in 50 components = 0.105345 Jy
! Clean residual min=-0.018835 max=0.063043 Jy/beam
! Clean residual mean=-0.000156 rms=0.006206 Jy/beam
! Combined flux in latest and established models = 0.517041 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 7 components and 0.517041 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204652Jy  sigma=1.243022
! Fit after  self-cal, rms=0.204436Jy  sigma=1.241677
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-4, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0633483 Jy
! Total flux subtracted in 50 components = 0.0633483 Jy
! Clean residual min=-0.016039 max=0.030365 Jy/beam
! Clean residual mean=-0.000117 rms=0.004571 Jy/beam
! Combined flux in latest and established models = 0.580389 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 16 components and 0.580389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.181580Jy  sigma=1.101693
! Fit after  self-cal, rms=0.181112Jy  sigma=1.098816
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0393266 Jy
! Total flux subtracted in 50 components = 0.0393266 Jy
! Clean residual min=-0.013306 max=0.023249 Jy/beam
! Clean residual mean=-0.000094 rms=0.003699 Jy/beam
! Combined flux in latest and established models = 0.619716 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 29 components and 0.619716 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.171029Jy  sigma=1.036948
! Fit after  self-cal, rms=0.170848Jy  sigma=1.035845
! 
! 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=3.595 mas, bmaj=7.995 mas, bpa=-1.535 degrees
! Estimated noise=1.5067 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.0431898 Jy
! Component: 100  -  total flux cleaned = 0.0672917 Jy
! Total flux subtracted in 100 components = 0.0672917 Jy
! Clean residual min=-0.009955 max=0.020283 Jy/beam
! Clean residual mean=-0.000084 rms=0.002881 Jy/beam
! Combined flux in latest and established models = 0.687008 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 51 components and 0.687008 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160820Jy  sigma=0.974120
! Fit after  self-cal, rms=0.160428Jy  sigma=0.971735
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-9, -1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0207563 Jy
! Component: 100  -  total flux cleaned = 0.0324976 Jy
! Total flux subtracted in 100 components = 0.0324976 Jy
! Clean residual min=-0.007971 max=0.011105 Jy/beam
! Clean residual mean=-0.000062 rms=0.002066 Jy/beam
! Combined flux in latest and established models = 0.719505 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 74 components and 0.719505 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.157962Jy  sigma=0.956467
! Fit after  self-cal, rms=0.157744Jy  sigma=0.955161
! 
! 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.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     HN        1.04     KP        0.99     
!   LA        0.96     MK        1.00     NL        1.03     OV        1.02     
!   PT        0.98     SC        1.00     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     HN        1.03     KP        0.92     
!   LA        0.98     MK        1.00     NL        1.04     OV        1.03     
!   PT        0.98     SC        0.98     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.01     HN        0.99     KP        1.00     
!   LA        0.98     MK        0.99     NL        1.04     OV        1.01     
!   PT        0.95     SC        1.02     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.02     HN        0.99     KP        1.01     
!   LA        0.99     MK        0.98     NL        1.01     OV        1.00     
!   PT        0.96     SC        0.98     
! 
! 
! Fit before self-cal, rms=0.157744Jy  sigma=0.955161
! Fit after  self-cal, rms=0.155024Jy  sigma=0.946740
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.598 mas, bmaj=8 mas, bpa=-1.477 degrees
! Estimated noise=1.49249 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.00510639 Jy
! Component: 100  -  total flux cleaned = 0.00676704 Jy
! Total flux subtracted in 100 components = 0.00676704 Jy
! Clean residual min=-0.006348 max=0.005655 Jy/beam
! Clean residual mean=-0.000032 rms=0.001593 Jy/beam
! Combined flux in latest and established models = 0.726273 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 84 components and 0.726273 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.154812Jy  sigma=0.945391
! Fit after  self-cal, rms=0.154797Jy  sigma=0.945290
! 
! 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=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00192738 Jy
! Component: 100  -  total flux cleaned = 0.00213789 Jy
! Total flux subtracted in 100 components = 0.00213789 Jy
! Clean residual min=-0.006282 max=0.005659 Jy/beam
! Clean residual mean=-0.000031 rms=0.001567 Jy/beam
! Combined flux in latest and established models = 0.72841 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 100 components and 0.72841 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.154721Jy  sigma=0.944807
! Fit after  self-cal, rms=0.152857Jy  sigma=0.932194
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=3.596 mas, bmaj=7.995 mas, bpa=-1.402 degrees
! Estimated noise=1.49522 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.00199652 Jy
! Component: 100  -  total flux cleaned = 0.0020782 Jy
! Total flux subtracted in 100 components = 0.0020782 Jy
! Clean residual min=-0.005585 max=0.005631 Jy/beam
! Clean residual mean=-0.000026 rms=0.001435 Jy/beam
! Combined flux in latest and established models = 0.730489 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 114 components and 0.730489 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152806Jy  sigma=0.931874
! Fit after  self-cal, rms=0.152800Jy  sigma=0.931844
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1243-072_S
! Writing UV FITS file: 1243-072_S.uvf
! Writing 114 model components to file: 1243-072_S.mod
! wwins: Wrote 3 windows to 1243-072_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.596 x 7.995 at -1.402 degrees (North through East)
! Clean map  min=-0.0055647  max=0.54147 Jy/beam
! Writing clean map to FITS file: 1243-072_S.fits
! Writing difmap environment to: 1243-072_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1243-072_Suv.ps/vps,1,2
! Attempting to open device: '1243-072_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1243-072_Sim.ps/vps
! Attempting to open device: '1243-072_Sim.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=3.596 mas, bmaj=7.995 mas, bpa=-1.402 degrees
! Estimated noise=1.49522 mJy/beam.
! The new contour levels are:
!  -0.00430634 0.00430634 0.00861267 0.0172253 0.0344507 0.0689014 0.137803 0.275605 0.551211 1.10242 2.20484 4.40969 8.81937 17.6387 35.2775 70.555 141.11 282.22 564.44 1128.88 2257.76 4515.52 9031.04 18062.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.596 x 7.995 at -1.402 degrees (North through East)
! Clean map  min=-0.0055647  max=0.54147 Jy/beam
quit
! Quitting program
! Log file 1243-072_S.log closed on Wed Apr  2 23:04:52 1997