! Started logfile: 1417+273_S.log on Tue Sep 12 11:06:02 2006
observe 1417+273_S.edt
! Reading UV FITS file: 1417+273_S.edt
! AN table 1: 11 integrations on 105 of 105 possible baselines.
! AN table 2: 37 integrations on 105 of 105 possible baselines.
! AN table 3: 49 integrations on 105 of 105 possible baselines.
! AN table 4: 88 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.143681 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1417+273
! 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 11164 visibilities.
![@gonzo7-0.4 1417+273_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 156 telescope corrections were flagged in sub-array 1.
!  A total of 531 telescope corrections were flagged in sub-array 2.
!  A total of 431 telescope corrections were flagged in sub-array 3.
!  A total of 921 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 159 telescope corrections were flagged in sub-array 1.
!  A total of 531 telescope corrections were flagged in sub-array 2.
!  A total of 431 telescope corrections were flagged in sub-array 3.
!  A total of 918 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 156 telescope corrections were flagged in sub-array 1.
!  A total of 531 telescope corrections were flagged in sub-array 2.
!  A total of 431 telescope corrections were flagged in sub-array 3.
!  A total of 918 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 150 telescope corrections were flagged in sub-array 1.
!  A total of 507 telescope corrections were flagged in sub-array 2.
!  A total of 455 telescope corrections were flagged in sub-array 3.
!  A total of 952 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.619214Jy  sigma=0.008478
! Fit after  self-cal, rms=0.612552Jy  sigma=0.008524
! 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=2.544 mas, bmaj=3.937 mas, bpa=-7.534 degrees
! Estimated noise=1059.66 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.282861 Jy
! Total flux subtracted in 50 components = 0.282861 Jy
! Clean residual min=-0.016909 max=0.080201 Jy/beam
! Clean residual mean=-0.000032 rms=0.005492 Jy/beam
! Combined flux in latest and established models = 0.282861 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.282861 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185359Jy  sigma=0.002097
! Fit after  self-cal, rms=0.185358Jy  sigma=0.002097
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0765158 Jy
! Total flux subtracted in 50 components = 0.0765158 Jy
! Clean residual min=-0.011816 max=0.029737 Jy/beam
! Clean residual mean=0.000001 rms=0.003618 Jy/beam
! Combined flux in latest and established models = 0.359377 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 7 components and 0.359377 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146841Jy  sigma=0.001604
! Fit after  self-cal, rms=0.146835Jy  sigma=0.001604
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.029198 Jy
! Total flux subtracted in 50 components = 0.029198 Jy
! Clean residual min=-0.012039 max=0.019281 Jy/beam
! Clean residual mean=0.000013 rms=0.003300 Jy/beam
! Combined flux in latest and established models = 0.388575 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 13 components and 0.388575 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138671Jy  sigma=0.001529
! Fit after  self-cal, rms=0.138663Jy  sigma=0.001529
! 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=3.865 mas, bmaj=5.167 mas, bpa=8.45 degrees
! Estimated noise=535.33 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.0197285 Jy
! Component: 100  -  total flux cleaned = 0.0276922 Jy
! Total flux subtracted in 100 components = 0.0276922 Jy
! Clean residual min=-0.015835 max=0.020381 Jy/beam
! Clean residual mean=0.000155 rms=0.004362 Jy/beam
! Combined flux in latest and established models = 0.416267 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 23 components and 0.416267 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.134605Jy  sigma=0.001522
! Fit after  self-cal, rms=0.134598Jy  sigma=0.001522
! 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 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.03     BR        1.06     FD        1.15     HN        1.08     
!   KP        0.98     LA        1.07     MC        1.00*    MK        1.17     
!   NL        0.97     HO        1.00*    NY        1.00     OV        1.08     
!   PT        1.10     SC        1.12     WZ        1.00*    
! 
!  A total of 63 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.25     
!   KP        1.16     LA        1.00     MC        1.20     MK        1.10     
!   NL        0.97     HO        1.00*    NY        1.00*    OV        0.89     
!   PT        0.97     SC        0.95     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.06     BR        1.08     FD        1.11     HN        1.36     
!   KP        1.01     LA        1.10     MC        1.00*    MK        0.84     
!   NL        0.95     HO        1.00*    NY        0.99     OV        1.07     
!   PT        1.11     SC        1.17     WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.95     FD        0.74     HN        1.07     
!   KP        0.96     LA        0.95     MC        1.21     MK        1.02     
!   NL        0.97     HO        1.00*    NY        1.00*    OV        0.92     
!   PT        1.07     SC        0.95     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.08     BR        1.09     FD        1.12     HN        1.29     
!   KP        1.00     LA        1.08     MC        1.00*    MK        0.85     
!   NL        1.00     HO        1.00*    NY        1.02     OV        1.10     
!   PT        1.10     SC        1.12     WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.88     FD        0.73     HN        0.89     
!   KP        0.86     LA        0.90     MC        1.45     MK        0.93     
!   NL        0.97     HO        1.00*    NY        1.00*    OV        0.92     
!   PT        1.02     SC        0.96     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 15 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   AP        0.00*    BR        0.00*    FD        0.00*    HN        0.00*    
!   KP        0.00*    LA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    HO        0.00*    NY        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WZ        0.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   AP        1.01     BR        1.08     FD        1.16     HN        1.00*    
!   KP        1.00     LA        1.09     MC        1.00*    MK        0.84     
!   NL        0.97     HO        1.00*    NY        1.03     OV        1.07     
!   PT        1.11     SC        1.16     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   AP        1.00*    BR        0.80     FD        0.72     HN        1.00*    
!   KP        0.85     LA        0.95     MC        1.17     MK        0.89     
!   NL        0.94     HO        1.00*    NY        1.00*    OV        0.95     
!   PT        1.02     SC        0.98     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.134598Jy  sigma=0.001522
! Fit after  self-cal, rms=0.101099Jy  sigma=0.001147
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.926 mas, bmaj=5.258 mas, bpa=11.26 degrees
! Estimated noise=536.052 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.000389244 Jy
! Component: 100  -  total flux cleaned = -0.000580079 Jy
! Total flux subtracted in 100 components = -0.000580079 Jy
! Clean residual min=-0.004824 max=0.003426 Jy/beam
! Clean residual mean=0.000034 rms=0.000946 Jy/beam
! Combined flux in latest and established models = 0.415687 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 27 components and 0.415687 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101081Jy  sigma=0.001147
! Fit after  self-cal, rms=0.101086Jy  sigma=0.001147
! 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.000357416 Jy
! Component: 100  -  total flux cleaned = -0.000463589 Jy
! Total flux subtracted in 100 components = -0.000463589 Jy
! Clean residual min=-0.004852 max=0.003340 Jy/beam
! Clean residual mean=0.000033 rms=0.000943 Jy/beam
! Combined flux in latest and established models = 0.415224 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 28 components and 0.415224 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101074Jy  sigma=0.001147
! Fit after  self-cal, rms=0.100202Jy  sigma=0.001129
! Inverting map and beam 
! Estimated beam: bmin=3.925 mas, bmaj=5.26 mas, bpa=11.35 degrees
! Estimated noise=536.486 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 = 4.42076e-05 Jy
! Component: 100  -  total flux cleaned = 0.000181558 Jy
! Total flux subtracted in 100 components = 0.000181558 Jy
! Clean residual min=-0.004129 max=0.003635 Jy/beam
! Clean residual mean=0.000013 rms=0.000863 Jy/beam
! Combined flux in latest and established models = 0.415405 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 30 components and 0.415405 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100187Jy  sigma=0.001129
! Fit after  self-cal, rms=0.100186Jy  sigma=0.001129
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1417+273_S
! Writing UV FITS file: 1417+273_S.uvf
! Writing 30 model components to file: 1417+273_S.mod
! wwins: Wrote 1 windows to 1417+273_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.925 x 5.26 at 11.35 degrees (North through East)
! Clean map  min=-0.0040801  max=0.38579 Jy/beam
! Writing clean map to FITS file: 1417+273_S.fits
! Writing difmap environment to: 1417+273_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1417+273_S]
device 1417+273_Suv.ps/vps,1,2
! Attempting to open device: '1417+273_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1417+273_Sim.ps/vps
! Attempting to open device: '1417+273_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.925 mas, bmaj=5.26 mas, bpa=11.35 degrees
! Estimated noise=536.486 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.925 x 5.26 at 11.35 degrees (North through East)
! Clean map  min=-0.0040801  max=0.38579 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4]
quit
! Quitting program
! Log file 1417+273_S.log closed on Tue Sep 12 11:06:22 2006