! Started logfile: J0730-1141_S_1999_03_08_pus_uvs.log on Tue Jan  8 18:06:23 2008
obs J0730-1141_S_1999_03_08_pus_uva.fits
! Reading UV FITS file: J0730-1141_S_1999_03_08_pus_uva.fits
! AN table 1: 52 integrations on 190 of 190 possible baselines.
! AN table 2: 30 integrations on 190 of 190 possible baselines.
! AN table 3: 74 integrations on 190 of 190 possible baselines.
! AN table 4: 16 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.140698 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0730-1141
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2332 lines of history.
! 
! Reading 18392 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
print "field_size =",field_size
! field_size = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
![@muppet J0730-1141_S_1999_03_08_pus]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 777 telescope corrections were flagged in sub-array 1.
!  A total of 414 telescope corrections were flagged in sub-array 2.
!  A total of 965 telescope corrections were flagged in sub-array 3.
!  A total of 213 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 777 telescope corrections were flagged in sub-array 1.
!  A total of 414 telescope corrections were flagged in sub-array 2.
!  A total of 965 telescope corrections were flagged in sub-array 3.
!  A total of 213 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 777 telescope corrections were flagged in sub-array 1.
!  A total of 414 telescope corrections were flagged in sub-array 2.
!  A total of 948 telescope corrections were flagged in sub-array 3.
!  A total of 213 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 777 telescope corrections were flagged in sub-array 1.
!  A total of 414 telescope corrections were flagged in sub-array 2.
!  A total of 948 telescope corrections were flagged in sub-array 3.
!  A total of 213 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=1.530139Jy  sigma=0.010321
! Fit after  self-cal, rms=1.019040Jy  sigma=0.007789
! 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.083 mas, bmaj=5.259 mas, bpa=1.071 degrees
! Estimated noise=1271.17 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 = 1.38586 Jy
! Component: 100  -  total flux cleaned = 1.76393 Jy
! Total flux subtracted in 100 components = 1.76393 Jy
! Clean residual min=-0.049606 max=0.170330 Jy/beam
! Clean residual mean=0.000194 rms=0.016226 Jy/beam
! Combined flux in latest and established models = 1.76393 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.76393 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.487700Jy  sigma=0.003429
! Fit after  self-cal, rms=0.486811Jy  sigma=0.003425
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.191309 Jy
! Component: 100  -  total flux cleaned = 0.293636 Jy
! Total flux subtracted in 100 components = 0.293636 Jy
! Clean residual min=-0.037728 max=0.075076 Jy/beam
! Clean residual mean=0.000058 rms=0.010157 Jy/beam
! Combined flux in latest and established models = 2.05757 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 21 components and 2.05757 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.372527Jy  sigma=0.002333
! Fit after  self-cal, rms=0.371938Jy  sigma=0.002331
! Inverting map 
! Added new window around map position (-2.5, 3.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0752692 Jy
! Component: 100  -  total flux cleaned = 0.119198 Jy
! Total flux subtracted in 100 components = 0.119198 Jy
! Clean residual min=-0.038080 max=0.046119 Jy/beam
! Clean residual mean=0.000004 rms=0.008792 Jy/beam
! Combined flux in latest and established models = 2.17677 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 31 components and 2.17677 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.351831Jy  sigma=0.002107
! Fit after  self-cal, rms=0.350458Jy  sigma=0.002098
! 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.466 mas, bmaj=8.94 mas, bpa=-6.331 degrees
! Estimated noise=751.382 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.058411 Jy
! Component: 100  -  total flux cleaned = 0.0919218 Jy
! Component: 150  -  total flux cleaned = 0.112317 Jy
! Component: 200  -  total flux cleaned = 0.124889 Jy
! Total flux subtracted in 200 components = 0.124889 Jy
! Clean residual min=-0.031398 max=0.033443 Jy/beam
! Clean residual mean=-0.000227 rms=0.008238 Jy/beam
! Combined flux in latest and established models = 2.30165 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 49 components and 2.30166 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.343500Jy  sigma=0.001986
! Fit after  self-cal, rms=0.343141Jy  sigma=0.001983
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 111 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.98     GC        1.00*    GG        1.00*    
!   HN        1.00     KP        1.03     LA        0.96     NL        0.92     
!   OV        0.99     PT        0.99     SC        0.99     WF        0.96     
!   GN        0.97     HH        1.00*    KK        1.00*    MC        1.00*    
!   MK        1.00*    NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.97     GC        1.00*    GG        1.00*    
!   HN        0.97     KP        0.97     LA        0.95     NL        0.97     
!   OV        0.98     PT        0.99     SC        0.95     WF        0.96     
!   GN        0.96     HH        1.00*    KK        0.95     MC        1.00*    
!   MK        0.91     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GC        1.00*    GG        1.00*    
!   HN        1.04     KP        1.02     LA        0.99     NL        0.94     
!   OV        1.00*    PT        1.04     SC        1.04     WF        1.00     
!   GN        1.00     HH        1.00*    KK        1.00*    MC        0.96     
!   MK        1.00*    NY        1.00*    ON        1.19     WZ        0.99     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.97     FD        1.01     GC        1.07     GG        1.00*    
!   HN        1.00*    KP        0.98     LA        1.00*    NL        1.00*    
!   OV        1.02     PT        1.04     SC        1.00*    WF        1.00*    
!   GN        1.00*    HH        1.00*    KK        1.00     MC        1.00*    
!   MK        0.94     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 111 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.02     GC        1.00*    GG        1.00*    
!   HN        0.95     KP        0.98     LA        0.95     NL        1.13     
!   OV        0.96     PT        0.97     SC        1.03     WF        0.97     
!   GN        0.96     HH        1.00*    KK        1.00*    MC        1.00*    
!   MK        1.00*    NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        1.02     GC        1.00*    GG        1.00*    
!   HN        0.95     KP        0.96     LA        0.96     NL        1.11     
!   OV        0.95     PT        0.98     SC        1.02     WF        0.96     
!   GN        0.96     HH        1.00*    KK        0.92     MC        1.00*    
!   MK        0.93     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.01     GC        1.00*    GG        1.00*    
!   HN        0.97     KP        1.00     LA        1.02     NL        1.03     
!   OV        1.00*    PT        0.99     SC        1.08     WF        1.00     
!   GN        1.00     HH        1.00*    KK        1.00*    MC        0.77     
!   MK        1.00*    NY        1.00*    ON        1.23     WZ        1.02     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.06     GC        1.12     GG        1.00*    
!   HN        1.00*    KP        0.98     LA        1.00*    NL        1.00*    
!   OV        0.99     PT        0.99     SC        1.00*    WF        1.00*    
!   GN        1.00*    HH        1.00*    KK        0.95     MC        1.00*    
!   MK        0.96     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 111 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     GC        1.00*    GG        1.00*    
!   HN        1.21     KP        0.97     LA        0.98     NL        0.97     
!   OV        0.99     PT        0.93     SC        0.98     WF        0.98     
!   GN        0.96     HH        1.00*    KK        1.00*    MC        1.00*    
!   MK        1.00*    NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        1.00     GC        1.00*    GG        1.00*    
!   HN        1.20     KP        0.95     LA        0.97     NL        0.99     
!   OV        0.99     PT        0.96     SC        0.98     WF        0.97     
!   GN        0.96     HH        1.00*    KK        0.93     MC        1.00*    
!   MK        0.92     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GC        1.00*    GG        1.00*    
!   HN        1.23     KP        1.01     LA        1.04     NL        0.96     
!   OV        1.00*    PT        0.97     SC        1.09     WF        1.01     
!   GN        1.00     HH        0.86     KK        1.00*    MC        1.93     
!   MK        1.00*    NY        1.00*    ON        1.12     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.03     GC        1.06     GG        1.00*    
!   HN        1.00*    KP        0.99     LA        1.00*    NL        1.00*    
!   OV        1.01     PT        0.97     SC        1.00*    WF        1.00*    
!   GN        1.00*    HH        1.00*    KK        0.94     MC        1.00*    
!   MK        0.96     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 111 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.98     GC        1.00*    GG        1.00*    
!   HN        1.14     KP        0.98     LA        0.96     NL        1.08     
!   OV        1.00     PT        0.94     SC        0.99     WF        0.97     
!   GN        0.95     HH        1.00*    KK        1.00*    MC        1.00*    
!   MK        1.00*    NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        1.00     GC        1.00*    GG        1.00*    
!   HN        1.13     KP        0.96     LA        0.97     NL        1.10     
!   OV        1.00     PT        1.14     SC        0.97     WF        0.97     
!   GN        0.95     HH        1.00*    KK        0.98     MC        1.00*    
!   MK        0.95     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GC        1.00*    GG        1.00*    
!   HN        1.16     KP        1.00     LA        1.02     NL        1.00     
!   OV        1.00*    PT        0.95     SC        1.11     WF        1.00     
!   GN        1.00     HH        0.91     KK        1.00*    MC        1.26     
!   MK        1.00*    NY        1.00*    ON        1.16     WZ        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        1.01     GC        1.05     GG        1.00*    
!   HN        1.00*    KP        0.99     LA        1.00*    NL        1.00*    
!   OV        1.01     PT        0.96     SC        1.00*    WF        1.00*    
!   GN        1.00*    HH        1.00*    KK        1.01     MC        1.00*    
!   MK        0.97     NY        1.00*    ON        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.343141Jy  sigma=0.001983
! Fit after  self-cal, rms=0.334220Jy  sigma=0.001479
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.47 mas, bmaj=8.741 mas, bpa=-6.219 degrees
! Estimated noise=763.832 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 (-7, 7).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0144476 Jy
! Component: 100  -  total flux cleaned = 0.0192923 Jy
! Component: 150  -  total flux cleaned = 0.0225709 Jy
! Component: 200  -  total flux cleaned = 0.0248913 Jy
! Total flux subtracted in 200 components = 0.0248913 Jy
! Clean residual min=-0.011379 max=0.013113 Jy/beam
! Clean residual mean=0.000989 rms=0.003213 Jy/beam
! Combined flux in latest and established models = 2.32655 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 70 components and 2.32655 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.330913Jy  sigma=0.001451
! Fit after  self-cal, rms=0.331249Jy  sigma=0.001448
! 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.331249Jy  sigma=0.001448
! Fit after  self-cal, rms=0.308390Jy  sigma=0.001416
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.485 mas, bmaj=8.722 mas, bpa=-6.248 degrees
! Estimated noise=763.763 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00442755 Jy
! Component: 100  -  total flux cleaned = -0.00148157 Jy
! Component: 150  -  total flux cleaned = 0.000176976 Jy
! Component: 200  -  total flux cleaned = 0.00196992 Jy
! Total flux subtracted in 200 components = 0.00196992 Jy
! Clean residual min=-0.007862 max=0.010691 Jy/beam
! Clean residual mean=0.000752 rms=0.002622 Jy/beam
! Combined flux in latest and established models = 2.32852 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 89 components and 2.32852 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306571Jy  sigma=0.001403
! Fit after  self-cal, rms=0.306609Jy  sigma=0.001402
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.00295591 Jy
! Component: 100  -  total flux cleaned = 0.00383584 Jy
! Component: 150  -  total flux cleaned = 0.00486787 Jy
! Component: 200  -  total flux cleaned = 0.00579379 Jy
! Total flux subtracted in 200 components = 0.00579379 Jy
! Clean residual min=-0.007278 max=0.009608 Jy/beam
! Clean residual mean=0.000697 rms=0.002444 Jy/beam
! Combined flux in latest and established models = 2.33431 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 105 components and 2.33431 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305978Jy  sigma=0.001397
! Fit after  self-cal, rms=0.305963Jy  sigma=0.001397
! 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.305963Jy  sigma=0.001397
! Fit after  self-cal, rms=0.307545Jy  sigma=0.001393
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.497 mas, bmaj=8.716 mas, bpa=-6.232 degrees
! Estimated noise=764.27 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00420484 Jy
! Component: 100  -  total flux cleaned = -0.00328572 Jy
! Component: 150  -  total flux cleaned = -0.00223888 Jy
! Component: 200  -  total flux cleaned = -0.00131051 Jy
! Total flux subtracted in 200 components = -0.00131051 Jy
! Clean residual min=-0.006087 max=0.009029 Jy/beam
! Clean residual mean=0.000616 rms=0.002140 Jy/beam
! Combined flux in latest and established models = 2.333 Jy
selfcal
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 114 components and 2.333 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306792Jy  sigma=0.001388
! Fit after  self-cal, rms=0.306796Jy  sigma=0.001388
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.00165465 Jy
! Component: 100  -  total flux cleaned = 0.00282371 Jy
! Component: 150  -  total flux cleaned = 0.00335242 Jy
! Component: 200  -  total flux cleaned = 0.00400377 Jy
! Total flux subtracted in 200 components = 0.00400377 Jy
! Clean residual min=-0.005949 max=0.008552 Jy/beam
! Clean residual mean=0.000578 rms=0.002047 Jy/beam
! Combined flux in latest and established models = 2.337 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 122 components and 2.337 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306535Jy  sigma=0.001386
! Fit after  self-cal, rms=0.306523Jy  sigma=0.001386
! Inverting map 
! Added new window around map position (2, 13).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00699442 Jy
! Component: 100  -  total flux cleaned = 0.00757626 Jy
! Component: 150  -  total flux cleaned = 0.00739421 Jy
! Component: 200  -  total flux cleaned = 0.00738568 Jy
! Total flux subtracted in 200 components = 0.00738568 Jy
! Clean residual min=-0.005177 max=0.008545 Jy/beam
! Clean residual mean=0.000503 rms=0.001920 Jy/beam
! Combined flux in latest and established models = 2.34439 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 140 components and 2.34439 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306183Jy  sigma=0.001383
! Fit after  self-cal, rms=0.306187Jy  sigma=0.001383
! Inverting map 
! Added new window around map position (-18, 29).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00828222 Jy
! Component: 100  -  total flux cleaned = 0.010631 Jy
! Component: 150  -  total flux cleaned = 0.0115452 Jy
! Component: 200  -  total flux cleaned = 0.0120955 Jy
! Total flux subtracted in 200 components = 0.0120955 Jy
! Clean residual min=-0.004949 max=0.005916 Jy/beam
! Clean residual mean=0.000380 rms=0.001685 Jy/beam
! Combined flux in latest and established models = 2.35649 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 162 components and 2.35649 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305816Jy  sigma=0.001381
! Fit after  self-cal, rms=0.305822Jy  sigma=0.001380
! 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.305822Jy  sigma=0.001380
! Fit after  self-cal, rms=0.307573Jy  sigma=0.001378
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.294 mas, bmaj=15 mas, bpa=-12.23 degrees
! Estimated noise=961.266 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00284605 Jy
! Component: 100  -  total flux cleaned = 0.00415847 Jy
! Component: 150  -  total flux cleaned = 0.00565038 Jy
! Component: 200  -  total flux cleaned = 0.00686859 Jy
! Total flux subtracted in 200 components = 0.00686859 Jy
! Clean residual min=-0.005870 max=0.006268 Jy/beam
! Clean residual mean=0.000584 rms=0.002180 Jy/beam
! Combined flux in latest and established models = 2.36335 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 186 components and 2.36335 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.307507Jy  sigma=0.001377
! Fit after  self-cal, rms=0.307486Jy  sigma=0.001377
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.000675585 Jy
! Component: 100  -  total flux cleaned = 0.00168248 Jy
! Component: 150  -  total flux cleaned = 0.00242336 Jy
! Component: 200  -  total flux cleaned = 0.0031264 Jy
! Total flux subtracted in 200 components = 0.0031264 Jy
! Clean residual min=-0.005447 max=0.006163 Jy/beam
! Clean residual mean=0.000516 rms=0.002122 Jy/beam
! Combined flux in latest and established models = 2.36648 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 194 components and 2.36648 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.307468Jy  sigma=0.001377
! Fit after  self-cal, rms=0.307461Jy  sigma=0.001377
! 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.507 mas, bmaj=8.708 mas, bpa=-6.218 degrees
! Estimated noise=764.878 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.507 x 8.708 at -6.218 degrees (North through East)
! Clean map  min=-0.0046109  max=1.8336 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.307461Jy  sigma=0.001377
! Fit after  self-cal, rms=0.297891Jy  sigma=0.001210
! Inverting map and beam 
! Estimated beam: bmin=2.507 mas, bmaj=8.716 mas, bpa=-6.226 degrees
! Estimated noise=763.655 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0034889 Jy
! Component: 100  -  total flux cleaned = -0.00351705 Jy
! Component: 150  -  total flux cleaned = -0.00321702 Jy
! Component: 200  -  total flux cleaned = -0.00265835 Jy
! Total flux subtracted in 200 components = -0.00265835 Jy
! Clean residual min=-0.004058 max=0.005191 Jy/beam
! Clean residual mean=0.000239 rms=0.001292 Jy/beam
! Combined flux in latest and established models = 2.36382 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 205 components and 2.36382 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297556Jy  sigma=0.001208
! Fit after  self-cal, rms=0.297565Jy  sigma=0.001208
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000681928 Jy
! Component: 100  -  total flux cleaned = 0.00129623 Jy
! Component: 150  -  total flux cleaned = 0.00162898 Jy
! Component: 200  -  total flux cleaned = 0.00162882 Jy
! Total flux subtracted in 200 components = 0.00162882 Jy
! Clean residual min=-0.004111 max=0.004971 Jy/beam
! Clean residual mean=0.000224 rms=0.001262 Jy/beam
! Combined flux in latest and established models = 2.36545 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 217 components and 2.36545 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297437Jy  sigma=0.001207
! Fit after  self-cal, rms=0.297436Jy  sigma=0.001207
! 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.297436Jy  sigma=0.001207
! Fit after  self-cal, rms=0.298417Jy  sigma=0.001206
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.12 mas, bmaj=5.171 mas, bpa=1.888 degrees
! Estimated noise=1277.18 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.3801 Jy
! Component: 100  -  total flux cleaned = 1.7429 Jy
! Component: 150  -  total flux cleaned = 1.91825 Jy
! Component: 200  -  total flux cleaned = 2.01217 Jy
! Total flux subtracted in 200 components = 2.01217 Jy
! Clean residual min=-0.015049 max=0.048083 Jy/beam
! Clean residual mean=0.000233 rms=0.005461 Jy/beam
! Combined flux in latest and established models = 2.01217 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 23 model components to the UV plane model.
! The established model now contains 23 components and 2.01217 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.513 mas, bmaj=8.715 mas, bpa=-6.22 degrees
! Estimated noise=763.732 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.112923 Jy
! Component: 100  -  total flux cleaned = 0.177102 Jy
! Component: 150  -  total flux cleaned = 0.218097 Jy
! Component: 200  -  total flux cleaned = 0.246533 Jy
! Total flux subtracted in 200 components = 0.246533 Jy
! Clean residual min=-0.005921 max=0.016486 Jy/beam
! Clean residual mean=0.001248 rms=0.003738 Jy/beam
! Combined flux in latest and established models = 2.25871 Jy
! Adding 96 model components to the UV plane model.
! The established model now contains 109 components and 2.25871 Jy
! Inverting map 
! Added new window around map position (-14.5, 15.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0212346 Jy
! Component: 100  -  total flux cleaned = 0.0373347 Jy
! Component: 150  -  total flux cleaned = 0.0498152 Jy
! Component: 200  -  total flux cleaned = 0.059768 Jy
! Total flux subtracted in 200 components = 0.059768 Jy
! Clean residual min=-0.004737 max=0.006652 Jy/beam
! Clean residual mean=0.000673 rms=0.001821 Jy/beam
! Combined flux in latest and established models = 2.31847 Jy
! Adding 56 model components to the UV plane model.
! The established model now contains 152 components and 2.31847 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.293 mas, bmaj=15.01 mas, bpa=-12.23 degrees
! Estimated noise=958.339 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0142716 Jy
! Component: 100  -  total flux cleaned = 0.0234415 Jy
! Component: 150  -  total flux cleaned = 0.0299287 Jy
! Component: 200  -  total flux cleaned = 0.0347453 Jy
! Total flux subtracted in 200 components = 0.0347453 Jy
! Clean residual min=-0.005005 max=0.005721 Jy/beam
! Clean residual mean=0.000759 rms=0.001826 Jy/beam
! Combined flux in latest and established models = 2.35322 Jy
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00363348 Jy
! Component: 100  -  total flux cleaned = 0.00638309 Jy
! Component: 150  -  total flux cleaned = 0.00847285 Jy
! Component: 200  -  total flux cleaned = 0.0100665 Jy
! Total flux subtracted in 200 components = 0.0100665 Jy
! Clean residual min=-0.004746 max=0.005256 Jy/beam
! Clean residual mean=0.000538 rms=0.001660 Jy/beam
! Combined flux in latest and established models = 2.36329 Jy
! Adding 155 model components to the UV plane model.
! The established model now contains 298 components and 2.36328 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.513 mas, bmaj=8.715 mas, bpa=-6.22 degrees
! Estimated noise=763.732 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000531347 Jy
! Component: 100  -  total flux cleaned = 0.000723568 Jy
! Component: 150  -  total flux cleaned = 0.00106678 Jy
! Component: 200  -  total flux cleaned = 0.00137843 Jy
! Total flux subtracted in 200 components = 0.00137843 Jy
! Clean residual min=-0.004137 max=0.004066 Jy/beam
! Clean residual mean=0.000224 rms=0.001102 Jy/beam
! Combined flux in latest and established models = 2.36466 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 314 components and 2.36466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297857Jy  sigma=0.001202
! Fit after  self-cal, rms=0.297897Jy  sigma=0.001202
wmodel J0730-1141_S_1999_03_08_pus_map.mod
! Writing 314 model components to file: J0730-1141_S_1999_03_08_pus_map.mod
wobs J0730-1141_S_1999_03_08_pus_uvs.fits
! Writing UV FITS file: J0730-1141_S_1999_03_08_pus_uvs.fits
wwins J0730-1141_S_1999_03_08_pus_map.win
! wwins: Wrote 6 windows to J0730-1141_S_1999_03_08_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.00120161 Jy
! Component: 100  -  total flux cleaned = 0.0016775 Jy
! Component: 150  -  total flux cleaned = 0.00239122 Jy
! Component: 200  -  total flux cleaned = 0.00288938 Jy
! Component: 250  -  total flux cleaned = 0.00349584 Jy
! Component: 300  -  total flux cleaned = 0.00402792 Jy
! Component: 350  -  total flux cleaned = 0.00471921 Jy
! Component: 400  -  total flux cleaned = 0.00539355 Jy
! Component: 450  -  total flux cleaned = 0.0060527 Jy
! Component: 500  -  total flux cleaned = 0.00669716 Jy
! Component: 550  -  total flux cleaned = 0.00738194 Jy
! Component: 600  -  total flux cleaned = 0.00800172 Jy
! Component: 650  -  total flux cleaned = 0.00866033 Jy
! Component: 700  -  total flux cleaned = 0.00925591 Jy
! Component: 750  -  total flux cleaned = 0.00988898 Jy
! Component: 800  -  total flux cleaned = 0.0103194 Jy
! Component: 850  -  total flux cleaned = 0.0107907 Jy
! Component: 900  -  total flux cleaned = 0.0111163 Jy
! Component: 950  -  total flux cleaned = 0.0114375 Jy
! Component: 1000  -  total flux cleaned = 0.0117541 Jy
! Component: 1050  -  total flux cleaned = 0.0119776 Jy
! Component: 1100  -  total flux cleaned = 0.0122424 Jy
! Component: 1150  -  total flux cleaned = 0.0123732 Jy
! Component: 1200  -  total flux cleaned = 0.0125454 Jy
! Component: 1250  -  total flux cleaned = 0.0128006 Jy
! Component: 1300  -  total flux cleaned = 0.012927 Jy
! Component: 1350  -  total flux cleaned = 0.0131767 Jy
! Component: 1400  -  total flux cleaned = 0.0134233 Jy
! Component: 1450  -  total flux cleaned = 0.0135859 Jy
! Component: 1500  -  total flux cleaned = 0.0137474 Jy
! Component: 1550  -  total flux cleaned = 0.0139862 Jy
! Component: 1600  -  total flux cleaned = 0.0141435 Jy
! Component: 1650  -  total flux cleaned = 0.0142603 Jy
! Component: 1700  -  total flux cleaned = 0.014415 Jy
! Component: 1750  -  total flux cleaned = 0.0146066 Jy
! Component: 1800  -  total flux cleaned = 0.0148336 Jy
! Component: 1850  -  total flux cleaned = 0.0149086 Jy
! Component: 1900  -  total flux cleaned = 0.0150579 Jy
! Component: 1950  -  total flux cleaned = 0.0152057 Jy
! Component: 2000  -  total flux cleaned = 0.0153154 Jy
! Total flux subtracted in 2048 components = 0.0154244 Jy
! Clean residual min=-0.002116 max=0.002174 Jy/beam
! Clean residual mean=0.000062 rms=0.000737 Jy/beam
! Combined flux in latest and established models = 2.38009 Jy
keep
! Adding 133 model components to the UV plane model.
! The established model now contains 447 components and 2.38009 Jy
![Exited script file: muppet]
wmap "J0730-1141_S_1999_03_08_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.513 x 8.715 at -6.22 degrees (North through East)
! Clean map  min=-0.0034946  max=1.839 Jy/beam
! Writing clean map to FITS file: J0730-1141_S_1999_03_08_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.83904 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000737765 
device "J0730-1141_S_1999_03_08_pus\_map.eps/VPS"
! Attempting to open device: 'J0730-1141_S_1999_03_08_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.12035 0.12035 0.240701 0.481401 0.962803 1.92561 3.85121 7.70242 15.4048 30.8097 61.6194
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.839 
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.513 x 8.715 at -6.22 degrees (North through East)
! Clean map  min=-0.0034946  max=1.839 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0730-1141_S_1999_03_08_pus\_map.gif/vgif"
! Attempting to open device: 'J0730-1141_S_1999_03_08_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0730-1141_S_1999_03_08_pus_uvs.log closed on Tue Jan  8 18:06:43 2008