! Started logfile: 1726+455_K.log on Wed Oct 26 14:33:57 2005
observe 1726+455_K.edt
! Reading UV FITS file: 1726+455_K.edt
! AN table 1: 71 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.729577 visibilities/baseline/integration-bin.
! Found source: 1726+455
! 
! There are 8 IFs, and a total of 8 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.37245e+10        8e+06          1        8e+06
!  02        2  2.37375e+10        8e+06          1        8e+06
!  03        3  2.37765e+10        8e+06          1        8e+06
!  04        4  2.38545e+10        8e+06          1        8e+06
!  05        5  2.39975e+10        8e+06          1        8e+06
!  06        6  2.41015e+10        8e+06          1        8e+06
!  07        7  2.41665e+10        8e+06          1        8e+06
!  08        8  2.41925e+10        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 777 lines of history.
! 
! Reading 18648 visibilities.
![@gonzo7-0.03 1726+455_K]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.03
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 7.0
float win_mult
win_mult = 1.3
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.0300x0.0300 milli-arcsec cellsize.
select
! Selecting polarization: RR,  channels: 1..8
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
! Reading IF 5 channels: 5..5
! Reading IF 6 channels: 6..6
! Reading IF 7 channels: 7..7
! Reading IF 8 channels: 8..8
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 205 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 154 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 5.
!  A total of 309 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 6.
!  A total of 207 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 7.
!  A total of 140 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 8.
!  A total of 156 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.758087Jy  sigma=4.371537
! Fit after  self-cal, rms=0.758058Jy  sigma=4.371408
! 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.2444 mas, bmaj=0.5904 mas, bpa=0.7282 degrees
! Estimated noise=1.89182 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=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.201827 Jy
! Component: 100  -  total flux cleaned = 0.253717 Jy
! Total flux subtracted in 100 components = 0.253717 Jy
! Clean residual min=-0.012290 max=0.023661 Jy/beam
! Clean residual mean=-0.000167 rms=0.003670 Jy/beam
! Combined flux in latest and established models = 0.253717 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.253717 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.231691Jy  sigma=1.317464
! Fit after  self-cal, rms=0.231682Jy  sigma=1.317403
! 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.3
clean_niter = clean_niter * 2
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.3132 mas, bmaj=0.7596 mas, bpa=-4.462 degrees
! Estimated noise=1.01754 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.27, -0.24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0422846 Jy
! Component: 100  -  total flux cleaned = 0.0641575 Jy
! Component: 150  -  total flux cleaned = 0.0773233 Jy
! Component: 200  -  total flux cleaned = 0.0857901 Jy
! Total flux subtracted in 200 components = 0.0857901 Jy
! Clean residual min=-0.008208 max=0.014355 Jy/beam
! Clean residual mean=-0.000107 rms=0.002876 Jy/beam
! Combined flux in latest and established models = 0.339507 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 59 model components to the UV plane model.
! The established model now contains 68 components and 0.339507 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.224143Jy  sigma=1.273267
! Fit after  self-cal, rms=0.223805Jy  sigma=1.271267
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale false
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.977354
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.98     HN        1.10     KP        1.07     
!   LA        0.86     MK        1.11     NL        1.05     OV        1.09     
!   PT        0.98     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.987871
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.99     HN        0.99     KP        1.06     
!   LA        0.90     MK        1.02     NL        1.07     OV        1.12     
!   PT        1.03     SC        0.95     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00472
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.88     HN        1.00     KP        1.07     
!   LA        0.88     MK        1.01     NL        1.09     OV        1.13     
!   PT        0.98     SC        0.92     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.00417
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.92     HN        1.10     KP        0.99     
!   LA        0.91     MK        1.03     NL        1.07     OV        1.08     
!   PT        0.93     SC        0.91     
! 
! 
! Correcting IF 5.
!  Amplitude normalization factor in sub-array 1: 0.99079
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.01     HN        0.95     KP        0.91     
!   LA        0.87     MK        1.12     NL        1.07     OV        1.19     
!   PT        1.04     SC        0.93     
! 
! 
! Correcting IF 6.
!  Amplitude normalization factor in sub-array 1: 1.01126
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.92     HN        0.98     KP        1.00     
!   LA        0.86     MK        1.01     NL        1.09     OV        1.05     
!   PT        1.01     SC        0.97     
! 
! 
! Correcting IF 7.
!  Amplitude normalization factor in sub-array 1: 1.00997
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.87     HN        0.93     KP        1.03     
!   LA        0.91     MK        1.13     NL        1.17     OV        1.04     
!   PT        0.92     SC        0.90     
! 
! 
! Correcting IF 8.
!  Amplitude normalization factor in sub-array 1: 0.998302
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.93     HN        1.09     KP        1.05     
!   LA        0.89     MK        1.00     NL        1.22     OV        1.09     
!   PT        0.86     SC        0.87     
! 
! 
! Fit before self-cal, rms=0.223805Jy  sigma=1.271267
! Fit after  self-cal, rms=0.217763Jy  sigma=1.257010
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.3161 mas, bmaj=0.764 mas, bpa=-3.723 degrees
! Estimated noise=1.00688 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=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00104544 Jy
! Component: 100  -  total flux cleaned = -0.00137667 Jy
! Component: 150  -  total flux cleaned = -0.00153607 Jy
! Component: 200  -  total flux cleaned = -0.00167323 Jy
! Total flux subtracted in 200 components = -0.00167323 Jy
! Clean residual min=-0.005046 max=0.006076 Jy/beam
! Clean residual mean=0.000022 rms=0.001393 Jy/beam
! Combined flux in latest and established models = 0.337834 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 91 components and 0.337834 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.217659Jy  sigma=1.256483
! Fit after  self-cal, rms=0.217706Jy  sigma=1.256252
! 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=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.68955e-06 Jy
! Component: 100  -  total flux cleaned = 5.97793e-05 Jy
! Component: 150  -  total flux cleaned = 0.000168234 Jy
! Component: 200  -  total flux cleaned = 0.00021758 Jy
! Total flux subtracted in 200 components = 0.00021758 Jy
! Clean residual min=-0.005081 max=0.006052 Jy/beam
! Clean residual mean=0.000022 rms=0.001368 Jy/beam
! Combined flux in latest and established models = 0.338051 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 103 components and 0.338051 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.217667Jy  sigma=1.256072
! Fit after  self-cal, rms=0.222162Jy  sigma=1.242839
! Inverting map and beam 
! Estimated beam: bmin=0.3161 mas, bmaj=0.7643 mas, bpa=-3.713 degrees
! Estimated noise=1.01633 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=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0021478 Jy
! Component: 100  -  total flux cleaned = 0.00213987 Jy
! Component: 150  -  total flux cleaned = 0.00213502 Jy
! Component: 200  -  total flux cleaned = 0.00223607 Jy
! Total flux subtracted in 200 components = 0.00223607 Jy
! Clean residual min=-0.004568 max=0.004875 Jy/beam
! Clean residual mean=0.000003 rms=0.001241 Jy/beam
! Combined flux in latest and established models = 0.340287 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 123 components and 0.340287 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Correcting IF 5.
! 
! Correcting IF 6.
! 
! Correcting IF 7.
! 
! Correcting IF 8.
! 
! Fit before self-cal, rms=0.222114Jy  sigma=1.242583
! Fit after  self-cal, rms=0.222155Jy  sigma=1.242499
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1726+455_K
! Writing UV FITS file: 1726+455_K.uvf
! Writing 123 model components to file: 1726+455_K.mod
! wwins: Wrote 2 windows to 1726+455_K.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.3161 x 0.7643 at -3.713 degrees (North through East)
! Clean map  min=-0.004541  max=0.26695 Jy/beam
! Writing clean map to FITS file: 1726+455_K.fits
! Writing difmap environment to: 1726+455_K.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1726+455_K]
device 1726+455_Kuv.ps/vps,1,2
! Attempting to open device: '1726+455_Kuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1726+455_Kim.ps/vps
! Attempting to open device: '1726+455_Kim.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.3161 mas, bmaj=0.7643 mas, bpa=-3.713 degrees
! Estimated noise=1.01633 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.3161 x 0.7643 at -3.713 degrees (North through East)
! Clean map  min=-0.004541  max=0.26695 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.03]
quit
! Quitting program
! Log file 1726+455_K.log closed on Wed Oct 26 14:34:03 2005