! Started logfile: 1611+343_S.log on Wed Oct 20 03:06:26 2004
observe 1611+343_S.edt
! Reading UV FITS file: 1611+343_S.edt
! AN table 1: 45 integrations on 153 of 153 possible baselines.
! AN table 2: 74 integrations on 153 of 153 possible baselines.
! AN table 3: 15 integrations on 153 of 153 possible baselines.
! AN table 4: 9 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0520591 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 (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          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 1075 lines of history.
! 
! Reading 4556 visibilities.
![@gonzo8-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 = 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.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 768 telescope corrections were flagged in sub-array 1.
!  A total of 1270 telescope corrections were flagged in sub-array 2.
!  A total of 240 telescope corrections were flagged in sub-array 3.
!  A total of 123 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 768 telescope corrections were flagged in sub-array 1.
!  A total of 1270 telescope corrections were flagged in sub-array 2.
!  A total of 240 telescope corrections were flagged in sub-array 3.
!  A total of 123 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 768 telescope corrections were flagged in sub-array 1.
!  A total of 1270 telescope corrections were flagged in sub-array 2.
!  A total of 240 telescope corrections were flagged in sub-array 3.
!  A total of 125 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 768 telescope corrections were flagged in sub-array 1.
!  A total of 1279 telescope corrections were flagged in sub-array 2.
!  A total of 240 telescope corrections were flagged in sub-array 3.
!  A total of 123 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=2.747461Jy  sigma=19.041415
! Fit after  self-cal, rms=2.760327Jy  sigma=19.114615
! 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=3.341 mas, bmaj=4.732 mas, bpa=-9.64 degrees
! Estimated noise=3.27319 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.4549 Jy
! Total flux subtracted in 50 components = 2.4549 Jy
! Clean residual min=-0.247801 max=0.887008 Jy/beam
! Clean residual mean=-0.001775 rms=0.084382 Jy/beam
! Combined flux in latest and established models = 2.4549 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 13 components and 2.4549 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.607613Jy  sigma=11.122329
! Fit after  self-cal, rms=1.607183Jy  sigma=11.119169
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.921051 Jy
! Total flux subtracted in 50 components = 0.921051 Jy
! Clean residual min=-0.148996 max=0.422864 Jy/beam
! Clean residual mean=-0.001085 rms=0.050416 Jy/beam
! Combined flux in latest and established models = 3.37595 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 25 components and 3.37595 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.021154Jy  sigma=7.062957
! Fit after  self-cal, rms=1.020012Jy  sigma=7.055078
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.486283 Jy
! Total flux subtracted in 50 components = 0.486283 Jy
! Clean residual min=-0.113563 max=0.239690 Jy/beam
! Clean residual mean=-0.000722 rms=0.035778 Jy/beam
! Combined flux in latest and established models = 3.86223 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 32 components and 3.86223 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.784785Jy  sigma=5.430326
! Fit after  self-cal, rms=0.784223Jy  sigma=5.426438
! 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=4.211 mas, bmaj=5.657 mas, bpa=-2.659 degrees
! Estimated noise=2.49294 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.348227 Jy
! Component: 100  -  total flux cleaned = 0.530117 Jy
! Total flux subtracted in 100 components = 0.530117 Jy
! Clean residual min=-0.092802 max=0.104188 Jy/beam
! Clean residual mean=-0.001008 rms=0.027600 Jy/beam
! Combined flux in latest and established models = 4.39235 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 53 components and 4.39235 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.634463Jy  sigma=4.395552
! Fit after  self-cal, rms=0.634114Jy  sigma=4.393062
! 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 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.10     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.94     NL        0.96     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        0.90     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        1.08     GC        1.00*    GG        1.00*    
!   HN        1.03     KK        1.00*    KP        0.94     LA        1.08     
!   MC        1.00*    MK        0.92     NL        0.96     ON        1.00*    
!   OV        1.04     PT        1.00     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.92     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.00*    KK        1.00*    KP        1.01     LA        1.19     
!   MC        1.00*    MK        1.07     NL        1.00*    ON        1.00*    
!   OV        0.96     PT        1.01     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.95     FD        1.11     GC        1.00*    GG        1.00*    
!   HN        1.03     KK        1.00*    KP        0.92     LA        1.10     
!   MC        1.00*    MK        1.00*    NL        0.96     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.06     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.12     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.19     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.01     NL        1.00     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        0.93     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.10     FD        1.06     GC        1.00*    GG        1.00*    
!   HN        1.17     KK        1.00*    KP        0.99     LA        1.03     
!   MC        1.00*    MK        0.99     NL        0.99     ON        1.00*    
!   OV        1.01     PT        0.95     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.08     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.00*    KK        1.00*    KP        1.05     LA        1.12     
!   MC        1.00*    MK        1.15     NL        1.00*    ON        1.00*    
!   OV        0.98     PT        0.98     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.12     FD        1.10     GC        1.00*    GG        1.00*    
!   HN        1.16     KK        1.00*    KP        0.99     LA        1.04     
!   MC        1.00*    MK        1.00*    NL        0.99     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.12     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.31     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.19     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.04     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.08     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.83     FD        0.96     GC        1.00*    GG        1.00*    
!   HN        1.14     KK        1.00*    KP        1.00     LA        0.92     
!   MC        1.00*    MK        0.98     NL        1.04     ON        1.00*    
!   OV        1.00     PT        1.01     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.71     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.00*    KK        1.00*    KP        1.05     LA        1.00     
!   MC        1.00*    MK        1.09     NL        1.00*    ON        1.00*    
!   OV        1.01     PT        1.05     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.76     FD        1.01     GC        1.00*    GG        1.00*    
!   HN        1.15     KK        1.00*    KP        1.00     LA        0.93     
!   MC        1.00*    MK        1.00*    NL        1.04     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.28     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.09     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.12     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.99     NL        0.95     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.09     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.87     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.06     KK        1.00*    KP        1.00*    LA        0.79     
!   MC        1.00*    MK        0.95     NL        0.95     ON        1.00*    
!   OV        0.85     PT        0.96     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.00*    GC        1.00*    GG        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.96     LA        0.85     
!   MC        1.00*    MK        1.09     NL        1.00*    ON        1.00*    
!   OV        0.85     PT        0.99     SC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.65     FD        1.03     GC        1.00*    GG        1.00*    
!   HN        1.07     KK        1.00*    KP        0.90     LA        0.80     
!   MC        1.00*    MK        1.00*    NL        0.95     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.29     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.634114Jy  sigma=4.393062
! Fit after  self-cal, rms=0.216236Jy  sigma=1.520347
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.481 mas, bmaj=5.788 mas, bpa=5.376 degrees
! Estimated noise=2.55943 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.00549139 Jy
! Component: 100  -  total flux cleaned = 0.00548643 Jy
! Total flux subtracted in 100 components = 0.00548643 Jy
! Clean residual min=-0.018244 max=0.020655 Jy/beam
! Clean residual mean=-0.000149 rms=0.004618 Jy/beam
! Combined flux in latest and established models = 4.39784 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 61 components and 4.39784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.213301Jy  sigma=1.501248
! Fit after  self-cal, rms=0.213199Jy  sigma=1.499602
! 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.00110551 Jy
! Component: 100  -  total flux cleaned = -0.00107605 Jy
! Total flux subtracted in 100 components = -0.00107605 Jy
! Clean residual min=-0.018126 max=0.019711 Jy/beam
! Clean residual mean=-0.000151 rms=0.004397 Jy/beam
! Combined flux in latest and established models = 4.39676 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 63 components and 4.39676 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.211701Jy  sigma=1.490122
! Fit after  self-cal, rms=0.187684Jy  sigma=1.319796
! Inverting map and beam 
! Estimated beam: bmin=4.496 mas, bmaj=5.761 mas, bpa=5.68 degrees
! Estimated noise=2.55121 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.00928623 Jy
! Component: 100  -  total flux cleaned = -0.010833 Jy
! Total flux subtracted in 100 components = -0.010833 Jy
! Clean residual min=-0.016577 max=0.019374 Jy/beam
! Clean residual mean=-0.000268 rms=0.004309 Jy/beam
! Combined flux in latest and established models = 4.38593 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 65 components and 4.38593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185922Jy  sigma=1.309086
! Fit after  self-cal, rms=0.185857Jy  sigma=1.308318
! 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 65 model components to file: 1611+343_S.mod
! wwins: Wrote 1 windows to 1611+343_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.496 x 5.761 at 5.68 degrees (North through East)
! Clean map  min=-0.016616  max=3.2225 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=4.496 mas, bmaj=5.761 mas, bpa=5.68 degrees
! Estimated noise=2.55121 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.496 x 5.761 at 5.68 degrees (North through East)
! Clean map  min=-0.016616  max=3.2225 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo8-0.4]
quit
! Quitting program
! Log file 1611+343_S.log closed on Wed Oct 20 03:06:47 2004