! Started logfile: J1743-0350_S_2003_05_07_pus_uvs.log on Sun Dec 24 11:47:38 2006
obs J1743-0350_S_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1743-0350_S_2003_05_07_pus_uva.fits
! AN table 1: 195 integrations on 171 of 171 possible baselines.
! AN table 2: 50 integrations on 171 of 171 possible baselines.
! AN table 3: 6 integrations on 171 of 171 possible baselines.
! AN table 4: 162 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.114155 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  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 32248 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 2329 telescope corrections were flagged in sub-array 1.
!  A total of 777 telescope corrections were flagged in sub-array 2.
!  A total of 114 telescope corrections were flagged in sub-array 3.
!  A total of 2447 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2329 telescope corrections were flagged in sub-array 1.
!  A total of 777 telescope corrections were flagged in sub-array 2.
!  A total of 114 telescope corrections were flagged in sub-array 3.
!  A total of 2447 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2331 telescope corrections were flagged in sub-array 1.
!  A total of 777 telescope corrections were flagged in sub-array 2.
!  A total of 114 telescope corrections were flagged in sub-array 3.
!  A total of 2447 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2332 telescope corrections were flagged in sub-array 1.
!  A total of 777 telescope corrections were flagged in sub-array 2.
!  A total of 114 telescope corrections were flagged in sub-array 3.
!  A total of 2447 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=2.851498Jy  sigma=0.019713
! Fit after  self-cal, rms=2.565561Jy  sigma=0.018103
! 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.058 mas, bmaj=3.902 mas, bpa=-6.793 degrees
! Estimated noise=1508.81 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.66045 Jy
! Component: 100  -  total flux cleaned = 3.31293 Jy
! Total flux subtracted in 100 components = 3.31293 Jy
! Clean residual min=-0.086238 max=0.267122 Jy/beam
! Clean residual mean=-0.000111 rms=0.026950 Jy/beam
! Combined flux in latest and established models = 3.31293 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 3.31293 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.780442Jy  sigma=0.004530
! Fit after  self-cal, rms=0.780616Jy  sigma=0.004530
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.291772 Jy
! Component: 100  -  total flux cleaned = 0.441446 Jy
! Total flux subtracted in 100 components = 0.441446 Jy
! Clean residual min=-0.068720 max=0.077284 Jy/beam
! Clean residual mean=-0.000086 rms=0.018506 Jy/beam
! Combined flux in latest and established models = 3.75438 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 17 components and 3.75438 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.675877Jy  sigma=0.003195
! Fit after  self-cal, rms=0.675898Jy  sigma=0.003195
! 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.624 mas, bmaj=5.426 mas, bpa=-6.187 degrees
! Estimated noise=675.411 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.0907733 Jy
! Component: 100  -  total flux cleaned = 0.123208 Jy
! Component: 150  -  total flux cleaned = 0.134012 Jy
! Component: 200  -  total flux cleaned = 0.134034 Jy
! Total flux subtracted in 200 components = 0.134034 Jy
! Clean residual min=-0.062585 max=0.059153 Jy/beam
! Clean residual mean=-0.002600 rms=0.016248 Jy/beam
! Combined flux in latest and established models = 3.88841 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 23 components and 3.88841 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.671795Jy  sigma=0.003065
! Fit after  self-cal, rms=0.671799Jy  sigma=0.003065
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 42 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.00     GG        1.00*    HN        0.95     
!   KK        1.00*    KP        1.07     LA        1.03     MA        2.30     
!   MC        1.12     MK        0.96     NL        0.90     ON        1.04     
!   OV        0.91     PT        1.02     SC        0.90     TC        1.09     
!   TS        1.00*    WF        0.99     WZ        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.87     
!   KK        1.00*    KP        1.00*    LA        1.06     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.94     ON        1.00*    
!   OV        1.00*    PT        1.01     SC        0.95     TC        1.04     
!   TS        1.00*    WF        1.16     WZ        1.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*    
!   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 12 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.03     GG        1.00*    HN        0.94     
!   KK        1.00*    KP        1.04     LA        1.11     MA        1.28     
!   MC        0.95     MK        1.00*    NL        0.98     ON        1.02     
!   OV        1.00*    PT        1.10     SC        0.92     TC        1.04     
!   TS        1.00*    WF        0.98     WZ        1.02     
! 
! 
! Correcting IF 2.
!  A total of 42 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        1.03     GG        1.00*    HN        0.99     
!   KK        1.00*    KP        1.02     LA        0.98     MA        1.04     
!   MC        1.07     MK        1.02     NL        0.92     ON        1.12     
!   OV        0.97     PT        1.01     SC        0.91     TC        1.09     
!   TS        1.00*    WF        0.98     WZ        0.99     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.06     GG        1.00*    HN        1.23     
!   KK        1.00*    KP        1.00*    LA        0.99     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.98     ON        1.00*    
!   OV        1.00*    PT        1.00     SC        0.94     TC        0.99     
!   TS        1.00*    WF        1.03     WZ        1.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*    
!   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 12 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.07     GG        1.00*    HN        0.98     
!   KK        1.00*    KP        1.03     LA        1.05     MA        1.14     
!   MC        1.02     MK        1.00*    NL        1.00     ON        1.11     
!   OV        1.00*    PT        1.08     SC        0.93     TC        1.13     
!   TS        1.00*    WF        1.02     WZ        1.00     
! 
! 
! Correcting IF 3.
!  A total of 42 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     GG        1.00*    HN        1.01     
!   KK        1.00*    KP        1.04     LA        0.98     MA        1.01     
!   MC        1.02     MK        0.97     NL        0.93     ON        1.10     
!   OV        0.96     PT        1.02     SC        1.05     TC        1.00     
!   TS        1.00*    WF        0.99     WZ        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        1.33     
!   KK        1.00*    KP        1.00*    LA        1.00     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.97     ON        1.00*    
!   OV        1.00*    PT        1.03     SC        1.09     TC        0.95     
!   TS        1.00*    WF        1.04     WZ        1.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*    
!   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 12 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.02     
!   KK        1.00*    KP        1.06     LA        1.04     MA        1.07     
!   MC        0.98     MK        1.00*    NL        1.01     ON        1.11     
!   OV        1.00*    PT        1.10     SC        1.06     TC        0.99     
!   TS        1.00*    WF        1.01     WZ        1.03     
! 
! 
! Correcting IF 4.
!  A total of 42 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     GG        1.00*    HN        1.01     
!   KK        1.00*    KP        1.00     LA        0.99     MA        1.01     
!   MC        1.44     MK        1.02     NL        0.88     ON        1.01     
!   OV        0.89     PT        0.97     SC        1.05     TC        1.00     
!   TS        1.00*    WF        1.00     WZ        0.98     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        2.40     
!   KK        1.00*    KP        1.00*    LA        0.99     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.92     ON        1.00*    
!   OV        1.00*    PT        0.97     SC        1.09     TC        0.95     
!   TS        1.00*    WF        1.02     WZ        1.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*    
!   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 12 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.02     GG        1.00*    HN        0.99     
!   KK        1.00*    KP        1.03     LA        1.04     MA        1.02     
!   MC        1.07     MK        1.00*    NL        0.95     ON        1.02     
!   OV        1.00*    PT        1.04     SC        1.06     TC        0.99     
!   TS        1.00*    WF        1.02     WZ        1.01     
! 
! 
! Fit before self-cal, rms=0.671799Jy  sigma=0.003065
! Fit after  self-cal, rms=0.634214Jy  sigma=0.002030
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.656 mas, bmaj=5.502 mas, bpa=-6.048 degrees
! Estimated noise=677.089 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.018071 Jy
! Component: 100  -  total flux cleaned = -0.0189916 Jy
! Component: 150  -  total flux cleaned = -0.0197057 Jy
! Component: 200  -  total flux cleaned = -0.0205425 Jy
! Total flux subtracted in 200 components = -0.0205425 Jy
! Clean residual min=-0.028456 max=0.029614 Jy/beam
! Clean residual mean=0.000715 rms=0.007036 Jy/beam
! Combined flux in latest and established models = 3.86787 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 29 components and 3.86787 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.632773Jy  sigma=0.002026
! Fit after  self-cal, rms=0.633644Jy  sigma=0.002026
! 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.633644Jy  sigma=0.002026
! Fit after  self-cal, rms=0.625438Jy  sigma=0.001846
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.673 mas, bmaj=5.504 mas, bpa=-6.04 degrees
! Estimated noise=676.959 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0151934 Jy
! Component: 100  -  total flux cleaned = -0.0160369 Jy
! Component: 150  -  total flux cleaned = -0.0170531 Jy
! Component: 200  -  total flux cleaned = -0.0173285 Jy
! Total flux subtracted in 200 components = -0.0173285 Jy
! Clean residual min=-0.012413 max=0.012183 Jy/beam
! Clean residual mean=0.000431 rms=0.003471 Jy/beam
! Combined flux in latest and established models = 3.85054 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 35 components and 3.85054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.624384Jy  sigma=0.001840
! Fit after  self-cal, rms=0.624403Jy  sigma=0.001840
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.000339202 Jy
! Component: 100  -  total flux cleaned = -0.000746916 Jy
! Component: 150  -  total flux cleaned = -0.000906655 Jy
! Component: 200  -  total flux cleaned = -0.00105068 Jy
! Total flux subtracted in 200 components = -0.00105068 Jy
! Clean residual min=-0.012396 max=0.012252 Jy/beam
! Clean residual mean=0.000436 rms=0.003461 Jy/beam
! Combined flux in latest and established models = 3.84949 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 36 components and 3.84949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.624218Jy  sigma=0.001839
! Fit after  self-cal, rms=0.624223Jy  sigma=0.001839
! 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.624223Jy  sigma=0.001839
! Fit after  self-cal, rms=0.777577Jy  sigma=0.001721
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.683 mas, bmaj=5.508 mas, bpa=-6.006 degrees
! Estimated noise=677.816 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00528622 Jy
! Component: 100  -  total flux cleaned = -0.00619158 Jy
! Component: 150  -  total flux cleaned = -0.00669776 Jy
! Component: 200  -  total flux cleaned = -0.00733436 Jy
! Total flux subtracted in 200 components = -0.00733436 Jy
! Clean residual min=-0.011886 max=0.010519 Jy/beam
! Clean residual mean=0.000801 rms=0.002702 Jy/beam
! Combined flux in latest and established models = 3.84215 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 38 components and 3.84215 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.777130Jy  sigma=0.001719
! Fit after  self-cal, rms=0.777173Jy  sigma=0.001719
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.000631502 Jy
! Component: 100  -  total flux cleaned = -0.00108827 Jy
! Component: 150  -  total flux cleaned = -0.00134806 Jy
! Component: 200  -  total flux cleaned = -0.00157918 Jy
! Total flux subtracted in 200 components = -0.00157918 Jy
! Clean residual min=-0.011103 max=0.010522 Jy/beam
! Clean residual mean=0.000809 rms=0.002699 Jy/beam
! Combined flux in latest and established models = 3.84058 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 39 components and 3.84058 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.777037Jy  sigma=0.001719
! Fit after  self-cal, rms=0.777049Jy  sigma=0.001719
! 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.777049Jy  sigma=0.001719
! Fit after  self-cal, rms=0.781624Jy  sigma=0.001717
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.311 mas, bmaj=11.89 mas, bpa=-3.528 degrees
! Estimated noise=766.598 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000242882 Jy
! Component: 100  -  total flux cleaned = 0.000248423 Jy
! Component: 150  -  total flux cleaned = 0.000299486 Jy
! Component: 200  -  total flux cleaned = 0.000431698 Jy
! Total flux subtracted in 200 components = 0.000431698 Jy
! Clean residual min=-0.010687 max=0.014318 Jy/beam
! Clean residual mean=0.001705 rms=0.003799 Jy/beam
! Combined flux in latest and established models = 3.84101 Jy
selfcal
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 42 components and 3.84101 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.781627Jy  sigma=0.001717
! Fit after  self-cal, rms=0.781616Jy  sigma=0.001717
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 = 7.09524e-05 Jy
! Component: 100  -  total flux cleaned = 6.53663e-05 Jy
! Component: 150  -  total flux cleaned = 0.000108266 Jy
! Component: 200  -  total flux cleaned = 0.000143744 Jy
! Total flux subtracted in 200 components = 0.000143744 Jy
! Clean residual min=-0.010615 max=0.014408 Jy/beam
! Clean residual mean=0.001704 rms=0.003795 Jy/beam
! Combined flux in latest and established models = 3.84115 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 46 components and 3.84115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.781643Jy  sigma=0.001718
! Fit after  self-cal, rms=0.781628Jy  sigma=0.001717
! 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.69 mas, bmaj=5.509 mas, bpa=-5.979 degrees
! Estimated noise=678.481 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.69 x 5.509 at -5.979 degrees (North through East)
! Clean map  min=-0.0105  max=3.5886 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.781628Jy  sigma=0.001717
! Fit after  self-cal, rms=0.707500Jy  sigma=0.001139
! Inverting map and beam 
! Estimated beam: bmin=2.688 mas, bmaj=5.507 mas, bpa=-5.985 degrees
! Estimated noise=677.718 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00681194 Jy
! Component: 100  -  total flux cleaned = -0.00721807 Jy
! Component: 150  -  total flux cleaned = -0.00737719 Jy
! Component: 200  -  total flux cleaned = -0.00763824 Jy
! Total flux subtracted in 200 components = -0.00763824 Jy
! Clean residual min=-0.006333 max=0.006981 Jy/beam
! Clean residual mean=0.000117 rms=0.001424 Jy/beam
! Combined flux in latest and established models = 3.83351 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 46 components and 3.83351 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.707216Jy  sigma=0.001137
! Fit after  self-cal, rms=0.707228Jy  sigma=0.001137
! Inverting map 
! Added new window around map position (3.5, -15.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00571222 Jy
! Component: 100  -  total flux cleaned = 0.0070167 Jy
! Component: 150  -  total flux cleaned = 0.00729022 Jy
! Component: 200  -  total flux cleaned = 0.00762136 Jy
! Total flux subtracted in 200 components = 0.00762136 Jy
! Clean residual min=-0.006354 max=0.005530 Jy/beam
! Clean residual mean=0.000066 rms=0.001327 Jy/beam
! Combined flux in latest and established models = 3.84113 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 57 components and 3.84114 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.707049Jy  sigma=0.001136
! Fit after  self-cal, rms=0.707068Jy  sigma=0.001136
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.707068Jy  sigma=0.001136
! Fit after  self-cal, rms=0.710098Jy  sigma=0.001135
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.114 mas, bmaj=3.93 mas, bpa=-6.435 degrees
! Estimated noise=1550.02 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.72204 Jy
! Component: 100  -  total flux cleaned = 3.34162 Jy
! Component: 150  -  total flux cleaned = 3.58442 Jy
! Component: 200  -  total flux cleaned = 3.70727 Jy
! Total flux subtracted in 200 components = 3.70727 Jy
! Clean residual min=-0.018069 max=0.057527 Jy/beam
! Clean residual mean=0.000011 rms=0.004863 Jy/beam
! Combined flux in latest and established models = 3.70727 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 17 model components to the UV plane model.
! The established model now contains 17 components and 3.70727 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.693 mas, bmaj=5.506 mas, bpa=-5.957 degrees
! Estimated noise=677.674 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.0803804 Jy
! Component: 100  -  total flux cleaned = 0.111336 Jy
! Component: 150  -  total flux cleaned = 0.124933 Jy
! Component: 200  -  total flux cleaned = 0.132189 Jy
! Total flux subtracted in 200 components = 0.132189 Jy
! Clean residual min=-0.007514 max=0.005626 Jy/beam
! Clean residual mean=0.000089 rms=0.001343 Jy/beam
! Combined flux in latest and established models = 3.83946 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 28 components and 3.83946 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=8.323 mas, bmaj=11.89 mas, bpa=-3.433 degrees
! Estimated noise=764.594 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00312064 Jy
! Component: 100  -  total flux cleaned = 0.00369118 Jy
! Component: 150  -  total flux cleaned = 0.00389396 Jy
! Component: 200  -  total flux cleaned = 0.00389408 Jy
! Total flux subtracted in 200 components = 0.00389408 Jy
! Clean residual min=-0.004858 max=0.005653 Jy/beam
! Clean residual mean=0.000121 rms=0.001602 Jy/beam
! Combined flux in latest and established models = 3.84335 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 = -4.589e-07 Jy
! Component: 100  -  total flux cleaned = -2.0863e-06 Jy
! Component: 150  -  total flux cleaned = -3.72394e-06 Jy
! Component: 200  -  total flux cleaned = -4.09708e-06 Jy
! Total flux subtracted in 200 components = -4.09708e-06 Jy
! Clean residual min=-0.004678 max=0.005543 Jy/beam
! Clean residual mean=0.000119 rms=0.001590 Jy/beam
! Combined flux in latest and established models = 3.84335 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 53 components and 3.84335 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.693 mas, bmaj=5.506 mas, bpa=-5.957 degrees
! Estimated noise=677.674 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00165543 Jy
! Component: 100  -  total flux cleaned = 0.0018403 Jy
! Component: 150  -  total flux cleaned = 0.00183998 Jy
! Component: 200  -  total flux cleaned = 0.00185385 Jy
! Total flux subtracted in 200 components = 0.00185385 Jy
! Clean residual min=-0.007785 max=0.005645 Jy/beam
! Clean residual mean=0.000052 rms=0.001297 Jy/beam
! Combined flux in latest and established models = 3.8452 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 57 components and 3.8452 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.712512Jy  sigma=0.001136
! Fit after  self-cal, rms=0.712351Jy  sigma=0.001136
wmodel J1743-0350_S_2003_05_07_pus_map.mod
! Writing 57 model components to file: J1743-0350_S_2003_05_07_pus_map.mod
wobs J1743-0350_S_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1743-0350_S_2003_05_07_pus_uvs.fits
wwins J1743-0350_S_2003_05_07_pus_map.win
! wwins: Wrote 2 windows to J1743-0350_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.00321568 Jy
! Component: 100  -  total flux cleaned = -0.0049574 Jy
! Component: 150  -  total flux cleaned = -0.00515602 Jy
! Component: 200  -  total flux cleaned = -0.00470335 Jy
! Component: 250  -  total flux cleaned = -0.00418476 Jy
! Component: 300  -  total flux cleaned = -0.00360234 Jy
! Component: 350  -  total flux cleaned = -0.00320005 Jy
! Component: 400  -  total flux cleaned = -0.00281292 Jy
! Component: 450  -  total flux cleaned = -0.00251181 Jy
! Component: 500  -  total flux cleaned = -0.00214568 Jy
! Component: 550  -  total flux cleaned = -0.00200344 Jy
! Component: 600  -  total flux cleaned = -0.00186408 Jy
! Component: 650  -  total flux cleaned = -0.00172765 Jy
! Component: 700  -  total flux cleaned = -0.00166031 Jy
! Component: 750  -  total flux cleaned = -0.00139601 Jy
! Component: 800  -  total flux cleaned = -0.00146123 Jy
! Component: 850  -  total flux cleaned = -0.0013973 Jy
! Component: 900  -  total flux cleaned = -0.00152449 Jy
! Component: 950  -  total flux cleaned = -0.0015247 Jy
! Component: 1000  -  total flux cleaned = -0.00170964 Jy
! Component: 1050  -  total flux cleaned = -0.00177075 Jy
! Component: 1100  -  total flux cleaned = -0.00195119 Jy
! Component: 1150  -  total flux cleaned = -0.00201056 Jy
! Component: 1200  -  total flux cleaned = -0.00206953 Jy
! Component: 1250  -  total flux cleaned = -0.00218611 Jy
! Component: 1300  -  total flux cleaned = -0.00224413 Jy
! Component: 1350  -  total flux cleaned = -0.00230113 Jy
! Component: 1400  -  total flux cleaned = -0.00235705 Jy
! Component: 1450  -  total flux cleaned = -0.002301 Jy
! Component: 1500  -  total flux cleaned = -0.0022459 Jy
! Component: 1550  -  total flux cleaned = -0.00230037 Jy
! Component: 1600  -  total flux cleaned = -0.00224635 Jy
! Component: 1650  -  total flux cleaned = -0.00219301 Jy
! Component: 1700  -  total flux cleaned = -0.00224661 Jy
! Component: 1750  -  total flux cleaned = -0.00214107 Jy
! Component: 1800  -  total flux cleaned = -0.00234989 Jy
! Component: 1850  -  total flux cleaned = -0.00209027 Jy
! Component: 1900  -  total flux cleaned = -0.00219363 Jy
! Component: 1950  -  total flux cleaned = -0.0021933 Jy
! Component: 2000  -  total flux cleaned = -0.00219289 Jy
! Total flux subtracted in 2048 components = -0.00214208 Jy
! Clean residual min=-0.002513 max=0.003157 Jy/beam
! Clean residual mean=0.000073 rms=0.000909 Jy/beam
! Combined flux in latest and established models = 3.84306 Jy
keep
! Adding 109 model components to the UV plane model.
! The established model now contains 166 components and 3.84306 Jy
wmap "J1743-0350_S_2003_05_07_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.693 x 5.506 at -5.957 degrees (North through East)
! Clean map  min=-0.0048013  max=3.5835 Jy/beam
! Writing clean map to FITS file: J1743-0350_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 3.58351 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000904668 
device "J1743-0350_S_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1743-0350_S_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0757359 0.0757359 0.151472 0.302944 0.605887 1.21177 2.42355 4.8471 9.69419 19.3884 38.7768 77.5536
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0027 
print "peak=",int(1000*peak_flux)/1000
! peak= 3.583 
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.693 x 5.506 at -5.957 degrees (North through East)
! Clean map  min=-0.0048013  max=3.5835 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1743-0350_S_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1743-0350_S_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1743-0350_S_2003_05_07_pus_uvs.log closed on Sun Dec 24 11:49:47 2006