! Started logfile: 2134+00_X.log on Tue Mar 27 21:06:27 2007
observe 2134+00_X.edt
! Reading UV FITS file: 2134+00_X.edt
! AN table 1: 4 integrations on 105 of 105 possible baselines.
! AN table 2: 5 integrations on 105 of 105 possible baselines.
! AN table 3: 6 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.0901587 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 2134+00
! 
! 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 1241 lines of history.
! 
! Reading 568 visibilities.
![@gonzo7-0.1 2134+00_X]
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 48 telescope corrections were flagged in sub-array 1.
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  A total of 65 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  A total of 65 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  A total of 65 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  A total of 65 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=3.621999Jy  sigma=0.077982
! Fit after  self-cal, rms=3.621997Jy  sigma=0.077982
! 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.543 mas, bmaj=4.127 mas, bpa=33.99 degrees
! Estimated noise=2004.08 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 = 3.55599 Jy
! Total flux subtracted in 50 components = 3.55599 Jy
! Clean residual min=-0.516619 max=1.084387 Jy/beam
! Clean residual mean=0.002329 rms=0.193679 Jy/beam
! Combined flux in latest and established models = 3.55599 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 3.55599 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.585966Jy  sigma=0.031449
! Fit after  self-cal, rms=1.584671Jy  sigma=0.031447
! 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.676 mas, bmaj=3.996 mas, bpa=30.7 degrees
! Estimated noise=1565.51 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 = 1.06849 Jy
! Component: 100  -  total flux cleaned = 1.52207 Jy
! Total flux subtracted in 100 components = 1.52207 Jy
! Clean residual min=-0.233665 max=0.324594 Jy/beam
! Clean residual mean=-0.000666 rms=0.089476 Jy/beam
! Combined flux in latest and established models = 5.07806 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 41 components and 5.07806 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.778686Jy  sigma=0.015539
! Fit after  self-cal, rms=0.758779Jy  sigma=0.015476
! 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 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KP        0.00*    LA        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SV        0.00*    
!   WF        0.00*    WZ        0.00*    TC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.00*    HN        1.00*    KB        1.00*    
!   KP        1.49     LA        0.85     MK        1.00*    NL        1.08     
!   NY        1.00*    OV        1.00     PT        0.86     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        1.00     HN        1.00*    KB        1.00*    
!   KP        0.93     LA        0.97     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        0.93     PT        0.95     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KP        0.00*    LA        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SV        0.00*    
!   WF        0.00*    WZ        0.00*    TC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.00*    HN        1.00*    KB        1.00*    
!   KP        1.09     LA        0.82     MK        1.00*    NL        1.09     
!   NY        1.00*    OV        1.01     PT        0.87     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.94     FD        1.03     HN        1.00*    KB        1.00*    
!   KP        0.90     LA        0.97     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.01     PT        0.94     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KP        0.00*    LA        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SV        0.00*    
!   WF        0.00*    WZ        0.00*    TC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.00*    HN        1.00*    KB        1.00*    
!   KP        1.22     LA        0.83     MK        1.00*    NL        1.13     
!   NY        1.00*    OV        1.00     PT        0.88     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.09     FD        0.98     HN        1.00*    KB        1.00*    
!   KP        0.97     LA        0.99     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        0.97     PT        0.96     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KP        0.00*    LA        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SV        0.00*    
!   WF        0.00*    WZ        0.00*    TC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        1.00*    HN        1.00*    KB        1.00*    
!   KP        1.13     LA        0.84     MK        1.00*    NL        1.13     
!   NY        1.00*    OV        1.06     PT        0.88     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.99     HN        1.00*    KB        1.00*    
!   KP        0.94     LA        0.96     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        0.99     PT        0.97     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Fit before self-cal, rms=0.758779Jy  sigma=0.015476
! Fit after  self-cal, rms=0.336048Jy  sigma=0.004002
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.705 mas, bmaj=4.587 mas, bpa=37.66 degrees
! Estimated noise=1545.18 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.100626 Jy
! Component: 100  -  total flux cleaned = 0.105957 Jy
! Total flux subtracted in 100 components = 0.105957 Jy
! Clean residual min=-0.041297 max=0.070880 Jy/beam
! Clean residual mean=0.000059 rms=0.017553 Jy/beam
! Combined flux in latest and established models = 5.18402 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 54 components and 5.18402 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.285370Jy  sigma=0.003192
! Fit after  self-cal, rms=0.284394Jy  sigma=0.003179
! 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.000775279 Jy
! Component: 100  -  total flux cleaned = -0.0024957 Jy
! Total flux subtracted in 100 components = -0.0024957 Jy
! Clean residual min=-0.039945 max=0.058769 Jy/beam
! Clean residual mean=0.000044 rms=0.015708 Jy/beam
! Combined flux in latest and established models = 5.18152 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 64 components and 5.18152 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.263561Jy  sigma=0.002934
! Fit after  self-cal, rms=0.258165Jy  sigma=0.002626
! Inverting map and beam 
! Estimated beam: bmin=2.695 mas, bmaj=4.586 mas, bpa=37.51 degrees
! Estimated noise=1547.18 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.0462889 Jy
! Component: 100  -  total flux cleaned = 0.0506227 Jy
! Total flux subtracted in 100 components = 0.0506227 Jy
! Clean residual min=-0.029698 max=0.043339 Jy/beam
! Clean residual mean=0.000025 rms=0.011710 Jy/beam
! Combined flux in latest and established models = 5.23215 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 72 components and 5.23215 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.234068Jy  sigma=0.002377
! Fit after  self-cal, rms=0.233423Jy  sigma=0.002369
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2134+00_X
! Writing UV FITS file: 2134+00_X.uvf
! Writing 72 model components to file: 2134+00_X.mod
! wwins: Wrote 1 windows to 2134+00_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.695 x 4.586 at 37.51 degrees (North through East)
! Clean map  min=-0.028642  max=4.4758 Jy/beam
! Writing clean map to FITS file: 2134+00_X.fits
! Writing difmap environment to: 2134+00_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 2134+00_X]
device 2134+00_Xuv.ps/vps,1,2
! Attempting to open device: '2134+00_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 2134+00_Xim.ps/vps
! Attempting to open device: '2134+00_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=2.695 mas, bmaj=4.586 mas, bpa=37.51 degrees
! Estimated noise=1547.18 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.695 x 4.586 at 37.51 degrees (North through East)
! Clean map  min=-0.028642  max=4.4758 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 2134+00_X.log closed on Tue Mar 27 21:06:39 2007