! Started logfile: 1101+384_S.log on Thu Oct 22 19:35:09 1998
observe 1101+384_S.edt
! Reading UV FITS file: 1101+384_S.edt
! AN table 1: 127 integrations on 105 of 105 possible baselines.
! AN table 2: 85 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.545837 visibilities/baseline/integration-bin.
! Found source: 1101+384
! 
! 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1602 lines of history.
! 
! Reading 35796 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.4
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 = 3.6/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.400x0.400 milli-arcsec cellsize.
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
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 948 telescope corrections were flagged in sub-array 1.
!  A total of 180 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 948 telescope corrections were flagged in sub-array 1.
!  A total of 180 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 948 telescope corrections were flagged in sub-array 1.
!  A total of 180 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 948 telescope corrections were flagged in sub-array 1.
!  A total of 180 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.620580Jy  sigma=3.360726
! Fit after  self-cal, rms=0.618177Jy  sigma=3.348190
! 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.106 mas, bmaj=3.564 mas, bpa=3.747 degrees
! Estimated noise=1.55965 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.328987 Jy
! Total flux subtracted in 50 components = 0.328987 Jy
! Clean residual min=-0.034695 max=0.091829 Jy/beam
! Clean residual mean=0.000208 rms=0.006810 Jy/beam
! Combined flux in latest and established models = 0.328987 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.328987 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207792Jy  sigma=1.130344
! Fit after  self-cal, rms=0.207792Jy  sigma=1.130343
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0723889 Jy
! Total flux subtracted in 50 components = 0.0723889 Jy
! Clean residual min=-0.030970 max=0.026729 Jy/beam
! Clean residual mean=0.000161 rms=0.005540 Jy/beam
! Combined flux in latest and established models = 0.401376 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.401376 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190900Jy  sigma=1.036170
! Fit after  self-cal, rms=0.190815Jy  sigma=1.035647
! 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.831 mas, bmaj=4.39 mas, bpa=5.474 degrees
! Estimated noise=0.750427 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 (-2.8, 4.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0256037 Jy
! Component: 100  -  total flux cleaned = 0.037853 Jy
! Total flux subtracted in 100 components = 0.037853 Jy
! Clean residual min=-0.012594 max=0.018906 Jy/beam
! Clean residual mean=0.001336 rms=0.002861 Jy/beam
! Combined flux in latest and established models = 0.439229 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 21 components and 0.439229 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187496Jy  sigma=1.017808
! Fit after  self-cal, rms=0.187377Jy  sigma=1.017178
! 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        1.00     FD        0.97     GC        1.01     GN        1.05     
!   HN        1.00     KK        1.07     KP        1.00     LA        0.97     
!   MC        1.09     NL        0.94     ON        1.00*    OV        0.99     
!   PT        0.96     SC        1.13     MK        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     GC        0.91     GN        1.01     HN        0.94     
!   MC        1.03     NL        1.00     ON        0.67     SC        1.02     
!   WF        0.91     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00     GC        0.98     GN        1.05     
!   HN        1.02     KK        1.07     KP        1.00     LA        0.96     
!   MC        0.71     NL        1.05     ON        1.00*    OV        1.02     
!   PT        0.94     SC        1.10     MK        1.00     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     GC        0.94     GN        1.03     HN        0.95     
!   MC        1.31     NL        1.07     ON        0.81     SC        1.01     
!   WF        0.82     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.02     GC        1.00     GN        1.07     
!   HN        1.03     KK        1.10     KP        1.03     LA        0.99     
!   MC        0.62     NL        1.06     ON        1.00*    OV        1.02     
!   PT        0.98     SC        1.12     MK        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     GC        1.00     GN        1.07     HN        1.02     
!   MC        0.62     NL        1.15     ON        0.86     SC        1.07     
!   WF        0.83     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.02     GC        1.01     GN        1.05     
!   HN        1.04     KK        1.09     KP        1.03     LA        1.01     
!   MC        0.71     NL        1.05     ON        1.00*    OV        1.03     
!   PT        0.97     SC        1.13     MK        1.02     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.11     GC        0.96     GN        1.06     HN        1.01     
!   MC        0.38     NL        1.14     ON        0.83     SC        1.08     
!   WF        0.85     
! 
! 
! Fit before self-cal, rms=0.187377Jy  sigma=1.017178
! Fit after  self-cal, rms=0.150222Jy  sigma=0.905061
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.701 mas, bmaj=4.333 mas, bpa=2.195 degrees
! Estimated noise=0.733858 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.0128774 Jy
! Component: 100  -  total flux cleaned = 0.0175213 Jy
! Total flux subtracted in 100 components = 0.0175213 Jy
! Clean residual min=-0.005031 max=0.009502 Jy/beam
! Clean residual mean=0.000513 rms=0.001542 Jy/beam
! Combined flux in latest and established models = 0.456751 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 30 components and 0.456751 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.149221Jy  sigma=0.900317
! Fit after  self-cal, rms=0.149404Jy  sigma=0.899165
! Inverting map 
! Added new window around map position (-14.4, 16.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00896553 Jy
! Component: 100  -  total flux cleaned = 0.0141268 Jy
! Total flux subtracted in 100 components = 0.0141268 Jy
! Clean residual min=-0.005122 max=0.007447 Jy/beam
! Clean residual mean=0.000402 rms=0.001407 Jy/beam
! Combined flux in latest and established models = 0.470877 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 46 components and 0.470877 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.148916Jy  sigma=0.896474
! Fit after  self-cal, rms=0.148986Jy  sigma=0.896265
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
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 (-34.8, 12.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00777892 Jy
! Component: 100  -  total flux cleaned = 0.0130568 Jy
! Total flux subtracted in 100 components = 0.0130568 Jy
! Clean residual min=-0.004589 max=0.006806 Jy/beam
! Clean residual mean=0.000297 rms=0.001226 Jy/beam
! Combined flux in latest and established models = 0.483934 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 67 components and 0.483934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.148604Jy  sigma=0.894058
! Fit after  self-cal, rms=0.148174Jy  sigma=0.879887
! Inverting map and beam 
! Estimated beam: bmin=2.685 mas, bmaj=4.326 mas, bpa=2.444 degrees
! Estimated noise=0.737075 mJy/beam.
! Added new window around map position (-12.4, 4.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00725055 Jy
! Component: 100  -  total flux cleaned = 0.0114685 Jy
! Total flux subtracted in 100 components = 0.0114685 Jy
! Clean residual min=-0.003631 max=0.004663 Jy/beam
! Clean residual mean=0.000304 rms=0.001018 Jy/beam
! Combined flux in latest and established models = 0.495403 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 81 components and 0.495403 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147820Jy  sigma=0.878256
! Fit after  self-cal, rms=0.147824Jy  sigma=0.876751
! Inverting map and beam 
! Estimated beam: bmin=2.68 mas, bmaj=4.321 mas, bpa=2.528 degrees
! Estimated noise=0.736519 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
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.00408689 Jy
! Component: 100  -  total flux cleaned = 0.00675912 Jy
! Total flux subtracted in 100 components = 0.00675912 Jy
! Clean residual min=-0.003374 max=0.004493 Jy/beam
! Clean residual mean=0.000285 rms=0.000965 Jy/beam
! Combined flux in latest and established models = 0.502162 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 97 components and 0.502162 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147674Jy  sigma=0.876061
! Fit after  self-cal, rms=0.147728Jy  sigma=0.875945
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1101+384_S
! Writing UV FITS file: 1101+384_S.uvf
! Writing 97 model components to file: 1101+384_S.mod
! wwins: Wrote 5 windows to 1101+384_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.68 x 4.321 at 2.528 degrees (North through East)
! Clean map  min=-0.0032447  max=0.40356 Jy/beam
! Writing clean map to FITS file: 1101+384_S.fits
! Writing difmap environment to: 1101+384_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1101+384_Suv.ps/vps,1,2
! Attempting to open device: '1101+384_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1101+384_Sim.ps/vps
! Attempting to open device: '1101+384_Sim.ps/vps'
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 -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=2.68 mas, bmaj=4.321 mas, bpa=2.528 degrees
! Estimated noise=0.736519 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.68 x 4.321 at 2.528 degrees (North through East)
! Clean map  min=-0.0032447  max=0.40356 Jy/beam
quit
! Quitting program
! Log file 1101+384_S.log closed on Thu Oct 22 19:40:26 1998