! Started logfile: 1730-130_K.log on Wed Nov  2 13:01:08 2005
observe 1730-130_K.edt
! Reading UV FITS file: 1730-130_K.edt
! AN table 1: 52 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.777778 visibilities/baseline/integration-bin.
! Found source: 1730-130
! 
! 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 14560 visibilities.
![@gonzo6-0.03 1730-130_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 = 6.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 60 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 60 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 5.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 6.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 7.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 8.
!  A total of 60 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.753037Jy  sigma=4.391510
! Fit after  self-cal, rms=0.753018Jy  sigma=4.391402
! 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.2261 mas, bmaj=0.6505 mas, bpa=-5.704 degrees
! Estimated noise=1.88417 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 = 1.0254 Jy
! Component: 100  -  total flux cleaned = 1.36753 Jy
! Total flux subtracted in 100 components = 1.36753 Jy
! Clean residual min=-0.071876 max=0.165398 Jy/beam
! Clean residual mean=0.000307 rms=0.024127 Jy/beam
! Combined flux in latest and established models = 1.36753 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 21 components and 1.36753 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.535029Jy  sigma=3.112900
! Fit after  self-cal, rms=0.534784Jy  sigma=3.111457
! Inverting map 
! Added new window around map position (0, 0.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.183562 Jy
! Component: 100  -  total flux cleaned = 0.294344 Jy
! Total flux subtracted in 100 components = 0.294344 Jy
! Clean residual min=-0.058720 max=0.088499 Jy/beam
! Clean residual mean=0.000349 rms=0.016451 Jy/beam
! Combined flux in latest and established models = 1.66187 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 55 components and 1.66187 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.413794Jy  sigma=2.400075
! Fit after  self-cal, rms=0.412715Jy  sigma=2.393799
! 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.2767 mas, bmaj=0.7728 mas, bpa=-7.337 degrees
! Estimated noise=1.13041 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.152019 Jy
! Component: 100  -  total flux cleaned = 0.241987 Jy
! Component: 150  -  total flux cleaned = 0.296246 Jy
! Component: 200  -  total flux cleaned = 0.329082 Jy
! Total flux subtracted in 200 components = 0.329082 Jy
! Clean residual min=-0.062682 max=0.084385 Jy/beam
! Clean residual mean=0.000344 rms=0.017466 Jy/beam
! Combined flux in latest and established models = 1.99095 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 81 components and 1.99095 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.350592Jy  sigma=2.026604
! Fit after  self-cal, rms=0.348868Jy  sigma=2.016468
! 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.976924
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.93     HN        1.09     KP        1.04     
!   LA        0.90     MK        0.99     NL        1.18     OV        1.01     
!   PT        1.03     SC        1.06     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.987148
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.91     HN        1.04     KP        1.04     
!   LA        0.91     MK        0.96     NL        1.13     OV        1.02     
!   PT        1.08     SC        1.03     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00634
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.83     HN        1.00     KP        1.01     
!   LA        0.91     MK        0.95     NL        1.14     OV        1.07     
!   PT        1.03     SC        1.00     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.00784
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.87     HN        1.08     KP        0.94     
!   LA        0.90     MK        0.94     NL        1.19     OV        1.01     
!   PT        0.98     SC        1.01     
! 
! 
! Correcting IF 5.
!  Amplitude normalization factor in sub-array 1: 0.985019
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.97     HN        0.97     KP        0.98     
!   LA        0.91     MK        1.02     NL        1.12     OV        1.11     
!   PT        1.07     SC        1.01     
! 
! 
! Correcting IF 6.
!  Amplitude normalization factor in sub-array 1: 0.996629
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.87     HN        1.03     KP        0.99     
!   LA        0.91     MK        0.98     NL        1.18     OV        1.00     
!   PT        1.06     SC        1.02     
! 
! 
! Correcting IF 7.
!  Amplitude normalization factor in sub-array 1: 1.01267
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.83     HN        0.93     KP        0.99     
!   LA        0.94     MK        1.03     NL        1.24     OV        0.98     
!   PT        0.94     SC        1.01     
! 
! 
! Correcting IF 8.
!  Amplitude normalization factor in sub-array 1: 0.992039
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.85     HN        1.04     KP        0.99     
!   LA        0.90     MK        1.01     NL        1.30     OV        1.02     
!   PT        0.91     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.348868Jy  sigma=2.016468
! Fit after  self-cal, rms=0.289259Jy  sigma=1.677695
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.2782 mas, bmaj=0.7827 mas, bpa=-7.445 degrees
! Estimated noise=1.11516 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.0115113 Jy
! Component: 100  -  total flux cleaned = -0.0173269 Jy
! Component: 150  -  total flux cleaned = -0.0212081 Jy
! Component: 200  -  total flux cleaned = -0.02428 Jy
! Total flux subtracted in 200 components = -0.02428 Jy
! Clean residual min=-0.030627 max=0.036328 Jy/beam
! Clean residual mean=0.000021 rms=0.008192 Jy/beam
! Combined flux in latest and established models = 1.96667 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 99 components and 1.96667 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.286323Jy  sigma=1.660405
! Fit after  self-cal, rms=0.286211Jy  sigma=1.658974
! 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 (1.38, 2.19).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0357232 Jy
! Component: 100  -  total flux cleaned = 0.0533817 Jy
! Component: 150  -  total flux cleaned = 0.0624991 Jy
! Component: 200  -  total flux cleaned = 0.0642257 Jy
! Total flux subtracted in 200 components = 0.0642257 Jy
! Clean residual min=-0.025555 max=0.025844 Jy/beam
! Clean residual mean=0.000009 rms=0.006147 Jy/beam
! Combined flux in latest and established models = 2.0309 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 142 components and 2.0309 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.282176Jy  sigma=1.631750
! Fit after  self-cal, rms=0.273178Jy  sigma=1.572493
! Inverting map and beam 
! Estimated beam: bmin=0.2779 mas, bmaj=0.7842 mas, bpa=-7.357 degrees
! Estimated noise=1.11674 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.00670151 Jy
! Component: 100  -  total flux cleaned = 0.00802828 Jy
! Component: 150  -  total flux cleaned = 0.00858576 Jy
! Component: 200  -  total flux cleaned = 0.00930619 Jy
! Total flux subtracted in 200 components = 0.00930619 Jy
! Clean residual min=-0.021278 max=0.020127 Jy/beam
! Clean residual mean=0.000015 rms=0.005057 Jy/beam
! Combined flux in latest and established models = 2.04021 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 162 components and 2.04021 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.272446Jy  sigma=1.567624
! Fit after  self-cal, rms=0.272361Jy  sigma=1.567005
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1730-130_K
! Writing UV FITS file: 1730-130_K.uvf
! Writing 162 model components to file: 1730-130_K.mod
! wwins: Wrote 3 windows to 1730-130_K.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.2779 x 0.7842 at -7.357 degrees (North through East)
! Clean map  min=-0.021282  max=1.3943 Jy/beam
! Writing clean map to FITS file: 1730-130_K.fits
! Writing difmap environment to: 1730-130_K.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1730-130_K]
device 1730-130_Kuv.ps/vps,1,2
! Attempting to open device: '1730-130_Kuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1730-130_Kim.ps/vps
! Attempting to open device: '1730-130_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.2779 mas, bmaj=0.7842 mas, bpa=-7.357 degrees
! Estimated noise=1.11674 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.2779 x 0.7842 at -7.357 degrees (North through East)
! Clean map  min=-0.021282  max=1.3943 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo6-0.03]
quit
! Quitting program
! Log file 1730-130_K.log closed on Wed Nov  2 13:01:16 2005