! Started logfile: 1334-127_X.log on Fri Oct  3 08:32:09 1997
observe 1334-127_X.edt
! Reading UV FITS file: 1334-127_X.edt
! AN table 1: 27 integrations on 69 of 91 possible baselines.
! AN table 2: 9 integrations on 78 of 78 possible baselines.
! AN table 3: 13 integrations on 1 of 1 possible baselines.
! Apparent sampling: 0.585337 visibilities/baseline/integration-bin.
! Found source: 1334-127
! 
! 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.40972e+09      6.5e+06          1      6.5e+06
!  02        2  8.47972e+09      6.5e+06          1      6.5e+06
!  03        3  8.79472e+09      6.5e+06          1      6.5e+06
!  04        4  8.89972e+09      6.5e+06          1      6.5e+06
! 
! Polarization(s): RR
! 
! Read 2187 lines of history.
! 
! Reading 6036 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 188 telescope corrections were flagged in sub-array 1.
!  A total of 13 telescope corrections were flagged in sub-array 2.
!  A total of 26 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 188 telescope corrections were flagged in sub-array 1.
!  A total of 13 telescope corrections were flagged in sub-array 2.
!  A total of 26 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 188 telescope corrections were flagged in sub-array 1.
!  A total of 13 telescope corrections were flagged in sub-array 2.
!  A total of 26 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 195 telescope corrections were flagged in sub-array 1.
!  A total of 13 telescope corrections were flagged in sub-array 2.
!  A total of 26 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=2.429293Jy  sigma=12.807608
! Fit after  self-cal, rms=2.429421Jy  sigma=12.810378
! 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.6441 mas, bmaj=1.896 mas, bpa=-3.985 degrees
! Estimated noise=2.49877 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 = 2.59475 Jy
! Total flux subtracted in 50 components = 2.59475 Jy
! Clean residual min=-0.137217 max=0.723715 Jy/beam
! Clean residual mean=-0.001441 rms=0.040457 Jy/beam
! Combined flux in latest and established models = 2.59475 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.59475 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.899000Jy  sigma=4.731260
! Fit after  self-cal, rms=0.899000Jy  sigma=4.731258
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.583805 Jy
! Total flux subtracted in 50 components = 0.583805 Jy
! Clean residual min=-0.065097 max=0.224146 Jy/beam
! Clean residual mean=-0.000655 rms=0.019719 Jy/beam
! Combined flux in latest and established models = 3.17855 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 3.17855 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.458512Jy  sigma=2.399067
! Fit after  self-cal, rms=0.458370Jy  sigma=2.398381
! Inverting map 
! Added new window around map position (1.1, -2.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.242406 Jy
! Total flux subtracted in 50 components = 0.242406 Jy
! Clean residual min=-0.052397 max=0.117592 Jy/beam
! Clean residual mean=-0.000336 rms=0.014055 Jy/beam
! Combined flux in latest and established models = 3.42096 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 9 components and 3.42096 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.338525Jy  sigma=1.760597
! Fit after  self-cal, rms=0.335855Jy  sigma=1.746711
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.140254 Jy
! Total flux subtracted in 50 components = 0.140254 Jy
! Clean residual min=-0.044307 max=0.072142 Jy/beam
! Clean residual mean=-0.000150 rms=0.011373 Jy/beam
! Combined flux in latest and established models = 3.56121 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 14 components and 3.56121 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.282540Jy  sigma=1.461681
! Fit after  self-cal, rms=0.281571Jy  sigma=1.456743
! 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.7928 mas, bmaj=2.196 mas, bpa=-1.721 degrees
! Estimated noise=1.86055 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.100374 Jy
! Component: 100  -  total flux cleaned = 0.154331 Jy
! Total flux subtracted in 100 components = 0.154331 Jy
! Clean residual min=-0.034596 max=0.059562 Jy/beam
! Clean residual mean=0.000107 rms=0.009986 Jy/beam
! Combined flux in latest and established models = 3.71554 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 28 components and 3.71554 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247963Jy  sigma=1.276961
! Fit after  self-cal, rms=0.246711Jy  sigma=1.270391
! 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.98     FD        0.97     GN        0.95     HN        0.99     
!   KK        1.02     KP        0.98     LA        0.97     MC        0.88     
!   NL        1.05     ON        0.97     OV        0.98     PT        0.97     
!   SC        0.97     WF        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        0.98     GN        0.98     HN        1.07     
!   KK        0.98     KP        0.99     LA        0.99     MK        0.96     
!   NL        1.02     OV        0.98     PT        0.98     SC        1.02     
!   WF        1.06     
! 
!  Telescope amplitude corrections in sub-array 3:
!   KK        0.00*    MK        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.97     GN        0.95     HN        0.99     
!   KK        1.02     KP        0.98     LA        0.97     MC        0.89     
!   NL        1.05     ON        0.99     OV        0.99     PT        0.96     
!   SC        0.97     WF        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.99     GN        0.98     HN        1.08     
!   KK        0.99     KP        0.98     LA        0.99     MK        0.96     
!   NL        1.02     OV        0.99     PT        0.98     SC        1.03     
!   WF        1.04     
! 
!  Telescope amplitude corrections in sub-array 3:
!   KK        0.00*    MK        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     GN        0.91     HN        0.98     
!   KK        1.01     KP        0.99     LA        0.98     MC        0.89     
!   NL        1.07     ON        0.95     OV        1.00     PT        0.97     
!   SC        0.97     WF        1.03     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        1.00     GN        0.97     HN        1.07     
!   KK        0.99     KP        0.98     LA        0.99     MK        0.96     
!   NL        1.05     OV        1.00     PT        0.99     SC        1.03     
!   WF        1.07     
! 
!  Telescope amplitude corrections in sub-array 3:
!   KK        0.00*    MK        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.98     GN        0.95     HN        0.98     
!   KK        1.02     KP        1.00     LA        0.98     MC        1.00*    
!   NL        1.07     ON        1.00*    OV        1.07     PT        0.99     
!   SC        0.95     WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.99     GN        0.98     HN        1.07     
!   KK        1.00     KP        1.00     LA        1.00     MK        0.97     
!   NL        1.04     OV        1.06     PT        0.99     SC        1.03     
!   WF        1.06     
! 
!  Telescope amplitude corrections in sub-array 3:
!   KK        0.00*    MK        0.00*    
! 
! 
! Fit before self-cal, rms=0.246711Jy  sigma=1.270391
! Fit after  self-cal, rms=0.171391Jy  sigma=0.845814
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7928 mas, bmaj=2.196 mas, bpa=-1.735 degrees
! Estimated noise=1.85092 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.8, -0.7).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.037586 Jy
! Component: 100  -  total flux cleaned = 0.0562163 Jy
! Total flux subtracted in 100 components = 0.0562163 Jy
! Clean residual min=-0.013110 max=0.021077 Jy/beam
! Clean residual mean=-0.000133 rms=0.003306 Jy/beam
! Combined flux in latest and established models = 3.77176 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 46 components and 3.77176 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163919Jy  sigma=0.802050
! Fit after  self-cal, rms=0.163455Jy  sigma=0.799298
! 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)
! Added new window around map position (-1.4, -1.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0156836 Jy
! Component: 100  -  total flux cleaned = 0.0192218 Jy
! Total flux subtracted in 100 components = 0.0192218 Jy
! Clean residual min=-0.012438 max=0.010708 Jy/beam
! Clean residual mean=-0.000121 rms=0.003007 Jy/beam
! Combined flux in latest and established models = 3.79098 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 60 components and 3.79098 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161122Jy  sigma=0.785672
! Fit after  self-cal, rms=0.155107Jy  sigma=0.746107
! Inverting map and beam 
! Estimated beam: bmin=0.792 mas, bmaj=2.195 mas, bpa=-1.749 degrees
! Estimated noise=1.85371 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.0154608 Jy
! Component: 100  -  total flux cleaned = 0.0206345 Jy
! Total flux subtracted in 100 components = 0.0206345 Jy
! Clean residual min=-0.007522 max=0.009368 Jy/beam
! Clean residual mean=-0.000069 rms=0.002100 Jy/beam
! Combined flux in latest and established models = 3.81162 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 67 components and 3.81162 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.153572Jy  sigma=0.737188
! Fit after  self-cal, rms=0.153536Jy  sigma=0.736976
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1334-127_X
! Writing UV FITS file: 1334-127_X.uvf
! Writing 67 model components to file: 1334-127_X.mod
! wwins: Wrote 4 windows to 1334-127_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.792 x 2.195 at -1.749 degrees (North through East)
! Clean map  min=-0.0073621  max=3.3331 Jy/beam
! Writing clean map to FITS file: 1334-127_X.fits
! Writing difmap environment to: 1334-127_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1334-127_Xuv.ps/vps,1,2
! Attempting to open device: '1334-127_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1334-127_Xim.ps/vps
! Attempting to open device: '1334-127_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.792 mas, bmaj=2.195 mas, bpa=-1.749 degrees
! Estimated noise=1.85371 mJy/beam.
! The new contour levels are:
!  -0.00632816 0.00632816 0.0126563 0.0253126 0.0506253 0.101251 0.202501 0.405002 0.810005 1.62001 3.24002 6.48004 12.9601 25.9202 51.8403 103.681 207.361 414.722 829.445 1658.89 3317.78 6635.56 13271.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.792 x 2.195 at -1.749 degrees (North through East)
! Clean map  min=-0.0073621  max=3.3331 Jy/beam
device 1334-127_Xim_un.ps/vps
! Attempting to open device: '1334-127_Xim_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=0.6443 mas, bmaj=1.89 mas, bpa=-4.017 degrees
! Estimated noise=2.48612 mJy/beam.
! The new contour levels are:
!  -0.00812247 0.00812247 0.0162449 0.0324899 0.0649798 0.12996 0.259919 0.519838 1.03968 2.07935 4.15871 8.31741 16.6348 33.2696 66.5393 133.079 266.157 532.314 1064.63 2129.26 4258.52 8517.03 17034.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6443 x 1.89 at -4.017 degrees (North through East)
! Clean map  min=-0.01022  max=3.2911 Jy/beam
quit
! Quitting program
! Log file 1334-127_X.log closed on Fri Oct  3 08:34:27 1997