! Started logfile: J1924-2914_S_2001_07_05_pus_uvs.log on Fri Aug 10 02:34:09 2007
obs J1924-2914_S_2001_07_05_pus_uva.fits
! Reading UV FITS file: J1924-2914_S_2001_07_05_pus_uva.fits
! AN table 1: 75 integrations on 171 of 171 possible baselines.
! AN table 2: 58 integrations on 171 of 171 possible baselines.
! AN table 3: 45 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0637361 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1924-2914
! 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.22997e+09        8e+06          1        8e+06
!  02        2  2.25997e+09        8e+06          1        8e+06
!  03        3  2.34997e+09        8e+06          1        8e+06
!  04        4  2.36997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1774 lines of history.
! 
! Reading 7760 visibilities.
select I
! Polarization I is unavailable.
! 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
print "field_size =",field_size
! field_size = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
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 1042 telescope corrections were flagged in sub-array 1.
!  A total of 872 telescope corrections were flagged in sub-array 2.
!  A total of 807 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1042 telescope corrections were flagged in sub-array 1.
!  A total of 873 telescope corrections were flagged in sub-array 2.
!  A total of 807 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1042 telescope corrections were flagged in sub-array 1.
!  A total of 872 telescope corrections were flagged in sub-array 2.
!  A total of 807 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1042 telescope corrections were flagged in sub-array 1.
!  A total of 872 telescope corrections were flagged in sub-array 2.
!  A total of 807 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=5.697794Jy  sigma=0.041848
! Fit after  self-cal, rms=5.397286Jy  sigma=0.039358
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.298 mas, bmaj=5.586 mas, bpa=0.5083 degrees
! Estimated noise=1708.25 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.46691 Jy
! Component: 100  -  total flux cleaned = 4.90791 Jy
! Total flux subtracted in 100 components = 4.90791 Jy
! Clean residual min=-0.376749 max=0.999306 Jy/beam
! Clean residual mean=0.005820 rms=0.139790 Jy/beam
! Combined flux in latest and established models = 4.90791 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 4.90791 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.799911Jy  sigma=0.020128
! Fit after  self-cal, rms=2.796378Jy  sigma=0.020098
! Inverting map 
! Added new window around map position (4, 4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.06456 Jy
! Component: 100  -  total flux cleaned = 1.78472 Jy
! Total flux subtracted in 100 components = 1.78472 Jy
! Clean residual min=-0.264875 max=0.630218 Jy/beam
! Clean residual mean=0.002773 rms=0.093230 Jy/beam
! Combined flux in latest and established models = 6.69263 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 50 components and 6.69263 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.940066Jy  sigma=0.013605
! Fit after  self-cal, rms=1.913725Jy  sigma=0.013434
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 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
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.908 mas, bmaj=8.297 mas, bpa=0.7576 degrees
! Estimated noise=1146.48 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.939652 Jy
! Component: 100  -  total flux cleaned = 1.46625 Jy
! Component: 150  -  total flux cleaned = 1.77553 Jy
! Component: 200  -  total flux cleaned = 1.9598 Jy
! Total flux subtracted in 200 components = 1.9598 Jy
! Clean residual min=-0.200913 max=0.269398 Jy/beam
! Clean residual mean=-0.004485 rms=0.058816 Jy/beam
! Combined flux in latest and established models = 8.65242 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 76 components and 8.65242 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.377105Jy  sigma=0.009518
! Fit after  self-cal, rms=1.362110Jy  sigma=0.009395
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.20     KK        1.00     KP        0.75     
!   LA        1.00     MC        1.00*    MK        1.00     NL        1.12     
!   NY        1.00*    OV        1.03     PT        0.98     SC        1.00     
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 75 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.02     KP        1.02     
!   LA        1.05     MC        1.00*    MK        0.95     NL        1.00*    
!   NY        1.00*    OV        0.95     PT        0.95     SC        1.00*    
!   TS        1.09     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.19     KK        1.00     KP        0.93     
!   LA        0.98     MC        1.00*    MK        0.95     NL        1.07     
!   NY        1.00*    OV        1.07     PT        1.04     SC        1.01     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 75 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.03     KP        0.98     
!   LA        1.01     MC        1.00*    MK        0.93     NL        1.00*    
!   NY        1.00*    OV        0.98     PT        0.98     SC        1.00*    
!   TS        1.06     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.33     KK        1.03     KP        0.91     
!   LA        1.04     MC        1.00*    MK        0.96     NL        1.13     
!   NY        1.00*    OV        1.10     PT        1.03     SC        1.00     
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 75 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.01     KP        1.07     
!   LA        1.00     MC        1.00*    MK        0.96     NL        1.00*    
!   NY        1.00*    OV        1.00     PT        0.99     SC        1.00*    
!   TS        1.05     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.11     KK        0.98     KP        0.83     
!   LA        1.01     MC        1.00*    MK        0.96     NL        1.09     
!   NY        1.00*    OV        1.06     PT        0.97     SC        1.01     
!   TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  A total of 75 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.02     KP        1.07     
!   LA        0.99     MC        1.00*    MK        0.95     NL        1.00*    
!   NY        1.00*    OV        0.98     PT        1.05     SC        1.00*    
!   TS        1.05     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        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*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=1.362110Jy  sigma=0.009395
! Fit after  self-cal, rms=1.095468Jy  sigma=0.008281
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.872 mas, bmaj=10.1 mas, bpa=-1.327 degrees
! Estimated noise=1209.4 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.111416 Jy
! Component: 100  -  total flux cleaned = 0.130305 Jy
! Component: 150  -  total flux cleaned = 0.134985 Jy
! Component: 200  -  total flux cleaned = 0.13639 Jy
! Total flux subtracted in 200 components = 0.13639 Jy
! Clean residual min=-0.155272 max=0.190544 Jy/beam
! Clean residual mean=0.004616 rms=0.053816 Jy/beam
! Combined flux in latest and established models = 8.78881 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 84 components and 8.78882 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.079001Jy  sigma=0.008248
! Fit after  self-cal, rms=1.076405Jy  sigma=0.008233
! Inverting map 
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.076405Jy  sigma=0.008233
! Fit after  self-cal, rms=0.498842Jy  sigma=0.002738
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.869 mas, bmaj=10.05 mas, bpa=-1.373 degrees
! Estimated noise=1213.52 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0215822 Jy
! Component: 100  -  total flux cleaned = -0.00963063 Jy
! Component: 150  -  total flux cleaned = -0.00804784 Jy
! Component: 200  -  total flux cleaned = -0.00804264 Jy
! Total flux subtracted in 200 components = -0.00804264 Jy
! Clean residual min=-0.082866 max=0.073188 Jy/beam
! Clean residual mean=0.000253 rms=0.014626 Jy/beam
! Combined flux in latest and established models = 8.78077 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 91 components and 8.78077 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.482233Jy  sigma=0.002589
! Fit after  self-cal, rms=0.477516Jy  sigma=0.002543
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00796816 Jy
! Component: 100  -  total flux cleaned = 0.00142599 Jy
! Component: 150  -  total flux cleaned = 0.00276929 Jy
! Component: 200  -  total flux cleaned = 0.00281454 Jy
! Total flux subtracted in 200 components = 0.00281454 Jy
! Clean residual min=-0.073085 max=0.063582 Jy/beam
! Clean residual mean=0.000172 rms=0.013390 Jy/beam
! Combined flux in latest and established models = 8.78359 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 96 components and 8.78359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.466663Jy  sigma=0.002444
! Fit after  self-cal, rms=0.462980Jy  sigma=0.002409
! Inverting map 
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462980Jy  sigma=0.002409
! Fit after  self-cal, rms=0.461758Jy  sigma=0.002399
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.872 mas, bmaj=10.03 mas, bpa=-1.322 degrees
! Estimated noise=1213.24 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0164724 Jy
! Component: 100  -  total flux cleaned = -0.00978468 Jy
! Component: 150  -  total flux cleaned = -0.00556454 Jy
! Component: 200  -  total flux cleaned = -0.00468647 Jy
! Total flux subtracted in 200 components = -0.00468647 Jy
! Clean residual min=-0.067560 max=0.055726 Jy/beam
! Clean residual mean=0.000545 rms=0.012244 Jy/beam
! Combined flux in latest and established models = 8.7789 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 99 components and 8.7789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.453143Jy  sigma=0.002317
! Fit after  self-cal, rms=0.450247Jy  sigma=0.002287
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00582623 Jy
! Component: 100  -  total flux cleaned = -0.00252805 Jy
! Component: 150  -  total flux cleaned = -0.00164114 Jy
! Component: 200  -  total flux cleaned = -0.000879013 Jy
! Total flux subtracted in 200 components = -0.000879013 Jy
! Clean residual min=-0.062709 max=0.050494 Jy/beam
! Clean residual mean=0.000569 rms=0.011465 Jy/beam
! Combined flux in latest and established models = 8.77802 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 103 components and 8.77802 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.443969Jy  sigma=0.002230
! Fit after  self-cal, rms=0.441823Jy  sigma=0.002206
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.441823Jy  sigma=0.002206
! Fit after  self-cal, rms=0.441467Jy  sigma=0.002202
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.6 mas, bmaj=19.55 mas, bpa=2.964 degrees
! Estimated noise=1574.95 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00333325 Jy
! Component: 100  -  total flux cleaned = -0.0034508 Jy
! Component: 150  -  total flux cleaned = -0.00216686 Jy
! Component: 200  -  total flux cleaned = -0.000754503 Jy
! Total flux subtracted in 200 components = -0.000754503 Jy
! Clean residual min=-0.022045 max=0.028121 Jy/beam
! Clean residual mean=0.001356 rms=0.008325 Jy/beam
! Combined flux in latest and established models = 8.77727 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 106 components and 8.77727 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.438041Jy  sigma=0.002161
! Fit after  self-cal, rms=0.436172Jy  sigma=0.002142
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00398083 Jy
! Component: 100  -  total flux cleaned = -0.00320641 Jy
! Component: 150  -  total flux cleaned = -0.00204578 Jy
! Component: 200  -  total flux cleaned = -0.00158364 Jy
! Total flux subtracted in 200 components = -0.00158364 Jy
! Clean residual min=-0.021170 max=0.028440 Jy/beam
! Clean residual mean=0.001457 rms=0.008157 Jy/beam
! Combined flux in latest and established models = 8.77568 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 112 components and 8.77569 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.433890Jy  sigma=0.002114
! Fit after  self-cal, rms=0.432568Jy  sigma=0.002101
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Estimated beam: bmin=2.875 mas, bmaj=10.02 mas, bpa=-1.286 degrees
! Estimated noise=1214.02 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.875 x 10.02 at -1.286 degrees (North through East)
! Clean map  min=-0.052854  max=4.4833 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.432568Jy  sigma=0.002101
! Fit after  self-cal, rms=0.508026Jy  sigma=0.001806
! Inverting map and beam 
! Estimated beam: bmin=2.879 mas, bmaj=10.01 mas, bpa=-1.257 degrees
! Estimated noise=1216.15 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00091079 Jy
! Component: 100  -  total flux cleaned = 0.00285143 Jy
! Component: 150  -  total flux cleaned = 0.0027737 Jy
! Component: 200  -  total flux cleaned = 0.00339542 Jy
! Total flux subtracted in 200 components = 0.00339542 Jy
! Clean residual min=-0.051187 max=0.042025 Jy/beam
! Clean residual mean=0.000806 rms=0.009723 Jy/beam
! Combined flux in latest and established models = 8.77908 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 118 components and 8.77908 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.504588Jy  sigma=0.001765
! Fit after  self-cal, rms=0.503576Jy  sigma=0.001750
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00268241 Jy
! Component: 100  -  total flux cleaned = -0.0035035 Jy
! Component: 150  -  total flux cleaned = -0.00286576 Jy
! Component: 200  -  total flux cleaned = -0.00225112 Jy
! Total flux subtracted in 200 components = -0.00225112 Jy
! Clean residual min=-0.048752 max=0.041156 Jy/beam
! Clean residual mean=0.000871 rms=0.009305 Jy/beam
! Combined flux in latest and established models = 8.77683 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 120 components and 8.77683 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.500857Jy  sigma=0.001719
! Fit after  self-cal, rms=0.500058Jy  sigma=0.001707
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.500058Jy  sigma=0.001707
! Fit after  self-cal, rms=0.500221Jy  sigma=0.001705
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative models.
uvw 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.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.305 mas, bmaj=7.79 mas, bpa=-2.483 degrees
! Estimated noise=1766.49 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.69258 Jy
! Component: 100  -  total flux cleaned = 5.29377 Jy
! Component: 150  -  total flux cleaned = 6.29281 Jy
! Component: 200  -  total flux cleaned = 6.96357 Jy
! Total flux subtracted in 200 components = 6.96357 Jy
! Clean residual min=-0.158113 max=0.374510 Jy/beam
! Clean residual mean=0.000424 rms=0.059903 Jy/beam
! Combined flux in latest and established models = 6.96357 Jy
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Adding 48 model components to the UV plane model.
! The established model now contains 48 components and 6.96357 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.88 mas, bmaj=10 mas, bpa=-1.246 degrees
! Estimated noise=1216.73 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.765661 Jy
! Component: 100  -  total flux cleaned = 1.19158 Jy
! Component: 150  -  total flux cleaned = 1.43935 Jy
! Component: 200  -  total flux cleaned = 1.58531 Jy
! Total flux subtracted in 200 components = 1.58531 Jy
! Clean residual min=-0.041928 max=0.098775 Jy/beam
! Clean residual mean=0.007352 rms=0.015359 Jy/beam
! Combined flux in latest and established models = 8.54888 Jy
! Adding 56 model components to the UV plane model.
! The established model now contains 91 components and 8.54888 Jy
! Inverting map 
! Added new window around map position (-3.5, -3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0990013 Jy
! Component: 100  -  total flux cleaned = 0.151111 Jy
! Component: 150  -  total flux cleaned = 0.165925 Jy
! Component: 200  -  total flux cleaned = 0.175189 Jy
! Total flux subtracted in 200 components = 0.175189 Jy
! Clean residual min=-0.036153 max=0.055682 Jy/beam
! Clean residual mean=0.002380 rms=0.009007 Jy/beam
! Combined flux in latest and established models = 8.72407 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 112 components and 8.72407 Jy
! Inverting map 
! Added new window around map position (10.5, 8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0400723 Jy
! Component: 100  -  total flux cleaned = 0.0427398 Jy
! Component: 150  -  total flux cleaned = 0.0463548 Jy
! Component: 200  -  total flux cleaned = 0.0496567 Jy
! Total flux subtracted in 200 components = 0.0496567 Jy
! Clean residual min=-0.032312 max=0.029830 Jy/beam
! Clean residual mean=0.000944 rms=0.007067 Jy/beam
! Combined flux in latest and established models = 8.77373 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 134 components and 8.77373 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.604 mas, bmaj=19.56 mas, bpa=3.021 degrees
! Estimated noise=1577.46 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0177775 Jy
! Component: 100  -  total flux cleaned = 0.0206611 Jy
! Component: 150  -  total flux cleaned = 0.0209838 Jy
! Component: 200  -  total flux cleaned = 0.0207113 Jy
! Total flux subtracted in 200 components = 0.0207113 Jy
! Clean residual min=-0.013905 max=0.018193 Jy/beam
! Clean residual mean=0.000747 rms=0.006075 Jy/beam
! Combined flux in latest and established models = 8.79444 Jy
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000249878 Jy
! Component: 100  -  total flux cleaned = -0.000484821 Jy
! Component: 150  -  total flux cleaned = -0.000688298 Jy
! Component: 200  -  total flux cleaned = -0.000877045 Jy
! Total flux subtracted in 200 components = -0.000877045 Jy
! Clean residual min=-0.013913 max=0.018207 Jy/beam
! Clean residual mean=0.000815 rms=0.005963 Jy/beam
! Combined flux in latest and established models = 8.79356 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 166 components and 8.79356 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.88 mas, bmaj=10 mas, bpa=-1.246 degrees
! Estimated noise=1216.73 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00408775 Jy
! Component: 100  -  total flux cleaned = -0.00491689 Jy
! Component: 150  -  total flux cleaned = -0.00416314 Jy
! Component: 200  -  total flux cleaned = -0.0035132 Jy
! Total flux subtracted in 200 components = -0.0035132 Jy
! Clean residual min=-0.027375 max=0.027310 Jy/beam
! Clean residual mean=0.000483 rms=0.006364 Jy/beam
! Combined flux in latest and established models = 8.79005 Jy
selfcal
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 182 components and 8.79005 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.479777Jy  sigma=0.001473
! Fit after  self-cal, rms=0.478121Jy  sigma=0.001444
wmodel J1924-2914_S_2001_07_05_pus_map.mod
! Writing 182 model components to file: J1924-2914_S_2001_07_05_pus_map.mod
wobs J1924-2914_S_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J1924-2914_S_2001_07_05_pus_uvs.fits
wwins J1924-2914_S_2001_07_05_pus_map.win
! wwins: Wrote 4 windows to J1924-2914_S_2001_07_05_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00236647 Jy
! Component: 100  -  total flux cleaned = -0.00326757 Jy
! Component: 150  -  total flux cleaned = -0.00368663 Jy
! Component: 200  -  total flux cleaned = -0.00488475 Jy
! Component: 250  -  total flux cleaned = -0.00526579 Jy
! Component: 300  -  total flux cleaned = -0.00600258 Jy
! Component: 350  -  total flux cleaned = -0.00670614 Jy
! Component: 400  -  total flux cleaned = -0.00568716 Jy
! Component: 450  -  total flux cleaned = -0.00437522 Jy
! Component: 500  -  total flux cleaned = -0.00373771 Jy
! Component: 550  -  total flux cleaned = -0.00342545 Jy
! Component: 600  -  total flux cleaned = -0.00282276 Jy
! Component: 650  -  total flux cleaned = -0.00223095 Jy
! Component: 700  -  total flux cleaned = -0.00136888 Jy
! Component: 750  -  total flux cleaned = -0.000810405 Jy
! Component: 800  -  total flux cleaned = -0.000541165 Jy
! Component: 850  -  total flux cleaned = -0.000268228 Jy
! Component: 900  -  total flux cleaned = 0.000784495 Jy
! Component: 950  -  total flux cleaned = 0.00129939 Jy
! Component: 1000  -  total flux cleaned = 0.00155545 Jy
! Component: 1050  -  total flux cleaned = 0.00230268 Jy
! Component: 1100  -  total flux cleaned = 0.00303158 Jy
! Component: 1150  -  total flux cleaned = 0.00350668 Jy
! Component: 1200  -  total flux cleaned = 0.00374195 Jy
! Component: 1250  -  total flux cleaned = 0.00420124 Jy
! Component: 1300  -  total flux cleaned = 0.00442943 Jy
! Component: 1350  -  total flux cleaned = 0.00531675 Jy
! Component: 1400  -  total flux cleaned = 0.00575242 Jy
! Component: 1450  -  total flux cleaned = 0.00639614 Jy
! Component: 1500  -  total flux cleaned = 0.00681928 Jy
! Component: 1550  -  total flux cleaned = 0.0074446 Jy
! Component: 1600  -  total flux cleaned = 0.00805967 Jy
! Component: 1650  -  total flux cleaned = 0.00846396 Jy
! Component: 1700  -  total flux cleaned = 0.00906189 Jy
! Component: 1750  -  total flux cleaned = 0.00945592 Jy
! Component: 1800  -  total flux cleaned = 0.00984344 Jy
! Component: 1850  -  total flux cleaned = 0.0102273 Jy
! Component: 1900  -  total flux cleaned = 0.0106057 Jy
! Component: 1950  -  total flux cleaned = 0.0107943 Jy
! Component: 2000  -  total flux cleaned = 0.0115328 Jy
! Total flux subtracted in 2048 components = 0.0117147 Jy
! Clean residual min=-0.009850 max=0.009822 Jy/beam
! Clean residual mean=0.000286 rms=0.003585 Jy/beam
! Combined flux in latest and established models = 8.80177 Jy
keep
! Adding 125 model components to the UV plane model.
! The established model now contains 307 components and 8.80176 Jy
wmap "J1924-2914_S_2001_07_05_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.88 x 10 at -1.246 degrees (North through East)
! Clean map  min=-0.03953  max=4.5326 Jy/beam
! Writing clean map to FITS file: J1924-2914_S_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 4.53258 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00361211 
device "J1924-2914_S_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_S_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.239077 0.239077 0.478153 0.956307 1.91261 3.82523 7.65045 15.3009 30.6018 61.2036
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0108 
print "peak=",int(1000*peak_flux)/1000
! peak= 4.532 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.88 x 10 at -1.246 degrees (North through East)
! Clean map  min=-0.03953  max=4.5326 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_S_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_S_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_S_2001_07_05_pus_uvs.log closed on Fri Aug 10 02:35:27 2007