! Started logfile: J0854+2006_X.log on Tue Aug  8 11:36:43 2006
observe J0854+2006_X.edt
! Reading UV FITS file: J0854+2006_X.edt
! AN table 1: 173 integrations on 190 of 190 possible baselines.
! AN table 2: 118 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0812263 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0854+20
! 
! 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 1409 lines of history.
! 
! Reading 17964 visibilities.
![@gonzo8-0.1 J0854+2006_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 = 8.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 2744 telescope corrections were flagged in sub-array 1.
!  A total of 1573 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 2744 telescope corrections were flagged in sub-array 1.
!  A total of 1573 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 2747 telescope corrections were flagged in sub-array 1.
!  A total of 1573 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 2744 telescope corrections were flagged in sub-array 1.
!  A total of 1573 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.298064Jy  sigma=0.004743
! Fit after  self-cal, rms=0.297653Jy  sigma=0.004741
! 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.6691 mas, bmaj=1.161 mas, bpa=8.466 degrees
! Estimated noise=823.504 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.833664 Jy
! Total flux subtracted in 50 components = 0.833664 Jy
! Clean residual min=-0.075269 max=0.255290 Jy/beam
! Clean residual mean=0.000133 rms=0.023805 Jy/beam
! Combined flux in latest and established models = 0.833664 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 0.833664 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.410979Jy  sigma=0.006621
! Fit after  self-cal, rms=0.410953Jy  sigma=0.006621
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.253227 Jy
! Total flux subtracted in 50 components = 0.253227 Jy
! Clean residual min=-0.039881 max=0.103188 Jy/beam
! Clean residual mean=0.000062 rms=0.012180 Jy/beam
! Combined flux in latest and established models = 1.08689 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 11 components and 1.08689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.228275Jy  sigma=0.003561
! Fit after  self-cal, rms=0.228090Jy  sigma=0.003560
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.104879 Jy
! Total flux subtracted in 50 components = 0.104879 Jy
! Clean residual min=-0.031723 max=0.046548 Jy/beam
! Clean residual mean=0.000033 rms=0.008627 Jy/beam
! Combined flux in latest and established models = 1.19177 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 16 components and 1.19177 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.176094Jy  sigma=0.002628
! Fit after  self-cal, rms=0.175858Jy  sigma=0.002626
! 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.998 mas, bmaj=1.566 mas, bpa=5.001 degrees
! Estimated noise=370.995 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.0694639 Jy
! Component: 100  -  total flux cleaned = 0.10212 Jy
! Total flux subtracted in 100 components = 0.10212 Jy
! Clean residual min=-0.028540 max=0.055974 Jy/beam
! Clean residual mean=-0.000109 rms=0.008339 Jy/beam
! Combined flux in latest and established models = 1.29389 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 36 components and 1.29389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152403Jy  sigma=0.002189
! Fit after  self-cal, rms=0.152229Jy  sigma=0.002187
! 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 54 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.99     GC        1.11     HN        0.99     
!   LA        1.00     NL        0.93     OV        1.00*    SC        0.84     
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        1.00*    
!   KP        1.00*    MA        1.00*    MC        1.07     MK        1.00*    
!   NY        1.12     TS        0.90     WZ        1.01     PT        0.99     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.95     GC        1.00*    HN        1.04     
!   LA        0.98     NL        1.00     OV        1.01     SC        1.00*    
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        0.91     
!   KP        1.00     MA        1.00*    MC        1.00*    MK        1.00*    
!   NY        1.00*    TS        1.00*    WZ        1.00*    PT        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 54 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.97     GC        1.13     HN        1.01     
!   LA        1.00     NL        0.90     OV        1.00*    SC        2.02     
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        1.00*    
!   KP        1.00*    MA        1.00*    MC        1.07     MK        1.00*    
!   NY        1.10     TS        0.90     WZ        0.96     PT        1.00     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.06     FD        0.94     GC        1.00*    HN        1.04     
!   LA        0.99     NL        1.00     OV        1.00     SC        1.00*    
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        0.93     
!   KP        0.95     MA        1.00*    MC        1.00*    MK        1.00*    
!   NY        1.00*    TS        1.00*    WZ        1.00*    PT        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 51 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.96     GC        1.17     HN        1.00     
!   LA        0.98     NL        0.90     OV        1.00*    SC        0.85     
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        1.00*    
!   KP        1.00*    MA        1.00*    MC        1.10     MK        1.00*    
!   NY        1.12     TS        0.89     WZ        0.94     PT        1.01     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.93     GC        1.00*    HN        1.02     
!   LA        0.99     NL        1.01     OV        1.01     SC        1.00*    
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        0.91     
!   KP        0.95     MA        1.00*    MC        1.00*    MK        1.00*    
!   NY        1.00*    TS        1.00*    WZ        1.00*    PT        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 54 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.96     GC        1.18     HN        0.99     
!   LA        0.97     NL        0.91     OV        1.00*    SC        0.86     
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        1.00*    
!   KP        1.00*    MA        1.00*    MC        1.17     MK        1.00*    
!   NY        1.16     TS        0.90     WZ        0.95     PT        1.01     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        0.93     GC        1.00*    HN        1.02     
!   LA        0.99     NL        1.04     OV        1.01     SC        1.00*    
!   WF        1.00*    GG        1.00*    HH        1.00*    KK        0.89     
!   KP        0.97     MA        1.00*    MC        1.00*    MK        1.00*    
!   NY        1.00*    TS        1.00*    WZ        1.00*    PT        1.00*    
! 
! 
! Fit before self-cal, rms=0.152229Jy  sigma=0.002187
! Fit after  self-cal, rms=0.102573Jy  sigma=0.001552
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.01 mas, bmaj=1.562 mas, bpa=6.267 degrees
! Estimated noise=366.916 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 (-2.8, -0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0406016 Jy
! Component: 100  -  total flux cleaned = 0.0566495 Jy
! Total flux subtracted in 100 components = 0.0566495 Jy
! Clean residual min=-0.010020 max=0.013321 Jy/beam
! Clean residual mean=0.000083 rms=0.002883 Jy/beam
! Combined flux in latest and established models = 1.35054 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 73 components and 1.35054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.089067Jy  sigma=0.001298
! Fit after  self-cal, rms=0.088264Jy  sigma=0.001286
! 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.0079826 Jy
! Component: 100  -  total flux cleaned = 0.0090591 Jy
! Total flux subtracted in 100 components = 0.0090591 Jy
! Clean residual min=-0.009272 max=0.010444 Jy/beam
! Clean residual mean=0.000082 rms=0.002502 Jy/beam
! Combined flux in latest and established models = 1.3596 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 95 components and 1.3596 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.087111Jy  sigma=0.001267
! Fit after  self-cal, rms=0.083047Jy  sigma=0.001211
! Inverting map and beam 
! Estimated beam: bmin=1.01 mas, bmaj=1.562 mas, bpa=6.044 degrees
! Estimated noise=365.522 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.0088017 Jy
! Component: 100  -  total flux cleaned = 0.0110586 Jy
! Total flux subtracted in 100 components = 0.0110586 Jy
! Clean residual min=-0.006722 max=0.006400 Jy/beam
! Clean residual mean=0.000054 rms=0.001567 Jy/beam
! Combined flux in latest and established models = 1.37066 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 109 components and 1.37066 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082202Jy  sigma=0.001196
! Fit after  self-cal, rms=0.082101Jy  sigma=0.001195
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save J0854+2006_X
! Writing UV FITS file: J0854+2006_X.uvf
! Writing 109 model components to file: J0854+2006_X.mod
! wwins: Wrote 2 windows to J0854+2006_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.01 x 1.562 at 6.044 degrees (North through East)
! Clean map  min=-0.0064845  max=1.1283 Jy/beam
! Writing clean map to FITS file: J0854+2006_X.fits
! Writing difmap environment to: J0854+2006_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot J0854+2006_X]
device J0854+2006_Xuv.ps/vps,1,2
! Attempting to open device: 'J0854+2006_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device J0854+2006_Xim.ps/vps
! Attempting to open device: 'J0854+2006_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=1.01 mas, bmaj=1.562 mas, bpa=6.044 degrees
! Estimated noise=365.522 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.01 x 1.562 at 6.044 degrees (North through East)
! Clean map  min=-0.0064845  max=1.1283 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo8-0.1]
quit
! Quitting program
! Log file J0854+2006_X.log closed on Tue Aug  8 11:37:22 2006