! Started logfile: 1611+343_S.log on Tue Sep 12 11:07:30 2006
observe 1611+343_S.edt
! Reading UV FITS file: 1611+343_S.edt
! AN table 1: 15 integrations on 105 of 105 possible baselines.
! AN table 2: 23 integrations on 105 of 105 possible baselines.
! AN table 3: 14 integrations on 105 of 105 possible baselines.
! AN table 4: 30 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.150407 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1611+343
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1654 lines of history.
! 
! Reading 5180 visibilities.
![@gonzo7-0.4 1611+343_S]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.4
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.400x0.400 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 155 telescope corrections were flagged in sub-array 1.
!  A total of 271 telescope corrections were flagged in sub-array 2.
!  A total of 128 telescope corrections were flagged in sub-array 3.
!  A total of 238 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 155 telescope corrections were flagged in sub-array 1.
!  A total of 271 telescope corrections were flagged in sub-array 2.
!  A total of 123 telescope corrections were flagged in sub-array 3.
!  A total of 238 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 155 telescope corrections were flagged in sub-array 1.
!  A total of 271 telescope corrections were flagged in sub-array 2.
!  A total of 123 telescope corrections were flagged in sub-array 3.
!  A total of 238 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 159 telescope corrections were flagged in sub-array 1.
!  A total of 271 telescope corrections were flagged in sub-array 2.
!  A total of 128 telescope corrections were flagged in sub-array 3.
!  A total of 238 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=2.735088Jy  sigma=0.029742
! Fit after  self-cal, rms=2.735008Jy  sigma=0.029786
! 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=1.878 mas, bmaj=2.814 mas, bpa=-30.72 degrees
! Estimated noise=1749.11 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 = 2.0008 Jy
! Total flux subtracted in 50 components = 2.0008 Jy
! Clean residual min=-0.187112 max=0.748188 Jy/beam
! Clean residual mean=-0.000493 rms=0.064004 Jy/beam
! Combined flux in latest and established models = 2.0008 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 10 components and 2.0008 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.992699Jy  sigma=0.021576
! Fit after  self-cal, rms=1.991867Jy  sigma=0.021570
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.830103 Jy
! Total flux subtracted in 50 components = 0.830103 Jy
! Clean residual min=-0.143955 max=0.461374 Jy/beam
! Clean residual mean=-0.000412 rms=0.047149 Jy/beam
! Combined flux in latest and established models = 2.8309 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 24 components and 2.8309 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.483189Jy  sigma=0.015739
! Fit after  self-cal, rms=1.481729Jy  sigma=0.015727
! Inverting map 
! Added new window around map position (0, -3.2).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.527041 Jy
! Total flux subtracted in 50 components = 0.527041 Jy
! Clean residual min=-0.127195 max=0.277219 Jy/beam
! Clean residual mean=-0.000369 rms=0.038119 Jy/beam
! Combined flux in latest and established models = 3.35794 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 39 components and 3.35794 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.221312Jy  sigma=0.012689
! Fit after  self-cal, rms=1.218972Jy  sigma=0.012663
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.348397 Jy
! Total flux subtracted in 50 components = 0.348397 Jy
! Clean residual min=-0.121882 max=0.191007 Jy/beam
! Clean residual mean=-0.000340 rms=0.033218 Jy/beam
! Combined flux in latest and established models = 3.70634 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 45 components and 3.70634 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.086339Jy  sigma=0.011098
! Fit after  self-cal, rms=1.084803Jy  sigma=0.011080
! 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.96 mas, bmaj=4.088 mas, bpa=-28.09 degrees
! Estimated noise=987.861 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.394842 Jy
! Component: 100  -  total flux cleaned = 0.566055 Jy
! Total flux subtracted in 100 components = 0.566055 Jy
! Clean residual min=-0.165281 max=0.295535 Jy/beam
! Clean residual mean=-0.002939 rms=0.054818 Jy/beam
! Combined flux in latest and established models = 4.2724 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 60 components and 4.2724 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.962695Jy  sigma=0.009661
! Fit after  self-cal, rms=0.962055Jy  sigma=0.009655
! 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 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        1.00*    BR        0.90     FD        0.81     HN        2.65     
!   KP        2.58     LA        1.01     MC        1.10     MK        1.00*    
!   NL        1.14     HO        1.46     NY        1.04     OV        1.10     
!   PT        1.12     SC        1.00*    WZ        1.23     
! 
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        1.00*    BR        1.09     FD        1.00*    HN        1.00*    
!   KP        1.00*    LA        1.00*    MC        1.06     MK        1.06     
!   NL        1.00*    HO        1.00*    NY        1.03     OV        1.85     
!   PT        1.00*    SC        1.00*    WZ        1.11     
! 
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.00*    BR        0.96     FD        1.00*    HN        1.00*    
!   KP        1.76     LA        1.08     MC        1.00*    MK        1.08     
!   NL        1.00*    HO        1.00*    NY        1.02     OV        1.13     
!   PT        1.15     SC        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.95     FD        0.71     HN        1.21     
!   KP        1.20     LA        0.95     MC        1.36     MK        1.07     
!   NL        0.82     HO        1.00*    NY        1.07     OV        0.86     
!   PT        0.90     SC        1.05     WZ        0.95     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        1.00*    BR        1.00     FD        1.09     HN        2.89     
!   KP        1.67     LA        1.05     MC        1.11     MK        1.00*    
!   NL        1.14     HO        1.10     NY        0.58     OV        1.16     
!   PT        1.09     SC        1.00*    WZ        1.16     
! 
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        1.00*    BR        1.07     FD        1.00*    HN        1.00*    
!   KP        1.00*    LA        1.00*    MC        1.19     MK        1.21     
!   NL        1.00*    HO        1.00*    NY        1.04     OV        1.84     
!   PT        1.00*    SC        1.00*    WZ        1.13     
! 
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.00*    BR        1.10     FD        1.00*    HN        1.00*    
!   KP        1.07     LA        1.10     MC        1.00*    MK        1.17     
!   NL        1.00*    HO        2.42     NY        1.05     OV        1.14     
!   PT        1.13     SC        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.96     FD        0.73     HN        1.31     
!   KP        0.92     LA        0.93     MC        1.21     MK        1.07     
!   NL        0.83     HO        1.00*    NY        1.05     OV        0.89     
!   PT        0.98     SC        1.02     WZ        0.96     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        1.00*    BR        0.97     FD        1.08     HN        2.60     
!   KP        1.94     LA        1.06     MC        1.20     MK        1.00*    
!   NL        1.12     HO        1.08     NY        0.55     OV        1.13     
!   PT        1.15     SC        1.00*    WZ        1.14     
! 
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        1.00*    BR        0.99     FD        1.00*    HN        1.00*    
!   KP        1.00*    LA        1.00*    MC        1.12     MK        1.08     
!   NL        1.00*    HO        1.00*    NY        1.00     OV        2.00     
!   PT        1.00*    SC        1.00*    WZ        1.13     
! 
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.00*    BR        1.07     FD        1.00*    HN        1.00*    
!   KP        1.06     LA        1.08     MC        1.00*    MK        1.21     
!   NL        1.00*    HO        2.53     NY        1.00     OV        1.12     
!   PT        1.13     SC        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.90     FD        0.72     HN        1.05     
!   KP        0.85     LA        0.88     MC        1.45     MK        0.99     
!   NL        0.82     HO        1.00*    NY        1.08     OV        0.88     
!   PT        0.95     SC        1.00     WZ        0.99     
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        1.00*    BR        1.00     FD        1.08     HN        1.00*    
!   KP        1.81     LA        1.06     MC        1.18     MK        1.00*    
!   NL        1.13     HO        1.08     NY        0.81     OV        1.12     
!   PT        1.13     SC        1.00*    WZ        1.06     
! 
!  A total of 45 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        1.00*    BR        1.00     FD        1.00*    HN        1.00*    
!   KP        1.00*    LA        1.00*    MC        1.09     MK        1.05     
!   NL        1.00*    HO        1.00*    NY        1.04     OV        1.87     
!   PT        1.00*    SC        1.00*    WZ        1.06     
! 
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.00*    BR        1.08     FD        1.00*    HN        1.00*    
!   KP        1.07     LA        1.08     MC        1.00*    MK        1.18     
!   NL        1.00*    HO        1.00*    NY        0.98     OV        1.13     
!   PT        1.13     SC        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.83     FD        0.72     HN        2.76     
!   KP        0.85     LA        0.90     MC        1.23     MK        0.95     
!   NL        0.82     HO        1.00*    NY        1.11     OV        0.86     
!   PT        0.93     SC        1.01     WZ        0.94     
! 
! 
! Fit before self-cal, rms=0.962055Jy  sigma=0.009655
! Fit after  self-cal, rms=0.297382Jy  sigma=0.002253
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.131 mas, bmaj=4.476 mas, bpa=-22.39 degrees
! Estimated noise=1008.14 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.00816354 Jy
! Component: 100  -  total flux cleaned = 0.00599711 Jy
! Total flux subtracted in 100 components = 0.00599711 Jy
! Clean residual min=-0.029368 max=0.033092 Jy/beam
! Clean residual mean=-0.000089 rms=0.007339 Jy/beam
! Combined flux in latest and established models = 4.27839 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 64 components and 4.27839 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.291674Jy  sigma=0.002191
! Fit after  self-cal, rms=0.291514Jy  sigma=0.002184
! 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.00209234 Jy
! Component: 100  -  total flux cleaned = 0.00131717 Jy
! Total flux subtracted in 100 components = 0.00131717 Jy
! Clean residual min=-0.029011 max=0.030877 Jy/beam
! Clean residual mean=-0.000089 rms=0.007188 Jy/beam
! Combined flux in latest and established models = 4.27971 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 66 components and 4.27971 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.288584Jy  sigma=0.002153
! Fit after  self-cal, rms=0.278505Jy  sigma=0.001990
! Inverting map and beam 
! Estimated beam: bmin=3.154 mas, bmaj=4.53 mas, bpa=-20.23 degrees
! Estimated noise=1007.12 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 (3.2, -3.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0127682 Jy
! Component: 100  -  total flux cleaned = 0.0108627 Jy
! Total flux subtracted in 100 components = 0.0108627 Jy
! Clean residual min=-0.029585 max=0.029049 Jy/beam
! Clean residual mean=-0.000056 rms=0.006284 Jy/beam
! Combined flux in latest and established models = 4.29057 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 71 components and 4.29057 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273021Jy  sigma=0.001942
! Fit after  self-cal, rms=0.272315Jy  sigma=0.001937
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1611+343_S
! Writing UV FITS file: 1611+343_S.uvf
! Writing 71 model components to file: 1611+343_S.mod
! wwins: Wrote 3 windows to 1611+343_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.154 x 4.53 at -20.23 degrees (North through East)
! Clean map  min=-0.027702  max=2.8698 Jy/beam
! Writing clean map to FITS file: 1611+343_S.fits
! Writing difmap environment to: 1611+343_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1611+343_S]
device 1611+343_Suv.ps/vps,1,2
! Attempting to open device: '1611+343_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1611+343_Sim.ps/vps
! Attempting to open device: '1611+343_Sim.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=3.154 mas, bmaj=4.53 mas, bpa=-20.23 degrees
! Estimated noise=1007.12 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.154 x 4.53 at -20.23 degrees (North through East)
! Clean map  min=-0.027702  max=2.8698 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4]
quit
! Quitting program
! Log file 1611+343_S.log closed on Tue Sep 12 11:07:49 2006