! Started logfile: J0006-0623_S_2001_10_29_pus_uvs.log on Wed Feb 27 15:07:53 2008
obs J0006-0623_S_2001_10_29_pus_uva.fits
! Reading UV FITS file: J0006-0623_S_2001_10_29_pus_uva.fits
! AN table 1: 35 integrations on 153 of 153 possible baselines.
! AN table 2: 62 integrations on 153 of 153 possible baselines.
! AN table 3: 78 integrations on 153 of 153 possible baselines.
! AN table 4: 178 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0770427 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0006-0623
! 
! 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 2604 lines of history.
! 
! Reading 16644 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 
![@muppet J0006-0623_S_2001_10_29_pus]
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 503 telescope corrections were flagged in sub-array 1.
!  A total of 818 telescope corrections were flagged in sub-array 2.
!  A total of 1084 telescope corrections were flagged in sub-array 3.
!  A total of 2410 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 503 telescope corrections were flagged in sub-array 1.
!  A total of 818 telescope corrections were flagged in sub-array 2.
!  A total of 1084 telescope corrections were flagged in sub-array 3.
!  A total of 2410 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 503 telescope corrections were flagged in sub-array 1.
!  A total of 818 telescope corrections were flagged in sub-array 2.
!  A total of 1084 telescope corrections were flagged in sub-array 3.
!  A total of 2410 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 600 telescope corrections were flagged in sub-array 1.
!  A total of 818 telescope corrections were flagged in sub-array 2.
!  A total of 1084 telescope corrections were flagged in sub-array 3.
!  A total of 2914 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=1.046765Jy  sigma=0.008282
! Fit after  self-cal, rms=0.676011Jy  sigma=0.004984
! 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=1.663 mas, bmaj=3.66 mas, bpa=5.159 degrees
! Estimated noise=1572.92 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 = 0.681322 Jy
! Component: 100  -  total flux cleaned = 0.932603 Jy
! Total flux subtracted in 100 components = 0.932603 Jy
! Clean residual min=-0.065103 max=0.236932 Jy/beam
! Clean residual mean=0.002615 rms=0.022209 Jy/beam
! Combined flux in latest and established models = 0.932603 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.932603 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.647124Jy  sigma=0.004992
! Fit after  self-cal, rms=0.645431Jy  sigma=0.004984
! Inverting map 
! Added new window around map position (-5.5, 1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.22741 Jy
! Component: 100  -  total flux cleaned = 0.364452 Jy
! Total flux subtracted in 100 components = 0.364452 Jy
! Clean residual min=-0.052442 max=0.082610 Jy/beam
! Clean residual mean=0.001823 rms=0.015367 Jy/beam
! Combined flux in latest and established models = 1.29705 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 29 components and 1.29705 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.505269Jy  sigma=0.003715
! Fit after  self-cal, rms=0.493800Jy  sigma=0.003626
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.12298 Jy
! Component: 100  -  total flux cleaned = 0.213436 Jy
! Total flux subtracted in 100 components = 0.213436 Jy
! Clean residual min=-0.040724 max=0.062510 Jy/beam
! Clean residual mean=0.001330 rms=0.011445 Jy/beam
! Combined flux in latest and established models = 1.51049 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 42 components and 1.51049 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.435764Jy  sigma=0.002994
! Fit after  self-cal, rms=0.433255Jy  sigma=0.002975
! 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.27 mas, bmaj=3.977 mas, bpa=6.034 degrees
! Estimated noise=817.758 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 (-2, 0.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.1481 Jy
! Component: 100  -  total flux cleaned = 0.23308 Jy
! Component: 150  -  total flux cleaned = 0.283744 Jy
! Component: 200  -  total flux cleaned = 0.314194 Jy
! Total flux subtracted in 200 components = 0.314194 Jy
! Clean residual min=-0.040891 max=0.047811 Jy/beam
! Clean residual mean=0.002557 rms=0.013283 Jy/beam
! Combined flux in latest and established models = 1.82468 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 67 components and 1.82468 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.400548Jy  sigma=0.002396
! Fit after  self-cal, rms=0.398880Jy  sigma=0.002382
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.74     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.95     MC        0.92     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.44     
!   WF        1.00*    WZ        9.97     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.92     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.00     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.03     NL        1.00     
!   OV        0.97     PT        0.97     SC        1.00*    TS        0.93     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.92     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        0.87     LA        0.86     
!   MA        1.00*    MC        1.00*    MK        1.07     NL        0.91     
!   OV        0.94     PT        0.85     SC        0.90     TS        1.00*    
!   WF        0.92     WZ        1.00*    
! 
!  A total of 105 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.95     
!   HN        1.00     KK        1.00*    KP        1.04     LA        1.01     
!   MA        2.07     MC        0.95     MK        1.00*    NL        0.98     
!   OV        1.05     PT        1.00     SC        1.03     TS        1.00*    
!   WF        0.93     WZ        1.09     
! 
! 
! Correcting IF 2.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.75     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        1.32     MC        0.84     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.91     
!   WF        1.00*    WZ       13.23     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.01     KP        0.91     LA        0.93     
!   MA        1.00*    MC        1.00*    MK        1.03     NL        0.99     
!   OV        1.01     PT        0.95     SC        1.00*    TS        0.96     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.93     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.06     KK        1.00*    KP        0.85     LA        0.88     
!   MA        1.00*    MC        1.00*    MK        1.05     NL        0.97     
!   OV        0.93     PT        0.89     SC        0.92     TS        1.00*    
!   WF        0.98     WZ        1.00*    
! 
!  A total of 105 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.91     
!   HN        1.01     KK        1.00*    KP        1.10     LA        0.98     
!   MA        2.30     MC        0.93     MK        1.00*    NL        0.99     
!   OV        1.12     PT        0.99     SC        1.01     TS        1.00*    
!   WF        0.99     WZ        1.06     
! 
! 
! Correcting IF 3.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.84     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        1.09     MC        0.95     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.91     
!   WF        1.00*    WZ       14.12     
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.06     KP        0.71     LA        0.93     
!   MA        1.00*    MC        1.00*    MK        0.97     NL        1.00     
!   OV        1.02     PT        0.98     SC        1.00*    TS        0.98     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.06     KK        1.00*    KP        0.88     LA        0.99     
!   MA        1.00*    MC        1.00*    MK        1.01     NL        1.01     
!   OV        0.98     PT        0.87     SC        0.94     TS        1.00*    
!   WF        0.72     WZ        1.00*    
! 
!  A total of 105 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.00     
!   HN        1.00     KK        1.00*    KP        1.05     LA        0.99     
!   MA        1.01     MC        0.96     MK        1.00*    NL        0.97     
!   OV        1.08     PT        1.01     SC        1.01     TS        1.00*    
!   WF        1.03     WZ        1.08     
! 
! 
! Correcting IF 4.
!  A total of 30 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.98     KP        1.00     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.01     NL        1.02     
!   OV        0.98     PT        0.97     SC        1.00*    TS        0.94     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        0.95     LA        0.89     
!   MA        1.00*    MC        1.00*    MK        1.03     NL        0.99     
!   OV        0.96     PT        0.86     SC        0.95     TS        1.00*    
!   WF        1.00     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.02     
!   HN        1.01     KK        1.00*    KP        1.04     LA        1.01     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.02     
!   OV        1.06     PT        0.96     SC        1.02     TS        1.00*    
!   WF        0.99     WZ        1.00     
! 
! 
! Fit before self-cal, rms=0.398880Jy  sigma=0.002382
! Fit after  self-cal, rms=0.550022Jy  sigma=0.001653
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.313 mas, bmaj=4.128 mas, bpa=5.33 degrees
! Estimated noise=832.074 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.013032 Jy
! Component: 100  -  total flux cleaned = 0.0124062 Jy
! Component: 150  -  total flux cleaned = 0.0118993 Jy
! Component: 200  -  total flux cleaned = 0.0114892 Jy
! Total flux subtracted in 200 components = 0.0114892 Jy
! Clean residual min=-0.009326 max=0.013565 Jy/beam
! Clean residual mean=0.000939 rms=0.002820 Jy/beam
! Combined flux in latest and established models = 1.83617 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 83 components and 1.83617 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.547959Jy  sigma=0.001625
! Fit after  self-cal, rms=0.557588Jy  sigma=0.001618
! 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=0.557588Jy  sigma=0.001618
! Fit after  self-cal, rms=0.584105Jy  sigma=0.001587
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.321 mas, bmaj=4.12 mas, bpa=5.475 degrees
! Estimated noise=830.629 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00648056 Jy
! Component: 100  -  total flux cleaned = 0.00686161 Jy
! Component: 150  -  total flux cleaned = 0.00683826 Jy
! Component: 200  -  total flux cleaned = 0.00656329 Jy
! Total flux subtracted in 200 components = 0.00656329 Jy
! Clean residual min=-0.007741 max=0.010149 Jy/beam
! Clean residual mean=0.000683 rms=0.002152 Jy/beam
! Combined flux in latest and established models = 1.84274 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 87 components and 1.84274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.583233Jy  sigma=0.001576
! Fit after  self-cal, rms=0.583368Jy  sigma=0.001573
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.00131707 Jy
! Component: 100  -  total flux cleaned = 0.00161367 Jy
! Component: 150  -  total flux cleaned = 0.0018484 Jy
! Component: 200  -  total flux cleaned = 0.00185318 Jy
! Total flux subtracted in 200 components = 0.00185318 Jy
! Clean residual min=-0.007488 max=0.007567 Jy/beam
! Clean residual mean=0.000652 rms=0.001923 Jy/beam
! Combined flux in latest and established models = 1.84459 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 94 components and 1.84459 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.583032Jy  sigma=0.001569
! Fit after  self-cal, rms=0.583149Jy  sigma=0.001568
! 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.583149Jy  sigma=0.001568
! Fit after  self-cal, rms=0.605803Jy  sigma=0.001566
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.326 mas, bmaj=4.12 mas, bpa=5.57 degrees
! Estimated noise=829.652 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00396276 Jy
! Component: 100  -  total flux cleaned = 0.00500546 Jy
! Component: 150  -  total flux cleaned = 0.00541712 Jy
! Component: 200  -  total flux cleaned = 0.0057548 Jy
! Total flux subtracted in 200 components = 0.0057548 Jy
! Clean residual min=-0.006775 max=0.007544 Jy/beam
! Clean residual mean=0.000329 rms=0.001758 Jy/beam
! Combined flux in latest and established models = 1.85035 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 98 components and 1.85035 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.605455Jy  sigma=0.001563
! Fit after  self-cal, rms=0.605557Jy  sigma=0.001562
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.00145291 Jy
! Component: 100  -  total flux cleaned = 0.00164064 Jy
! Component: 150  -  total flux cleaned = 0.00180377 Jy
! Component: 200  -  total flux cleaned = 0.00193661 Jy
! Total flux subtracted in 200 components = 0.00193661 Jy
! Clean residual min=-0.006496 max=0.006207 Jy/beam
! Clean residual mean=0.000298 rms=0.001670 Jy/beam
! Combined flux in latest and established models = 1.85228 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 101 components and 1.85228 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.605390Jy  sigma=0.001560
! Fit after  self-cal, rms=0.605682Jy  sigma=0.001560
! 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.605682Jy  sigma=0.001560
! Fit after  self-cal, rms=0.606496Jy  sigma=0.001559
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.071 mas, bmaj=14.4 mas, bpa=-8.854 degrees
! Estimated noise=1119.06 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00522567 Jy
! Component: 100  -  total flux cleaned = 0.00556936 Jy
! Component: 150  -  total flux cleaned = 0.00568647 Jy
! Component: 200  -  total flux cleaned = 0.00569208 Jy
! Total flux subtracted in 200 components = 0.00569208 Jy
! Clean residual min=-0.005438 max=0.005605 Jy/beam
! Clean residual mean=0.000319 rms=0.001877 Jy/beam
! Combined flux in latest and established models = 1.85797 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 109 components and 1.85797 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.606505Jy  sigma=0.001559
! Fit after  self-cal, rms=0.605762Jy  sigma=0.001558
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 = 2.145e-06 Jy
! Component: 100  -  total flux cleaned = 6.55522e-05 Jy
! Component: 150  -  total flux cleaned = 0.00016662 Jy
! Component: 200  -  total flux cleaned = 0.000168673 Jy
! Total flux subtracted in 200 components = 0.000168673 Jy
! Clean residual min=-0.005235 max=0.005384 Jy/beam
! Clean residual mean=0.000312 rms=0.001846 Jy/beam
! Combined flux in latest and established models = 1.85814 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 118 components and 1.85814 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.605757Jy  sigma=0.001558
! Fit after  self-cal, rms=0.605660Jy  sigma=0.001558
! 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.33 mas, bmaj=4.122 mas, bpa=5.582 degrees
! Estimated noise=829.698 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.33 x 4.122 at 5.582 degrees (North through East)
! Clean map  min=-0.0062084  max=0.90991 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.605660Jy  sigma=0.001558
! Fit after  self-cal, rms=0.839615Jy  sigma=0.001237
! Inverting map and beam 
! Estimated beam: bmin=2.329 mas, bmaj=4.127 mas, bpa=5.444 degrees
! Estimated noise=828.398 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00120602 Jy
! Component: 100  -  total flux cleaned = 0.00135263 Jy
! Component: 150  -  total flux cleaned = 0.00148531 Jy
! Component: 200  -  total flux cleaned = 0.00138631 Jy
! Total flux subtracted in 200 components = 0.00138631 Jy
! Clean residual min=-0.004892 max=0.005554 Jy/beam
! Clean residual mean=0.000173 rms=0.001277 Jy/beam
! Combined flux in latest and established models = 1.85953 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 123 components and 1.85953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.839530Jy  sigma=0.001236
! Fit after  self-cal, rms=0.839659Jy  sigma=0.001236
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000714212 Jy
! Component: 100  -  total flux cleaned = 0.00072332 Jy
! Component: 150  -  total flux cleaned = 0.000533783 Jy
! Component: 200  -  total flux cleaned = 0.000447443 Jy
! Total flux subtracted in 200 components = 0.000447443 Jy
! Clean residual min=-0.004894 max=0.004693 Jy/beam
! Clean residual mean=0.000165 rms=0.001243 Jy/beam
! Combined flux in latest and established models = 1.85998 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 128 components and 1.85998 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.839602Jy  sigma=0.001235
! Fit after  self-cal, rms=0.839709Jy  sigma=0.001235
! 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.839709Jy  sigma=0.001235
! Fit after  self-cal, rms=0.850945Jy  sigma=0.001234
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=1.706 mas, bmaj=3.702 mas, bpa=5.458 degrees
! Estimated noise=1558.49 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.683228 Jy
! Component: 100  -  total flux cleaned = 0.986758 Jy
! Component: 150  -  total flux cleaned = 1.18663 Jy
! Component: 200  -  total flux cleaned = 1.33045 Jy
! Total flux subtracted in 200 components = 1.33045 Jy
! Clean residual min=-0.032415 max=0.082095 Jy/beam
! Clean residual mean=0.001325 rms=0.010823 Jy/beam
! Combined flux in latest and established models = 1.33045 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 28 model components to the UV plane model.
! The established model now contains 28 components and 1.33045 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.332 mas, bmaj=4.136 mas, bpa=5.39 degrees
! Estimated noise=828.98 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.219542 Jy
! Component: 100  -  total flux cleaned = 0.341317 Jy
! Component: 150  -  total flux cleaned = 0.413757 Jy
! Component: 200  -  total flux cleaned = 0.457698 Jy
! Total flux subtracted in 200 components = 0.457698 Jy
! Clean residual min=-0.008643 max=0.022660 Jy/beam
! Clean residual mean=0.001217 rms=0.003965 Jy/beam
! Combined flux in latest and established models = 1.78814 Jy
! Adding 53 model components to the UV plane model.
! The established model now contains 72 components and 1.78814 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.026995 Jy
! Component: 100  -  total flux cleaned = 0.0438958 Jy
! Component: 150  -  total flux cleaned = 0.0547384 Jy
! Component: 200  -  total flux cleaned = 0.0618735 Jy
! Total flux subtracted in 200 components = 0.0618735 Jy
! Clean residual min=-0.004547 max=0.006354 Jy/beam
! Clean residual mean=0.000278 rms=0.001348 Jy/beam
! Combined flux in latest and established models = 1.85002 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 93 components and 1.85002 Jy
! Inverting map 
! Added new window around map position (5, 2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00623259 Jy
! Component: 100  -  total flux cleaned = 0.00775671 Jy
! Component: 150  -  total flux cleaned = 0.00833784 Jy
! Component: 200  -  total flux cleaned = 0.008994 Jy
! Total flux subtracted in 200 components = 0.008994 Jy
! Clean residual min=-0.004142 max=0.005181 Jy/beam
! Clean residual mean=0.000141 rms=0.001173 Jy/beam
! Combined flux in latest and established models = 1.85901 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 108 components and 1.85901 Jy
! Inverting map 
! Added new window around map position (-52, 45.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00171529 Jy
! Component: 100  -  total flux cleaned = 0.00196787 Jy
! Component: 150  -  total flux cleaned = 0.00196612 Jy
! Component: 200  -  total flux cleaned = 0.00207179 Jy
! Total flux subtracted in 200 components = 0.00207179 Jy
! Clean residual min=-0.004043 max=0.004391 Jy/beam
! Clean residual mean=0.000110 rms=0.001105 Jy/beam
! Combined flux in latest and established models = 1.86108 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 120 components and 1.86108 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=8.06 mas, bmaj=14.38 mas, bpa=-8.838 degrees
! Estimated noise=1119.47 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00167692 Jy
! Component: 100  -  total flux cleaned = 0.00187696 Jy
! Component: 150  -  total flux cleaned = 0.0019113 Jy
! Component: 200  -  total flux cleaned = 0.00194349 Jy
! Total flux subtracted in 200 components = 0.00194349 Jy
! Clean residual min=-0.003325 max=0.003437 Jy/beam
! Clean residual mean=0.000194 rms=0.001131 Jy/beam
! Combined flux in latest and established models = 1.86303 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 = 5.84945e-05 Jy
! Component: 100  -  total flux cleaned = 8.6033e-05 Jy
! Component: 150  -  total flux cleaned = 8.64379e-05 Jy
! Component: 200  -  total flux cleaned = 0.000111051 Jy
! Total flux subtracted in 200 components = 0.000111051 Jy
! Clean residual min=-0.003287 max=0.003436 Jy/beam
! Clean residual mean=0.000190 rms=0.001127 Jy/beam
! Combined flux in latest and established models = 1.86314 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 138 components and 1.86314 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.332 mas, bmaj=4.136 mas, bpa=5.39 degrees
! Estimated noise=828.98 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000565023 Jy
! Component: 100  -  total flux cleaned = -0.00105749 Jy
! Component: 150  -  total flux cleaned = -0.00105939 Jy
! Component: 200  -  total flux cleaned = -0.00097456 Jy
! Total flux subtracted in 200 components = -0.00097456 Jy
! Clean residual min=-0.004054 max=0.004350 Jy/beam
! Clean residual mean=0.000094 rms=0.001081 Jy/beam
! Combined flux in latest and established models = 1.86216 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 148 components and 1.86216 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.850890Jy  sigma=0.001231
! Fit after  self-cal, rms=0.851304Jy  sigma=0.001230
wmodel J0006-0623_S_2001_10_29_pus_map.mod
! Writing 148 model components to file: J0006-0623_S_2001_10_29_pus_map.mod
wobs J0006-0623_S_2001_10_29_pus_uvs.fits
! Writing UV FITS file: J0006-0623_S_2001_10_29_pus_uvs.fits
wwins J0006-0623_S_2001_10_29_pus_map.win
! wwins: Wrote 5 windows to J0006-0623_S_2001_10_29_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.000753132 Jy
! Component: 100  -  total flux cleaned = 0.00082334 Jy
! Component: 150  -  total flux cleaned = 0.00102421 Jy
! Component: 200  -  total flux cleaned = 0.0012179 Jy
! Component: 250  -  total flux cleaned = 0.00140502 Jy
! Component: 300  -  total flux cleaned = 0.00152653 Jy
! Component: 350  -  total flux cleaned = 0.00182466 Jy
! Component: 400  -  total flux cleaned = 0.00205884 Jy
! Component: 450  -  total flux cleaned = 0.00234744 Jy
! Component: 500  -  total flux cleaned = 0.00257465 Jy
! Component: 550  -  total flux cleaned = 0.00291122 Jy
! Component: 600  -  total flux cleaned = 0.0032431 Jy
! Component: 650  -  total flux cleaned = 0.00340774 Jy
! Component: 700  -  total flux cleaned = 0.00383962 Jy
! Component: 750  -  total flux cleaned = 0.00394697 Jy
! Component: 800  -  total flux cleaned = 0.00421138 Jy
! Component: 850  -  total flux cleaned = 0.00447265 Jy
! Component: 900  -  total flux cleaned = 0.00467935 Jy
! Component: 950  -  total flux cleaned = 0.00483275 Jy
! Component: 1000  -  total flux cleaned = 0.00503544 Jy
! Component: 1050  -  total flux cleaned = 0.00523581 Jy
! Component: 1100  -  total flux cleaned = 0.00543383 Jy
! Component: 1150  -  total flux cleaned = 0.00558114 Jy
! Component: 1200  -  total flux cleaned = 0.00577563 Jy
! Component: 1250  -  total flux cleaned = 0.0059198 Jy
! Component: 1300  -  total flux cleaned = 0.00591947 Jy
! Component: 1350  -  total flux cleaned = 0.0061088 Jy
! Component: 1400  -  total flux cleaned = 0.00610891 Jy
! Component: 1450  -  total flux cleaned = 0.00634214 Jy
! Component: 1500  -  total flux cleaned = 0.00643429 Jy
! Component: 1550  -  total flux cleaned = 0.00652607 Jy
! Component: 1600  -  total flux cleaned = 0.00666224 Jy
! Component: 1650  -  total flux cleaned = 0.00679733 Jy
! Component: 1700  -  total flux cleaned = 0.00684168 Jy
! Component: 1750  -  total flux cleaned = 0.00684208 Jy
! Component: 1800  -  total flux cleaned = 0.0069744 Jy
! Component: 1850  -  total flux cleaned = 0.00701815 Jy
! Component: 1900  -  total flux cleaned = 0.00714856 Jy
! Component: 1950  -  total flux cleaned = 0.00723449 Jy
! Component: 2000  -  total flux cleaned = 0.00732009 Jy
! Total flux subtracted in 2048 components = 0.00736239 Jy
! Clean residual min=-0.002552 max=0.002818 Jy/beam
! Clean residual mean=0.000033 rms=0.000791 Jy/beam
! Combined flux in latest and established models = 1.86953 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 289 components and 1.86953 Jy
![Exited script file: muppet]
wmap "J0006-0623_S_2001_10_29_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.332 x 4.136 at 5.39 degrees (North through East)
! Clean map  min=-0.0037251  max=0.91151 Jy/beam
! Writing clean map to FITS file: J0006-0623_S_2001_10_29_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.911509 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000790012 
device "J0006-0623_S_2001_10_29_pus\_map.eps/VPS"
! Attempting to open device: 'J0006-0623_S_2001_10_29_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.260012 0.260012 0.520025 1.04005 2.0801 4.1602 8.3204 16.6408 33.2816 66.5632
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.911 
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.332 x 4.136 at 5.39 degrees (North through East)
! Clean map  min=-0.0037251  max=0.91151 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0006-0623_S_2001_10_29_pus\_map.gif/vgif"
! Attempting to open device: 'J0006-0623_S_2001_10_29_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0006-0623_S_2001_10_29_pus_uvs.log closed on Wed Feb 27 15:08:06 2008