! Started logfile: J0730-1141_X_2000_05_22_pus_uvs.log on Tue Nov 13 11:51:04 2007
obs J0730-1141_X_2000_05_22_pus_uva.fits
! Reading UV FITS file: J0730-1141_X_2000_05_22_pus_uva.fits
! AN table 1: 164 integrations on 190 of 190 possible baselines.
! AN table 2: 14 integrations on 190 of 190 possible baselines.
! AN table 3: 26 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.103947 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1888 lines of history.
! 
! Reading 16116 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J0730-1141_X_2000_05_22_pus]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 2387 telescope corrections were flagged in sub-array 1.
!  A total of 121 telescope corrections were flagged in sub-array 2.
!  A total of 463 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 2387 telescope corrections were flagged in sub-array 1.
!  A total of 121 telescope corrections were flagged in sub-array 2.
!  A total of 463 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 2387 telescope corrections were flagged in sub-array 1.
!  A total of 121 telescope corrections were flagged in sub-array 2.
!  A total of 466 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 2387 telescope corrections were flagged in sub-array 1.
!  A total of 121 telescope corrections were flagged in sub-array 2.
!  A total of 463 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.615353Jy  sigma=0.020769
! Fit after  self-cal, rms=1.179356Jy  sigma=0.015681
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.6633 mas, bmaj=1.407 mas, bpa=-3.74 degrees
! Estimated noise=821.66 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.59838 Jy
! Component: 100  -  total flux cleaned = 1.98912 Jy
! Total flux subtracted in 100 components = 1.98912 Jy
! Clean residual min=-0.040799 max=0.159449 Jy/beam
! Clean residual mean=0.002021 rms=0.018173 Jy/beam
! Combined flux in latest and established models = 1.98912 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 1.98912 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.356326Jy  sigma=0.004798
! Fit after  self-cal, rms=0.356231Jy  sigma=0.004796
! Inverting map 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.177529 Jy
! Component: 100  -  total flux cleaned = 0.276383 Jy
! Total flux subtracted in 100 components = 0.276383 Jy
! Clean residual min=-0.022167 max=0.050256 Jy/beam
! Clean residual mean=0.001112 rms=0.008750 Jy/beam
! Combined flux in latest and established models = 2.2655 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 16 components and 2.2655 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224325Jy  sigma=0.002756
! Fit after  self-cal, rms=0.224288Jy  sigma=0.002754
! Inverting map 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8048 mas, bmaj=2.037 mas, bpa=-13.12 degrees
! Estimated noise=465.885 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.0917979 Jy
! Component: 100  -  total flux cleaned = 0.139626 Jy
! Component: 150  -  total flux cleaned = 0.167576 Jy
! Component: 200  -  total flux cleaned = 0.184444 Jy
! Total flux subtracted in 200 components = 0.184444 Jy
! Clean residual min=-0.016840 max=0.048126 Jy/beam
! Clean residual mean=0.000223 rms=0.007133 Jy/beam
! Combined flux in latest and established models = 2.44994 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 37 components and 2.44994 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193697Jy  sigma=0.002117
! Fit after  self-cal, rms=0.193432Jy  sigma=0.002115
! Inverting map 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Added new window around map position (-2, 1.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0416926 Jy
! Component: 100  -  total flux cleaned = 0.0622411 Jy
! Component: 150  -  total flux cleaned = 0.0750115 Jy
! Component: 200  -  total flux cleaned = 0.0827723 Jy
! Total flux subtracted in 200 components = 0.0827723 Jy
! Clean residual min=-0.016299 max=0.018956 Jy/beam
! Clean residual mean=-0.001116 rms=0.004047 Jy/beam
! Combined flux in latest and established models = 2.53272 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 67 components and 2.53272 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186277Jy  sigma=0.001962
! Fit after  self-cal, rms=0.184849Jy  sigma=0.001945
! Inverting map 
! Your choice of large map pixels excluded 0.151% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 93 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        0.98     HN        1.05     KK        1.04     KP        1.02     
!   MA        0.98     MC        1.02     MK        0.99     NL        1.00     
!   NY        1.00*    OV        0.98     PT        0.99     SC        0.99     
!   TS        1.00*    WF        1.02     WZ        1.11     LA        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.09     KK        1.01     KP        1.01     
!   MA        1.00*    MC        1.00*    MK        0.96     NL        1.00     
!   NY        1.00*    OV        0.99     PT        0.99     SC        1.05     
!   TS        1.00*    WF        1.04     WZ        1.00*    LA        1.01     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.02     HN        1.00*    KK        1.00*    KP        1.00*    
!   MA        0.95     MC        1.09     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        0.99     LA        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 93 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.03     HN        1.06     KK        1.02     KP        0.97     
!   MA        0.97     MC        1.04     MK        0.99     NL        1.02     
!   NY        1.00*    OV        1.01     PT        0.96     SC        0.99     
!   TS        1.00*    WF        1.04     WZ        1.09     LA        0.97     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        1.02     KP        0.97     
!   MA        1.00*    MC        1.00*    MK        0.96     NL        1.03     
!   NY        1.00*    OV        1.01     PT        0.96     SC        1.05     
!   TS        1.00*    WF        1.04     WZ        1.00*    LA        0.96     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.03     HN        1.00*    KK        1.00*    KP        1.00*    
!   MA        1.05     MC        1.12     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00     LA        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 93 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        0.97     HN        1.04     KK        1.00     KP        1.02     
!   MA        0.90     MC        1.04     MK        1.01     NL        0.99     
!   NY        1.00*    OV        0.98     PT        0.98     SC        0.99     
!   TS        1.00*    WF        1.06     WZ        1.11     LA        1.01     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        0.97     KP        1.00     
!   MA        1.00*    MC        1.00*    MK        0.98     NL        1.00     
!   NY        1.00*    OV        0.98     PT        0.97     SC        1.08     
!   TS        1.00*    WF        1.09     WZ        1.00*    LA        1.01     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        0.99     HN        1.00*    KK        1.00*    KP        1.00*    
!   MA        1.02     MC        0.95     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.03     LA        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 93 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.03     HN        1.04     KK        1.02     KP        1.01     
!   MA        0.86     MC        1.05     MK        1.03     NL        1.00     
!   NY        1.00*    OV        0.98     PT        0.98     SC        0.99     
!   TS        1.00*    WF        1.01     WZ        1.08     LA        0.97     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.09     KK        0.99     KP        0.99     
!   MA        1.00*    MC        1.00*    MK        1.01     NL        1.01     
!   NY        1.00*    OV        0.98     PT        0.98     SC        1.07     
!   TS        1.00*    WF        0.98     WZ        1.00*    LA        0.98     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        0.96     HN        1.00*    KK        1.00*    KP        1.00*    
!   MA        0.99     MC        0.96     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.01     LA        1.00*    
! 
! 
! Fit before self-cal, rms=0.184849Jy  sigma=0.001945
! Fit after  self-cal, rms=0.164440Jy  sigma=0.001716
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8032 mas, bmaj=2.061 mas, bpa=-13.1 degrees
! Estimated noise=466.658 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.00527394 Jy
! Component: 100  -  total flux cleaned = 0.00687456 Jy
! Component: 150  -  total flux cleaned = 0.00848477 Jy
! Component: 200  -  total flux cleaned = 0.00922244 Jy
! Total flux subtracted in 200 components = 0.00922244 Jy
! Clean residual min=-0.007106 max=0.007543 Jy/beam
! Clean residual mean=-0.000083 rms=0.002037 Jy/beam
! Combined flux in latest and established models = 2.54194 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 86 components and 2.54194 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163317Jy  sigma=0.001696
! Fit after  self-cal, rms=0.163211Jy  sigma=0.001695
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163211Jy  sigma=0.001695
! Fit after  self-cal, rms=0.162247Jy  sigma=0.001684
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8042 mas, bmaj=2.062 mas, bpa=-13.07 degrees
! Estimated noise=466.265 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00123594 Jy
! Component: 100  -  total flux cleaned = 0.000301161 Jy
! Component: 150  -  total flux cleaned = 0.00138481 Jy
! Component: 200  -  total flux cleaned = 0.00164896 Jy
! Total flux subtracted in 200 components = 0.00164896 Jy
! Clean residual min=-0.006127 max=0.006322 Jy/beam
! Clean residual mean=0.000081 rms=0.001686 Jy/beam
! Combined flux in latest and established models = 2.54359 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 95 components and 2.54359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161798Jy  sigma=0.001678
! Fit after  self-cal, rms=0.161730Jy  sigma=0.001677
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000859865 Jy
! Component: 100  -  total flux cleaned = 0.00130811 Jy
! Component: 150  -  total flux cleaned = 0.00170324 Jy
! Component: 200  -  total flux cleaned = 0.00169977 Jy
! Total flux subtracted in 200 components = 0.00169977 Jy
! Clean residual min=-0.006276 max=0.006140 Jy/beam
! Clean residual mean=0.000055 rms=0.001649 Jy/beam
! Combined flux in latest and established models = 2.54529 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 104 components and 2.54529 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161584Jy  sigma=0.001675
! Fit after  self-cal, rms=0.161554Jy  sigma=0.001675
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161554Jy  sigma=0.001675
! Fit after  self-cal, rms=0.161245Jy  sigma=0.001670
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8049 mas, bmaj=2.062 mas, bpa=-13.06 degrees
! Estimated noise=466.409 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000168365 Jy
! Component: 100  -  total flux cleaned = 0.000536393 Jy
! Component: 150  -  total flux cleaned = 0.00127883 Jy
! Component: 200  -  total flux cleaned = 0.00160677 Jy
! Total flux subtracted in 200 components = 0.00160677 Jy
! Clean residual min=-0.004476 max=0.005519 Jy/beam
! Clean residual mean=0.000165 rms=0.001486 Jy/beam
! Combined flux in latest and established models = 2.54689 Jy
selfcal
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 111 components and 2.54689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161090Jy  sigma=0.001668
! Fit after  self-cal, rms=0.161054Jy  sigma=0.001668
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000346045 Jy
! Component: 100  -  total flux cleaned = 0.000580835 Jy
! Component: 150  -  total flux cleaned = 0.000723551 Jy
! Component: 200  -  total flux cleaned = 0.000723339 Jy
! Total flux subtracted in 200 components = 0.000723339 Jy
! Clean residual min=-0.004543 max=0.005283 Jy/beam
! Clean residual mean=0.000156 rms=0.001470 Jy/beam
! Combined flux in latest and established models = 2.54762 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 118 components and 2.54762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160983Jy  sigma=0.001667
! Fit after  self-cal, rms=0.160959Jy  sigma=0.001667
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160959Jy  sigma=0.001667
! Fit after  self-cal, rms=0.160965Jy  sigma=0.001666
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=2.161 mas, bmaj=4.124 mas, bpa=-7.788 degrees
! Estimated noise=592.822 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000410101 Jy
! Component: 100  -  total flux cleaned = 0.00110937 Jy
! Component: 150  -  total flux cleaned = 0.00175557 Jy
! Component: 200  -  total flux cleaned = 0.00203499 Jy
! Total flux subtracted in 200 components = 0.00203499 Jy
! Clean residual min=-0.006106 max=0.006288 Jy/beam
! Clean residual mean=0.000448 rms=0.002360 Jy/beam
! Combined flux in latest and established models = 2.54965 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 122 components and 2.54965 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160968Jy  sigma=0.001666
! Fit after  self-cal, rms=0.160910Jy  sigma=0.001666
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000144029 Jy
! Component: 100  -  total flux cleaned = 0.000585858 Jy
! Component: 150  -  total flux cleaned = 0.000867185 Jy
! Component: 200  -  total flux cleaned = 0.000982024 Jy
! Total flux subtracted in 200 components = 0.000982024 Jy
! Clean residual min=-0.006218 max=0.006086 Jy/beam
! Clean residual mean=0.000415 rms=0.002367 Jy/beam
! Combined flux in latest and established models = 2.55063 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 127 components and 2.55063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160946Jy  sigma=0.001666
! Fit after  self-cal, rms=0.160907Jy  sigma=0.001666
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8054 mas, bmaj=2.062 mas, bpa=-13.05 degrees
! Estimated noise=466.451 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8054 x 2.062 at -13.05 degrees (North through East)
! Clean map  min=-0.0045893  max=2.1153 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.160907Jy  sigma=0.001666
! Fit after  self-cal, rms=0.147665Jy  sigma=0.001484
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8053 mas, bmaj=2.063 mas, bpa=-13.07 degrees
! Estimated noise=465.894 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0016387 Jy
! Component: 100  -  total flux cleaned = -0.00203897 Jy
! Component: 150  -  total flux cleaned = -0.00212143 Jy
! Component: 200  -  total flux cleaned = -0.00218934 Jy
! Total flux subtracted in 200 components = -0.00218934 Jy
! Clean residual min=-0.003721 max=0.004454 Jy/beam
! Clean residual mean=0.000221 rms=0.001207 Jy/beam
! Combined flux in latest and established models = 2.54844 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 133 components and 2.54844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147548Jy  sigma=0.001482
! Fit after  self-cal, rms=0.147535Jy  sigma=0.001482
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000267457 Jy
! Component: 100  -  total flux cleaned = 0.00014775 Jy
! Component: 150  -  total flux cleaned = -1.82867e-05 Jy
! Component: 200  -  total flux cleaned = -7.07354e-05 Jy
! Total flux subtracted in 200 components = -7.07354e-05 Jy
! Clean residual min=-0.003631 max=0.004349 Jy/beam
! Clean residual mean=0.000221 rms=0.001193 Jy/beam
! Combined flux in latest and established models = 2.54837 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 140 components and 2.54837 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147490Jy  sigma=0.001481
! Fit after  self-cal, rms=0.147481Jy  sigma=0.001481
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147481Jy  sigma=0.001481
! Fit after  self-cal, rms=0.147484Jy  sigma=0.001481
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.6681 mas, bmaj=1.416 mas, bpa=-3.815 degrees
! Estimated noise=831.563 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.60814 Jy
! Component: 100  -  total flux cleaned = 1.99838 Jy
! Component: 150  -  total flux cleaned = 2.16802 Jy
! Component: 200  -  total flux cleaned = 2.25929 Jy
! Total flux subtracted in 200 components = 2.25929 Jy
! Clean residual min=-0.014673 max=0.047054 Jy/beam
! Clean residual mean=0.001342 rms=0.006612 Jy/beam
! Combined flux in latest and established models = 2.25929 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 19 model components to the UV plane model.
! The established model now contains 19 components and 2.25929 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8056 mas, bmaj=2.063 mas, bpa=-13.06 degrees
! Estimated noise=465.844 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.0860508 Jy
! Component: 100  -  total flux cleaned = 0.139196 Jy
! Component: 150  -  total flux cleaned = 0.175472 Jy
! Component: 200  -  total flux cleaned = 0.201286 Jy
! Total flux subtracted in 200 components = 0.201286 Jy
! Clean residual min=-0.007660 max=0.015974 Jy/beam
! Clean residual mean=0.001539 rms=0.003580 Jy/beam
! Combined flux in latest and established models = 2.46057 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 61 components and 2.46057 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Added new window around map position (0.2, 2.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0191949 Jy
! Component: 100  -  total flux cleaned = 0.0334407 Jy
! Component: 150  -  total flux cleaned = 0.0444559 Jy
! Component: 200  -  total flux cleaned = 0.0532815 Jy
! Total flux subtracted in 200 components = 0.0532815 Jy
! Clean residual min=-0.003886 max=0.005797 Jy/beam
! Clean residual mean=0.000769 rms=0.001628 Jy/beam
! Combined flux in latest and established models = 2.51386 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 99 components and 2.51386 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=2.161 mas, bmaj=4.126 mas, bpa=-7.778 degrees
! Estimated noise=591.827 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0123661 Jy
! Component: 100  -  total flux cleaned = 0.0201278 Jy
! Component: 150  -  total flux cleaned = 0.0253723 Jy
! Component: 200  -  total flux cleaned = 0.0290546 Jy
! Total flux subtracted in 200 components = 0.0290546 Jy
! Clean residual min=-0.004034 max=0.006036 Jy/beam
! Clean residual mean=0.000811 rms=0.001830 Jy/beam
! Combined flux in latest and established models = 2.54291 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.00261523 Jy
! Component: 100  -  total flux cleaned = 0.00448601 Jy
! Component: 150  -  total flux cleaned = 0.00583007 Jy
! Component: 200  -  total flux cleaned = 0.00659396 Jy
! Total flux subtracted in 200 components = 0.00659396 Jy
! Clean residual min=-0.003872 max=0.005588 Jy/beam
! Clean residual mean=0.000588 rms=0.001780 Jy/beam
! Combined flux in latest and established models = 2.5495 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 148 components and 2.5495 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! Estimated beam: bmin=0.8056 mas, bmaj=2.063 mas, bpa=-13.06 degrees
! Estimated noise=465.844 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00126355 Jy
! Component: 100  -  total flux cleaned = -0.00136346 Jy
! Component: 150  -  total flux cleaned = -0.00102113 Jy
! Component: 200  -  total flux cleaned = -0.000707456 Jy
! Total flux subtracted in 200 components = -0.000707456 Jy
! Clean residual min=-0.003231 max=0.004041 Jy/beam
! Clean residual mean=0.000265 rms=0.001054 Jy/beam
! Combined flux in latest and established models = 2.5488 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 161 components and 2.5488 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147604Jy  sigma=0.001480
! Fit after  self-cal, rms=0.147499Jy  sigma=0.001479
wmodel J0730-1141_X_2000_05_22_pus_map.mod
! Writing 161 model components to file: J0730-1141_X_2000_05_22_pus_map.mod
wobs J0730-1141_X_2000_05_22_pus_uvs.fits
! Writing UV FITS file: J0730-1141_X_2000_05_22_pus_uvs.fits
wwins J0730-1141_X_2000_05_22_pus_map.win
! wwins: Wrote 3 windows to J0730-1141_X_2000_05_22_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.0016858 Jy
! Component: 100  -  total flux cleaned = 0.00316616 Jy
! Component: 150  -  total flux cleaned = 0.00437356 Jy
! Component: 200  -  total flux cleaned = 0.00514681 Jy
! Component: 250  -  total flux cleaned = 0.00597955 Jy
! Component: 300  -  total flux cleaned = 0.00659083 Jy
! Component: 350  -  total flux cleaned = 0.00704479 Jy
! Component: 400  -  total flux cleaned = 0.00748546 Jy
! Component: 450  -  total flux cleaned = 0.008002 Jy
! Component: 500  -  total flux cleaned = 0.00842314 Jy
! Component: 550  -  total flux cleaned = 0.0089172 Jy
! Component: 600  -  total flux cleaned = 0.0094395 Jy
! Component: 650  -  total flux cleaned = 0.00983286 Jy
! Component: 700  -  total flux cleaned = 0.0103334 Jy
! Component: 750  -  total flux cleaned = 0.0107103 Jy
! Component: 800  -  total flux cleaned = 0.011154 Jy
! Component: 850  -  total flux cleaned = 0.0115168 Jy
! Component: 900  -  total flux cleaned = 0.0119094 Jy
! Component: 950  -  total flux cleaned = 0.0122251 Jy
! Component: 1000  -  total flux cleaned = 0.0126394 Jy
! Total flux subtracted in 1024 components = 0.0127758 Jy
! Clean residual min=-0.001863 max=0.002060 Jy/beam
! Clean residual mean=0.000159 rms=0.000697 Jy/beam
! Combined flux in latest and established models = 2.56157 Jy
keep
! Adding 67 model components to the UV plane model.
! The established model now contains 228 components and 2.56157 Jy
![Exited script file: muppet]
wmap "J0730-1141_X_2000_05_22_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8056 x 2.063 at -13.06 degrees (North through East)
! Clean map  min=-0.0022442  max=2.1237 Jy/beam
! Writing clean map to FITS file: J0730-1141_X_2000_05_22_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 2.12365 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.155% of the data.
!  The x-axis pixel size should ideally be below 0.1954 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000705007 
device "J0730-1141_X_2000_05_22_pus\_map.eps/VPS"
! Attempting to open device: 'J0730-1141_X_2000_05_22_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0995936 0.0995936 0.199187 0.398374 0.796749 1.5935 3.187 6.37399 12.748 25.496 50.9919
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.123 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8056 x 2.063 at -13.06 degrees (North through East)
! Clean map  min=-0.0022442  max=2.1237 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0730-1141_X_2000_05_22_pus\_map.gif/vgif"
! Attempting to open device: 'J0730-1141_X_2000_05_22_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0730-1141_X_2000_05_22_pus_uvs.log closed on Tue Nov 13 11:51:11 2007