! Started logfile: J0403-3605_S_2003_05_07_pus_uvs.log on Sun Dec 24 09:21:02 2006
obs J0403-3605_S_2003_05_07_pus_uva.fits
! Reading UV FITS file: J0403-3605_S_2003_05_07_pus_uva.fits
! AN table 1: 79 integrations on 171 of 171 possible baselines.
! AN table 2: 40 integrations on 171 of 171 possible baselines.
! AN table 3: 60 integrations on 171 of 171 possible baselines.
! AN table 4: 28 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0529706 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0403-3605
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1680 lines of history.
! 
! Reading 7500 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
float field_size
field_size = 512
float field_cell
field_cell = 0.5
float taper_size
taper_size = 20.
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 1411 telescope corrections were flagged in sub-array 1.
!  A total of 494 telescope corrections were flagged in sub-array 2.
!  A total of 817 telescope corrections were flagged in sub-array 3.
!  A total of 505 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 1411 telescope corrections were flagged in sub-array 1.
!  A total of 494 telescope corrections were flagged in sub-array 2.
!  A total of 817 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 1411 telescope corrections were flagged in sub-array 1.
!  A total of 501 telescope corrections were flagged in sub-array 2.
!  A total of 817 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 1411 telescope corrections were flagged in sub-array 1.
!  A total of 494 telescope corrections were flagged in sub-array 2.
!  A total of 817 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.948694Jy  sigma=0.005184
! Fit after  self-cal, rms=0.663190Jy  sigma=0.003069
! 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.217 mas, bmaj=3.87 mas, bpa=6.071 degrees
! Estimated noise=2524.35 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.410199 Jy
! Component: 100  -  total flux cleaned = 0.517736 Jy
! Total flux subtracted in 100 components = 0.517736 Jy
! Clean residual min=-0.035995 max=0.055181 Jy/beam
! Clean residual mean=0.000667 rms=0.012486 Jy/beam
! Combined flux in latest and established models = 0.517736 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.517736 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.488312Jy  sigma=0.001597
! Fit after  self-cal, rms=0.488014Jy  sigma=0.001596
! 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.917 mas, bmaj=4.817 mas, bpa=5.427 degrees
! Estimated noise=1475.79 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.0773592 Jy
! Component: 100  -  total flux cleaned = 0.109782 Jy
! Component: 150  -  total flux cleaned = 0.124692 Jy
! Component: 200  -  total flux cleaned = 0.131009 Jy
! Total flux subtracted in 200 components = 0.131009 Jy
! Clean residual min=-0.020590 max=0.032676 Jy/beam
! Clean residual mean=0.000868 rms=0.008738 Jy/beam
! Combined flux in latest and established models = 0.648746 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 23 components and 0.648746 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.479508Jy  sigma=0.001437
! Fit after  self-cal, rms=0.478904Jy  sigma=0.001436
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 90 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.91     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.96     LA        0.98     MA        1.00*    
!   MC        1.00*    MK        1.08     NL        1.00*    ON        1.00*    
!   OV        1.78     PT        0.98     SC        0.92     TC        0.93     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 57 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.05     GG        1.00*    HN        1.00*    
!   KK        0.95     KP        1.00*    LA        1.02     MA        1.00*    
!   MC        1.00*    MK        0.93     NL        1.00*    ON        1.00*    
!   OV        0.85     PT        1.02     SC        1.00*    TC        1.05     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  A total of 90 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.99     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.95     LA        0.95     MA        1.00*    
!   MC        1.00*    MK        1.07     NL        1.00*    ON        1.00*    
!   OV        1.48     PT        0.95     SC        0.93     TC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 57 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.06     GG        1.00*    HN        1.00*    
!   KK        0.97     KP        1.00*    LA        0.95     MA        1.00*    
!   MC        1.00*    MK        0.96     NL        1.00*    ON        1.00*    
!   OV        0.95     PT        1.02     SC        1.00*    TC        0.95     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  A total of 90 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.94     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.97     LA        0.95     MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.00*    ON        1.00*    
!   OV        1.21     PT        0.96     SC        1.09     TC        0.92     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 57 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.03     GG        1.00*    HN        1.00*    
!   KK        0.93     KP        1.00*    LA        0.97     MA        1.00*    
!   MC        1.00*    MK        0.89     NL        1.00*    ON        1.00*    
!   OV        1.02     PT        1.02     SC        1.00*    TC        0.92     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 90 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.91     LA        0.94     MA        1.00*    
!   MC        1.00*    MK        1.04     NL        1.00*    ON        1.00*    
!   OV        4.31     PT        0.93     SC        1.05     TC        0.93     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 57 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.05     GG        1.00*    HN        1.00*    
!   KK        0.88     KP        1.00*    LA        0.98     MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.00*    ON        1.00*    
!   OV        0.98     PT        1.00     SC        1.00*    TC        0.86     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GG        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*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.478904Jy  sigma=0.001436
! Fit after  self-cal, rms=0.563162Jy  sigma=0.001306
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.851 mas, bmaj=4.602 mas, bpa=3.846 degrees
! Estimated noise=1553.04 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.00611741 Jy
! Component: 100  -  total flux cleaned = 0.00644528 Jy
! Component: 150  -  total flux cleaned = 0.00657546 Jy
! Component: 200  -  total flux cleaned = 0.00646122 Jy
! Total flux subtracted in 200 components = 0.00646122 Jy
! Clean residual min=-0.010729 max=0.015535 Jy/beam
! Clean residual mean=0.000327 rms=0.003157 Jy/beam
! Combined flux in latest and established models = 0.655207 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 33 components and 0.655207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.563014Jy  sigma=0.001304
! Fit after  self-cal, rms=0.565337Jy  sigma=0.001303
! 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.565337Jy  sigma=0.001303
! Fit after  self-cal, rms=0.568292Jy  sigma=0.001302
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.838 mas, bmaj=4.599 mas, bpa=3.649 degrees
! Estimated noise=1551.7 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00454001 Jy
! Component: 100  -  total flux cleaned = 0.00466805 Jy
! Component: 150  -  total flux cleaned = 0.00466799 Jy
! Component: 200  -  total flux cleaned = 0.00457101 Jy
! Total flux subtracted in 200 components = 0.00457101 Jy
! Clean residual min=-0.010084 max=0.014893 Jy/beam
! Clean residual mean=0.000342 rms=0.003049 Jy/beam
! Combined flux in latest and established models = 0.659778 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 35 components and 0.659778 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.568193Jy  sigma=0.001301
! Fit after  self-cal, rms=0.568200Jy  sigma=0.001301
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 (6, 36.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0130722 Jy
! Component: 100  -  total flux cleaned = 0.0142749 Jy
! Component: 150  -  total flux cleaned = 0.0141265 Jy
! Component: 200  -  total flux cleaned = 0.0142592 Jy
! Total flux subtracted in 200 components = 0.0142592 Jy
! Clean residual min=-0.008722 max=0.009767 Jy/beam
! Clean residual mean=0.000035 rms=0.002270 Jy/beam
! Combined flux in latest and established models = 0.674037 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 47 components and 0.674037 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.567874Jy  sigma=0.001297
! Fit after  self-cal, rms=0.567771Jy  sigma=0.001296
! Inverting map 
! Added new window around map position (53.5, 20).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00368505 Jy
! Component: 100  -  total flux cleaned = 0.00439156 Jy
! Component: 150  -  total flux cleaned = 0.00527093 Jy
! Component: 200  -  total flux cleaned = 0.00584703 Jy
! Total flux subtracted in 200 components = 0.00584703 Jy
! Clean residual min=-0.007128 max=0.007436 Jy/beam
! Clean residual mean=0.000016 rms=0.001844 Jy/beam
! Combined flux in latest and established models = 0.679884 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 62 components and 0.679884 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.567474Jy  sigma=0.001294
! Fit after  self-cal, rms=0.567571Jy  sigma=0.001294
! 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.567571Jy  sigma=0.001294
! Fit after  self-cal, rms=0.567144Jy  sigma=0.001293
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.828 mas, bmaj=4.612 mas, bpa=3.462 degrees
! Estimated noise=1544.76 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00138147 Jy
! Component: 100  -  total flux cleaned = 0.00138415 Jy
! Component: 150  -  total flux cleaned = 0.00164468 Jy
! Component: 200  -  total flux cleaned = 0.00176434 Jy
! Total flux subtracted in 200 components = 0.00176434 Jy
! Clean residual min=-0.005932 max=0.007688 Jy/beam
! Clean residual mean=0.000113 rms=0.001756 Jy/beam
! Combined flux in latest and established models = 0.681648 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 71 components and 0.681648 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.567026Jy  sigma=0.001292
! Fit after  self-cal, rms=0.567056Jy  sigma=0.001292
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 (-18, 39).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00546044 Jy
! Component: 100  -  total flux cleaned = 0.00599344 Jy
! Component: 150  -  total flux cleaned = 0.00623891 Jy
! Component: 200  -  total flux cleaned = 0.00647524 Jy
! Total flux subtracted in 200 components = 0.00647524 Jy
! Clean residual min=-0.005921 max=0.007646 Jy/beam
! Clean residual mean=-0.000060 rms=0.001653 Jy/beam
! Combined flux in latest and established models = 0.688124 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 82 components and 0.688123 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.566820Jy  sigma=0.001291
! Fit after  self-cal, rms=0.566761Jy  sigma=0.001291
! Inverting map 
! Added new window around map position (29, 55.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00316373 Jy
! Component: 100  -  total flux cleaned = 0.00389196 Jy
! Component: 150  -  total flux cleaned = 0.00483805 Jy
! Component: 200  -  total flux cleaned = 0.00498447 Jy
! Total flux subtracted in 200 components = 0.00498447 Jy
! Clean residual min=-0.005324 max=0.005990 Jy/beam
! Clean residual mean=-0.000157 rms=0.001457 Jy/beam
! Combined flux in latest and established models = 0.693108 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 95 components and 0.693108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.566473Jy  sigma=0.001290
! Fit after  self-cal, rms=0.566359Jy  sigma=0.001290
! 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.566359Jy  sigma=0.001290
! Fit after  self-cal, rms=0.561418Jy  sigma=0.001289
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=10 mas, bmaj=27.43 mas, bpa=3.125 degrees
! Estimated noise=1914.57 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0016458 Jy
! Component: 100  -  total flux cleaned = 0.00282649 Jy
! Component: 150  -  total flux cleaned = 0.00358365 Jy
! Component: 200  -  total flux cleaned = 0.00377825 Jy
! Total flux subtracted in 200 components = 0.00377825 Jy
! Clean residual min=-0.003577 max=0.005717 Jy/beam
! Clean residual mean=-0.000117 rms=0.001521 Jy/beam
! Combined flux in latest and established models = 0.696886 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 108 components and 0.696886 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.561453Jy  sigma=0.001289
! Fit after  self-cal, rms=0.561401Jy  sigma=0.001289
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.00110205 Jy
! Component: 100  -  total flux cleaned = 0.00127715 Jy
! Component: 150  -  total flux cleaned = 0.00122803 Jy
! Component: 200  -  total flux cleaned = 0.00118592 Jy
! Total flux subtracted in 200 components = 0.00118592 Jy
! Clean residual min=-0.003135 max=0.005432 Jy/beam
! Clean residual mean=-0.000128 rms=0.001404 Jy/beam
! Combined flux in latest and established models = 0.698072 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 115 components and 0.698072 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.561413Jy  sigma=0.001289
! Fit after  self-cal, rms=0.561384Jy  sigma=0.001289
! 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.825 mas, bmaj=4.602 mas, bpa=3.551 degrees
! Estimated noise=1546.67 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.825 x 4.602 at 3.551 degrees (North through East)
! Clean map  min=-0.013037  max=0.53328 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.561384Jy  sigma=0.001289
! Fit after  self-cal, rms=1.529126Jy  sigma=0.001157
! Inverting map and beam 
! Estimated beam: bmin=2.823 mas, bmaj=4.592 mas, bpa=3.583 degrees
! Estimated noise=1545.02 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00243181 Jy
! Component: 100  -  total flux cleaned = 0.00340632 Jy
! Component: 150  -  total flux cleaned = 0.00369352 Jy
! Component: 200  -  total flux cleaned = 0.00408395 Jy
! Total flux subtracted in 200 components = 0.00408395 Jy
! Clean residual min=-0.005299 max=0.005677 Jy/beam
! Clean residual mean=-0.000053 rms=0.001376 Jy/beam
! Combined flux in latest and established models = 0.702156 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 128 components and 0.702156 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.528941Jy  sigma=0.001156
! Fit after  self-cal, rms=1.529012Jy  sigma=0.001156
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00114052 Jy
! Component: 100  -  total flux cleaned = 0.00151861 Jy
! Component: 150  -  total flux cleaned = 0.00175359 Jy
! Component: 200  -  total flux cleaned = 0.00198375 Jy
! Total flux subtracted in 200 components = 0.00198375 Jy
! Clean residual min=-0.005106 max=0.005190 Jy/beam
! Clean residual mean=-0.000089 rms=0.001322 Jy/beam
! Combined flux in latest and established models = 0.70414 Jy
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 139 components and 0.70414 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.528866Jy  sigma=0.001156
! Fit after  self-cal, rms=1.528875Jy  sigma=0.001156
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.528875Jy  sigma=0.001156
! Fit after  self-cal, rms=1.153336Jy  sigma=0.001156
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.221 mas, bmaj=3.774 mas, bpa=4.875 degrees
! Estimated noise=2570.64 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.401973 Jy
! Component: 100  -  total flux cleaned = 0.513783 Jy
! Component: 150  -  total flux cleaned = 0.569855 Jy
! Component: 200  -  total flux cleaned = 0.601933 Jy
! Total flux subtracted in 200 components = 0.601933 Jy
! Clean residual min=-0.018360 max=0.023161 Jy/beam
! Clean residual mean=0.000409 rms=0.005273 Jy/beam
! Combined flux in latest and established models = 0.601933 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.601933 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.824 mas, bmaj=4.586 mas, bpa=3.649 degrees
! Estimated noise=1546.44 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)
! Added new window around map position (2.5, 11).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0344899 Jy
! Component: 100  -  total flux cleaned = 0.0510635 Jy
! Component: 150  -  total flux cleaned = 0.0613449 Jy
! Component: 200  -  total flux cleaned = 0.0689998 Jy
! Total flux subtracted in 200 components = 0.0689998 Jy
! Clean residual min=-0.009098 max=0.009608 Jy/beam
! Clean residual mean=0.000505 rms=0.002694 Jy/beam
! Combined flux in latest and established models = 0.670933 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 57 components and 0.670932 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=9.986 mas, bmaj=27.36 mas, bpa=3.104 degrees
! Estimated noise=1917.29 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0122862 Jy
! Component: 100  -  total flux cleaned = 0.0157049 Jy
! Component: 150  -  total flux cleaned = 0.0189723 Jy
! Component: 200  -  total flux cleaned = 0.0215975 Jy
! Total flux subtracted in 200 components = 0.0215975 Jy
! Clean residual min=-0.005062 max=0.004835 Jy/beam
! Clean residual mean=0.000332 rms=0.001800 Jy/beam
! Combined flux in latest and established models = 0.69253 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.00212176 Jy
! Component: 100  -  total flux cleaned = 0.00384707 Jy
! Component: 150  -  total flux cleaned = 0.00525429 Jy
! Component: 200  -  total flux cleaned = 0.00624615 Jy
! Total flux subtracted in 200 components = 0.00624615 Jy
! Clean residual min=-0.004340 max=0.003785 Jy/beam
! Clean residual mean=0.000108 rms=0.001381 Jy/beam
! Combined flux in latest and established models = 0.698776 Jy
! Adding 77 model components to the UV plane model.
! The established model now contains 132 components and 0.698776 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.824 mas, bmaj=4.586 mas, bpa=3.649 degrees
! Estimated noise=1546.44 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00189583 Jy
! Component: 100  -  total flux cleaned = 0.00322368 Jy
! Component: 150  -  total flux cleaned = 0.00369379 Jy
! Component: 200  -  total flux cleaned = 0.00452387 Jy
! Total flux subtracted in 200 components = 0.00452387 Jy
! Clean residual min=-0.005919 max=0.006368 Jy/beam
! Clean residual mean=-0.000023 rms=0.001633 Jy/beam
! Combined flux in latest and established models = 0.7033 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 150 components and 0.7033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.153810Jy  sigma=0.001159
! Fit after  self-cal, rms=1.154836Jy  sigma=0.001158
wmodel J0403-3605_S_2003_05_07_pus_map.mod
! Writing 150 model components to file: J0403-3605_S_2003_05_07_pus_map.mod
wobs J0403-3605_S_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J0403-3605_S_2003_05_07_pus_uvs.fits
wwins J0403-3605_S_2003_05_07_pus_map.win
! wwins: Wrote 6 windows to J0403-3605_S_2003_05_07_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.00167031 Jy
! Component: 100  -  total flux cleaned = 0.00228633 Jy
! Component: 150  -  total flux cleaned = 0.00200504 Jy
! Component: 200  -  total flux cleaned = 0.00109464 Jy
! Component: 250  -  total flux cleaned = 0.000306634 Jy
! Component: 300  -  total flux cleaned = -0.000453688 Jy
! Component: 350  -  total flux cleaned = -0.000700506 Jy
! Component: 400  -  total flux cleaned = -0.00109845 Jy
! Component: 450  -  total flux cleaned = -0.00125322 Jy
! Component: 500  -  total flux cleaned = -0.00155541 Jy
! Component: 550  -  total flux cleaned = -0.00170278 Jy
! Component: 600  -  total flux cleaned = -0.00192147 Jy
! Component: 650  -  total flux cleaned = -0.0020644 Jy
! Component: 700  -  total flux cleaned = -0.00213533 Jy
! Component: 750  -  total flux cleaned = -0.00234242 Jy
! Component: 800  -  total flux cleaned = -0.00234217 Jy
! Component: 850  -  total flux cleaned = -0.00234256 Jy
! Component: 900  -  total flux cleaned = -0.00234236 Jy
! Component: 950  -  total flux cleaned = -0.00234301 Jy
! Component: 1000  -  total flux cleaned = -0.00240672 Jy
! Component: 1050  -  total flux cleaned = -0.00247008 Jy
! Component: 1100  -  total flux cleaned = -0.00271974 Jy
! Component: 1150  -  total flux cleaned = -0.00271941 Jy
! Component: 1200  -  total flux cleaned = -0.00290321 Jy
! Component: 1250  -  total flux cleaned = -0.00308461 Jy
! Component: 1300  -  total flux cleaned = -0.00314453 Jy
! Component: 1350  -  total flux cleaned = -0.00338128 Jy
! Component: 1400  -  total flux cleaned = -0.00367393 Jy
! Component: 1450  -  total flux cleaned = -0.00373185 Jy
! Component: 1500  -  total flux cleaned = -0.00390473 Jy
! Component: 1550  -  total flux cleaned = -0.00413296 Jy
! Component: 1600  -  total flux cleaned = -0.00419004 Jy
! Component: 1650  -  total flux cleaned = -0.00441411 Jy
! Component: 1700  -  total flux cleaned = -0.00463563 Jy
! Component: 1750  -  total flux cleaned = -0.00469048 Jy
! Component: 1800  -  total flux cleaned = -0.0047454 Jy
! Component: 1850  -  total flux cleaned = -0.00490793 Jy
! Component: 1900  -  total flux cleaned = -0.0050694 Jy
! Component: 1950  -  total flux cleaned = -0.00517555 Jy
! Component: 2000  -  total flux cleaned = -0.00522837 Jy
! Total flux subtracted in 2048 components = -0.0052809 Jy
! Clean residual min=-0.003162 max=0.002987 Jy/beam
! Clean residual mean=0.000003 rms=0.000916 Jy/beam
! Combined flux in latest and established models = 0.698019 Jy
keep
! Adding 104 model components to the UV plane model.
! The established model now contains 254 components and 0.698019 Jy
wmap "J0403-3605_S_2003_05_07_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.824 x 4.586 at 3.649 degrees (North through East)
! Clean map  min=-0.0091936  max=0.52884 Jy/beam
! Writing clean map to FITS file: J0403-3605_S_2003_05_07_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.52884 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000914735 
device "J0403-3605_S_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J0403-3605_S_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.51891 0.51891 1.03782 2.07564 4.15128 8.30256 16.6051 33.2102 66.4205
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0027 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.528 
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.824 x 4.586 at 3.649 degrees (North through East)
! Clean map  min=-0.0091936  max=0.52884 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0403-3605_S_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J0403-3605_S_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0403-3605_S_2003_05_07_pus_uvs.log closed on Sun Dec 24 09:22:24 2006