! Started logfile: 1124-186_X.log on Wed Feb 28 10:38:11 2001
observe 1124-186_X.edt
! Reading UV FITS file: 1124-186_X.edt
! AN table 1: 73 integrations on 78 of 78 possible baselines.
! Apparent sampling: 0.375132 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1124-186
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 5578 lines of history.
! 
! Reading 8544 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
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 = 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.100x0.100 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 542 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 576 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 576 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 576 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.279722Jy  sigma=1.975474
! Fit after  self-cal, rms=0.279660Jy  sigma=1.975410
! 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.6266 mas, bmaj=1.957 mas, bpa=-4.565 degrees
! Estimated noise=2.11125 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.913615 Jy
! Total flux subtracted in 50 components = 0.913615 Jy
! Clean residual min=-0.044085 max=0.254829 Jy/beam
! Clean residual mean=-0.000048 rms=0.014948 Jy/beam
! Combined flux in latest and established models = 0.913615 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.913615 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.348928Jy  sigma=2.463459
! Fit after  self-cal, rms=0.348928Jy  sigma=2.463460
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.220348 Jy
! Total flux subtracted in 50 components = 0.220348 Jy
! Clean residual min=-0.025390 max=0.087348 Jy/beam
! Clean residual mean=-0.000073 rms=0.007555 Jy/beam
! Combined flux in latest and established models = 1.13396 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.13396 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.192717Jy  sigma=1.362381
! Fit after  self-cal, rms=0.192645Jy  sigma=1.361828
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0890519 Jy
! Total flux subtracted in 50 components = 0.0890519 Jy
! Clean residual min=-0.021594 max=0.037119 Jy/beam
! Clean residual mean=-0.000085 rms=0.005389 Jy/beam
! Combined flux in latest and established models = 1.22301 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 8 components and 1.22301 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152536Jy  sigma=1.078528
! Fit after  self-cal, rms=0.152461Jy  sigma=1.077952
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0385528 Jy
! Total flux subtracted in 50 components = 0.0385528 Jy
! Clean residual min=-0.019389 max=0.030765 Jy/beam
! Clean residual mean=-0.000090 rms=0.004828 Jy/beam
! Combined flux in latest and established models = 1.26157 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 10 components and 1.26157 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.143202Jy  sigma=1.012290
! Fit after  self-cal, rms=0.143149Jy  sigma=1.011878
! 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.7324 mas, bmaj=2.346 mas, bpa=-4.616 degrees
! Estimated noise=1.29194 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.0234615 Jy
! Component: 100  -  total flux cleaned = 0.024894 Jy
! Total flux subtracted in 100 components = 0.024894 Jy
! Clean residual min=-0.022848 max=0.023612 Jy/beam
! Clean residual mean=-0.000673 rms=0.006044 Jy/beam
! Combined flux in latest and established models = 1.28646 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 16 components and 1.28646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139759Jy  sigma=0.987769
! Fit after  self-cal, rms=0.139735Jy  sigma=0.987564
! 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 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.96     HN        1.02     KK        0.99     
!   KP        0.94     LA        0.97     MK        1.02     NL        1.02     
!   OV        0.99     PT        1.14     SC        1.00     WF        1.05     
!   GN        1.16     
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.95     HN        1.03     KK        0.99     
!   KP        0.94     LA        0.96     MK        1.01     NL        1.02     
!   OV        0.97     PT        1.14     SC        1.00     WF        1.04     
!   GN        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.94     HN        1.00     KK        0.99     
!   KP        0.93     LA        0.94     MK        0.99     NL        1.00     
!   OV        0.97     PT        1.13     SC        0.98     WF        1.07     
!   GN        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.93     HN        1.00     KK        0.98     
!   KP        0.92     LA        0.93     MK        0.98     NL        1.01     
!   OV        0.96     PT        1.14     SC        0.97     WF        1.05     
!   GN        1.00*    
! 
! 
! Fit before self-cal, rms=0.139735Jy  sigma=0.987564
! Fit after  self-cal, rms=0.103017Jy  sigma=0.700628
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7368 mas, bmaj=2.337 mas, bpa=-4.531 degrees
! Estimated noise=1.29059 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.00295959 Jy
! Component: 100  -  total flux cleaned = 0.0029465 Jy
! Total flux subtracted in 100 components = 0.0029465 Jy
! Clean residual min=-0.006329 max=0.007902 Jy/beam
! Clean residual mean=0.000467 rms=0.001612 Jy/beam
! Combined flux in latest and established models = 1.28941 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 24 components and 1.28941 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.102499Jy  sigma=0.697106
! Fit after  self-cal, rms=0.102481Jy  sigma=0.696808
! 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)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000215291 Jy
! Component: 100  -  total flux cleaned = -0.000359942 Jy
! Total flux subtracted in 100 components = -0.000359942 Jy
! Clean residual min=-0.006032 max=0.007281 Jy/beam
! Clean residual mean=0.000471 rms=0.001564 Jy/beam
! Combined flux in latest and established models = 1.28905 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 26 components and 1.28905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.102235Jy  sigma=0.695092
! Fit after  self-cal, rms=0.096990Jy  sigma=0.654823
! Inverting map and beam 
! Estimated beam: bmin=0.7369 mas, bmaj=2.336 mas, bpa=-4.52 degrees
! Estimated noise=1.29143 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)
! Added new window around map position (1.2, 0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00490781 Jy
! Component: 100  -  total flux cleaned = 0.00579128 Jy
! Total flux subtracted in 100 components = 0.00579128 Jy
! Clean residual min=-0.002785 max=0.003957 Jy/beam
! Clean residual mean=0.000282 rms=0.000868 Jy/beam
! Combined flux in latest and established models = 1.29484 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 36 components and 1.29484 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096681Jy  sigma=0.652521
! Fit after  self-cal, rms=0.096674Jy  sigma=0.652452
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1124-186_X
! Writing UV FITS file: 1124-186_X.uvf
! Writing 36 model components to file: 1124-186_X.mod
! wwins: Wrote 2 windows to 1124-186_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7369 x 2.336 at -4.52 degrees (North through East)
! Clean map  min=-0.0033925  max=1.1943 Jy/beam
! Writing clean map to FITS file: 1124-186_X.fits
! Writing difmap environment to: 1124-186_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1124-186_Xuv.ps/vps,1,2
! Attempting to open device: '1124-186_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1124-186_Xim.ps/vps
! Attempting to open device: '1124-186_Xim.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=0.7369 mas, bmaj=2.336 mas, bpa=-4.52 degrees
! Estimated noise=1.29143 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7369 x 2.336 at -4.52 degrees (North through East)
! Clean map  min=-0.0033925  max=1.1943 Jy/beam
quit
! Quitting program
! Log file 1124-186_X.log closed on Wed Feb 28 10:38:30 2001