! Started logfile: 1104-445_S.log on Sat Mar 31 12:13:17 2007
observe 1104-445_S.edt
! Reading UV FITS file: 1104-445_S.edt
! AN table 1: 5 integrations on 105 of 105 possible baselines.
! AN table 2: 67 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.0271164 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1104-445
! 
! 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 1268 lines of history.
! 
! Reading 820 visibilities.
![@gonzo7-0.4_south 1104-445_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 = 0.7
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 48 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 48 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=1.062517Jy  sigma=0.010251
! Fit after  self-cal, rms=1.062516Jy  sigma=0.010251
! 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.743 mas, bmaj=16.61 mas, bpa=-20.02 degrees
! Estimated noise=3514.59 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 = 1.00465 Jy
! Total flux subtracted in 50 components = 1.00465 Jy
! Clean residual min=-0.187328 max=0.389438 Jy/beam
! Clean residual mean=-0.005080 rms=0.080857 Jy/beam
! Combined flux in latest and established models = 1.00465 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 1.00465 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.051472Jy  sigma=0.010093
! Fit after  self-cal, rms=1.051158Jy  sigma=0.010089
! 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.372 mas, bmaj=20.08 mas, bpa=-18.06 degrees
! Estimated noise=2839.35 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.655101 Jy
! Component: 100  -  total flux cleaned = 0.908761 Jy
! Total flux subtracted in 100 components = 0.908761 Jy
! Clean residual min=-0.151482 max=0.221068 Jy/beam
! Clean residual mean=-0.001516 rms=0.066760 Jy/beam
! Combined flux in latest and established models = 1.91341 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 36 components and 1.91341 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.577711Jy  sigma=0.005727
! Fit after  self-cal, rms=0.577492Jy  sigma=0.005724
! 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 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.76     HN        1.00*    KB        1.00*    
!   KP        0.71     LA        0.94     MK        1.01     NL        1.00*    
!   NY        1.00*    OV        2.10     PT        0.95     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.84     HN        1.00*    KB        1.00*    
!   KP        0.64     LA        0.95     MK        1.15     NL        1.00*    
!   NY        1.00*    OV        1.49     PT        0.98     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.77     HN        1.00*    KB        1.00*    
!   KP        0.93     LA        0.99     MK        1.05     NL        1.00*    
!   NY        1.00*    OV        2.06     PT        1.01     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.84     HN        1.00*    KB        1.00*    
!   KP        0.84     LA        0.97     MK        1.12     NL        1.00*    
!   NY        1.00*    OV        1.42     PT        0.97     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.76     HN        1.00*    KB        1.00*    
!   KP        0.85     LA        0.94     MK        1.10     NL        1.00*    
!   NY        1.00*    OV        2.07     PT        0.96     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.84     HN        1.00*    KB        1.00*    
!   KP        0.75     LA        0.95     MK        0.97     NL        1.00*    
!   NY        1.00*    OV        1.48     PT        0.99     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.77     HN        1.00*    KB        1.00*    
!   KP        0.89     LA        0.90     MK        1.07     NL        1.00*    
!   NY        1.00*    OV        2.01     PT        0.92     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.85     HN        1.00*    KB        1.00*    
!   KP        0.81     LA        0.96     MK        0.95     NL        1.00*    
!   NY        1.00*    OV        1.46     PT        1.00     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Fit before self-cal, rms=0.577492Jy  sigma=0.005724
! Fit after  self-cal, rms=0.129408Jy  sigma=0.001185
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.454 mas, bmaj=21.22 mas, bpa=-17.25 degrees
! Estimated noise=2734.53 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.000668483 Jy
! Component: 100  -  total flux cleaned = -0.00121676 Jy
! Total flux subtracted in 100 components = -0.00121676 Jy
! Clean residual min=-0.019329 max=0.028716 Jy/beam
! Clean residual mean=0.000115 rms=0.005449 Jy/beam
! Combined flux in latest and established models = 1.9122 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 42 components and 1.9122 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128542Jy  sigma=0.001180
! Fit after  self-cal, rms=0.129064Jy  sigma=0.001174
! 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)
! Added new window around map position (9.6, -1.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0149595 Jy
! Component: 100  -  total flux cleaned = 0.0128481 Jy
! Total flux subtracted in 100 components = 0.0128481 Jy
! Clean residual min=-0.015794 max=0.018771 Jy/beam
! Clean residual mean=0.000166 rms=0.004592 Jy/beam
! Combined flux in latest and established models = 1.92504 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 48 components and 1.92504 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123840Jy  sigma=0.001126
! Fit after  self-cal, rms=0.119480Jy  sigma=0.001098
! Inverting map and beam 
! Estimated beam: bmin=3.429 mas, bmaj=21.1 mas, bpa=-17.28 degrees
! Estimated noise=2712.18 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.00928312 Jy
! Component: 100  -  total flux cleaned = 0.00733336 Jy
! Total flux subtracted in 100 components = 0.00733336 Jy
! Clean residual min=-0.013205 max=0.015258 Jy/beam
! Clean residual mean=0.000139 rms=0.003914 Jy/beam
! Combined flux in latest and established models = 1.93238 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 50 components and 1.93238 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.116824Jy  sigma=0.001073
! Fit after  self-cal, rms=0.116520Jy  sigma=0.001069
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1104-445_S
! Writing UV FITS file: 1104-445_S.uvf
! Writing 50 model components to file: 1104-445_S.mod
! wwins: Wrote 2 windows to 1104-445_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.429 x 21.1 at -17.28 degrees (North through East)
! Clean map  min=-0.013685  max=1.3419 Jy/beam
! Writing clean map to FITS file: 1104-445_S.fits
! Writing difmap environment to: 1104-445_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1104-445_S]
device 1104-445_Suv.ps/vps,1,2
! Attempting to open device: '1104-445_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1104-445_Sim.ps/vps
! Attempting to open device: '1104-445_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.429 mas, bmaj=21.1 mas, bpa=-17.28 degrees
! Estimated noise=2712.18 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.429 x 21.1 at -17.28 degrees (North through East)
! Clean map  min=-0.013685  max=1.3419 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4_south]
quit
! Quitting program
! Log file 1104-445_S.log closed on Sat Mar 31 12:13:29 2007