! Started logfile: 0135-247_X.log on Thu Jul 14 11:23:54 2005
observe 0135-247_X.edt
! Reading UV FITS file: 0135-247_X.edt
! AN table 1: 46 integrations on 171 of 171 possible baselines.
! AN table 2: 92 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.165734 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0135-247
! 
! 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 1818 lines of history.
! 
! Reading 15644 visibilities.
![@gonzo8-0.1 0135-247_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 687 telescope corrections were flagged in sub-array 1.
!  A total of 1018 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 687 telescope corrections were flagged in sub-array 1.
!  A total of 1027 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 687 telescope corrections were flagged in sub-array 1.
!  A total of 1023 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 687 telescope corrections were flagged in sub-array 1.
!  A total of 1019 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.709483Jy  sigma=0.011725
! Fit after  self-cal, rms=0.702947Jy  sigma=0.011577
! 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.5234 mas, bmaj=2.088 mas, bpa=-7.439 degrees
! Estimated noise=795.36 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.189103 Jy
! Total flux subtracted in 50 components = 0.189103 Jy
! Clean residual min=-0.021228 max=0.064735 Jy/beam
! Clean residual mean=0.000093 rms=0.008204 Jy/beam
! Combined flux in latest and established models = 0.189103 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 6 components and 0.189103 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.219575Jy  sigma=0.003704
! Fit after  self-cal, rms=0.219516Jy  sigma=0.003703
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0770995 Jy
! Total flux subtracted in 50 components = 0.0770995 Jy
! Clean residual min=-0.017990 max=0.052663 Jy/beam
! Clean residual mean=0.000102 rms=0.006306 Jy/beam
! Combined flux in latest and established models = 0.266202 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 19 components and 0.266202 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174839Jy  sigma=0.002928
! Fit after  self-cal, rms=0.174706Jy  sigma=0.002925
! Inverting map 
! Added new window around map position (0.8, 0.3).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0585009 Jy
! Total flux subtracted in 50 components = 0.0585009 Jy
! Clean residual min=-0.014097 max=0.035235 Jy/beam
! Clean residual mean=0.000102 rms=0.004904 Jy/beam
! Combined flux in latest and established models = 0.324703 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 27 components and 0.324703 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.143773Jy  sigma=0.002381
! Fit after  self-cal, rms=0.143563Jy  sigma=0.002378
! 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.6644 mas, bmaj=2.364 mas, bpa=-6.873 degrees
! Estimated noise=387.666 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.0855845 Jy
! Component: 100  -  total flux cleaned = 0.130999 Jy
! Total flux subtracted in 100 components = 0.130999 Jy
! Clean residual min=-0.008307 max=0.027016 Jy/beam
! Clean residual mean=0.000503 rms=0.004403 Jy/beam
! Combined flux in latest and established models = 0.455702 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 50 components and 0.455702 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091702Jy  sigma=0.001432
! Fit after  self-cal, rms=0.091185Jy  sigma=0.001424
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.94     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.98     LA        0.94     
!   MC        1.00*    MK        1.13     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.95     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        1.08     KK        0.98     KP        0.97     LA        0.88     
!   MC        1.00*    MK        1.05     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.93     SC        1.02     
!   TS        1.36     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.93     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.99     LA        0.94     
!   MC        1.00*    MK        1.07     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.95     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.94     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00     KP        0.96     LA        0.86     
!   MC        1.00*    MK        1.01     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.95     SC        1.00     
!   TS        1.29     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.91     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.98     LA        0.94     
!   MC        1.00*    MK        1.04     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.93     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.95     GC        1.00*    HH        1.00*    
!   HN        1.06     KK        0.96     KP        0.95     LA        0.86     
!   MC        1.00*    MK        0.99     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.93     SC        1.00     
!   TS        1.26     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.91     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.96     LA        0.93     
!   MC        1.00*    MK        0.96     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.92     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        0.95     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        0.96     KP        0.95     LA        0.85     
!   MC        1.00*    MK        0.99     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.93     SC        0.96     
!   TS        1.27     WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.091185Jy  sigma=0.001424
! Fit after  self-cal, rms=0.078700Jy  sigma=0.001246
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6928 mas, bmaj=2.38 mas, bpa=-7.124 degrees
! Estimated noise=368.306 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.00420076 Jy
! Component: 100  -  total flux cleaned = 0.00420084 Jy
! Total flux subtracted in 100 components = 0.00420085 Jy
! Clean residual min=-0.005036 max=0.009366 Jy/beam
! Clean residual mean=-0.000004 rms=0.001560 Jy/beam
! Combined flux in latest and established models = 0.459903 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 65 components and 0.459903 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077960Jy  sigma=0.001234
! Fit after  self-cal, rms=0.077879Jy  sigma=0.001232
! 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.000745015 Jy
! Component: 100  -  total flux cleaned = 0.000618684 Jy
! Total flux subtracted in 100 components = 0.000618684 Jy
! Clean residual min=-0.004766 max=0.008923 Jy/beam
! Clean residual mean=-0.000007 rms=0.001507 Jy/beam
! Combined flux in latest and established models = 0.460522 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 74 components and 0.460522 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077613Jy  sigma=0.001227
! Fit after  self-cal, rms=0.075477Jy  sigma=0.001184
! Inverting map and beam 
! Estimated beam: bmin=0.6913 mas, bmaj=2.354 mas, bpa=-7.237 degrees
! Estimated noise=367.195 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.00206035 Jy
! Component: 100  -  total flux cleaned = 0.00196102 Jy
! Total flux subtracted in 100 components = 0.00196102 Jy
! Clean residual min=-0.003984 max=0.008150 Jy/beam
! Clean residual mean=0.000121 rms=0.001360 Jy/beam
! Combined flux in latest and established models = 0.462483 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 77 components and 0.462483 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075284Jy  sigma=0.001181
! Fit after  self-cal, rms=0.075247Jy  sigma=0.001181
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0135-247_X
! Writing UV FITS file: 0135-247_X.uvf
! Writing 77 model components to file: 0135-247_X.mod
! wwins: Wrote 2 windows to 0135-247_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6913 x 2.354 at -7.237 degrees (North through East)
! Clean map  min=-0.0039565  max=0.2788 Jy/beam
! Writing clean map to FITS file: 0135-247_X.fits
! Writing difmap environment to: 0135-247_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0135-247_X]
device 0135-247_Xuv.ps/vps,1,2
! Attempting to open device: '0135-247_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0135-247_Xim.ps/vps
! Attempting to open device: '0135-247_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=0.6913 mas, bmaj=2.354 mas, bpa=-7.237 degrees
! Estimated noise=367.195 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6913 x 2.354 at -7.237 degrees (North through East)
! Clean map  min=-0.0039565  max=0.2788 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo8-0.1]
quit
! Quitting program
! Log file 0135-247_X.log closed on Thu Jul 14 11:24:44 2005