! Started logfile: J2327-1447_S_2001_10_29_pus_uvs.log on Wed Feb 27 16:47:43 2008
obs J2327-1447_S_2001_10_29_pus_uva.fits
! Reading UV FITS file: J2327-1447_S_2001_10_29_pus_uva.fits
! AN table 1: 108 integrations on 153 of 153 possible baselines.
! AN table 2: 165 integrations on 153 of 153 possible baselines.
! AN table 3: 279 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0708179 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J2327-1447
! 
! 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 23924 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 = 1024 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
![@muppet J2327-1447_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 = 1024x1024 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 1268 telescope corrections were flagged in sub-array 1.
!  A total of 2243 telescope corrections were flagged in sub-array 2.
!  A total of 4574 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1268 telescope corrections were flagged in sub-array 1.
!  A total of 2240 telescope corrections were flagged in sub-array 2.
!  A total of 4574 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1268 telescope corrections were flagged in sub-array 1.
!  A total of 2240 telescope corrections were flagged in sub-array 2.
!  A total of 4574 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1268 telescope corrections were flagged in sub-array 1.
!  A total of 2240 telescope corrections were flagged in sub-array 2.
!  A total of 4730 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.697190Jy  sigma=0.005318
! Fit after  self-cal, rms=0.518846Jy  sigma=0.003902
! 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.264 mas, bmaj=6.474 mas, bpa=-1.584 degrees
! Estimated noise=1023.19 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.403068 Jy
! Component: 100  -  total flux cleaned = 0.492314 Jy
! Total flux subtracted in 100 components = 0.492314 Jy
! Clean residual min=-0.009431 max=0.030255 Jy/beam
! Clean residual mean=0.000202 rms=0.002842 Jy/beam
! Combined flux in latest and established models = 0.492314 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.492314 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223296Jy  sigma=0.001373
! Fit after  self-cal, rms=0.223305Jy  sigma=0.001373
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.031758 Jy
! Component: 100  -  total flux cleaned = 0.0471174 Jy
! Total flux subtracted in 100 components = 0.0471174 Jy
! Clean residual min=-0.006836 max=0.009337 Jy/beam
! Clean residual mean=0.000154 rms=0.001855 Jy/beam
! Combined flux in latest and established models = 0.539431 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 10 components and 0.539431 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217536Jy  sigma=0.001322
! Fit after  self-cal, rms=0.217560Jy  sigma=0.001322
! 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.856 mas, bmaj=7.558 mas, bpa=-3.909 degrees
! Estimated noise=622.778 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.0107832 Jy
! Component: 100  -  total flux cleaned = 0.0156497 Jy
! Component: 150  -  total flux cleaned = 0.0183364 Jy
! Component: 200  -  total flux cleaned = 0.0198887 Jy
! Total flux subtracted in 200 components = 0.0198887 Jy
! Clean residual min=-0.006818 max=0.012593 Jy/beam
! Clean residual mean=0.001827 rms=0.002501 Jy/beam
! Combined flux in latest and established models = 0.55932 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 28 components and 0.55932 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.216893Jy  sigma=0.001319
! Fit after  self-cal, rms=0.216902Jy  sigma=0.001319
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.95     KK        1.02     KP        0.94     LA        0.99     
!   MA        1.00*    MC        1.00*    MK        1.00     NL        0.98     
!   OV        1.02     PT        1.00     SC        0.99     TS        1.00*    
!   WF        1.12     WZ        1.00*    
! 
!  A total of 252 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.05     KK        1.00*    KP        0.98     LA        0.96     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.93     
!   OV        1.02     PT        0.94     SC        0.98     TS        1.00*    
!   WF        0.88     WZ        1.00*    
! 
!  A total of 171 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.03     LA        1.02     
!   MA        1.00*    MC        1.00*    MK        0.99     NL        1.00*    
!   OV        0.97     PT        1.00     SC        1.00*    TS        0.99     
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.01     KK        1.00     KP        1.00     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.03     NL        1.01     
!   OV        1.07     PT        0.98     SC        1.01     TS        1.00*    
!   WF        0.97     WZ        1.00*    
! 
!  A total of 255 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.98     KK        1.00*    KP        1.34     LA        0.95     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.95     
!   OV        1.05     PT        0.95     SC        1.00     TS        1.00*    
!   WF        0.98     WZ        1.00*    
! 
!  A total of 171 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.05     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.99     KP        0.98     LA        0.99     
!   MA        1.00*    MC        1.00*    MK        1.01     NL        1.00*    
!   OV        1.01     PT        0.96     SC        1.00*    TS        0.98     
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 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        1.00*    
!   HN        0.96     KK        0.99     KP        1.05     LA        0.92     
!   MA        1.00*    MC        1.00*    MK        1.00     NL        1.00     
!   OV        1.13     PT        1.00     SC        1.00     TS        1.00*    
!   WF        1.32     WZ        1.00*    
! 
!  A total of 255 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.11     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        1.01     LA        1.06     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.00     
!   OV        0.98     PT        0.92     SC        0.97     TS        1.00*    
!   WF        0.99     WZ        1.00*    
! 
!  A total of 171 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.02     LA        1.01     
!   MA        1.00*    MC        1.00*    MK        0.96     NL        1.00*    
!   OV        1.00     PT        0.98     SC        1.00*    TS        0.99     
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 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        1.00*    
!   HN        0.99     KK        0.95     KP        0.99     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.03     NL        1.04     
!   OV        1.04     PT        1.01     SC        1.00     TS        1.00*    
!   WF        0.99     WZ        1.00*    
! 
!  A total of 255 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.06     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.97     KK        1.00*    KP        1.00     LA        0.97     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.98     
!   OV        1.01     PT        0.94     SC        1.01     TS        1.00*    
!   WF        0.95     WZ        1.00*    
! 
!  A total of 15 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.00*    KK        0.97     KP        1.00     LA        1.01     
!   MA        1.00*    MC        1.00*    MK        0.99     NL        1.00*    
!   OV        0.99     PT        1.00     SC        1.00*    TS        1.04     
!   WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.216902Jy  sigma=0.001319
! Fit after  self-cal, rms=0.200900Jy  sigma=0.001296
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.801 mas, bmaj=8.738 mas, bpa=-4.207 degrees
! Estimated noise=634.587 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 (-14, -9.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0088371 Jy
! Component: 100  -  total flux cleaned = 0.0135399 Jy
! Component: 150  -  total flux cleaned = 0.0158725 Jy
! Component: 200  -  total flux cleaned = 0.0169166 Jy
! Total flux subtracted in 200 components = 0.0169166 Jy
! Clean residual min=-0.004890 max=0.008216 Jy/beam
! Clean residual mean=0.000621 rms=0.001705 Jy/beam
! Combined flux in latest and established models = 0.576237 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 65 components and 0.576237 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200447Jy  sigma=0.001293
! Fit after  self-cal, rms=0.200526Jy  sigma=0.001292
! 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.200526Jy  sigma=0.001292
! Fit after  self-cal, rms=0.200550Jy  sigma=0.001292
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.803 mas, bmaj=8.739 mas, bpa=-4.188 degrees
! Estimated noise=634.967 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00388296 Jy
! Component: 100  -  total flux cleaned = 0.00511119 Jy
! Component: 150  -  total flux cleaned = 0.00552871 Jy
! Component: 200  -  total flux cleaned = 0.00569501 Jy
! Total flux subtracted in 200 components = 0.00569501 Jy
! Clean residual min=-0.004671 max=0.007600 Jy/beam
! Clean residual mean=0.000588 rms=0.001618 Jy/beam
! Combined flux in latest and established models = 0.581932 Jy
selfcal
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 90 components and 0.581932 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200448Jy  sigma=0.001291
! Fit after  self-cal, rms=0.200436Jy  sigma=0.001291
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)
! Added new window around map position (-97, -59).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00771968 Jy
! Component: 100  -  total flux cleaned = 0.0126703 Jy
! Component: 150  -  total flux cleaned = 0.0163171 Jy
! Component: 200  -  total flux cleaned = 0.0190804 Jy
! Total flux subtracted in 200 components = 0.0190804 Jy
! Clean residual min=-0.003891 max=0.006808 Jy/beam
! Clean residual mean=0.000490 rms=0.001352 Jy/beam
! Combined flux in latest and established models = 0.601012 Jy
! Performing phase self-cal
! Adding 53 model components to the UV plane model.
! The established model now contains 142 components and 0.601012 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200033Jy  sigma=0.001288
! Fit after  self-cal, rms=0.199986Jy  sigma=0.001288
! Inverting map 
! Added new window around map position (-121.5, -67).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00719629 Jy
! Component: 100  -  total flux cleaned = 0.0116177 Jy
! Component: 150  -  total flux cleaned = 0.0151024 Jy
! Component: 200  -  total flux cleaned = 0.0180383 Jy
! Total flux subtracted in 200 components = 0.0180383 Jy
! Clean residual min=-0.003488 max=0.004724 Jy/beam
! Clean residual mean=0.000385 rms=0.001128 Jy/beam
! Combined flux in latest and established models = 0.61905 Jy
! Performing phase self-cal
! Adding 69 model components to the UV plane model.
! The established model now contains 206 components and 0.619051 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199623Jy  sigma=0.001285
! Fit after  self-cal, rms=0.199603Jy  sigma=0.001285
! Inverting map 
! Added new window around map position (-104.5, -68.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00484257 Jy
! Component: 100  -  total flux cleaned = 0.00804203 Jy
! Component: 150  -  total flux cleaned = 0.0106512 Jy
! Component: 200  -  total flux cleaned = 0.0126292 Jy
! Total flux subtracted in 200 components = 0.0126292 Jy
! Clean residual min=-0.003500 max=0.004061 Jy/beam
! Clean residual mean=0.000302 rms=0.001006 Jy/beam
! Combined flux in latest and established models = 0.63168 Jy
! Performing phase self-cal
! Adding 62 model components to the UV plane model.
! The established model now contains 258 components and 0.63168 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199423Jy  sigma=0.001283
! Fit after  self-cal, rms=0.199401Jy  sigma=0.001283
! 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.199401Jy  sigma=0.001283
! Fit after  self-cal, rms=0.199546Jy  sigma=0.001283
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.803 mas, bmaj=8.742 mas, bpa=-4.203 degrees
! Estimated noise=635.469 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00313801 Jy
! Component: 100  -  total flux cleaned = 0.00537948 Jy
! Component: 150  -  total flux cleaned = 0.00702892 Jy
! Component: 200  -  total flux cleaned = 0.00812418 Jy
! Total flux subtracted in 200 components = 0.00812418 Jy
! Clean residual min=-0.003381 max=0.003735 Jy/beam
! Clean residual mean=0.000248 rms=0.000935 Jy/beam
! Combined flux in latest and established models = 0.639804 Jy
selfcal
! Performing phase self-cal
! Adding 57 model components to the UV plane model.
! The established model now contains 295 components and 0.639804 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199454Jy  sigma=0.001282
! Fit after  self-cal, rms=0.199442Jy  sigma=0.001282
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.00168079 Jy
! Component: 100  -  total flux cleaned = 0.00247437 Jy
! Component: 150  -  total flux cleaned = 0.00319841 Jy
! Component: 200  -  total flux cleaned = 0.00391325 Jy
! Total flux subtracted in 200 components = 0.00391325 Jy
! Clean residual min=-0.003372 max=0.003650 Jy/beam
! Clean residual mean=0.000221 rms=0.000904 Jy/beam
! Combined flux in latest and established models = 0.643717 Jy
! Performing phase self-cal
! Adding 53 model components to the UV plane model.
! The established model now contains 312 components and 0.643717 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199403Jy  sigma=0.001282
! Fit after  self-cal, rms=0.199400Jy  sigma=0.001282
! 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.199400Jy  sigma=0.001282
! Fit after  self-cal, rms=0.199466Jy  sigma=0.001282
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.202 mas, bmaj=14.52 mas, bpa=-2.546 degrees
! Estimated noise=821.876 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00427344 Jy
! Component: 100  -  total flux cleaned = 0.00722351 Jy
! Component: 150  -  total flux cleaned = 0.00944096 Jy
! Component: 200  -  total flux cleaned = 0.0107055 Jy
! Total flux subtracted in 200 components = 0.0107055 Jy
! Clean residual min=-0.004796 max=0.005603 Jy/beam
! Clean residual mean=0.000372 rms=0.001306 Jy/beam
! Combined flux in latest and established models = 0.654422 Jy
selfcal
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 338 components and 0.654423 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199443Jy  sigma=0.001282
! Fit after  self-cal, rms=0.199431Jy  sigma=0.001281
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.00153301 Jy
! Component: 100  -  total flux cleaned = 0.00201429 Jy
! Component: 150  -  total flux cleaned = 0.00242611 Jy
! Component: 200  -  total flux cleaned = 0.00269505 Jy
! Total flux subtracted in 200 components = 0.00269505 Jy
! Clean residual min=-0.004738 max=0.005389 Jy/beam
! Clean residual mean=0.000321 rms=0.001257 Jy/beam
! Combined flux in latest and established models = 0.657118 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 360 components and 0.657117 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199434Jy  sigma=0.001282
! Fit after  self-cal, rms=0.199434Jy  sigma=0.001282
! Inverting map 
! Added new window around map position (13, -68.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00437169 Jy
! Component: 100  -  total flux cleaned = 0.0055848 Jy
! Component: 150  -  total flux cleaned = 0.00613562 Jy
! Component: 200  -  total flux cleaned = 0.00673237 Jy
! Total flux subtracted in 200 components = 0.00673237 Jy
! Clean residual min=-0.004373 max=0.004208 Jy/beam
! Clean residual mean=0.000224 rms=0.001118 Jy/beam
! Combined flux in latest and established models = 0.66385 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 398 components and 0.66385 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.199364Jy  sigma=0.001281
! Fit after  self-cal, rms=0.199356Jy  sigma=0.001281
! 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.803 mas, bmaj=8.743 mas, bpa=-4.205 degrees
! Estimated noise=635.586 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.803 x 8.743 at -4.205 degrees (North through East)
! Clean map  min=-0.0029778  max=0.52336 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.199356Jy  sigma=0.001281
! Fit after  self-cal, rms=0.196957Jy  sigma=0.001172
! Inverting map and beam 
! Estimated beam: bmin=2.802 mas, bmaj=8.741 mas, bpa=-4.221 degrees
! Estimated noise=634.685 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000363427 Jy
! Component: 100  -  total flux cleaned = -0.000357465 Jy
! Component: 150  -  total flux cleaned = -0.000163269 Jy
! Component: 200  -  total flux cleaned = -4.29349e-05 Jy
! Total flux subtracted in 200 components = -4.29349e-05 Jy
! Clean residual min=-0.002775 max=0.003049 Jy/beam
! Clean residual mean=0.000080 rms=0.000728 Jy/beam
! Combined flux in latest and established models = 0.663807 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 423 components and 0.663807 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196904Jy  sigma=0.001172
! Fit after  self-cal, rms=0.196906Jy  sigma=0.001171
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 4.42307e-05 Jy
! Component: 100  -  total flux cleaned = 9.62195e-05 Jy
! Component: 150  -  total flux cleaned = 9.62707e-05 Jy
! Component: 200  -  total flux cleaned = 0.000145345 Jy
! Total flux subtracted in 200 components = 0.000145345 Jy
! Clean residual min=-0.002760 max=0.002965 Jy/beam
! Clean residual mean=0.000079 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.663952 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 441 components and 0.663952 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196880Jy  sigma=0.001171
! Fit after  self-cal, rms=0.196880Jy  sigma=0.001171
! 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.196880Jy  sigma=0.001171
! Fit after  self-cal, rms=0.196938Jy  sigma=0.001171
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.247 mas, bmaj=7.685 mas, bpa=-1.83 degrees
! Estimated noise=1034.22 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.402616 Jy
! Component: 100  -  total flux cleaned = 0.491707 Jy
! Component: 150  -  total flux cleaned = 0.522685 Jy
! Component: 200  -  total flux cleaned = 0.537485 Jy
! Total flux subtracted in 200 components = 0.537485 Jy
! Clean residual min=-0.005975 max=0.007277 Jy/beam
! Clean residual mean=0.000114 rms=0.001550 Jy/beam
! Combined flux in latest and established models = 0.537485 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 14 model components to the UV plane model.
! The established model now contains 14 components and 0.537485 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.802 mas, bmaj=8.741 mas, bpa=-4.22 degrees
! Estimated noise=634.609 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.0147851 Jy
! Component: 100  -  total flux cleaned = 0.0263979 Jy
! Component: 150  -  total flux cleaned = 0.0361108 Jy
! Component: 200  -  total flux cleaned = 0.0444113 Jy
! Total flux subtracted in 200 components = 0.0444113 Jy
! Clean residual min=-0.004340 max=0.006389 Jy/beam
! Clean residual mean=0.000618 rms=0.001548 Jy/beam
! Combined flux in latest and established models = 0.581896 Jy
! Adding 68 model components to the UV plane model.
! The established model now contains 77 components and 0.581896 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.207 mas, bmaj=14.51 mas, bpa=-2.535 degrees
! Estimated noise=820.287 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0144003 Jy
! Component: 100  -  total flux cleaned = 0.0255362 Jy
! Component: 150  -  total flux cleaned = 0.0345412 Jy
! Component: 200  -  total flux cleaned = 0.0420413 Jy
! Total flux subtracted in 200 components = 0.0420413 Jy
! Clean residual min=-0.004931 max=0.006549 Jy/beam
! Clean residual mean=0.000830 rms=0.001778 Jy/beam
! Combined flux in latest and established models = 0.623938 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.00633152 Jy
! Component: 100  -  total flux cleaned = 0.0117173 Jy
! Component: 150  -  total flux cleaned = 0.0163173 Jy
! Component: 200  -  total flux cleaned = 0.0202647 Jy
! Total flux subtracted in 200 components = 0.0202647 Jy
! Clean residual min=-0.003999 max=0.004692 Jy/beam
! Clean residual mean=0.000563 rms=0.001262 Jy/beam
! Combined flux in latest and established models = 0.644202 Jy
! Adding 158 model components to the UV plane model.
! The established model now contains 229 components and 0.644202 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.802 mas, bmaj=8.741 mas, bpa=-4.22 degrees
! Estimated noise=634.609 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00163723 Jy
! Component: 100  -  total flux cleaned = 0.00380816 Jy
! Component: 150  -  total flux cleaned = 0.00554748 Jy
! Component: 200  -  total flux cleaned = 0.00703928 Jy
! Total flux subtracted in 200 components = 0.00703928 Jy
! Clean residual min=-0.002980 max=0.003664 Jy/beam
! Clean residual mean=0.000165 rms=0.000784 Jy/beam
! Combined flux in latest and established models = 0.651241 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 258 components and 0.651241 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197060Jy  sigma=0.001172
! Fit after  self-cal, rms=0.197044Jy  sigma=0.001172
wmodel J2327-1447_S_2001_10_29_pus_map.mod
! Writing 258 model components to file: J2327-1447_S_2001_10_29_pus_map.mod
wobs J2327-1447_S_2001_10_29_pus_uvs.fits
! Writing UV FITS file: J2327-1447_S_2001_10_29_pus_uvs.fits
wwins J2327-1447_S_2001_10_29_pus_map.win
! wwins: Wrote 6 windows to J2327-1447_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=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00154277 Jy
! Component: 100  -  total flux cleaned = 0.00236657 Jy
! Component: 150  -  total flux cleaned = 0.00288081 Jy
! Component: 200  -  total flux cleaned = 0.00342267 Jy
! Component: 250  -  total flux cleaned = 0.0039945 Jy
! Component: 300  -  total flux cleaned = 0.00445601 Jy
! Component: 350  -  total flux cleaned = 0.00495014 Jy
! Component: 400  -  total flux cleaned = 0.0055193 Jy
! Component: 450  -  total flux cleaned = 0.00590406 Jy
! Component: 500  -  total flux cleaned = 0.00632247 Jy
! Component: 550  -  total flux cleaned = 0.00677299 Jy
! Component: 600  -  total flux cleaned = 0.00713488 Jy
! Component: 650  -  total flux cleaned = 0.0075293 Jy
! Component: 700  -  total flux cleaned = 0.00795486 Jy
! Component: 750  -  total flux cleaned = 0.00837285 Jy
! Component: 800  -  total flux cleaned = 0.00863469 Jy
! Component: 850  -  total flux cleaned = 0.00904042 Jy
! Component: 900  -  total flux cleaned = 0.00936683 Jy
! Component: 950  -  total flux cleaned = 0.00972486 Jy
! Component: 1000  -  total flux cleaned = 0.0100777 Jy
! Component: 1050  -  total flux cleaned = 0.0104603 Jy
! Component: 1100  -  total flux cleaned = 0.010803 Jy
! Component: 1150  -  total flux cleaned = 0.0110742 Jy
! Component: 1200  -  total flux cleaned = 0.0114415 Jy
! Component: 1250  -  total flux cleaned = 0.0117714 Jy
! Component: 1300  -  total flux cleaned = 0.0121621 Jy
! Component: 1350  -  total flux cleaned = 0.0124518 Jy
! Component: 1400  -  total flux cleaned = 0.0127698 Jy
! Component: 1450  -  total flux cleaned = 0.0130842 Jy
! Component: 1500  -  total flux cleaned = 0.013302 Jy
! Component: 1550  -  total flux cleaned = 0.0135483 Jy
! Component: 1600  -  total flux cleaned = 0.0138224 Jy
! Component: 1650  -  total flux cleaned = 0.0140634 Jy
! Component: 1700  -  total flux cleaned = 0.0143017 Jy
! Component: 1750  -  total flux cleaned = 0.0145675 Jy
! Component: 1800  -  total flux cleaned = 0.0147424 Jy
! Component: 1850  -  total flux cleaned = 0.0150025 Jy
! Component: 1900  -  total flux cleaned = 0.0152317 Jy
! Component: 1950  -  total flux cleaned = 0.0153734 Jy
! Component: 2000  -  total flux cleaned = 0.0156541 Jy
! Component: 2050  -  total flux cleaned = 0.0158212 Jy
! Component: 2100  -  total flux cleaned = 0.0161245 Jy
! Component: 2150  -  total flux cleaned = 0.0163702 Jy
! Component: 2200  -  total flux cleaned = 0.0165597 Jy
! Component: 2250  -  total flux cleaned = 0.0168013 Jy
! Component: 2300  -  total flux cleaned = 0.0170408 Jy
! Component: 2350  -  total flux cleaned = 0.0172516 Jy
! Component: 2400  -  total flux cleaned = 0.0174087 Jy
! Component: 2450  -  total flux cleaned = 0.0176421 Jy
! Component: 2500  -  total flux cleaned = 0.0177965 Jy
! Component: 2550  -  total flux cleaned = 0.017975 Jy
! Component: 2600  -  total flux cleaned = 0.0181269 Jy
! Component: 2650  -  total flux cleaned = 0.0183027 Jy
! Component: 2700  -  total flux cleaned = 0.0185268 Jy
! Component: 2750  -  total flux cleaned = 0.0185761 Jy
! Component: 2800  -  total flux cleaned = 0.0187234 Jy
! Component: 2850  -  total flux cleaned = 0.018894 Jy
! Component: 2900  -  total flux cleaned = 0.0189665 Jy
! Component: 2950  -  total flux cleaned = 0.0191587 Jy
! Component: 3000  -  total flux cleaned = 0.0193016 Jy
! Component: 3050  -  total flux cleaned = 0.0195144 Jy
! Component: 3100  -  total flux cleaned = 0.0195616 Jy
! Component: 3150  -  total flux cleaned = 0.0196549 Jy
! Component: 3200  -  total flux cleaned = 0.0199099 Jy
! Component: 3250  -  total flux cleaned = 0.0200707 Jy
! Component: 3300  -  total flux cleaned = 0.0202307 Jy
! Component: 3350  -  total flux cleaned = 0.0203442 Jy
! Component: 3400  -  total flux cleaned = 0.0205469 Jy
! Component: 3450  -  total flux cleaned = 0.0207038 Jy
! Component: 3500  -  total flux cleaned = 0.0208375 Jy
! Component: 3550  -  total flux cleaned = 0.0210582 Jy
! Component: 3600  -  total flux cleaned = 0.0212338 Jy
! Component: 3650  -  total flux cleaned = 0.0214082 Jy
! Component: 3700  -  total flux cleaned = 0.0215818 Jy
! Component: 3750  -  total flux cleaned = 0.0217972 Jy
! Component: 3800  -  total flux cleaned = 0.0219685 Jy
! Component: 3850  -  total flux cleaned = 0.0221598 Jy
! Component: 3900  -  total flux cleaned = 0.0223292 Jy
! Component: 3950  -  total flux cleaned = 0.0224977 Jy
! Component: 4000  -  total flux cleaned = 0.0227068 Jy
! Component: 4050  -  total flux cleaned = 0.0228523 Jy
! Total flux subtracted in 4096 components = 0.0230385 Jy
! Clean residual min=-0.001194 max=0.001290 Jy/beam
! Clean residual mean=0.000064 rms=0.000379 Jy/beam
! Combined flux in latest and established models = 0.67428 Jy
keep
! Adding 303 model components to the UV plane model.
! The established model now contains 561 components and 0.674279 Jy
![Exited script file: muppet]
wmap "J2327-1447_S_2001_10_29_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.802 x 8.741 at -4.22 degrees (North through East)
! Clean map  min=-0.002455  max=0.52301 Jy/beam
! Writing clean map to FITS file: J2327-1447_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.52301 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00037967 
device "J2327-1447_S_2001_10_29_pus\_map.eps/VPS"
! Attempting to open device: 'J2327-1447_S_2001_10_29_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.21778 0.21778 0.43556 0.87112 1.74224 3.48448 6.96896 13.9379 27.8758 55.7517
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.523 
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.802 x 8.741 at -4.22 degrees (North through East)
! Clean map  min=-0.002455  max=0.52301 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2327-1447_S_2001_10_29_pus\_map.gif/vgif"
! Attempting to open device: 'J2327-1447_S_2001_10_29_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J2327-1447_S_2001_10_29_pus_uvs.log closed on Wed Feb 27 16:48:24 2008