! Started logfile: J0730-1141_S_1999_05_10_pus_uvs.log on Mon Jan 21 17:31:45 2008
obs J0730-1141_S_1999_05_10_pus_uva.fits
! Reading UV FITS file: J0730-1141_S_1999_05_10_pus_uva.fits
! AN table 1: 172 integrations on 153 of 153 possible baselines.
! AN table 2: 75 integrations on 153 of 153 possible baselines.
! AN table 3: 62 integrations on 153 of 153 possible baselines.
! AN table 4: 76 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.141346 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 1998 lines of history.
! 
! Reading 33304 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_05_10_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 2358 telescope corrections were flagged in sub-array 1.
!  A total of 875 telescope corrections were flagged in sub-array 2.
!  A total of 648 telescope corrections were flagged in sub-array 3.
!  A total of 683 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2358 telescope corrections were flagged in sub-array 1.
!  A total of 875 telescope corrections were flagged in sub-array 2.
!  A total of 648 telescope corrections were flagged in sub-array 3.
!  A total of 683 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2358 telescope corrections were flagged in sub-array 1.
!  A total of 875 telescope corrections were flagged in sub-array 2.
!  A total of 648 telescope corrections were flagged in sub-array 3.
!  A total of 683 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2358 telescope corrections were flagged in sub-array 1.
!  A total of 875 telescope corrections were flagged in sub-array 2.
!  A total of 648 telescope corrections were flagged in sub-array 3.
!  A total of 683 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=1.579589Jy  sigma=0.013326
! Fit after  self-cal, rms=1.170389Jy  sigma=0.010313
! 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.062 mas, bmaj=4.505 mas, bpa=8.342 degrees
! Estimated noise=1010.95 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.48425 Jy
! Component: 100  -  total flux cleaned = 1.87229 Jy
! Total flux subtracted in 100 components = 1.87229 Jy
! Clean residual min=-0.043928 max=0.177762 Jy/beam
! Clean residual mean=0.000559 rms=0.015889 Jy/beam
! Combined flux in latest and established models = 1.87229 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 1.87229 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.458896Jy  sigma=0.003995
! Fit after  self-cal, rms=0.458599Jy  sigma=0.003993
! Inverting map 
! Added new window around map position (-2, 2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.196199 Jy
! Component: 100  -  total flux cleaned = 0.311683 Jy
! Total flux subtracted in 100 components = 0.311683 Jy
! Clean residual min=-0.031710 max=0.061276 Jy/beam
! Clean residual mean=0.000335 rms=0.008771 Jy/beam
! Combined flux in latest and established models = 2.18398 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 34 components and 2.18398 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298236Jy  sigma=0.002446
! Fit after  self-cal, rms=0.296451Jy  sigma=0.002433
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0778701 Jy
! Component: 100  -  total flux cleaned = 0.128656 Jy
! Total flux subtracted in 100 components = 0.128656 Jy
! Clean residual min=-0.027041 max=0.036226 Jy/beam
! Clean residual mean=0.000248 rms=0.006687 Jy/beam
! Combined flux in latest and established models = 2.31263 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 42 components and 2.31263 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259066Jy  sigma=0.002027
! Fit after  self-cal, rms=0.258557Jy  sigma=0.002023
! 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=3.031 mas, bmaj=7.23 mas, bpa=-2.681 degrees
! Estimated noise=463.788 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.0659383 Jy
! Component: 100  -  total flux cleaned = 0.100621 Jy
! Component: 150  -  total flux cleaned = 0.119981 Jy
! Component: 200  -  total flux cleaned = 0.131161 Jy
! Total flux subtracted in 200 components = 0.131161 Jy
! Clean residual min=-0.017690 max=0.031201 Jy/beam
! Clean residual mean=0.000670 rms=0.005724 Jy/beam
! Combined flux in latest and established models = 2.44379 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 67 components and 2.44379 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245161Jy  sigma=0.001848
! Fit after  self-cal, rms=0.244651Jy  sigma=0.001843
! Inverting map 
! Added new window around map position (-6.5, 6.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0286188 Jy
! Component: 100  -  total flux cleaned = 0.0426254 Jy
! Component: 150  -  total flux cleaned = 0.0460361 Jy
! Component: 200  -  total flux cleaned = 0.0479389 Jy
! Total flux subtracted in 200 components = 0.0479389 Jy
! Clean residual min=-0.016627 max=0.017020 Jy/beam
! Clean residual mean=0.000137 rms=0.004621 Jy/beam
! Combined flux in latest and established models = 2.49173 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 92 components and 2.49173 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.241389Jy  sigma=0.001810
! Fit after  self-cal, rms=0.240978Jy  sigma=0.001806
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 225 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00     GC        1.00*    HH        1.04     
!   HN        1.01     KK        0.99     KP        1.01     LA        1.00     
!   MC        1.04     MK        0.97     NL        0.98     NY        1.00*    
!   ON        1.05     OV        1.03     PT        1.01     SC        1.03     
!   WF        1.05     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.01     GC        1.06     HH        0.93     
!   HN        1.01     KK        0.99     KP        1.01     LA        1.01     
!   MC        1.12     MK        0.99     NL        1.47     NY        1.00*    
!   ON        1.00*    OV        1.05     PT        1.02     SC        1.07     
!   WF        1.01     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.01     GC        1.00*    HH        1.00*    
!   HN        1.02     KK        1.00*    KP        1.03     LA        1.01     
!   MC        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        1.03     SC        1.01     
!   WF        1.03     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.03     KK        1.04     KP        1.03     LA        1.00     
!   MC        1.00*    MK        0.96     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        1.01     SC        1.00     
!   WF        1.01     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 225 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     GC        1.00*    HH        0.99     
!   HN        1.00     KK        0.96     KP        1.02     LA        0.94     
!   MC        1.04     MK        1.03     NL        0.97     NY        1.00*    
!   ON        1.08     OV        0.95     PT        1.00     SC        1.03     
!   WF        1.04     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.05     GC        1.04     HH        0.89     
!   HN        1.00     KK        1.00     KP        1.01     LA        1.00     
!   MC        1.01     MK        1.01     NL        1.45     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        1.02     SC        1.09     
!   WF        1.01     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.04     GC        1.00*    HH        1.00*    
!   HN        0.92     KK        1.00*    KP        1.02     LA        0.97     
!   MC        1.00*    MK        1.00*    NL        1.01     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.98     SC        0.97     
!   WF        1.02     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.03     GC        1.00*    HH        1.00*    
!   HN        1.02     KK        1.03     KP        1.02     LA        0.97     
!   MC        1.00*    MK        1.02     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.98     SC        1.01     
!   WF        1.01     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 225 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        0.99     GC        1.00*    HH        0.92     
!   HN        0.99     KK        0.95     KP        0.92     LA        0.96     
!   MC        1.32     MK        0.94     NL        0.99     NY        1.00*    
!   ON        1.02     OV        0.94     PT        0.96     SC        1.02     
!   WF        1.04     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.02     GC        1.02     HH        0.90     
!   HN        1.02     KK        0.99     KP        1.02     LA        1.01     
!   MC        1.09     MK        0.93     NL        1.57     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.98     SC        1.08     
!   WF        0.99     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.01     GC        1.00*    HH        1.00*    
!   HN        0.91     KK        1.00*    KP        1.01     LA        1.00     
!   MC        1.00*    MK        1.00*    NL        1.02     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.98     SC        0.94     
!   WF        1.04     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.02     KK        1.01     KP        1.01     LA        0.99     
!   MC        1.00*    MK        0.96     NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.96     SC        0.99     
!   WF        1.03     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 225 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        0.97     GC        1.00*    HH        0.94     
!   HN        1.00     KK        0.97     KP        0.95     LA        0.96     
!   MC        1.45     MK        0.99     NL        0.99     NY        1.00*    
!   ON        1.10     OV        0.90     PT        1.05     SC        1.01     
!   WF        1.04     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        1.01     GC        1.02     HH        0.81     
!   HN        1.02     KK        0.98     KP        1.01     LA        1.02     
!   MC        1.23     MK        0.97     NL        1.72     NY        1.00*    
!   ON        1.00*    OV        0.97     PT        1.02     SC        1.09     
!   WF        1.00     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        0.93     KK        1.00*    KP        1.01     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        1.03     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        1.00     SC        0.95     
!   WF        1.03     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.01     KK        1.03     KP        0.99     LA        0.98     
!   MC        1.00*    MK        0.99     NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.95     PT        0.95     SC        0.99     
!   WF        1.01     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.240978Jy  sigma=0.001806
! Fit after  self-cal, rms=0.204286Jy  sigma=0.001521
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.024 mas, bmaj=7.311 mas, bpa=-3.064 degrees
! Estimated noise=468.49 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 (-14, 10.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0135548 Jy
! Component: 100  -  total flux cleaned = 0.0174654 Jy
! Component: 150  -  total flux cleaned = 0.0183988 Jy
! Component: 200  -  total flux cleaned = 0.0187907 Jy
! Total flux subtracted in 200 components = 0.0187907 Jy
! Clean residual min=-0.009177 max=0.009480 Jy/beam
! Clean residual mean=0.000368 rms=0.001895 Jy/beam
! Combined flux in latest and established models = 2.51052 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 115 components and 2.51052 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.203380Jy  sigma=0.001511
! Fit after  self-cal, rms=0.203435Jy  sigma=0.001510
! 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.203435Jy  sigma=0.001510
! Fit after  self-cal, rms=0.199337Jy  sigma=0.001478
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.022 mas, bmaj=7.305 mas, bpa=-3.06 degrees
! Estimated noise=468.285 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00870714 Jy
! Component: 100  -  total flux cleaned = 0.0133314 Jy
! Component: 150  -  total flux cleaned = 0.0159491 Jy
! Component: 200  -  total flux cleaned = 0.0177744 Jy
! Total flux subtracted in 200 components = 0.0177744 Jy
! Clean residual min=-0.006092 max=0.008329 Jy/beam
! Clean residual mean=0.000103 rms=0.001378 Jy/beam
! Combined flux in latest and established models = 2.5283 Jy
selfcal
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 145 components and 2.5283 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198876Jy  sigma=0.001473
! Fit after  self-cal, rms=0.198805Jy  sigma=0.001472
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (2.5, 19.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00769217 Jy
! Component: 100  -  total flux cleaned = 0.00901836 Jy
! Component: 150  -  total flux cleaned = 0.00969719 Jy
! Component: 200  -  total flux cleaned = 0.0101867 Jy
! Total flux subtracted in 200 components = 0.0101867 Jy
! Clean residual min=-0.006700 max=0.005001 Jy/beam
! Clean residual mean=-0.000010 rms=0.001149 Jy/beam
! Combined flux in latest and established models = 2.53848 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 169 components and 2.53848 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198403Jy  sigma=0.001469
! Fit after  self-cal, rms=0.198382Jy  sigma=0.001469
! 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.198382Jy  sigma=0.001469
! Fit after  self-cal, rms=0.198340Jy  sigma=0.001468
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.022 mas, bmaj=7.305 mas, bpa=-3.087 degrees
! Estimated noise=468.28 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0044926 Jy
! Component: 100  -  total flux cleaned = 0.00671769 Jy
! Component: 150  -  total flux cleaned = 0.00823918 Jy
! Component: 200  -  total flux cleaned = 0.00876717 Jy
! Total flux subtracted in 200 components = 0.00876717 Jy
! Clean residual min=-0.005112 max=0.004348 Jy/beam
! Clean residual mean=0.000004 rms=0.001021 Jy/beam
! Combined flux in latest and established models = 2.54725 Jy
selfcal
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 182 components and 2.54725 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198139Jy  sigma=0.001466
! Fit after  self-cal, rms=0.198124Jy  sigma=0.001466
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.00104465 Jy
! Component: 100  -  total flux cleaned = 0.00165854 Jy
! Component: 150  -  total flux cleaned = 0.00184858 Jy
! Component: 200  -  total flux cleaned = 0.00202831 Jy
! Total flux subtracted in 200 components = 0.00202831 Jy
! Clean residual min=-0.005210 max=0.004178 Jy/beam
! Clean residual mean=-0.000018 rms=0.000989 Jy/beam
! Combined flux in latest and established models = 2.54928 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 192 components and 2.54928 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198009Jy  sigma=0.001466
! Fit after  self-cal, rms=0.198004Jy  sigma=0.001466
! 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.198004Jy  sigma=0.001466
! Fit after  self-cal, rms=0.198058Jy  sigma=0.001465
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.149 mas, bmaj=13.84 mas, bpa=-0.5141 degrees
! Estimated noise=588.863 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00293033 Jy
! Component: 100  -  total flux cleaned = 0.00415111 Jy
! Component: 150  -  total flux cleaned = 0.005143 Jy
! Component: 200  -  total flux cleaned = 0.0056061 Jy
! Total flux subtracted in 200 components = 0.0056061 Jy
! Clean residual min=-0.003311 max=0.004217 Jy/beam
! Clean residual mean=-0.000037 rms=0.001220 Jy/beam
! Combined flux in latest and established models = 2.55489 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 215 components and 2.55489 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197983Jy  sigma=0.001465
! Fit after  self-cal, rms=0.197968Jy  sigma=0.001465
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.000277804 Jy
! Component: 100  -  total flux cleaned = 0.000806931 Jy
! Component: 150  -  total flux cleaned = 0.00132614 Jy
! Component: 200  -  total flux cleaned = 0.0015223 Jy
! Total flux subtracted in 200 components = 0.0015223 Jy
! Clean residual min=-0.003417 max=0.003917 Jy/beam
! Clean residual mean=-0.000072 rms=0.001184 Jy/beam
! Combined flux in latest and established models = 2.55641 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 229 components and 2.55641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197928Jy  sigma=0.001465
! Fit after  self-cal, rms=0.197917Jy  sigma=0.001464
! 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=3.022 mas, bmaj=7.305 mas, bpa=-3.099 degrees
! Estimated noise=468.424 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.022 x 7.305 at -3.099 degrees (North through East)
! Clean map  min=-0.004123  max=2.0349 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.197917Jy  sigma=0.001464
! Fit after  self-cal, rms=0.161380Jy  sigma=0.001120
! Inverting map and beam 
! Estimated beam: bmin=3.021 mas, bmaj=7.304 mas, bpa=-3.106 degrees
! Estimated noise=467.944 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000222259 Jy
! Component: 100  -  total flux cleaned = 0.000309927 Jy
! Component: 150  -  total flux cleaned = 0.000224409 Jy
! Component: 200  -  total flux cleaned = 0.000298855 Jy
! Total flux subtracted in 200 components = 0.000298855 Jy
! Clean residual min=-0.003904 max=0.003467 Jy/beam
! Clean residual mean=-0.000033 rms=0.000833 Jy/beam
! Combined flux in latest and established models = 2.55671 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 249 components and 2.55671 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161277Jy  sigma=0.001119
! Fit after  self-cal, rms=0.161272Jy  sigma=0.001119
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.50042e-05 Jy
! Component: 100  -  total flux cleaned = 0.000339471 Jy
! Component: 150  -  total flux cleaned = 0.000409289 Jy
! Component: 200  -  total flux cleaned = 0.000408852 Jy
! Total flux subtracted in 200 components = 0.000408852 Jy
! Clean residual min=-0.003866 max=0.003391 Jy/beam
! Clean residual mean=-0.000038 rms=0.000817 Jy/beam
! Combined flux in latest and established models = 2.55712 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 255 components and 2.55712 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161198Jy  sigma=0.001118
! Fit after  self-cal, rms=0.161195Jy  sigma=0.001118
! 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.161195Jy  sigma=0.001118
! Fit after  self-cal, rms=0.161166Jy  sigma=0.001118
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.066 mas, bmaj=4.509 mas, bpa=8.578 degrees
! Estimated noise=1014.75 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.48284 Jy
! Component: 100  -  total flux cleaned = 1.87331 Jy
! Component: 150  -  total flux cleaned = 2.0675 Jy
! Component: 200  -  total flux cleaned = 2.18129 Jy
! Total flux subtracted in 200 components = 2.18129 Jy
! Clean residual min=-0.015153 max=0.058582 Jy/beam
! Clean residual mean=0.000330 rms=0.006207 Jy/beam
! Combined flux in latest and established models = 2.18129 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 28 model components to the UV plane model.
! The established model now contains 28 components and 2.18129 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.022 mas, bmaj=7.305 mas, bpa=-3.111 degrees
! Estimated noise=467.805 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.135024 Jy
! Component: 100  -  total flux cleaned = 0.205578 Jy
! Component: 150  -  total flux cleaned = 0.248102 Jy
! Component: 200  -  total flux cleaned = 0.276685 Jy
! Total flux subtracted in 200 components = 0.276685 Jy
! Clean residual min=-0.006799 max=0.016381 Jy/beam
! Clean residual mean=0.001041 rms=0.003727 Jy/beam
! Combined flux in latest and established models = 2.45797 Jy
! Adding 78 model components to the UV plane model.
! The established model now contains 98 components and 2.45797 Jy
! Inverting map 
! Added new window around map position (1, 8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0211076 Jy
! Component: 100  -  total flux cleaned = 0.0370883 Jy
! Component: 150  -  total flux cleaned = 0.0493793 Jy
! Component: 200  -  total flux cleaned = 0.0589986 Jy
! Total flux subtracted in 200 components = 0.0589986 Jy
! Clean residual min=-0.004022 max=0.006059 Jy/beam
! Clean residual mean=0.000400 rms=0.001604 Jy/beam
! Combined flux in latest and established models = 2.51697 Jy
! Adding 69 model components to the UV plane model.
! The established model now contains 157 components and 2.51697 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.144 mas, bmaj=13.84 mas, bpa=-0.5487 degrees
! Estimated noise=588.294 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0129863 Jy
! Component: 100  -  total flux cleaned = 0.0215677 Jy
! Component: 150  -  total flux cleaned = 0.0274225 Jy
! Component: 200  -  total flux cleaned = 0.0314659 Jy
! Total flux subtracted in 200 components = 0.0314659 Jy
! Clean residual min=-0.003205 max=0.003950 Jy/beam
! Clean residual mean=0.000120 rms=0.001194 Jy/beam
! Combined flux in latest and established models = 2.54844 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.00284695 Jy
! Component: 100  -  total flux cleaned = 0.00487531 Jy
! Component: 150  -  total flux cleaned = 0.00592036 Jy
! Component: 200  -  total flux cleaned = 0.00629303 Jy
! Total flux subtracted in 200 components = 0.00629303 Jy
! Clean residual min=-0.002791 max=0.003104 Jy/beam
! Clean residual mean=-0.000022 rms=0.001024 Jy/beam
! Combined flux in latest and established models = 2.55473 Jy
! Adding 96 model components to the UV plane model.
! The established model now contains 241 components and 2.55473 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.022 mas, bmaj=7.305 mas, bpa=-3.111 degrees
! Estimated noise=467.805 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000318936 Jy
! Component: 100  -  total flux cleaned = 9.58511e-05 Jy
! Component: 150  -  total flux cleaned = 0.000248398 Jy
! Component: 200  -  total flux cleaned = 0.000385412 Jy
! Total flux subtracted in 200 components = 0.000385412 Jy
! Clean residual min=-0.002785 max=0.002941 Jy/beam
! Clean residual mean=-0.000015 rms=0.000759 Jy/beam
! Combined flux in latest and established models = 2.55511 Jy
selfcal
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 264 components and 2.55511 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160876Jy  sigma=0.001116
! Fit after  self-cal, rms=0.160747Jy  sigma=0.001115
wmodel J0730-1141_S_1999_05_10_pus_map.mod
! Writing 264 model components to file: J0730-1141_S_1999_05_10_pus_map.mod
wobs J0730-1141_S_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J0730-1141_S_1999_05_10_pus_uvs.fits
wwins J0730-1141_S_1999_05_10_pus_map.win
! wwins: Wrote 6 windows to J0730-1141_S_1999_05_10_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.000455495 Jy
! Component: 100  -  total flux cleaned = 8.76031e-05 Jy
! Component: 150  -  total flux cleaned = -1.36394e-06 Jy
! Component: 200  -  total flux cleaned = -1.5586e-06 Jy
! Component: 250  -  total flux cleaned = -8.22959e-05 Jy
! Component: 300  -  total flux cleaned = -0.000199829 Jy
! Component: 350  -  total flux cleaned = -0.000389912 Jy
! Component: 400  -  total flux cleaned = -0.000648854 Jy
! Component: 450  -  total flux cleaned = -0.000792895 Jy
! Component: 500  -  total flux cleaned = -0.000934299 Jy
! Component: 550  -  total flux cleaned = -0.00103852 Jy
! Component: 600  -  total flux cleaned = -0.00110714 Jy
! Component: 650  -  total flux cleaned = -0.00117437 Jy
! Component: 700  -  total flux cleaned = -0.00124027 Jy
! Component: 750  -  total flux cleaned = -0.0013055 Jy
! Component: 800  -  total flux cleaned = -0.00130595 Jy
! Component: 850  -  total flux cleaned = -0.00140108 Jy
! Component: 900  -  total flux cleaned = -0.00143245 Jy
! Component: 950  -  total flux cleaned = -0.00149417 Jy
! Component: 1000  -  total flux cleaned = -0.00158541 Jy
! Component: 1050  -  total flux cleaned = -0.00167494 Jy
! Component: 1100  -  total flux cleaned = -0.00167474 Jy
! Component: 1150  -  total flux cleaned = -0.00182182 Jy
! Component: 1200  -  total flux cleaned = -0.0019088 Jy
! Component: 1250  -  total flux cleaned = -0.00196654 Jy
! Component: 1300  -  total flux cleaned = -0.00210908 Jy
! Component: 1350  -  total flux cleaned = -0.00219361 Jy
! Component: 1400  -  total flux cleaned = -0.00219385 Jy
! Component: 1450  -  total flux cleaned = -0.00238746 Jy
! Component: 1500  -  total flux cleaned = -0.00241487 Jy
! Component: 1550  -  total flux cleaned = -0.00246901 Jy
! Component: 1600  -  total flux cleaned = -0.00252306 Jy
! Component: 1650  -  total flux cleaned = -0.00257642 Jy
! Component: 1700  -  total flux cleaned = -0.00262937 Jy
! Component: 1750  -  total flux cleaned = -0.00270799 Jy
! Component: 1800  -  total flux cleaned = -0.00273407 Jy
! Component: 1850  -  total flux cleaned = -0.00281124 Jy
! Component: 1900  -  total flux cleaned = -0.00288769 Jy
! Component: 1950  -  total flux cleaned = -0.00293822 Jy
! Component: 2000  -  total flux cleaned = -0.00296315 Jy
! Total flux subtracted in 2048 components = -0.00301315 Jy
! Clean residual min=-0.001580 max=0.001544 Jy/beam
! Clean residual mean=-0.000012 rms=0.000499 Jy/beam
! Combined flux in latest and established models = 2.5521 Jy
keep
! Adding 131 model components to the UV plane model.
! The established model now contains 395 components and 2.5521 Jy
![Exited script file: muppet]
wmap "J0730-1141_S_1999_05_10_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.022 x 7.305 at -3.111 degrees (North through East)
! Clean map  min=-0.0026602  max=2.0389 Jy/beam
! Writing clean map to FITS file: J0730-1141_S_1999_05_10_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 2.03892 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00049833 
device "J0730-1141_S_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J0730-1141_S_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0733225 0.0733225 0.146645 0.29329 0.58658 1.17316 2.34632 4.69264 9.38528 18.7706 37.5411 75.0823
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.038 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.022 x 7.305 at -3.111 degrees (North through East)
! Clean map  min=-0.0026602  max=2.0389 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0730-1141_S_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J0730-1141_S_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0730-1141_S_1999_05_10_pus_uvs.log closed on Mon Jan 21 17:32:04 2008