! Started logfile: 1622-253_X.log on Wed Jul 27 09:28:29 2005
observe 1622-253_X.edt
! Reading UV FITS file: 1622-253_X.edt
! AN table 1: 16 integrations on 171 of 171 possible baselines.
! AN table 2: 21 integrations on 171 of 171 possible baselines.
! AN table 3: 5 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.112782 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1622-253
! 
! 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 3240 visibilities.
![@gonzo7-0.4 1622-253_X]
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 236 telescope corrections were flagged in sub-array 1.
!  A total of 283 telescope corrections were flagged in sub-array 2.
!  A total of 95 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 236 telescope corrections were flagged in sub-array 1.
!  A total of 283 telescope corrections were flagged in sub-array 2.
!  A total of 95 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 236 telescope corrections were flagged in sub-array 1.
!  A total of 282 telescope corrections were flagged in sub-array 2.
!  A total of 95 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 236 telescope corrections were flagged in sub-array 1.
!  A total of 283 telescope corrections were flagged in sub-array 2.
!  A total of 95 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.613302Jy  sigma=0.010128
! Fit after  self-cal, rms=0.613260Jy  sigma=0.010128
! 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 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! Estimated beam: bmin=0.9936 mas, bmaj=2.33 mas, bpa=2.718 degrees
! Estimated noise=1388.67 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.22273 Jy
! Total flux subtracted in 50 components = 1.22273 Jy
! Clean residual min=-0.061242 max=0.341007 Jy/beam
! Clean residual mean=0.000077 rms=0.019074 Jy/beam
! Combined flux in latest and established models = 1.22273 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1.22273 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.405751Jy  sigma=0.006797
! Fit after  self-cal, rms=0.405751Jy  sigma=0.006797
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.278768 Jy
! Total flux subtracted in 50 components = 0.278768 Jy
! Clean residual min=-0.027072 max=0.097294 Jy/beam
! Clean residual mean=0.000038 rms=0.007916 Jy/beam
! Combined flux in latest and established models = 1.5015 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 1.5015 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191889Jy  sigma=0.003135
! Fit after  self-cal, rms=0.191882Jy  sigma=0.003135
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0957936 Jy
! Total flux subtracted in 50 components = 0.0957936 Jy
! Clean residual min=-0.022150 max=0.039242 Jy/beam
! Clean residual mean=0.000024 rms=0.005206 Jy/beam
! Combined flux in latest and established models = 1.59729 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 9 components and 1.59729 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146301Jy  sigma=0.002226
! Fit after  self-cal, rms=0.146245Jy  sigma=0.002225
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0448974 Jy
! Total flux subtracted in 50 components = 0.0448974 Jy
! Clean residual min=-0.019804 max=0.028738 Jy/beam
! Clean residual mean=0.000017 rms=0.004368 Jy/beam
! Combined flux in latest and established models = 1.64219 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 15 components and 1.64219 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.133437Jy  sigma=0.001917
! Fit after  self-cal, rms=0.133352Jy  sigma=0.001917
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
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 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! Estimated beam: bmin=1.316 mas, bmaj=3.094 mas, bpa=-2.426 degrees
! Estimated noise=996.875 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.0438674 Jy
! Component: 100  -  total flux cleaned = 0.0660971 Jy
! Total flux subtracted in 100 components = 0.0660971 Jy
! Clean residual min=-0.017834 max=0.022489 Jy/beam
! Clean residual mean=0.000016 rms=0.004282 Jy/beam
! Combined flux in latest and established models = 1.70829 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 25 components and 1.70829 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123143Jy  sigma=0.001672
! Fit after  self-cal, rms=0.123092Jy  sigma=0.001671
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
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.01     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.98     KK        1.00*    KP        0.99     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        0.93     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.98     SC        0.99     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.98     GC        1.00*    HH        1.00*    
!   HN        1.04     KK        1.00*    KP        1.01     LA        1.02     
!   MC        1.00*    MK        1.02     NL        1.10     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.97     SC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.95     GC        1.00*    HH        1.00*    
!   HN        0.97     KK        1.00*    KP        0.99     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        0.94     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.98     SC        1.03     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        1.00     LA        1.03     
!   MC        1.00*    MK        1.03     NL        1.07     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.97     SC        1.02     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.98     KK        1.00*    KP        0.99     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        0.94     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.98     SC        1.00     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.04     KK        1.00*    KP        0.99     LA        1.00     
!   MC        1.00*    MK        1.05     NL        1.05     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.99     SC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.97     KK        1.00*    KP        1.01     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        0.93     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.99     SC        1.06     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.05     KK        1.00*    KP        1.00     LA        1.03     
!   MC        1.00*    MK        1.04     NL        1.07     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.99     SC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.123092Jy  sigma=0.001671
! Fit after  self-cal, rms=0.100476Jy  sigma=0.001298
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! Estimated beam: bmin=1.321 mas, bmaj=3.122 mas, bpa=-2.382 degrees
! Estimated noise=994.452 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 (-2.4, 0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00316038 Jy
! Component: 100  -  total flux cleaned = 0.00218967 Jy
! Total flux subtracted in 100 components = 0.00218967 Jy
! Clean residual min=-0.007010 max=0.008124 Jy/beam
! Clean residual mean=0.000004 rms=0.001708 Jy/beam
! Combined flux in latest and established models = 1.71048 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 32 components and 1.71048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098647Jy  sigma=0.001273
! Fit after  self-cal, rms=0.098544Jy  sigma=0.001272
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
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.000117509 Jy
! Component: 100  -  total flux cleaned = -0.000791871 Jy
! Total flux subtracted in 100 components = -0.000791871 Jy
! Clean residual min=-0.007004 max=0.007584 Jy/beam
! Clean residual mean=0.000004 rms=0.001640 Jy/beam
! Combined flux in latest and established models = 1.70968 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 33 components and 1.70968 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.097862Jy  sigma=0.001263
! Fit after  self-cal, rms=0.094984Jy  sigma=0.001216
! Inverting map and beam 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! Estimated beam: bmin=1.322 mas, bmaj=3.143 mas, bpa=-2.51 degrees
! Estimated noise=995.767 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.00105794 Jy
! Component: 100  -  total flux cleaned = -0.000619955 Jy
! Total flux subtracted in 100 components = -0.000619955 Jy
! Clean residual min=-0.006098 max=0.005967 Jy/beam
! Clean residual mean=0.000005 rms=0.001413 Jy/beam
! Combined flux in latest and established models = 1.70906 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 39 components and 1.70906 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.094164Jy  sigma=0.001207
! Fit after  self-cal, rms=0.094058Jy  sigma=0.001206
! Inverting map 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1622-253_X
! Writing UV FITS file: 1622-253_X.uvf
! Writing 39 model components to file: 1622-253_X.mod
! wwins: Wrote 2 windows to 1622-253_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.322 x 3.143 at -2.51 degrees (North through East)
! Clean map  min=-0.010442  max=1.5837 Jy/beam
! Writing clean map to FITS file: 1622-253_X.fits
! Writing difmap environment to: 1622-253_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1622-253_X]
device 1622-253_Xuv.ps/vps,1,2
! Attempting to open device: '1622-253_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1622-253_Xim.ps/vps
! Attempting to open device: '1622-253_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 
! Your choice of large map pixels excluded 4.42% of the data.
!  The x-axis pixel size should ideally be below 0.2191 milli-arcsec
! Estimated beam: bmin=1.322 mas, bmaj=3.143 mas, bpa=-2.51 degrees
! Estimated noise=995.767 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.322 x 3.143 at -2.51 degrees (North through East)
! Clean map  min=-0.010442  max=1.5837 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4]
quit
! Quitting program
! Log file 1622-253_X.log closed on Wed Jul 27 09:28:46 2005