! Started logfile: J2056-4714_X_2003_06_18_pus_uvs.log on Wed Jan 17 18:19:29 2007
obs J2056-4714_X_2003_06_18_pus_uva.fits
! Reading UV FITS file: J2056-4714_X_2003_06_18_pus_uva.fits
! AN table 1: 76 integrations on 153 of 153 possible baselines.
! AN table 2: 12 integrations on 153 of 153 possible baselines.
! AN table 3: 24 integrations on 153 of 153 possible baselines.
! AN table 4: 5 integrations on 153 of 153 possible baselines.
! AN table 5: 219 integrations on 153 of 153 possible baselines.
! AN table 6: Unused.
! AN table 7: Unused.
! AN table 8: Unused.
! AN table 9: 57 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0833541 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J2056-4714
! 
! 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2231 lines of history.
! 
! Reading 20048 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 = 256
float field_cell
field_cell = 0.2
float taper_size
taper_size = 70.
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 = 256x256 pixels with 0.200x0.200 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 1239 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 432 telescope corrections were flagged in sub-array 3.
!  A total of 90 telescope corrections were flagged in sub-array 4.
!  A total of 2915 telescope corrections were flagged in sub-array 5.
!  A total of 948 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 1239 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 432 telescope corrections were flagged in sub-array 3.
!  A total of 90 telescope corrections were flagged in sub-array 4.
!  A total of 2924 telescope corrections were flagged in sub-array 5.
!  A total of 948 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 1239 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 432 telescope corrections were flagged in sub-array 3.
!  A total of 90 telescope corrections were flagged in sub-array 4.
!  A total of 2924 telescope corrections were flagged in sub-array 5.
!  A total of 948 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 1239 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 432 telescope corrections were flagged in sub-array 3.
!  A total of 90 telescope corrections were flagged in sub-array 4.
!  A total of 2924 telescope corrections were flagged in sub-array 5.
!  A total of 948 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.766536Jy  sigma=0.007580
! Fit after  self-cal, rms=0.643170Jy  sigma=0.006428
! 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=0.638 mas, bmaj=1.474 mas, bpa=9.592 degrees
! Estimated noise=1821 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.258382 Jy
! Component: 100  -  total flux cleaned = 0.346565 Jy
! Total flux subtracted in 100 components = 0.346565 Jy
! Clean residual min=-0.025256 max=0.045717 Jy/beam
! Clean residual mean=0.003406 rms=0.011437 Jy/beam
! Combined flux in latest and established models = 0.346565 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.346565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.286214Jy  sigma=0.002263
! Fit after  self-cal, rms=0.286029Jy  sigma=0.002262
! 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=0.9099 mas, bmaj=2.725 mas, bpa=10.95 degrees
! Estimated noise=697.043 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.108599 Jy
! Component: 100  -  total flux cleaned = 0.152101 Jy
! Component: 150  -  total flux cleaned = 0.169803 Jy
! Component: 200  -  total flux cleaned = 0.177038 Jy
! Total flux subtracted in 200 components = 0.177038 Jy
! Clean residual min=-0.010104 max=0.013732 Jy/beam
! Clean residual mean=0.002708 rms=0.004094 Jy/beam
! Combined flux in latest and established models = 0.523604 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 40 components and 0.523604 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251994Jy  sigma=0.001654
! Fit after  self-cal, rms=0.251683Jy  sigma=0.001651
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 87 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.16     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.09     LA        1.03     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.18     
!   PT        1.12     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  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*    
!   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 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.05     LA        0.97     MA        1.00*    
!   MK        1.11     NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        0.97     SC        1.06     TC        1.02     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 87 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.09     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.05     LA        1.13     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.21     
!   PT        1.21     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  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*    
!   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 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.95     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.99     LA        0.98     MA        1.00*    
!   MK        1.02     NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.00     SC        1.01     TC        1.01     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 87 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.10     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.06     LA        1.09     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.22     
!   PT        1.24     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  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*    
!   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 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.94     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.02     LA        0.97     MA        1.00*    
!   MK        0.99     NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.02     SC        0.97     TC        0.94     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 87 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.10     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.04     LA        1.16     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.16     
!   PT        1.12     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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*    
! 
!  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*    
!   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 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.93     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.98     LA        0.97     MA        1.00*    
!   MK        0.89     NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.03     SC        1.00     TC        1.03     TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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.251683Jy  sigma=0.001651
! Fit after  self-cal, rms=0.253720Jy  sigma=0.001611
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9546 mas, bmaj=2.748 mas, bpa=10.44 degrees
! Estimated noise=719.889 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.000158232 Jy
! Component: 100  -  total flux cleaned = -0.000159924 Jy
! Component: 150  -  total flux cleaned = -0.000164759 Jy
! Component: 200  -  total flux cleaned = -0.0001351 Jy
! Total flux subtracted in 200 components = -0.0001351 Jy
! Clean residual min=-0.006312 max=0.013066 Jy/beam
! Clean residual mean=0.000660 rms=0.003496 Jy/beam
! Combined flux in latest and established models = 0.523469 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 41 components and 0.523469 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253703Jy  sigma=0.001611
! Fit after  self-cal, rms=0.253759Jy  sigma=0.001610
! 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.253759Jy  sigma=0.001610
! Fit after  self-cal, rms=0.253483Jy  sigma=0.001610
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9547 mas, bmaj=2.751 mas, bpa=10.49 degrees
! Estimated noise=719.935 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 4.36195e-06 Jy
! Component: 100  -  total flux cleaned = 3.06828e-06 Jy
! Component: 150  -  total flux cleaned = -2.43508e-06 Jy
! Component: 200  -  total flux cleaned = -5.98072e-06 Jy
! Total flux subtracted in 200 components = -5.98072e-06 Jy
! Clean residual min=-0.006192 max=0.012840 Jy/beam
! Clean residual mean=0.000647 rms=0.003462 Jy/beam
! Combined flux in latest and established models = 0.523463 Jy
selfcal
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 41 components and 0.523463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253465Jy  sigma=0.001610
! Fit after  self-cal, rms=0.253466Jy  sigma=0.001610
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.000136762 Jy
! Component: 100  -  total flux cleaned = -0.000100875 Jy
! Component: 150  -  total flux cleaned = -0.000100663 Jy
! Component: 200  -  total flux cleaned = -6.75034e-05 Jy
! Total flux subtracted in 200 components = -6.75034e-05 Jy
! Clean residual min=-0.006149 max=0.012778 Jy/beam
! Clean residual mean=0.000651 rms=0.003453 Jy/beam
! Combined flux in latest and established models = 0.523395 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 42 components and 0.523395 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253452Jy  sigma=0.001610
! Fit after  self-cal, rms=0.253452Jy  sigma=0.001610
! 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.253452Jy  sigma=0.001610
! Fit after  self-cal, rms=0.254755Jy  sigma=0.001608
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9547 mas, bmaj=2.759 mas, bpa=10.49 degrees
! Estimated noise=720.057 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 5.23575e-05 Jy
! Component: 100  -  total flux cleaned = 5.36215e-05 Jy
! Component: 150  -  total flux cleaned = 5.13374e-05 Jy
! Component: 200  -  total flux cleaned = 4.9316e-05 Jy
! Total flux subtracted in 200 components = 4.9316e-05 Jy
! Clean residual min=-0.006226 max=0.012604 Jy/beam
! Clean residual mean=0.000605 rms=0.003446 Jy/beam
! Combined flux in latest and established models = 0.523445 Jy
selfcal
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 42 components and 0.523445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254741Jy  sigma=0.001608
! Fit after  self-cal, rms=0.254753Jy  sigma=0.001608
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 = -8.41942e-05 Jy
! Component: 100  -  total flux cleaned = -8.64817e-05 Jy
! Component: 150  -  total flux cleaned = -5.67995e-05 Jy
! Component: 200  -  total flux cleaned = -2.62787e-05 Jy
! Total flux subtracted in 200 components = -2.62787e-05 Jy
! Clean residual min=-0.006175 max=0.012557 Jy/beam
! Clean residual mean=0.000607 rms=0.003439 Jy/beam
! Combined flux in latest and established models = 0.523418 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 42 components and 0.523418 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254741Jy  sigma=0.001608
! Fit after  self-cal, rms=0.254746Jy  sigma=0.001608
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 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.254746Jy  sigma=0.001608
! Fit after  self-cal, rms=0.255079Jy  sigma=0.001608
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.95 mas, bmaj=16.09 mas, bpa=2.25 degrees
! Estimated noise=842.123 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000731805 Jy
! Component: 100  -  total flux cleaned = 0.000732965 Jy
! Component: 150  -  total flux cleaned = 0.000732611 Jy
! Component: 200  -  total flux cleaned = 0.000732061 Jy
! Total flux subtracted in 200 components = 0.000732061 Jy
! Clean residual min=-0.006147 max=0.012074 Jy/beam
! Clean residual mean=0.000934 rms=0.004819 Jy/beam
! Combined flux in latest and established models = 0.52415 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 46 components and 0.52415 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255083Jy  sigma=0.001608
! Fit after  self-cal, rms=0.255071Jy  sigma=0.001608
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 = 6.53942e-06 Jy
! Component: 100  -  total flux cleaned = 7.36536e-06 Jy
! Component: 150  -  total flux cleaned = 6.8684e-06 Jy
! Component: 200  -  total flux cleaned = 6.17567e-06 Jy
! Total flux subtracted in 200 components = 6.17567e-06 Jy
! Clean residual min=-0.006150 max=0.012072 Jy/beam
! Clean residual mean=0.000934 rms=0.004820 Jy/beam
! Combined flux in latest and established models = 0.524157 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 49 components and 0.524157 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255077Jy  sigma=0.001608
! Fit after  self-cal, rms=0.255059Jy  sigma=0.001608
! 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=0.9546 mas, bmaj=2.764 mas, bpa=10.52 degrees
! Estimated noise=720.097 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9546 x 2.764 at 10.52 degrees (North through East)
! Clean map  min=-0.0055913  max=0.40296 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
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=0.7186 mas, bmaj=1.283 mas, bpa=-1.664 degrees
! Estimated noise=1984.78 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.285305 Jy
! Component: 100  -  total flux cleaned = 0.376564 Jy
! Component: 150  -  total flux cleaned = 0.432975 Jy
! Component: 200  -  total flux cleaned = 0.468638 Jy
! Total flux subtracted in 200 components = 0.468638 Jy
! Clean residual min=-0.020018 max=0.022955 Jy/beam
! Clean residual mean=0.001641 rms=0.006807 Jy/beam
! Combined flux in latest and established models = 0.468638 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 22 model components to the UV plane model.
! The established model now contains 22 components and 0.468637 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9546 mas, bmaj=2.764 mas, bpa=10.52 degrees
! Estimated noise=720.097 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.033667 Jy
! Component: 100  -  total flux cleaned = 0.0467454 Jy
! Component: 150  -  total flux cleaned = 0.0518817 Jy
! Component: 200  -  total flux cleaned = 0.0538995 Jy
! Total flux subtracted in 200 components = 0.0538995 Jy
! Clean residual min=-0.006731 max=0.012996 Jy/beam
! Clean residual mean=0.000660 rms=0.003701 Jy/beam
! Combined flux in latest and established models = 0.522537 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 33 components and 0.522537 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.95 mas, bmaj=16.09 mas, bpa=2.25 degrees
! Estimated noise=842.123 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00119224 Jy
! Component: 100  -  total flux cleaned = 0.00119119 Jy
! Component: 150  -  total flux cleaned = 0.00119175 Jy
! Component: 200  -  total flux cleaned = 0.00119258 Jy
! Total flux subtracted in 200 components = 0.00119258 Jy
! Clean residual min=-0.006252 max=0.012694 Jy/beam
! Clean residual mean=0.000973 rms=0.005102 Jy/beam
! Combined flux in latest and established models = 0.52373 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 = 8.57202e-07 Jy
! Component: 100  -  total flux cleaned = 1.66612e-06 Jy
! Component: 150  -  total flux cleaned = 2.41219e-06 Jy
! Component: 200  -  total flux cleaned = 3.09635e-06 Jy
! Total flux subtracted in 200 components = 3.09635e-06 Jy
! Clean residual min=-0.006344 max=0.012387 Jy/beam
! Clean residual mean=0.000972 rms=0.004969 Jy/beam
! Combined flux in latest and established models = 0.523733 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 43 components and 0.523733 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9546 mas, bmaj=2.764 mas, bpa=10.52 degrees
! Estimated noise=720.097 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00081539 Jy
! Component: 100  -  total flux cleaned = -0.000649307 Jy
! Component: 150  -  total flux cleaned = -0.000597044 Jy
! Component: 200  -  total flux cleaned = -0.000521315 Jy
! Total flux subtracted in 200 components = -0.000521315 Jy
! Clean residual min=-0.006398 max=0.012466 Jy/beam
! Clean residual mean=0.000618 rms=0.003494 Jy/beam
! Combined flux in latest and established models = 0.523211 Jy
selfcal
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 47 components and 0.523211 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255057Jy  sigma=0.001608
! Fit after  self-cal, rms=0.255060Jy  sigma=0.001608
wmodel J2056-4714_X_2003_06_18_pus_map.mod
! Writing 47 model components to file: J2056-4714_X_2003_06_18_pus_map.mod
wobs J2056-4714_X_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J2056-4714_X_2003_06_18_pus_uvs.fits
wwins J2056-4714_X_2003_06_18_pus_map.win
! wwins: Wrote 1 windows to J2056-4714_X_2003_06_18_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=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00496212 Jy
! Component: 100  -  total flux cleaned = 0.00761363 Jy
! Component: 150  -  total flux cleaned = 0.00849072 Jy
! Component: 200  -  total flux cleaned = 0.00946994 Jy
! Component: 250  -  total flux cleaned = 0.0104345 Jy
! Component: 300  -  total flux cleaned = 0.0114628 Jy
! Component: 350  -  total flux cleaned = 0.0123918 Jy
! Component: 400  -  total flux cleaned = 0.012871 Jy
! Component: 450  -  total flux cleaned = 0.0131891 Jy
! Component: 500  -  total flux cleaned = 0.0135364 Jy
! Component: 550  -  total flux cleaned = 0.0137858 Jy
! Component: 600  -  total flux cleaned = 0.0139056 Jy
! Component: 650  -  total flux cleaned = 0.0139053 Jy
! Component: 700  -  total flux cleaned = 0.0140917 Jy
! Component: 750  -  total flux cleaned = 0.0142729 Jy
! Component: 800  -  total flux cleaned = 0.0144488 Jy
! Component: 850  -  total flux cleaned = 0.0146204 Jy
! Component: 900  -  total flux cleaned = 0.0148556 Jy
! Component: 950  -  total flux cleaned = 0.0149875 Jy
! Component: 1000  -  total flux cleaned = 0.0152138 Jy
! Total flux subtracted in 1024 components = 0.0153411 Jy
! Clean residual min=-0.001955 max=0.002218 Jy/beam
! Clean residual mean=0.000033 rms=0.000599 Jy/beam
! Combined flux in latest and established models = 0.538553 Jy
keep
! Adding 39 model components to the UV plane model.
! The established model now contains 86 components and 0.538552 Jy
wmap "J2056-4714_X_2003_06_18_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9546 x 2.764 at 10.52 degrees (North through East)
! Clean map  min=-0.0035324  max=0.40531 Jy/beam
! Writing clean map to FITS file: J2056-4714_X_2003_06_18_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.405307 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000624983 
device "J2056-4714_X_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J2056-4714_X_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.462599 0.462599 0.925198 1.8504 3.70079 7.40158 14.8032 29.6063 59.2127
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.405 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9546 x 2.764 at 10.52 degrees (North through East)
! Clean map  min=-0.0035324  max=0.40531 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2056-4714_X_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J2056-4714_X_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J2056-4714_X_2003_06_18_pus_uvs.log closed on Wed Jan 17 18:20:31 2007