! Started logfile: J0457-2324_S_2000_12_04_pus_uvs.log on Wed Oct 17 16:57:19 2007
obs J0457-2324_S_2000_12_04_pus_uva.fits
! Reading UV FITS file: J0457-2324_S_2000_12_04_pus_uva.fits
! AN table 1: 12 integrations on 190 of 190 possible baselines.
! AN table 2: 102 integrations on 190 of 190 possible baselines.
! AN table 3: 10 integrations on 190 of 190 possible baselines.
! AN table 4: 10 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.101767 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0457-2324
! 
! 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2169 lines of history.
! 
! Reading 10364 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 J0457-2324_S_2000_12_04_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 240 telescope corrections were flagged in sub-array 1.
!  A total of 1355 telescope corrections were flagged in sub-array 2.
!  A total of 173 telescope corrections were flagged in sub-array 3.
!  A total of 200 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 240 telescope corrections were flagged in sub-array 1.
!  A total of 1355 telescope corrections were flagged in sub-array 2.
!  A total of 176 telescope corrections were flagged in sub-array 3.
!  A total of 200 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 240 telescope corrections were flagged in sub-array 1.
!  A total of 1355 telescope corrections were flagged in sub-array 2.
!  A total of 176 telescope corrections were flagged in sub-array 3.
!  A total of 200 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 240 telescope corrections were flagged in sub-array 1.
!  A total of 1355 telescope corrections were flagged in sub-array 2.
!  A total of 176 telescope corrections were flagged in sub-array 3.
!  A total of 200 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.964204Jy  sigma=0.007750
! Fit after  self-cal, rms=0.342185Jy  sigma=0.002716
! 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.378 mas, bmaj=6.46 mas, bpa=-1.944 degrees
! Estimated noise=1163.74 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.851884 Jy
! Component: 100  -  total flux cleaned = 1.04479 Jy
! Total flux subtracted in 100 components = 1.04479 Jy
! Clean residual min=-0.029149 max=0.070902 Jy/beam
! Clean residual mean=0.000232 rms=0.008862 Jy/beam
! Combined flux in latest and established models = 1.04479 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 1.04479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325865Jy  sigma=0.002570
! Fit after  self-cal, rms=0.325874Jy  sigma=0.002570
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0828766 Jy
! Component: 100  -  total flux cleaned = 0.133479 Jy
! Total flux subtracted in 100 components = 0.133479 Jy
! Clean residual min=-0.024345 max=0.029990 Jy/beam
! Clean residual mean=-0.000067 rms=0.006002 Jy/beam
! Combined flux in latest and established models = 1.17827 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 26 components and 1.17827 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.294351Jy  sigma=0.002282
! Fit after  self-cal, rms=0.294325Jy  sigma=0.002282
! 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.737 mas, bmaj=8.017 mas, bpa=-5.687 degrees
! Estimated noise=864.606 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.0465139 Jy
! Component: 100  -  total flux cleaned = 0.0693358 Jy
! Component: 150  -  total flux cleaned = 0.0812108 Jy
! Component: 200  -  total flux cleaned = 0.0875954 Jy
! Total flux subtracted in 200 components = 0.0875954 Jy
! Clean residual min=-0.020728 max=0.017570 Jy/beam
! Clean residual mean=-0.001344 rms=0.004894 Jy/beam
! Combined flux in latest and established models = 1.26587 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 55 components and 1.26587 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.287840Jy  sigma=0.002221
! Fit after  self-cal, rms=0.287796Jy  sigma=0.002221
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   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*    MA        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*    
! 
!  A total of 93 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.09     KK        1.00     KP        0.96     
!   LA        1.04     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.98     NY        1.00*    OV        0.98     PT        1.02     
!   SC        1.04     TS        1.00*    WF        1.04     WZ        1.00*    
! 
!  A total of 27 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*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   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*    MA        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.
!  Telescope amplitude corrections in sub-array 1:
!   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*    MA        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*    
! 
!  A total of 93 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        1.05     KP        0.87     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.00     
!   NL        0.95     NY        1.00*    OV        0.95     PT        1.02     
!   SC        1.00     TS        1.00*    WF        1.04     WZ        1.00*    
! 
!  A total of 24 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*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   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*    MA        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.
!  Telescope amplitude corrections in sub-array 1:
!   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*    MA        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*    
! 
!  A total of 93 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        1.06     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.88     KK        1.03     KP        0.95     
!   LA        0.99     MA        1.00*    MC        1.00*    MK        0.98     
!   NL        1.05     NY        1.00*    OV        0.99     PT        1.04     
!   SC        0.94     TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 24 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*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   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*    MA        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.
!  Telescope amplitude corrections in sub-array 1:
!   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*    MA        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*    
! 
!  A total of 93 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        1.06     KP        0.91     
!   LA        1.02     MA        1.00*    MC        1.00*    MK        1.00     
!   NL        1.01     NY        1.00*    OV        1.00     PT        1.03     
!   SC        1.08     TS        1.00*    WF        1.06     WZ        1.00*    
! 
!  A total of 24 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*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   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*    MA        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=0.287796Jy  sigma=0.002221
! Fit after  self-cal, rms=0.275148Jy  sigma=0.002100
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.731 mas, bmaj=8.082 mas, bpa=-6.111 degrees
! Estimated noise=886.565 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.000623919 Jy
! Component: 100  -  total flux cleaned = -0.000642742 Jy
! Component: 150  -  total flux cleaned = -0.000862978 Jy
! Component: 200  -  total flux cleaned = -0.00095732 Jy
! Total flux subtracted in 200 components = -0.00095732 Jy
! Clean residual min=-0.014513 max=0.014455 Jy/beam
! Clean residual mean=-0.000093 rms=0.003862 Jy/beam
! Combined flux in latest and established models = 1.26491 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 66 components and 1.26491 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.275015Jy  sigma=0.002099
! Fit after  self-cal, rms=0.275074Jy  sigma=0.002098
! 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.275074Jy  sigma=0.002098
! Fit after  self-cal, rms=0.258261Jy  sigma=0.001872
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.736 mas, bmaj=8.113 mas, bpa=-6.081 degrees
! Estimated noise=888.232 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00186587 Jy
! Component: 100  -  total flux cleaned = -0.00186699 Jy
! Component: 150  -  total flux cleaned = -0.00186159 Jy
! Component: 200  -  total flux cleaned = -0.0016687 Jy
! Total flux subtracted in 200 components = -0.0016687 Jy
! Clean residual min=-0.006485 max=0.008894 Jy/beam
! Clean residual mean=0.000034 rms=0.001838 Jy/beam
! Combined flux in latest and established models = 1.26324 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 73 components and 1.26324 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258131Jy  sigma=0.001871
! Fit after  self-cal, rms=0.258287Jy  sigma=0.001871
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 (-4.5, -1.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00660358 Jy
! Component: 100  -  total flux cleaned = 0.0068018 Jy
! Component: 150  -  total flux cleaned = 0.00635439 Jy
! Component: 200  -  total flux cleaned = 0.00585328 Jy
! Total flux subtracted in 200 components = 0.00585328 Jy
! Clean residual min=-0.005952 max=0.007076 Jy/beam
! Clean residual mean=-0.000042 rms=0.001694 Jy/beam
! Combined flux in latest and established models = 1.26909 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 89 components and 1.26909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.257988Jy  sigma=0.001868
! Fit after  self-cal, rms=0.257962Jy  sigma=0.001868
! 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.257962Jy  sigma=0.001868
! Fit after  self-cal, rms=0.259624Jy  sigma=0.001857
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.739 mas, bmaj=8.121 mas, bpa=-6.038 degrees
! Estimated noise=887.947 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00102168 Jy
! Component: 100  -  total flux cleaned = -0.000761308 Jy
! Component: 150  -  total flux cleaned = -0.000541288 Jy
! Component: 200  -  total flux cleaned = -0.000454824 Jy
! Total flux subtracted in 200 components = -0.000454824 Jy
! Clean residual min=-0.005230 max=0.006917 Jy/beam
! Clean residual mean=0.000024 rms=0.001472 Jy/beam
! Combined flux in latest and established models = 1.26864 Jy
selfcal
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 105 components and 1.26864 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259499Jy  sigma=0.001856
! Fit after  self-cal, rms=0.259518Jy  sigma=0.001856
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 (-32.5, -60.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00497411 Jy
! Component: 100  -  total flux cleaned = 0.00554717 Jy
! Component: 150  -  total flux cleaned = 0.00601257 Jy
! Component: 200  -  total flux cleaned = 0.00609426 Jy
! Total flux subtracted in 200 components = 0.00609426 Jy
! Clean residual min=-0.005164 max=0.006197 Jy/beam
! Clean residual mean=-0.000026 rms=0.001418 Jy/beam
! Combined flux in latest and established models = 1.27473 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 118 components and 1.27473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259351Jy  sigma=0.001855
! Fit after  self-cal, rms=0.259335Jy  sigma=0.001855
! Inverting map 
! Added new window around map position (48, -63).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00516083 Jy
! Component: 100  -  total flux cleaned = 0.00576981 Jy
! Component: 150  -  total flux cleaned = 0.00615248 Jy
! Component: 200  -  total flux cleaned = 0.00614911 Jy
! Total flux subtracted in 200 components = 0.00614911 Jy
! Clean residual min=-0.005003 max=0.005748 Jy/beam
! Clean residual mean=-0.000080 rms=0.001343 Jy/beam
! Combined flux in latest and established models = 1.28088 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 139 components and 1.28088 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259190Jy  sigma=0.001854
! Fit after  self-cal, rms=0.259188Jy  sigma=0.001854
! 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.259188Jy  sigma=0.001854
! Fit after  self-cal, rms=0.258696Jy  sigma=0.001853
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.584 mas, bmaj=17.42 mas, bpa=-1.335 degrees
! Estimated noise=1187.13 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00133724 Jy
! Component: 100  -  total flux cleaned = -0.000487084 Jy
! Component: 150  -  total flux cleaned = -0.00011095 Jy
! Component: 200  -  total flux cleaned = 1.31862e-05 Jy
! Total flux subtracted in 200 components = 1.31862e-05 Jy
! Clean residual min=-0.004665 max=0.005046 Jy/beam
! Clean residual mean=-0.000181 rms=0.001576 Jy/beam
! Combined flux in latest and established models = 1.2809 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 150 components and 1.2809 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258670Jy  sigma=0.001853
! Fit after  self-cal, rms=0.258660Jy  sigma=0.001853
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.000410562 Jy
! Component: 100  -  total flux cleaned = 0.000518806 Jy
! Component: 150  -  total flux cleaned = 0.000469067 Jy
! Component: 200  -  total flux cleaned = 0.000516685 Jy
! Total flux subtracted in 200 components = 0.000516685 Jy
! Clean residual min=-0.004742 max=0.004875 Jy/beam
! Clean residual mean=-0.000194 rms=0.001571 Jy/beam
! Combined flux in latest and established models = 1.28141 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 162 components and 1.28141 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258648Jy  sigma=0.001853
! Fit after  self-cal, rms=0.258646Jy  sigma=0.001853
! 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.743 mas, bmaj=8.125 mas, bpa=-6.002 degrees
! Estimated noise=887.216 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.743 x 8.125 at -6.002 degrees (North through East)
! Clean map  min=-0.0046274  max=1.1259 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.258646Jy  sigma=0.001853
! Fit after  self-cal, rms=0.249522Jy  sigma=0.001645
! Inverting map and beam 
! Estimated beam: bmin=2.745 mas, bmaj=8.133 mas, bpa=-6.009 degrees
! Estimated noise=886.582 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0020943 Jy
! Component: 100  -  total flux cleaned = -0.00266517 Jy
! Component: 150  -  total flux cleaned = -0.00299357 Jy
! Component: 200  -  total flux cleaned = -0.00320962 Jy
! Total flux subtracted in 200 components = -0.00320962 Jy
! Clean residual min=-0.004686 max=0.006054 Jy/beam
! Clean residual mean=-0.000084 rms=0.001259 Jy/beam
! Combined flux in latest and established models = 1.2782 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 177 components and 1.2782 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.249427Jy  sigma=0.001645
! Fit after  self-cal, rms=0.249425Jy  sigma=0.001645
! Inverting map 
! Added new window around map position (-63.5, 48.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00420255 Jy
! Component: 100  -  total flux cleaned = 0.00466492 Jy
! Component: 150  -  total flux cleaned = 0.00449329 Jy
! Component: 200  -  total flux cleaned = 0.00449015 Jy
! Total flux subtracted in 200 components = 0.00449015 Jy
! Clean residual min=-0.005257 max=0.004396 Jy/beam
! Clean residual mean=-0.000112 rms=0.001182 Jy/beam
! Combined flux in latest and established models = 1.28269 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 194 components and 1.28269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.249291Jy  sigma=0.001644
! Fit after  self-cal, rms=0.249292Jy  sigma=0.001644
! 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.249292Jy  sigma=0.001644
! Fit after  self-cal, rms=0.249020Jy  sigma=0.001644
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.428 mas, bmaj=6.845 mas, bpa=-3.883 degrees
! Estimated noise=1153.89 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.865587 Jy
! Component: 100  -  total flux cleaned = 1.05737 Jy
! Component: 150  -  total flux cleaned = 1.13055 Jy
! Component: 200  -  total flux cleaned = 1.17374 Jy
! Total flux subtracted in 200 components = 1.17374 Jy
! Clean residual min=-0.010255 max=0.022282 Jy/beam
! Clean residual mean=0.000164 rms=0.003145 Jy/beam
! Combined flux in latest and established models = 1.17374 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 30 model components to the UV plane model.
! The established model now contains 30 components and 1.17374 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.748 mas, bmaj=8.139 mas, bpa=-6.002 degrees
! Estimated noise=885.904 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.0388601 Jy
! Component: 100  -  total flux cleaned = 0.060299 Jy
! Component: 150  -  total flux cleaned = 0.0731377 Jy
! Component: 200  -  total flux cleaned = 0.0820267 Jy
! Total flux subtracted in 200 components = 0.0820267 Jy
! Clean residual min=-0.005383 max=0.005555 Jy/beam
! Clean residual mean=0.000159 rms=0.001530 Jy/beam
! Combined flux in latest and established models = 1.25577 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 62 components and 1.25577 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.592 mas, bmaj=17.44 mas, bpa=-1.328 degrees
! Estimated noise=1181.82 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00913552 Jy
! Component: 100  -  total flux cleaned = 0.0147527 Jy
! Component: 150  -  total flux cleaned = 0.018886 Jy
! Component: 200  -  total flux cleaned = 0.0213504 Jy
! Total flux subtracted in 200 components = 0.0213504 Jy
! Clean residual min=-0.004326 max=0.004397 Jy/beam
! Clean residual mean=-0.000140 rms=0.001410 Jy/beam
! Combined flux in latest and established models = 1.27712 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.00138602 Jy
! Component: 100  -  total flux cleaned = 0.00265064 Jy
! Component: 150  -  total flux cleaned = 0.00327535 Jy
! Component: 200  -  total flux cleaned = 0.00382995 Jy
! Total flux subtracted in 200 components = 0.00382995 Jy
! Clean residual min=-0.004268 max=0.004140 Jy/beam
! Clean residual mean=-0.000227 rms=0.001358 Jy/beam
! Combined flux in latest and established models = 1.28095 Jy
! Adding 61 model components to the UV plane model.
! The established model now contains 112 components and 1.28095 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.748 mas, bmaj=8.139 mas, bpa=-6.002 degrees
! Estimated noise=885.904 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00234362 Jy
! Component: 100  -  total flux cleaned = 0.00300283 Jy
! Component: 150  -  total flux cleaned = 0.00300052 Jy
! Component: 200  -  total flux cleaned = 0.00267772 Jy
! Total flux subtracted in 200 components = 0.00267772 Jy
! Clean residual min=-0.004854 max=0.004736 Jy/beam
! Clean residual mean=-0.000121 rms=0.001250 Jy/beam
! Combined flux in latest and established models = 1.28362 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 136 components and 1.28362 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.249155Jy  sigma=0.001646
! Fit after  self-cal, rms=0.249152Jy  sigma=0.001645
wmodel J0457-2324_S_2000_12_04_pus_map.mod
! Writing 136 model components to file: J0457-2324_S_2000_12_04_pus_map.mod
wobs J0457-2324_S_2000_12_04_pus_uvs.fits
! Writing UV FITS file: J0457-2324_S_2000_12_04_pus_uvs.fits
wwins J0457-2324_S_2000_12_04_pus_map.win
! wwins: Wrote 5 windows to J0457-2324_S_2000_12_04_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.0012625 Jy
! Component: 100  -  total flux cleaned = -0.00174865 Jy
! Component: 150  -  total flux cleaned = -0.00189863 Jy
! Component: 200  -  total flux cleaned = -0.00204261 Jy
! Component: 250  -  total flux cleaned = -0.00218052 Jy
! Component: 300  -  total flux cleaned = -0.00244708 Jy
! Component: 350  -  total flux cleaned = -0.00277155 Jy
! Component: 400  -  total flux cleaned = -0.00302381 Jy
! Component: 450  -  total flux cleaned = -0.00320918 Jy
! Component: 500  -  total flux cleaned = -0.00345063 Jy
! Component: 550  -  total flux cleaned = -0.00356921 Jy
! Component: 600  -  total flux cleaned = -0.00374434 Jy
! Component: 650  -  total flux cleaned = -0.00391548 Jy
! Component: 700  -  total flux cleaned = -0.0040838 Jy
! Component: 750  -  total flux cleaned = -0.00435777 Jy
! Component: 800  -  total flux cleaned = -0.00446494 Jy
! Component: 850  -  total flux cleaned = -0.00467769 Jy
! Component: 900  -  total flux cleaned = -0.00488742 Jy
! Component: 950  -  total flux cleaned = -0.00509311 Jy
! Component: 1000  -  total flux cleaned = -0.00529517 Jy
! Component: 1050  -  total flux cleaned = -0.0053448 Jy
! Component: 1100  -  total flux cleaned = -0.00534552 Jy
! Component: 1150  -  total flux cleaned = -0.00544229 Jy
! Component: 1200  -  total flux cleaned = -0.00534674 Jy
! Component: 1250  -  total flux cleaned = -0.0053941 Jy
! Component: 1300  -  total flux cleaned = -0.00534735 Jy
! Component: 1350  -  total flux cleaned = -0.0053016 Jy
! Component: 1400  -  total flux cleaned = -0.0053927 Jy
! Component: 1450  -  total flux cleaned = -0.00530239 Jy
! Component: 1500  -  total flux cleaned = -0.00525798 Jy
! Component: 1550  -  total flux cleaned = -0.00530187 Jy
! Component: 1600  -  total flux cleaned = -0.00521426 Jy
! Component: 1650  -  total flux cleaned = -0.00504187 Jy
! Component: 1700  -  total flux cleaned = -0.00500002 Jy
! Component: 1750  -  total flux cleaned = -0.00500033 Jy
! Component: 1800  -  total flux cleaned = -0.00495853 Jy
! Component: 1850  -  total flux cleaned = -0.00499941 Jy
! Component: 1900  -  total flux cleaned = -0.0049174 Jy
! Component: 1950  -  total flux cleaned = -0.00491748 Jy
! Component: 2000  -  total flux cleaned = -0.00487747 Jy
! Total flux subtracted in 2048 components = -0.00495675 Jy
! Clean residual min=-0.002351 max=0.003015 Jy/beam
! Clean residual mean=-0.000034 rms=0.000839 Jy/beam
! Combined flux in latest and established models = 1.27867 Jy
keep
! Adding 143 model components to the UV plane model.
! The established model now contains 279 components and 1.27867 Jy
![Exited script file: muppet]
wmap "J0457-2324_S_2000_12_04_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.748 x 8.139 at -6.002 degrees (North through East)
! Clean map  min=-0.0040655  max=1.1272 Jy/beam
! Writing clean map to FITS file: J0457-2324_S_2000_12_04_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.12717 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000836985 
device "J0457-2324_S_2000_12_04_pus\_map.eps/VPS"
! Attempting to open device: 'J0457-2324_S_2000_12_04_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.222767 0.222767 0.445533 0.891067 1.78213 3.56427 7.12853 14.2571 28.5141 57.0283
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.127 
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.748 x 8.139 at -6.002 degrees (North through East)
! Clean map  min=-0.0040655  max=1.1272 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0457-2324_S_2000_12_04_pus\_map.gif/vgif"
! Attempting to open device: 'J0457-2324_S_2000_12_04_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0457-2324_S_2000_12_04_pus_uvs.log closed on Wed Oct 17 16:57:28 2007