! Started logfile: J1743-0350_X_2000_12_04_pus_uvs.log on Fri Oct 12 15:30:52 2007
obs J1743-0350_X_2000_12_04_pus_uva.fits
! Reading UV FITS file: J1743-0350_X_2000_12_04_pus_uva.fits
! AN table 1: 41 integrations on 190 of 190 possible baselines.
! AN table 2: 65 integrations on 190 of 190 possible baselines.
! AN table 3: 29 integrations on 190 of 190 possible baselines.
! AN table 4: 12 integrations on 190 of 190 possible baselines.
! AN table 5: 107 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.124637 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1743-0350
! 
! 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 2126 lines of history.
! 
! Reading 24060 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 = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1743-0350_X_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 = 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 748 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
!  A total of 467 telescope corrections were flagged in sub-array 3.
!  A total of 204 telescope corrections were flagged in sub-array 4.
!  A total of 1144 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 748 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
!  A total of 467 telescope corrections were flagged in sub-array 3.
!  A total of 204 telescope corrections were flagged in sub-array 4.
!  A total of 1144 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 748 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
!  A total of 467 telescope corrections were flagged in sub-array 3.
!  A total of 204 telescope corrections were flagged in sub-array 4.
!  A total of 1144 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 748 telescope corrections were flagged in sub-array 1.
!  A total of 966 telescope corrections were flagged in sub-array 2.
!  A total of 467 telescope corrections were flagged in sub-array 3.
!  A total of 204 telescope corrections were flagged in sub-array 4.
!  A total of 1144 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=2.503078Jy  sigma=0.028192
! Fit after  self-cal, rms=2.313524Jy  sigma=0.026464
! 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 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.6198 mas, bmaj=1.373 mas, bpa=0.7731 degrees
! Estimated noise=1013.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 = 2.30185 Jy
! Component: 100  -  total flux cleaned = 2.98887 Jy
! Total flux subtracted in 100 components = 2.98887 Jy
! Clean residual min=-0.092295 max=0.308255 Jy/beam
! Clean residual mean=0.002588 rms=0.034921 Jy/beam
! Combined flux in latest and established models = 2.98887 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 2.98887 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.681964Jy  sigma=0.007539
! Fit after  self-cal, rms=0.682210Jy  sigma=0.007538
! Inverting map 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.357553 Jy
! Component: 100  -  total flux cleaned = 0.570793 Jy
! Total flux subtracted in 100 components = 0.570793 Jy
! Clean residual min=-0.062797 max=0.121395 Jy/beam
! Clean residual mean=0.000998 rms=0.017563 Jy/beam
! Combined flux in latest and established models = 3.55966 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 27 components and 3.55966 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.377704Jy  sigma=0.003647
! Fit after  self-cal, rms=0.377411Jy  sigma=0.003641
! Inverting map 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Added new window around map position (-0.2, -1.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.142067 Jy
! Component: 100  -  total flux cleaned = 0.235157 Jy
! Total flux subtracted in 100 components = 0.235157 Jy
! Clean residual min=-0.060369 max=0.058501 Jy/beam
! Clean residual mean=0.000290 rms=0.012689 Jy/beam
! Combined flux in latest and established models = 3.79482 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 34 components and 3.79482 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306589Jy  sigma=0.002675
! Fit after  self-cal, rms=0.306231Jy  sigma=0.002667
! Inverting map 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.817 mas, bmaj=1.872 mas, bpa=0.1104 degrees
! Estimated noise=423.392 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.0704727 Jy
! Component: 100  -  total flux cleaned = 0.101141 Jy
! Component: 150  -  total flux cleaned = 0.105228 Jy
! Component: 200  -  total flux cleaned = 0.109407 Jy
! Total flux subtracted in 200 components = 0.109407 Jy
! Clean residual min=-0.044906 max=0.035450 Jy/beam
! Clean residual mean=-0.000637 rms=0.011700 Jy/beam
! Combined flux in latest and established models = 3.90422 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 41 components and 3.90422 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289169Jy  sigma=0.002460
! Fit after  self-cal, rms=0.288856Jy  sigma=0.002456
! Inverting map 
! Your choice of large map pixels excluded 0.49% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 72 telescope corrections were flagged in sub-array 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 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00*    KP        0.96     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.05     
!   NL        1.00     NY        1.00*    OV        1.00     PT        1.00     
!   SC        0.99     TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.30     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        0.98     MC        1.01     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.15     WF        1.00*    WZ        0.99     
! 
!  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*    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 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.97     FD        1.03     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.01     KK        0.99     KP        1.02     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.02     
!   NL        1.01     NY        1.00*    OV        1.00     PT        1.01     
!   SC        1.07     TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 72 telescope corrections were flagged in sub-array 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 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00*    KP        0.96     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        1.05     
!   NL        0.96     NY        1.00*    OV        1.00     PT        1.00     
!   SC        1.00     TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.33     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.02     MC        1.00     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.15     WF        1.00*    WZ        1.01     
! 
!  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*    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 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.97     FD        1.04     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        0.97     KP        1.02     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        1.03     
!   NL        0.96     NY        1.00*    OV        1.00     PT        1.01     
!   SC        1.07     TS        1.00*    WF        1.01     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 72 telescope corrections were flagged in sub-array 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 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        1.03     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00*    KP        0.96     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.05     
!   NL        0.95     NY        1.00*    OV        0.96     PT        0.97     
!   SC        1.00     TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.08     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        0.99     MC        1.03     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.19     WF        1.00*    WZ        0.99     
! 
!  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*    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 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.94     FD        1.08     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        0.97     KP        1.01     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.02     
!   NL        0.96     NY        1.00*    OV        0.96     PT        0.97     
!   SC        1.06     TS        1.00*    WF        1.01     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 72 telescope corrections were flagged in sub-array 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 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.98     KK        1.00*    KP        0.96     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        1.01     
!   NL        0.96     NY        1.00*    OV        0.98     PT        0.96     
!   SC        0.97     TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        8.39     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.01     MC        1.03     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.14     WF        1.00*    WZ        1.02     
! 
!  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*    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 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.97     FD        1.07     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.99     KP        1.01     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.97     NY        1.00*    OV        0.99     PT        0.96     
!   SC        1.05     TS        1.00*    WF        1.01     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.288856Jy  sigma=0.002456
! Fit after  self-cal, rms=0.304859Jy  sigma=0.001641
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.846 mas, bmaj=1.989 mas, bpa=-0.596 degrees
! Estimated noise=430.747 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.00277776 Jy
! Component: 100  -  total flux cleaned = -0.00514822 Jy
! Component: 150  -  total flux cleaned = -0.00636722 Jy
! Component: 200  -  total flux cleaned = -0.00746146 Jy
! Total flux subtracted in 200 components = -0.00746146 Jy
! Clean residual min=-0.013116 max=0.014867 Jy/beam
! Clean residual mean=0.000240 rms=0.003484 Jy/beam
! Combined flux in latest and established models = 3.89676 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 48 components and 3.89676 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.303290Jy  sigma=0.001616
! Fit after  self-cal, rms=0.302913Jy  sigma=0.001615
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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.302913Jy  sigma=0.001615
! Fit after  self-cal, rms=0.300080Jy  sigma=0.001508
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8458 mas, bmaj=1.991 mas, bpa=-0.6753 degrees
! Estimated noise=431.071 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00111128 Jy
! Component: 100  -  total flux cleaned = -0.0032068 Jy
! Component: 150  -  total flux cleaned = -0.00381066 Jy
! Component: 200  -  total flux cleaned = -0.00462895 Jy
! Total flux subtracted in 200 components = -0.00462895 Jy
! Clean residual min=-0.011321 max=0.011820 Jy/beam
! Clean residual mean=0.000186 rms=0.002904 Jy/beam
! Combined flux in latest and established models = 3.89213 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 48 components and 3.89213 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299257Jy  sigma=0.001494
! Fit after  self-cal, rms=0.299280Jy  sigma=0.001494
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.31516e-05 Jy
! Component: 100  -  total flux cleaned = -0.000667525 Jy
! Component: 150  -  total flux cleaned = -0.00128994 Jy
! Component: 200  -  total flux cleaned = -0.00185893 Jy
! Total flux subtracted in 200 components = -0.00185893 Jy
! Clean residual min=-0.011121 max=0.010378 Jy/beam
! Clean residual mean=0.000216 rms=0.002805 Jy/beam
! Combined flux in latest and established models = 3.89028 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 48 components and 3.89028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298958Jy  sigma=0.001489
! Fit after  self-cal, rms=0.298946Jy  sigma=0.001488
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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.298946Jy  sigma=0.001488
! Fit after  self-cal, rms=0.299372Jy  sigma=0.001483
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8456 mas, bmaj=1.993 mas, bpa=-0.759 degrees
! Estimated noise=431.361 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000326071 Jy
! Component: 100  -  total flux cleaned = -0.00139726 Jy
! Component: 150  -  total flux cleaned = -0.00174132 Jy
! Component: 200  -  total flux cleaned = -0.00235309 Jy
! Total flux subtracted in 200 components = -0.00235309 Jy
! Clean residual min=-0.010822 max=0.009967 Jy/beam
! Clean residual mean=0.000179 rms=0.002621 Jy/beam
! Combined flux in latest and established models = 3.88792 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 49 components and 3.88792 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299014Jy  sigma=0.001477
! Fit after  self-cal, rms=0.299021Jy  sigma=0.001477
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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 = -5.00699e-05 Jy
! Component: 100  -  total flux cleaned = -3.63291e-05 Jy
! Component: 150  -  total flux cleaned = -0.000281924 Jy
! Component: 200  -  total flux cleaned = -0.000395295 Jy
! Total flux subtracted in 200 components = -0.000395295 Jy
! Clean residual min=-0.010637 max=0.010154 Jy/beam
! Clean residual mean=0.000185 rms=0.002577 Jy/beam
! Combined flux in latest and established models = 3.88753 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 49 components and 3.88753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298872Jy  sigma=0.001474
! Fit after  self-cal, rms=0.298847Jy  sigma=0.001474
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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.298847Jy  sigma=0.001474
! Fit after  self-cal, rms=0.299918Jy  sigma=0.001472
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=2.084 mas, bmaj=3.644 mas, bpa=5.918 degrees
! Estimated noise=533.189 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00304035 Jy
! Component: 100  -  total flux cleaned = -0.00301399 Jy
! Component: 150  -  total flux cleaned = -0.00318194 Jy
! Component: 200  -  total flux cleaned = -0.00310879 Jy
! Total flux subtracted in 200 components = -0.00310879 Jy
! Clean residual min=-0.008082 max=0.009438 Jy/beam
! Clean residual mean=0.000487 rms=0.002623 Jy/beam
! Combined flux in latest and established models = 3.88442 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 55 components and 3.88442 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299853Jy  sigma=0.001471
! Fit after  self-cal, rms=0.299900Jy  sigma=0.001471
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.6167e-05 Jy
! Component: 100  -  total flux cleaned = 0.000108874 Jy
! Component: 150  -  total flux cleaned = 0.000111193 Jy
! Component: 200  -  total flux cleaned = 0.000162401 Jy
! Total flux subtracted in 200 components = 0.000162401 Jy
! Clean residual min=-0.007771 max=0.009011 Jy/beam
! Clean residual mean=0.000483 rms=0.002578 Jy/beam
! Combined flux in latest and established models = 3.88458 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 57 components and 3.88458 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299937Jy  sigma=0.001471
! Fit after  self-cal, rms=0.299946Jy  sigma=0.001471
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8454 mas, bmaj=1.994 mas, bpa=-0.8331 degrees
! Estimated noise=431.501 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8454 x 1.994 at -0.8331 degrees (North through East)
! Clean map  min=-0.0093484  max=3.1989 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.299946Jy  sigma=0.001471
! Fit after  self-cal, rms=1.354562Jy  sigma=0.001290
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8455 mas, bmaj=1.997 mas, bpa=-0.932 degrees
! Estimated noise=431.542 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00170289 Jy
! Component: 100  -  total flux cleaned = -0.00285442 Jy
! Component: 150  -  total flux cleaned = -0.00377262 Jy
! Component: 200  -  total flux cleaned = -0.00410415 Jy
! Total flux subtracted in 200 components = -0.00410415 Jy
! Clean residual min=-0.010036 max=0.008354 Jy/beam
! Clean residual mean=0.000072 rms=0.002278 Jy/beam
! Combined flux in latest and established models = 3.88048 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 59 components and 3.88048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.354460Jy  sigma=0.001287
! Fit after  self-cal, rms=1.354446Jy  sigma=0.001286
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00021495 Jy
! Component: 100  -  total flux cleaned = -0.000322558 Jy
! Component: 150  -  total flux cleaned = -0.00052376 Jy
! Component: 200  -  total flux cleaned = -0.000791373 Jy
! Total flux subtracted in 200 components = -0.000791373 Jy
! Clean residual min=-0.009879 max=0.008420 Jy/beam
! Clean residual mean=0.000086 rms=0.002250 Jy/beam
! Combined flux in latest and established models = 3.87969 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 59 components and 3.87969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.354391Jy  sigma=0.001285
! Fit after  self-cal, rms=1.354384Jy  sigma=0.001285
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.354384Jy  sigma=0.001285
! Fit after  self-cal, rms=1.189878Jy  sigma=0.001284
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 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.652 mas, bmaj=1.603 mas, bpa=-1.769 degrees
! Estimated noise=884.028 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.36911 Jy
! Component: 100  -  total flux cleaned = 3.04108 Jy
! Component: 150  -  total flux cleaned = 3.38308 Jy
! Component: 200  -  total flux cleaned = 3.58419 Jy
! Total flux subtracted in 200 components = 3.58419 Jy
! Clean residual min=-0.036189 max=0.103468 Jy/beam
! Clean residual mean=0.000919 rms=0.012575 Jy/beam
! Combined flux in latest and established models = 3.58419 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 27 model components to the UV plane model.
! The established model now contains 27 components and 3.58419 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8455 mas, bmaj=1.998 mas, bpa=-0.9838 degrees
! Estimated noise=431.631 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.153913 Jy
! Component: 100  -  total flux cleaned = 0.228506 Jy
! Component: 150  -  total flux cleaned = 0.266654 Jy
! Component: 200  -  total flux cleaned = 0.286211 Jy
! Total flux subtracted in 200 components = 0.286211 Jy
! Clean residual min=-0.013874 max=0.013232 Jy/beam
! Clean residual mean=0.000218 rms=0.003099 Jy/beam
! Combined flux in latest and established models = 3.8704 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 37 components and 3.8704 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
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 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=2.085 mas, bmaj=3.649 mas, bpa=5.81 degrees
! Estimated noise=532.718 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00690842 Jy
! Component: 100  -  total flux cleaned = 0.0069225 Jy
! Component: 150  -  total flux cleaned = 0.00693601 Jy
! Component: 200  -  total flux cleaned = 0.00695374 Jy
! Total flux subtracted in 200 components = 0.00695374 Jy
! Clean residual min=-0.007038 max=0.006856 Jy/beam
! Clean residual mean=0.000227 rms=0.002203 Jy/beam
! Combined flux in latest and established models = 3.87735 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 = 9.21309e-05 Jy
! Component: 100  -  total flux cleaned = 9.88314e-05 Jy
! Component: 150  -  total flux cleaned = -8.67102e-05 Jy
! Component: 200  -  total flux cleaned = -0.000253322 Jy
! Total flux subtracted in 200 components = -0.000253322 Jy
! Clean residual min=-0.006946 max=0.007128 Jy/beam
! Clean residual mean=0.000234 rms=0.002197 Jy/beam
! Combined flux in latest and established models = 3.8771 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 46 components and 3.8771 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! Estimated beam: bmin=0.8455 mas, bmaj=1.998 mas, bpa=-0.9838 degrees
! Estimated noise=431.631 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00502175 Jy
! Component: 100  -  total flux cleaned = -0.00245376 Jy
! Component: 150  -  total flux cleaned = -0.00025717 Jy
! Component: 200  -  total flux cleaned = 0.000728473 Jy
! Total flux subtracted in 200 components = 0.000728473 Jy
! Clean residual min=-0.010229 max=0.012053 Jy/beam
! Clean residual mean=0.000083 rms=0.002602 Jy/beam
! Combined flux in latest and established models = 3.87783 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 48 components and 3.87783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.191524Jy  sigma=0.001322
! Fit after  self-cal, rms=1.191707Jy  sigma=0.001321
wmodel J1743-0350_X_2000_12_04_pus_map.mod
! Writing 48 model components to file: J1743-0350_X_2000_12_04_pus_map.mod
wobs J1743-0350_X_2000_12_04_pus_uvs.fits
! Writing UV FITS file: J1743-0350_X_2000_12_04_pus_uvs.fits
wwins J1743-0350_X_2000_12_04_pus_map.win
! wwins: Wrote 2 windows to J1743-0350_X_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 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00105824 Jy
! Component: 100  -  total flux cleaned = 0.00051346 Jy
! Component: 150  -  total flux cleaned = -0.00031788 Jy
! Component: 200  -  total flux cleaned = -0.000947044 Jy
! Component: 250  -  total flux cleaned = -0.0012469 Jy
! Component: 300  -  total flux cleaned = -0.00182027 Jy
! Component: 350  -  total flux cleaned = -0.00236759 Jy
! Component: 400  -  total flux cleaned = -0.0028938 Jy
! Component: 450  -  total flux cleaned = -0.00340283 Jy
! Component: 500  -  total flux cleaned = -0.00389584 Jy
! Component: 550  -  total flux cleaned = -0.0043749 Jy
! Component: 600  -  total flux cleaned = -0.00483987 Jy
! Component: 650  -  total flux cleaned = -0.00506408 Jy
! Component: 700  -  total flux cleaned = -0.00539441 Jy
! Component: 750  -  total flux cleaned = -0.00561133 Jy
! Component: 800  -  total flux cleaned = -0.00592991 Jy
! Component: 850  -  total flux cleaned = -0.00624105 Jy
! Component: 900  -  total flux cleaned = -0.00644295 Jy
! Component: 950  -  total flux cleaned = -0.00663999 Jy
! Component: 1000  -  total flux cleaned = -0.00683303 Jy
! Total flux subtracted in 1024 components = -0.00692794 Jy
! Clean residual min=-0.004757 max=0.004770 Jy/beam
! Clean residual mean=0.000172 rms=0.001618 Jy/beam
! Combined flux in latest and established models = 3.8709 Jy
keep
! Adding 43 model components to the UV plane model.
! The established model now contains 91 components and 3.8709 Jy
![Exited script file: muppet]
wmap "J1743-0350_X_2000_12_04_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8455 x 1.998 at -0.9838 degrees (North through East)
! Clean map  min=-0.0078471  max=3.2046 Jy/beam
! Writing clean map to FITS file: J1743-0350_X_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 3.20462 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.478% of the data.
!  The x-axis pixel size should ideally be below 0.197 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00161745 
device "J1743-0350_X_2000_12_04_pus\_map.eps/VPS"
! Attempting to open device: 'J1743-0350_X_2000_12_04_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.151417 0.151417 0.302835 0.60567 1.21134 2.42268 4.84536 9.69072 19.3814 38.7629 77.5257
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0048 
print "peak=",int(1000*peak_flux)/1000
! peak= 3.204 
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.8455 x 1.998 at -0.9838 degrees (North through East)
! Clean map  min=-0.0078471  max=3.2046 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1743-0350_X_2000_12_04_pus\_map.gif/vgif"
! Attempting to open device: 'J1743-0350_X_2000_12_04_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1743-0350_X_2000_12_04_pus_uvs.log closed on Fri Oct 12 15:31:00 2007