! Started logfile: 1908-201_S.log on Mon Oct  6 14:22:28 1997
observe 1908-201_S.edt
! Reading UV FITS file: 1908-201_S.edt
! AN table 1: 58 integrations on 78 of 78 possible baselines.
! AN table 2: 8 integrations on 1 of 1 possible baselines.
! Apparent sampling: 0.411959 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1908-201
! 
! 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  2.22472e+09      6.5e+06          1      6.5e+06
!  02        2  2.24472e+09      6.5e+06          1      6.5e+06
!  03        3  2.33472e+09      6.5e+06          1      6.5e+06
!  04        4  2.36472e+09      6.5e+06          1      6.5e+06
! 
! Polarization(s): RR
! 
! Read 2187 lines of history.
! 
! Reading 7468 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.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 440 telescope corrections were flagged in sub-array 1.
!  A total of 16 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 436 telescope corrections were flagged in sub-array 1.
!  A total of 16 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 464 telescope corrections were flagged in sub-array 1.
!  A total of 16 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 436 telescope corrections were flagged in sub-array 1.
!  A total of 16 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.664933Jy  sigma=3.658844
! Fit after  self-cal, rms=0.664463Jy  sigma=3.656441
! 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.478 mas, bmaj=7.089 mas, bpa=-4.241 degrees
! Estimated noise=2.27331 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.945216 Jy
! Total flux subtracted in 50 components = 0.945216 Jy
! Clean residual min=-0.063996 max=0.351120 Jy/beam
! Clean residual mean=-0.000118 rms=0.021374 Jy/beam
! Combined flux in latest and established models = 0.945216 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.945215 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.680936Jy  sigma=3.745311
! Fit after  self-cal, rms=0.680799Jy  sigma=3.744584
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.37456 Jy
! Total flux subtracted in 50 components = 0.37456 Jy
! Clean residual min=-0.036364 max=0.165934 Jy/beam
! Clean residual mean=-0.000072 rms=0.012359 Jy/beam
! Combined flux in latest and established models = 1.31978 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 10 components and 1.31978 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.425428Jy  sigma=2.338523
! Fit after  self-cal, rms=0.424717Jy  sigma=2.334642
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.191401 Jy
! Total flux subtracted in 50 components = 0.191401 Jy
! Clean residual min=-0.028343 max=0.110769 Jy/beam
! Clean residual mean=-0.000052 rms=0.008589 Jy/beam
! Combined flux in latest and established models = 1.51118 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 22 components and 1.51118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.314048Jy  sigma=1.724517
! Fit after  self-cal, rms=0.313877Jy  sigma=1.723561
! Inverting map 
! Added new window around map position (3.5, 1).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.127 Jy
! Total flux subtracted in 50 components = 0.127 Jy
! Clean residual min=-0.020528 max=0.068184 Jy/beam
! Clean residual mean=-0.000044 rms=0.006328 Jy/beam
! Combined flux in latest and established models = 1.63818 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 1.63818 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248934Jy  sigma=1.365347
! Fit after  self-cal, rms=0.248439Jy  sigma=1.362581
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0870578 Jy
! Total flux subtracted in 50 components = 0.0870578 Jy
! Clean residual min=-0.015593 max=0.048170 Jy/beam
! Clean residual mean=-0.000037 rms=0.004881 Jy/beam
! Combined flux in latest and established models = 1.72523 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 36 components and 1.72524 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.209282Jy  sigma=1.146336
! Fit after  self-cal, rms=0.208994Jy  sigma=1.144742
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0618296 Jy
! Total flux subtracted in 50 components = 0.0618296 Jy
! Clean residual min=-0.013506 max=0.035501 Jy/beam
! Clean residual mean=-0.000033 rms=0.003963 Jy/beam
! Combined flux in latest and established models = 1.78706 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 46 components and 1.78706 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185369Jy  sigma=1.014112
! Fit after  self-cal, rms=0.185149Jy  sigma=1.012908
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0456266 Jy
! Total flux subtracted in 50 components = 0.0456266 Jy
! Clean residual min=-0.011921 max=0.026448 Jy/beam
! Clean residual mean=-0.000029 rms=0.003358 Jy/beam
! Combined flux in latest and established models = 1.83269 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 1.83269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170650Jy  sigma=0.932690
! Fit after  self-cal, rms=0.170538Jy  sigma=0.932081
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.034513 Jy
! Total flux subtracted in 50 components = 0.034513 Jy
! Clean residual min=-0.010725 max=0.020210 Jy/beam
! Clean residual mean=-0.000026 rms=0.002963 Jy/beam
! Combined flux in latest and established models = 1.8672 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 62 components and 1.8672 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161460Jy  sigma=0.881844
! Fit after  self-cal, rms=0.161393Jy  sigma=0.881479
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0263707 Jy
! Total flux subtracted in 50 components = 0.0263707 Jy
! Clean residual min=-0.010191 max=0.016051 Jy/beam
! Clean residual mean=-0.000024 rms=0.002709 Jy/beam
! Combined flux in latest and established models = 1.89357 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 72 components and 1.89357 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.155676Jy  sigma=0.849859
! Fit after  self-cal, rms=0.155629Jy  sigma=0.849595
! 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=2.983 mas, bmaj=8.055 mas, bpa=-3.152 degrees
! Estimated noise=1.7179 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.0372327 Jy
! Component: 100  -  total flux cleaned = 0.0605856 Jy
! Total flux subtracted in 100 components = 0.0605856 Jy
! Clean residual min=-0.008310 max=0.021104 Jy/beam
! Clean residual mean=-0.000045 rms=0.002550 Jy/beam
! Combined flux in latest and established models = 1.95416 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 93 components and 1.95416 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147057Jy  sigma=0.802254
! Fit after  self-cal, rms=0.146947Jy  sigma=0.801638
! Inverting map 
! Added new window around map position (8, 1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0202523 Jy
! Component: 100  -  total flux cleaned = 0.0330331 Jy
! Total flux subtracted in 100 components = 0.0330331 Jy
! Clean residual min=-0.007599 max=0.009131 Jy/beam
! Clean residual mean=-0.000038 rms=0.002119 Jy/beam
! Combined flux in latest and established models = 1.98719 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 110 components and 1.98719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.144270Jy  sigma=0.786717
! Fit after  self-cal, rms=0.144133Jy  sigma=0.785964
! 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.97     FD        0.99     GN        1.00     HN        1.00     
!   KK        0.98     KP        0.98     LA        0.97     MK        1.00     
!   NL        0.99     OV        1.01     PT        1.00     SC        1.01     
!   WF        1.04     
! 
!  Telescope amplitude corrections in sub-array 2:
!   MC        0.00*    ON        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     GN        1.00     HN        1.01     
!   KK        0.97     KP        0.96     LA        0.98     MK        0.98     
!   NL        1.03     OV        1.00     PT        0.99     SC        1.00     
!   WF        0.99     
! 
!  Telescope amplitude corrections in sub-array 2:
!   MC        0.00*    ON        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     GN        0.99     HN        0.98     
!   KK        0.97     KP        1.00     LA        1.00     MK        0.98     
!   NL        1.00*    OV        1.00     PT        1.01     SC        1.02     
!   WF        1.02     
! 
!  Telescope amplitude corrections in sub-array 2:
!   MC        0.00*    ON        0.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.01     GN        1.00     HN        1.02     
!   KK        0.97     KP        1.00     LA        1.00     MK        0.99     
!   NL        1.01     OV        1.04     PT        0.99     SC        0.97     
!   WF        1.02     
! 
!  Telescope amplitude corrections in sub-array 2:
!   MC        0.00*    ON        0.00*    
! 
! 
! Fit before self-cal, rms=0.144133Jy  sigma=0.785964
! Fit after  self-cal, rms=0.138475Jy  sigma=0.757993
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.973 mas, bmaj=8.044 mas, bpa=-3.215 degrees
! Estimated noise=1.70528 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.00635499 Jy
! Component: 100  -  total flux cleaned = 0.00796295 Jy
! Total flux subtracted in 100 components = 0.00796295 Jy
! Clean residual min=-0.006936 max=0.007525 Jy/beam
! Clean residual mean=-0.000037 rms=0.001842 Jy/beam
! Combined flux in latest and established models = 1.99516 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 119 components and 1.99516 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138138Jy  sigma=0.756015
! Fit after  self-cal, rms=0.138126Jy  sigma=0.755935
! 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.00194695 Jy
! Component: 100  -  total flux cleaned = 0.00226415 Jy
! Total flux subtracted in 100 components = 0.00226415 Jy
! Clean residual min=-0.006973 max=0.007498 Jy/beam
! Clean residual mean=-0.000036 rms=0.001821 Jy/beam
! Combined flux in latest and established models = 1.99742 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 124 components and 1.99742 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.137951Jy  sigma=0.754916
! Fit after  self-cal, rms=0.132928Jy  sigma=0.725899
! Inverting map and beam 
! Estimated beam: bmin=2.976 mas, bmaj=8.072 mas, bpa=-3.265 degrees
! Estimated noise=1.70793 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.00494293 Jy
! Component: 100  -  total flux cleaned = 0.00659053 Jy
! Total flux subtracted in 100 components = 0.00659053 Jy
! Clean residual min=-0.004981 max=0.006461 Jy/beam
! Clean residual mean=-0.000012 rms=0.001356 Jy/beam
! Combined flux in latest and established models = 2.00401 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 133 components and 2.00401 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132763Jy  sigma=0.724929
! Fit after  self-cal, rms=0.132754Jy  sigma=0.724852
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1908-201_S
! Writing UV FITS file: 1908-201_S.uvf
! Writing 133 model components to file: 1908-201_S.mod
! wwins: Wrote 3 windows to 1908-201_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.976 x 8.072 at -3.265 degrees (North through East)
! Clean map  min=-0.0047619  max=1.2815 Jy/beam
! Writing clean map to FITS file: 1908-201_S.fits
! Writing difmap environment to: 1908-201_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1908-201_Suv.ps/vps,1,2
! Attempting to open device: '1908-201_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1908-201_Sim.ps/vps
! Attempting to open device: '1908-201_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=2.976 mas, bmaj=8.072 mas, bpa=-3.265 degrees
! Estimated noise=1.70793 mJy/beam.
! The new contour levels are:
!  -0.00407508 0.00407508 0.00815016 0.0163003 0.0326006 0.0652012 0.130402 0.260805 0.52161 1.04322 2.08644 4.17288 8.34576 16.6915 33.383 66.7661 133.532 267.064 534.129 1068.26 2136.51 4273.03 8546.06 17092.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.976 x 8.072 at -3.265 degrees (North through East)
! Clean map  min=-0.0047619  max=1.2815 Jy/beam
device 1908-201_Sim_un.ps/vps
! Attempting to open device: '1908-201_Sim_un.ps/vps'
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.
loglevs (imstat(rms)*3),20000,2
! Inverting map and beam 
! Estimated beam: bmin=2.471 mas, bmaj=7.107 mas, bpa=-4.337 degrees
! Estimated noise=2.25967 mJy/beam.
! The new contour levels are:
!  -0.00530109 0.00530109 0.0106022 0.0212044 0.0424087 0.0848175 0.169635 0.33927 0.67854 1.35708 2.71416 5.42832 10.8566 21.7133 43.4265 86.8531 173.706 347.412 694.825 1389.65 2779.3 5558.6 11117.2
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.471 x 7.107 at -4.337 degrees (North through East)
! Clean map  min=-0.0061905  max=1.1543 Jy/beam
quit
! Quitting program
! Log file 1908-201_S.log closed on Mon Oct  6 14:25:36 1997