! Started logfile: J0730-1141_X_1999_05_10_pus_uvs.log on Mon Jan 14 12:38:39 2008
obs J0730-1141_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J0730-1141_X_1999_05_10_pus_uva.fits
! AN table 1: 184 integrations on 153 of 153 possible baselines.
! AN table 2: 63 integrations on 153 of 153 possible baselines.
! AN table 3: 67 integrations on 153 of 153 possible baselines.
! AN table 4: 71 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  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 1759 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 = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J0730-1141_X_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 = 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 2421 telescope corrections were flagged in sub-array 1.
!  A total of 812 telescope corrections were flagged in sub-array 2.
!  A total of 521 telescope corrections were flagged in sub-array 3.
!  A total of 810 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2421 telescope corrections were flagged in sub-array 1.
!  A total of 812 telescope corrections were flagged in sub-array 2.
!  A total of 521 telescope corrections were flagged in sub-array 3.
!  A total of 810 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2421 telescope corrections were flagged in sub-array 1.
!  A total of 812 telescope corrections were flagged in sub-array 2.
!  A total of 521 telescope corrections were flagged in sub-array 3.
!  A total of 810 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2421 telescope corrections were flagged in sub-array 1.
!  A total of 812 telescope corrections were flagged in sub-array 2.
!  A total of 521 telescope corrections were flagged in sub-array 3.
!  A total of 810 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=1.798816Jy  sigma=0.017952
! Fit after  self-cal, rms=1.348677Jy  sigma=0.014247
! 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.917% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.6108 mas, bmaj=1.365 mas, bpa=0.4369 degrees
! Estimated noise=948.596 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.60921 Jy
! Component: 100  -  total flux cleaned = 2.04731 Jy
! Total flux subtracted in 100 components = 2.04731 Jy
! Clean residual min=-0.056271 max=0.194805 Jy/beam
! Clean residual mean=0.003321 rms=0.020266 Jy/beam
! Combined flux in latest and established models = 2.04731 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 2.04731 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.517043Jy  sigma=0.005333
! Fit after  self-cal, rms=0.516892Jy  sigma=0.005332
! Inverting map 
! Your choice of large map pixels excluded 0.917% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.221411 Jy
! Component: 100  -  total flux cleaned = 0.347782 Jy
! Total flux subtracted in 100 components = 0.347782 Jy
! Clean residual min=-0.036040 max=0.069477 Jy/beam
! Clean residual mean=0.001734 rms=0.011487 Jy/beam
! Combined flux in latest and established models = 2.3951 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 18 components and 2.3951 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352777Jy  sigma=0.003238
! Fit after  self-cal, rms=0.352808Jy  sigma=0.003237
! Inverting map 
! Your choice of large map pixels excluded 0.917% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.917% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.84 mas, bmaj=2.062 mas, bpa=-4.552 degrees
! Estimated noise=395.684 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.140188 Jy
! Component: 100  -  total flux cleaned = 0.209212 Jy
! Component: 150  -  total flux cleaned = 0.245053 Jy
! Component: 200  -  total flux cleaned = 0.26378 Jy
! Total flux subtracted in 200 components = 0.26378 Jy
! Clean residual min=-0.030841 max=0.056246 Jy/beam
! Clean residual mean=0.001236 rms=0.010484 Jy/beam
! Combined flux in latest and established models = 2.65888 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 35 components and 2.65888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310274Jy  sigma=0.002494
! Fit after  self-cal, rms=0.310074Jy  sigma=0.002493
! Inverting map 
! Your choice of large map pixels excluded 0.917% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 222 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.99     GC        1.14     HH        0.93     
!   HN        1.01     KK        0.93     KP        0.99     LA        0.98     
!   MC        1.11     MK        0.98     NL        1.05     NY        1.00*    
!   ON        0.95     OV        1.01     PT        1.02     SC        1.02     
!   WF        1.19     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.97     GC        1.00*    HH        0.94     
!   HN        1.01     KK        1.00*    KP        1.00     LA        0.98     
!   MC        1.33     MK        1.00*    NL        1.52     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.01     SC        1.10     
!   WF        1.06     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        1.02     KK        1.00     KP        0.99     LA        0.96     
!   MC        1.00*    MK        0.98     NL        1.07     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.01     SC        0.99     
!   WF        1.32     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        0.99     LA        0.96     
!   MC        1.00*    MK        1.00*    NL        1.08     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00     
!   WF        1.04     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 222 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.98     GC        1.12     HH        0.91     
!   HN        1.00     KK        0.94     KP        1.00     LA        0.97     
!   MC        1.13     MK        0.97     NL        0.99     NY        1.00*    
!   ON        0.95     OV        0.99     PT        0.94     SC        1.00     
!   WF        1.12     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.96     GC        1.00*    HH        0.96     
!   HN        1.00     KK        1.00*    KP        1.04     LA        0.99     
!   MC        1.34     MK        1.00*    NL        1.44     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        0.93     SC        1.09     
!   WF        1.12     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        1.01     KK        1.01     KP        1.01     LA        0.97     
!   MC        1.00*    MK        0.98     NL        1.03     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.93     SC        0.98     
!   WF        1.10     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        0.98     KK        1.00*    KP        1.00     LA        0.97     
!   MC        1.00*    MK        1.00*    NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.92     SC        1.00     
!   WF        1.09     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 222 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.02     GC        1.25     HH        1.06     
!   HN        1.01     KK        1.02     KP        1.02     LA        0.97     
!   MC        1.20     MK        0.96     NL        1.00     NY        1.00*    
!   ON        0.98     OV        1.02     PT        0.95     SC        1.02     
!   WF        1.12     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GC        1.00*    HH        1.00     
!   HN        1.03     KK        1.00*    KP        1.07     LA        1.00     
!   MC        1.40     MK        1.00*    NL        1.71     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        0.95     SC        1.11     
!   WF        1.13     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        1.04     KK        1.09     KP        1.03     LA        0.97     
!   MC        1.00*    MK        0.99     NL        1.04     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.95     SC        1.00     
!   WF        1.11     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        0.99     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.05     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.94     SC        1.01     
!   WF        1.09     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 222 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     GC        1.12     HH        1.06     
!   HN        1.02     KK        0.98     KP        1.01     LA        0.99     
!   MC        1.20     MK        0.97     NL        1.01     NY        1.00*    
!   ON        0.99     OV        1.02     PT        0.97     SC        0.98     
!   WF        1.13     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.98     GC        1.00*    HH        1.10     
!   HN        1.02     KK        1.00*    KP        1.05     LA        1.02     
!   MC        1.45     MK        1.00*    NL        1.75     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        0.98     SC        1.07     
!   WF        1.11     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.98     GC        1.00*    HH        1.00*    
!   HN        1.03     KK        1.05     KP        1.02     LA        0.99     
!   MC        1.00*    MK        1.00     NL        1.05     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.97     SC        0.97     
!   WF        1.09     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.01     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        0.90     KK        1.00*    KP        1.01     LA        0.99     
!   MC        1.00*    MK        1.00*    NL        1.05     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.96     SC        0.94     
!   WF        1.08     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.310074Jy  sigma=0.002493
! Fit after  self-cal, rms=0.305258Jy  sigma=0.002002
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8472 mas, bmaj=2.121 mas, bpa=-5.013 degrees
! Estimated noise=401.717 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 (-1.8, 2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0378202 Jy
! Component: 100  -  total flux cleaned = 0.0452951 Jy
! Component: 150  -  total flux cleaned = 0.0462824 Jy
! Component: 200  -  total flux cleaned = 0.046313 Jy
! Total flux subtracted in 200 components = 0.046313 Jy
! Clean residual min=-0.013695 max=0.013324 Jy/beam
! Clean residual mean=-0.000481 rms=0.004009 Jy/beam
! Combined flux in latest and established models = 2.70519 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 52 components and 2.70519 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301010Jy  sigma=0.001929
! Fit after  self-cal, rms=0.300658Jy  sigma=0.001920
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.300658Jy  sigma=0.001920
! Fit after  self-cal, rms=0.296309Jy  sigma=0.001825
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8462 mas, bmaj=2.116 mas, bpa=-4.927 degrees
! Estimated noise=401.214 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0177951 Jy
! Component: 100  -  total flux cleaned = 0.0238654 Jy
! Component: 150  -  total flux cleaned = 0.0241443 Jy
! Component: 200  -  total flux cleaned = 0.0243778 Jy
! Total flux subtracted in 200 components = 0.0243778 Jy
! Clean residual min=-0.010537 max=0.009651 Jy/beam
! Clean residual mean=0.000217 rms=0.002688 Jy/beam
! Combined flux in latest and established models = 2.72957 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 66 components and 2.72957 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.295333Jy  sigma=0.001804
! Fit after  self-cal, rms=0.295091Jy  sigma=0.001802
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.00400167 Jy
! Component: 100  -  total flux cleaned = 0.00440188 Jy
! Component: 150  -  total flux cleaned = 0.0045785 Jy
! Component: 200  -  total flux cleaned = 0.00458314 Jy
! Total flux subtracted in 200 components = 0.00458314 Jy
! Clean residual min=-0.012259 max=0.009745 Jy/beam
! Clean residual mean=0.000108 rms=0.002622 Jy/beam
! Combined flux in latest and established models = 2.73415 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 78 components and 2.73415 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.294806Jy  sigma=0.001797
! Fit after  self-cal, rms=0.294728Jy  sigma=0.001797
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.294728Jy  sigma=0.001797
! Fit after  self-cal, rms=0.293738Jy  sigma=0.001792
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8462 mas, bmaj=2.112 mas, bpa=-4.899 degrees
! Estimated noise=400.972 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00817389 Jy
! Component: 100  -  total flux cleaned = 0.00886062 Jy
! Component: 150  -  total flux cleaned = 0.00958686 Jy
! Component: 200  -  total flux cleaned = 0.0100472 Jy
! Total flux subtracted in 200 components = 0.0100472 Jy
! Clean residual min=-0.009544 max=0.010088 Jy/beam
! Clean residual mean=0.000280 rms=0.002325 Jy/beam
! Combined flux in latest and established models = 2.7442 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 88 components and 2.7442 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.293421Jy  sigma=0.001787
! Fit after  self-cal, rms=0.293331Jy  sigma=0.001786
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.00177785 Jy
! Component: 100  -  total flux cleaned = 0.00223424 Jy
! Component: 150  -  total flux cleaned = 0.00250154 Jy
! Component: 200  -  total flux cleaned = 0.00262157 Jy
! Total flux subtracted in 200 components = 0.00262157 Jy
! Clean residual min=-0.010066 max=0.009982 Jy/beam
! Clean residual mean=0.000218 rms=0.002281 Jy/beam
! Combined flux in latest and established models = 2.74682 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 90 components and 2.74682 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.293183Jy  sigma=0.001784
! Fit after  self-cal, rms=0.293145Jy  sigma=0.001784
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.293145Jy  sigma=0.001784
! Fit after  self-cal, rms=0.292658Jy  sigma=0.001782
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=2.38 mas, bmaj=3.969 mas, bpa=-0.2769 degrees
! Estimated noise=492.904 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00509269 Jy
! Component: 100  -  total flux cleaned = 0.00666494 Jy
! Component: 150  -  total flux cleaned = 0.00785157 Jy
! Component: 200  -  total flux cleaned = 0.00859456 Jy
! Total flux subtracted in 200 components = 0.00859456 Jy
! Clean residual min=-0.007143 max=0.007896 Jy/beam
! Clean residual mean=0.000481 rms=0.002939 Jy/beam
! Combined flux in latest and established models = 2.75541 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 105 components and 2.75541 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.292626Jy  sigma=0.001781
! Fit after  self-cal, rms=0.292539Jy  sigma=0.001780
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.000501054 Jy
! Component: 100  -  total flux cleaned = 0.00129711 Jy
! Component: 150  -  total flux cleaned = 0.00191467 Jy
! Component: 200  -  total flux cleaned = 0.00217294 Jy
! Total flux subtracted in 200 components = 0.00217294 Jy
! Clean residual min=-0.007038 max=0.007796 Jy/beam
! Clean residual mean=0.000382 rms=0.002907 Jy/beam
! Combined flux in latest and established models = 2.75759 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 112 components and 2.75759 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.292577Jy  sigma=0.001781
! Fit after  self-cal, rms=0.292530Jy  sigma=0.001780
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8464 mas, bmaj=2.113 mas, bpa=-4.904 degrees
! Estimated noise=400.903 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8464 x 2.113 at -4.904 degrees (North through East)
! Clean map  min=-0.0077349  max=2.2364 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.292530Jy  sigma=0.001780
! Fit after  self-cal, rms=0.374028Jy  sigma=0.001499
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8464 mas, bmaj=2.115 mas, bpa=-4.997 degrees
! Estimated noise=400.128 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00146454 Jy
! Component: 100  -  total flux cleaned = -0.00161787 Jy
! Component: 150  -  total flux cleaned = -0.00175153 Jy
! Component: 200  -  total flux cleaned = -0.00187135 Jy
! Total flux subtracted in 200 components = -0.00187135 Jy
! Clean residual min=-0.007907 max=0.009406 Jy/beam
! Clean residual mean=0.000189 rms=0.001996 Jy/beam
! Combined flux in latest and established models = 2.75571 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 126 components and 2.75571 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.373899Jy  sigma=0.001497
! Fit after  self-cal, rms=0.373865Jy  sigma=0.001496
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Added new window around map position (0.8, 5.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00721657 Jy
! Component: 100  -  total flux cleaned = 0.00795808 Jy
! Component: 150  -  total flux cleaned = 0.00781662 Jy
! Component: 200  -  total flux cleaned = 0.00756038 Jy
! Total flux subtracted in 200 components = 0.00756038 Jy
! Clean residual min=-0.008060 max=0.006027 Jy/beam
! Clean residual mean=0.000026 rms=0.001790 Jy/beam
! Combined flux in latest and established models = 2.76327 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 135 components and 2.76327 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.373610Jy  sigma=0.001491
! Fit after  self-cal, rms=0.373553Jy  sigma=0.001491
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.373553Jy  sigma=0.001491
! Fit after  self-cal, rms=0.373601Jy  sigma=0.001490
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.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.619 mas, bmaj=1.378 mas, bpa=0.7232 degrees
! Estimated noise=964.238 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.63072 Jy
! Component: 100  -  total flux cleaned = 2.05823 Jy
! Component: 150  -  total flux cleaned = 2.26569 Jy
! Component: 200  -  total flux cleaned = 2.38259 Jy
! Total flux subtracted in 200 components = 2.38259 Jy
! Clean residual min=-0.019291 max=0.062801 Jy/beam
! Clean residual mean=0.001775 rms=0.007660 Jy/beam
! Combined flux in latest and established models = 2.38259 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 18 model components to the UV plane model.
! The established model now contains 18 components and 2.38259 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8469 mas, bmaj=2.115 mas, bpa=-4.988 degrees
! Estimated noise=399.975 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.137608 Jy
! Component: 100  -  total flux cleaned = 0.215067 Jy
! Component: 150  -  total flux cleaned = 0.263436 Jy
! Component: 200  -  total flux cleaned = 0.295973 Jy
! Total flux subtracted in 200 components = 0.295973 Jy
! Clean residual min=-0.009661 max=0.018822 Jy/beam
! Clean residual mean=0.002033 rms=0.004693 Jy/beam
! Combined flux in latest and established models = 2.67856 Jy
! Adding 59 model components to the UV plane model.
! The established model now contains 69 components and 2.67856 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 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.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=2.377 mas, bmaj=3.969 mas, bpa=-0.3149 degrees
! Estimated noise=491.87 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0356986 Jy
! Component: 100  -  total flux cleaned = 0.0554429 Jy
! Component: 150  -  total flux cleaned = 0.0671217 Jy
! Component: 200  -  total flux cleaned = 0.0744509 Jy
! Total flux subtracted in 200 components = 0.0744509 Jy
! Clean residual min=-0.006437 max=0.007663 Jy/beam
! Clean residual mean=0.000726 rms=0.002801 Jy/beam
! Combined flux in latest and established models = 2.75301 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.00476646 Jy
! Component: 100  -  total flux cleaned = 0.00793223 Jy
! Component: 150  -  total flux cleaned = 0.00999134 Jy
! Component: 200  -  total flux cleaned = 0.0104525 Jy
! Total flux subtracted in 200 components = 0.0104525 Jy
! Clean residual min=-0.005697 max=0.006641 Jy/beam
! Clean residual mean=0.000244 rms=0.002403 Jy/beam
! Combined flux in latest and established models = 2.76346 Jy
! Adding 74 model components to the UV plane model.
! The established model now contains 129 components and 2.76346 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! Estimated beam: bmin=0.8469 mas, bmaj=2.115 mas, bpa=-4.988 degrees
! Estimated noise=399.975 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00233173 Jy
! Component: 100  -  total flux cleaned = -0.00213586 Jy
! Component: 150  -  total flux cleaned = -0.00197407 Jy
! Component: 200  -  total flux cleaned = -0.00197604 Jy
! Total flux subtracted in 200 components = -0.00197604 Jy
! Clean residual min=-0.005531 max=0.005869 Jy/beam
! Clean residual mean=0.000166 rms=0.001643 Jy/beam
! Combined flux in latest and established models = 2.76149 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 145 components and 2.76149 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.373517Jy  sigma=0.001491
! Fit after  self-cal, rms=0.373169Jy  sigma=0.001490
wmodel J0730-1141_X_1999_05_10_pus_map.mod
! Writing 145 model components to file: J0730-1141_X_1999_05_10_pus_map.mod
wobs J0730-1141_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J0730-1141_X_1999_05_10_pus_uvs.fits
wwins J0730-1141_X_1999_05_10_pus_map.win
! wwins: Wrote 3 windows to J0730-1141_X_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 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00131078 Jy
! Component: 100  -  total flux cleaned = 0.00202476 Jy
! Component: 150  -  total flux cleaned = 0.00260864 Jy
! Component: 200  -  total flux cleaned = 0.00322521 Jy
! Component: 250  -  total flux cleaned = 0.00381303 Jy
! Component: 300  -  total flux cleaned = 0.00374214 Jy
! Component: 350  -  total flux cleaned = 0.00367293 Jy
! Component: 400  -  total flux cleaned = 0.00373798 Jy
! Component: 450  -  total flux cleaned = 0.00380175 Jy
! Component: 500  -  total flux cleaned = 0.00392718 Jy
! Component: 550  -  total flux cleaned = 0.00386703 Jy
! Component: 600  -  total flux cleaned = 0.00386709 Jy
! Component: 650  -  total flux cleaned = 0.00374993 Jy
! Component: 700  -  total flux cleaned = 0.00369237 Jy
! Component: 750  -  total flux cleaned = 0.00369212 Jy
! Component: 800  -  total flux cleaned = 0.00363705 Jy
! Component: 850  -  total flux cleaned = 0.00358381 Jy
! Component: 900  -  total flux cleaned = 0.00342533 Jy
! Component: 950  -  total flux cleaned = 0.00347887 Jy
! Component: 1000  -  total flux cleaned = 0.00347844 Jy
! Total flux subtracted in 1024 components = 0.0034276 Jy
! Clean residual min=-0.003245 max=0.002535 Jy/beam
! Clean residual mean=0.000039 rms=0.001069 Jy/beam
! Combined flux in latest and established models = 2.76491 Jy
keep
! Adding 67 model components to the UV plane model.
! The established model now contains 211 components and 2.76491 Jy
![Exited script file: muppet]
wmap "J0730-1141_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8469 x 2.115 at -4.988 degrees (North through East)
! Clean map  min=-0.0038985  max=2.2426 Jy/beam
! Writing clean map to FITS file: J0730-1141_X_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.24262 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.943% of the data.
!  The x-axis pixel size should ideally be below 0.1608 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00107143 
device "J0730-1141_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J0730-1141_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.143328 0.143328 0.286656 0.573311 1.14662 2.29325 4.58649 9.17298 18.346 36.6919 73.3839
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0032 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.242 
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.8469 x 2.115 at -4.988 degrees (North through East)
! Clean map  min=-0.0038985  max=2.2426 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0730-1141_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J0730-1141_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0730-1141_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 12:38:57 2008