! Started logfile: J1127-1857_X_2001_10_29_pus_uvs.log on Mon Feb 25 16:12:55 2008
obs J1127-1857_X_2001_10_29_pus_uva.fits
! Reading UV FITS file: J1127-1857_X_2001_10_29_pus_uva.fits
! AN table 1: 52 integrations on 153 of 153 possible baselines.
! AN table 2: 78 integrations on 153 of 153 possible baselines.
! AN table 3: 216 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.162076 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1127-1857
! 
! 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 1970 lines of history.
! 
! Reading 34320 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 J1127-1857_X_2001_10_29_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 699 telescope corrections were flagged in sub-array 1.
!  A total of 1023 telescope corrections were flagged in sub-array 2.
!  A total of 2213 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 699 telescope corrections were flagged in sub-array 1.
!  A total of 1023 telescope corrections were flagged in sub-array 2.
!  A total of 2213 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 699 telescope corrections were flagged in sub-array 1.
!  A total of 1023 telescope corrections were flagged in sub-array 2.
!  A total of 2213 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 699 telescope corrections were flagged in sub-array 1.
!  A total of 1023 telescope corrections were flagged in sub-array 2.
!  A total of 2213 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.964137Jy  sigma=0.008712
! Fit after  self-cal, rms=0.208495Jy  sigma=0.001780
! 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 2.58% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.6148 mas, bmaj=1.374 mas, bpa=8.452 degrees
! Estimated noise=1162.6 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 = 0.809818 Jy
! Component: 100  -  total flux cleaned = 0.987173 Jy
! Total flux subtracted in 100 components = 0.987173 Jy
! Clean residual min=-0.022656 max=0.055659 Jy/beam
! Clean residual mean=0.000515 rms=0.007853 Jy/beam
! Combined flux in latest and established models = 0.987173 Jy
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.987173 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.212424Jy  sigma=0.001838
! Fit after  self-cal, rms=0.212347Jy  sigma=0.001838
! Inverting map 
! Your choice of large map pixels excluded 2.58% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0591761 Jy
! Component: 100  -  total flux cleaned = 0.0911782 Jy
! Total flux subtracted in 100 components = 0.0911782 Jy
! Clean residual min=-0.015925 max=0.022573 Jy/beam
! Clean residual mean=-0.000035 rms=0.005105 Jy/beam
! Combined flux in latest and established models = 1.07835 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 13 components and 1.07835 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186184Jy  sigma=0.001488
! Fit after  self-cal, rms=0.185881Jy  sigma=0.001487
! Inverting map 
! Your choice of large map pixels excluded 2.58% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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 2.58% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.8217 mas, bmaj=1.936 mas, bpa=5.776 degrees
! Estimated noise=430.391 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.0454189 Jy
! Component: 100  -  total flux cleaned = 0.0663585 Jy
! Component: 150  -  total flux cleaned = 0.0765727 Jy
! Component: 200  -  total flux cleaned = 0.081734 Jy
! Total flux subtracted in 200 components = 0.0817339 Jy
! Clean residual min=-0.013259 max=0.015731 Jy/beam
! Clean residual mean=-0.000962 rms=0.004089 Jy/beam
! Combined flux in latest and established models = 1.16009 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 24 components and 1.16009 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178802Jy  sigma=0.001352
! Fit after  self-cal, rms=0.178555Jy  sigma=0.001351
! Inverting map 
! Your choice of large map pixels excluded 2.58% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.13     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        1.02     LA        1.00     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.98     
!   OV        1.03     PT        1.01     SC        0.96     TS        1.00*    
!   WF        0.98     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.03     
!   HN        1.00     KK        1.00*    KP        1.05     LA        1.03     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.16     
!   OV        1.08     PT        1.03     SC        0.95     TS        1.00*    
!   WF        0.96     WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        1.03     
!   HN        1.07     KK        1.00     KP        0.98     LA        0.98     
!   MA        1.03     MC        1.06     MK        0.99     NL        0.97     
!   OV        0.99     PT        0.99     SC        1.02     TS        1.01     
!   WF        1.03     WZ        0.91     
! 
! 
! Correcting IF 2.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.01     KK        1.00*    KP        1.03     LA        0.98     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.95     
!   OV        1.04     PT        0.99     SC        0.91     TS        1.00*    
!   WF        0.98     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.02     
!   HN        1.00     KK        1.00*    KP        1.05     LA        1.01     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.12     
!   OV        1.09     PT        1.02     SC        0.92     TS        1.00*    
!   WF        0.95     WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.00*    GG        1.00*    HH        0.98     
!   HN        1.06     KK        1.05     KP        0.99     LA        0.96     
!   MA        1.11     MC        1.05     MK        0.98     NL        0.94     
!   OV        0.99     PT        0.96     SC        0.98     TS        1.01     
!   WF        1.03     WZ        0.83     
! 
! 
! Correcting IF 3.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        1.00*    KP        1.01     LA        1.02     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        0.99     
!   OV        1.02     PT        1.01     SC        0.95     TS        1.00*    
!   WF        1.02     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.99     
!   HN        1.01     KK        1.00*    KP        1.03     LA        1.06     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.16     
!   OV        1.07     PT        1.04     SC        0.94     TS        1.00*    
!   WF        1.00     WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.00*    GG        1.00*    HH        0.88     
!   HN        1.06     KK        1.01     KP        0.98     LA        0.99     
!   MA        1.11     MC        1.04     MK        1.00     NL        0.98     
!   OV        0.98     PT        1.00     SC        1.00     TS        0.97     
!   WF        1.06     WZ        0.90     
! 
! 
! Correcting IF 4.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.03     KK        1.00*    KP        1.04     LA        1.00     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.02     
!   OV        1.00     PT        1.00     SC        0.98     TS        1.00*    
!   WF        1.02     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.00     
!   HN        1.03     KK        1.00*    KP        1.08     LA        1.02     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.20     
!   OV        1.06     PT        1.03     SC        0.98     TS        1.00*    
!   WF        0.95     WZ        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.00*    GG        1.00*    HH        1.02     
!   HN        1.09     KK        1.00     KP        1.00     LA        0.97     
!   MA        1.15     MC        1.08     MK        1.04     NL        0.99     
!   OV        0.96     PT        0.99     SC        1.04     TS        0.99     
!   WF        1.06     WZ        0.81     
! 
! 
! Fit before self-cal, rms=0.178555Jy  sigma=0.001351
! Fit after  self-cal, rms=0.173158Jy  sigma=0.001255
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.8254 mas, bmaj=1.991 mas, bpa=5.182 degrees
! Estimated noise=431.686 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.000327639 Jy
! Component: 100  -  total flux cleaned = -0.000832328 Jy
! Component: 150  -  total flux cleaned = -0.00105973 Jy
! Component: 200  -  total flux cleaned = -0.00118103 Jy
! Total flux subtracted in 200 components = -0.00118103 Jy
! Clean residual min=-0.006243 max=0.005604 Jy/beam
! Clean residual mean=-0.000922 rms=0.001610 Jy/beam
! Combined flux in latest and established models = 1.1589 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 29 components and 1.1589 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.173057Jy  sigma=0.001254
! Fit after  self-cal, rms=0.173094Jy  sigma=0.001253
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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.173094Jy  sigma=0.001253
! Fit after  self-cal, rms=0.171069Jy  sigma=0.001226
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.8255 mas, bmaj=1.991 mas, bpa=5.181 degrees
! Estimated noise=431.865 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000240041 Jy
! Component: 100  -  total flux cleaned = 0.000331834 Jy
! Component: 150  -  total flux cleaned = 0.000273326 Jy
! Component: 200  -  total flux cleaned = 0.000272258 Jy
! Total flux subtracted in 200 components = 0.000272258 Jy
! Clean residual min=-0.004009 max=0.004664 Jy/beam
! Clean residual mean=-0.000154 rms=0.001069 Jy/beam
! Combined flux in latest and established models = 1.15918 Jy
selfcal
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 29 components and 1.15918 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170989Jy  sigma=0.001226
! Fit after  self-cal, rms=0.170941Jy  sigma=0.001225
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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)
! Added new window around map position (0.4, -3.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00289453 Jy
! Component: 100  -  total flux cleaned = 0.00226932 Jy
! Component: 150  -  total flux cleaned = 0.00163334 Jy
! Component: 200  -  total flux cleaned = 0.00118301 Jy
! Total flux subtracted in 200 components = 0.00118301 Jy
! Clean residual min=-0.003774 max=0.003236 Jy/beam
! Clean residual mean=-0.000182 rms=0.000897 Jy/beam
! Combined flux in latest and established models = 1.16036 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 40 components and 1.16036 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170696Jy  sigma=0.001224
! Fit after  self-cal, rms=0.170668Jy  sigma=0.001224
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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.170668Jy  sigma=0.001224
! Fit after  self-cal, rms=0.170720Jy  sigma=0.001222
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.825 mas, bmaj=1.99 mas, bpa=5.156 degrees
! Estimated noise=432.244 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00181156 Jy
! Component: 100  -  total flux cleaned = 0.00156739 Jy
! Component: 150  -  total flux cleaned = 0.00135279 Jy
! Component: 200  -  total flux cleaned = 0.00122233 Jy
! Total flux subtracted in 200 components = 0.00122233 Jy
! Clean residual min=-0.003539 max=0.002840 Jy/beam
! Clean residual mean=-0.000153 rms=0.000817 Jy/beam
! Combined flux in latest and established models = 1.16158 Jy
selfcal
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 46 components and 1.16158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170614Jy  sigma=0.001221
! Fit after  self-cal, rms=0.170605Jy  sigma=0.001221
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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.000280624 Jy
! Component: 100  -  total flux cleaned = 0.000105894 Jy
! Component: 150  -  total flux cleaned = 5.04288e-05 Jy
! Component: 200  -  total flux cleaned = -1.85462e-06 Jy
! Total flux subtracted in 200 components = -1.85462e-06 Jy
! Clean residual min=-0.003360 max=0.002673 Jy/beam
! Clean residual mean=-0.000152 rms=0.000786 Jy/beam
! Combined flux in latest and established models = 1.16158 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 50 components and 1.16158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170553Jy  sigma=0.001221
! Fit after  self-cal, rms=0.170547Jy  sigma=0.001221
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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.170547Jy  sigma=0.001221
! Fit after  self-cal, rms=0.170338Jy  sigma=0.001219
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=2.009 mas, bmaj=4.521 mas, bpa=5.164 degrees
! Estimated noise=537.965 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 7.18024e-05 Jy
! Component: 100  -  total flux cleaned = 0.000209122 Jy
! Component: 150  -  total flux cleaned = 0.000317386 Jy
! Component: 200  -  total flux cleaned = 0.000347492 Jy
! Total flux subtracted in 200 components = 0.000347492 Jy
! Clean residual min=-0.002138 max=0.001924 Jy/beam
! Clean residual mean=-0.000301 rms=0.000763 Jy/beam
! Combined flux in latest and established models = 1.16193 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 60 components and 1.16193 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170317Jy  sigma=0.001219
! Fit after  self-cal, rms=0.170293Jy  sigma=0.001219
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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 = -8.05028e-05 Jy
! Component: 100  -  total flux cleaned = -4.40097e-05 Jy
! Component: 150  -  total flux cleaned = 1.87781e-05 Jy
! Component: 200  -  total flux cleaned = 1.73671e-05 Jy
! Total flux subtracted in 200 components = 1.73671e-05 Jy
! Clean residual min=-0.002236 max=0.001835 Jy/beam
! Clean residual mean=-0.000301 rms=0.000758 Jy/beam
! Combined flux in latest and established models = 1.16194 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 62 components and 1.16194 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170280Jy  sigma=0.001219
! Fit after  self-cal, rms=0.170263Jy  sigma=0.001219
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.8246 mas, bmaj=1.989 mas, bpa=5.147 degrees
! Estimated noise=432.35 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8246 x 1.989 at 5.147 degrees (North through East)
! Clean map  min=-0.0029039  max=1.0617 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.170263Jy  sigma=0.001219
! Fit after  self-cal, rms=0.159537Jy  sigma=0.001111
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.8252 mas, bmaj=1.989 mas, bpa=5.155 degrees
! Estimated noise=432.313 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00145981 Jy
! Component: 100  -  total flux cleaned = 0.00161307 Jy
! Component: 150  -  total flux cleaned = 0.00170478 Jy
! Component: 200  -  total flux cleaned = 0.00178793 Jy
! Total flux subtracted in 200 components = 0.00178793 Jy
! Clean residual min=-0.002709 max=0.002553 Jy/beam
! Clean residual mean=-0.000041 rms=0.000615 Jy/beam
! Combined flux in latest and established models = 1.16373 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 68 components and 1.16373 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159484Jy  sigma=0.001111
! Fit after  self-cal, rms=0.159484Jy  sigma=0.001111
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00023847 Jy
! Component: 100  -  total flux cleaned = 0.00027698 Jy
! Component: 150  -  total flux cleaned = 0.000278188 Jy
! Component: 200  -  total flux cleaned = 0.000313991 Jy
! Total flux subtracted in 200 components = 0.000313991 Jy
! Clean residual min=-0.002637 max=0.002429 Jy/beam
! Clean residual mean=-0.000048 rms=0.000598 Jy/beam
! Combined flux in latest and established models = 1.16405 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 69 components and 1.16405 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159456Jy  sigma=0.001111
! Fit after  self-cal, rms=0.159455Jy  sigma=0.001111
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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.159455Jy  sigma=0.001111
! Fit after  self-cal, rms=0.159362Jy  sigma=0.001111
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 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.6158 mas, bmaj=1.392 mas, bpa=7.83 degrees
! Estimated noise=1184.8 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.819977 Jy
! Component: 100  -  total flux cleaned = 1.00298 Jy
! Component: 150  -  total flux cleaned = 1.06958 Jy
! Component: 200  -  total flux cleaned = 1.10468 Jy
! Total flux subtracted in 200 components = 1.10468 Jy
! Clean residual min=-0.008250 max=0.018183 Jy/beam
! Clean residual mean=0.000340 rms=0.002804 Jy/beam
! Combined flux in latest and established models = 1.10468 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 20 model components to the UV plane model.
! The established model now contains 20 components and 1.10468 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.825 mas, bmaj=1.989 mas, bpa=5.154 degrees
! Estimated noise=432.21 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.0317063 Jy
! Component: 100  -  total flux cleaned = 0.0465592 Jy
! Component: 150  -  total flux cleaned = 0.0543229 Jy
! Component: 200  -  total flux cleaned = 0.0586079 Jy
! Total flux subtracted in 200 components = 0.0586079 Jy
! Clean residual min=-0.003384 max=0.003304 Jy/beam
! Clean residual mean=-0.000021 rms=0.000876 Jy/beam
! Combined flux in latest and established models = 1.16328 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 31 components and 1.16328 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 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 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=2.007 mas, bmaj=4.52 mas, bpa=5.156 degrees
! Estimated noise=538.04 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.001409 Jy
! Component: 100  -  total flux cleaned = 0.00127695 Jy
! Component: 150  -  total flux cleaned = 0.00122012 Jy
! Component: 200  -  total flux cleaned = 0.0011244 Jy
! Total flux subtracted in 200 components = 0.0011244 Jy
! Clean residual min=-0.002164 max=0.002229 Jy/beam
! Clean residual mean=-0.000114 rms=0.000803 Jy/beam
! Combined flux in latest and established models = 1.16441 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 = -3.95209e-05 Jy
! Component: 100  -  total flux cleaned = -3.86942e-05 Jy
! Component: 150  -  total flux cleaned = -5.30182e-06 Jy
! Component: 200  -  total flux cleaned = -5.44894e-06 Jy
! Total flux subtracted in 200 components = -5.44894e-06 Jy
! Clean residual min=-0.001965 max=0.002066 Jy/beam
! Clean residual mean=-0.000114 rms=0.000748 Jy/beam
! Combined flux in latest and established models = 1.1644 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 46 components and 1.1644 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! Estimated beam: bmin=0.825 mas, bmaj=1.989 mas, bpa=5.154 degrees
! Estimated noise=432.21 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000805492 Jy
! Component: 100  -  total flux cleaned = 0.000719649 Jy
! Component: 150  -  total flux cleaned = 0.000717243 Jy
! Component: 200  -  total flux cleaned = 0.000562347 Jy
! Total flux subtracted in 200 components = 0.000562347 Jy
! Clean residual min=-0.002598 max=0.002848 Jy/beam
! Clean residual mean=-0.000058 rms=0.000711 Jy/beam
! Combined flux in latest and established models = 1.16497 Jy
selfcal
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 53 components and 1.16497 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159591Jy  sigma=0.001112
! Fit after  self-cal, rms=0.159514Jy  sigma=0.001112
wmodel J1127-1857_X_2001_10_29_pus_map.mod
! Writing 53 model components to file: J1127-1857_X_2001_10_29_pus_map.mod
wobs J1127-1857_X_2001_10_29_pus_uvs.fits
! Writing UV FITS file: J1127-1857_X_2001_10_29_pus_uvs.fits
wwins J1127-1857_X_2001_10_29_pus_map.win
! wwins: Wrote 2 windows to J1127-1857_X_2001_10_29_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 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000499023 Jy
! Component: 100  -  total flux cleaned = 0.000415101 Jy
! Component: 150  -  total flux cleaned = 0.000453537 Jy
! Component: 200  -  total flux cleaned = 0.000345624 Jy
! Component: 250  -  total flux cleaned = 0.000172611 Jy
! Component: 300  -  total flux cleaned = -2.54879e-05 Jy
! Component: 350  -  total flux cleaned = -0.000152126 Jy
! Component: 400  -  total flux cleaned = -0.000335284 Jy
! Component: 450  -  total flux cleaned = -0.000423364 Jy
! Component: 500  -  total flux cleaned = -0.000480652 Jy
! Component: 550  -  total flux cleaned = -0.000563492 Jy
! Component: 600  -  total flux cleaned = -0.000670635 Jy
! Component: 650  -  total flux cleaned = -0.000696408 Jy
! Component: 700  -  total flux cleaned = -0.000747926 Jy
! Component: 750  -  total flux cleaned = -0.000773196 Jy
! Component: 800  -  total flux cleaned = -0.000846823 Jy
! Component: 850  -  total flux cleaned = -0.000846738 Jy
! Component: 900  -  total flux cleaned = -0.000894109 Jy
! Component: 950  -  total flux cleaned = -0.000870899 Jy
! Component: 1000  -  total flux cleaned = -0.000894048 Jy
! Total flux subtracted in 1024 components = -0.000871421 Jy
! Clean residual min=-0.001270 max=0.001261 Jy/beam
! Clean residual mean=-0.000009 rms=0.000442 Jy/beam
! Combined flux in latest and established models = 1.16409 Jy
keep
! Adding 63 model components to the UV plane model.
! The established model now contains 115 components and 1.16409 Jy
![Exited script file: muppet]
wmap "J1127-1857_X_2001_10_29_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.825 x 1.989 at 5.154 degrees (North through East)
! Clean map  min=-0.0018843  max=1.0621 Jy/beam
! Writing clean map to FITS file: J1127-1857_X_2001_10_29_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.06208 
invert
! Inverting map 
! Your choice of large map pixels excluded 2.61% of the data.
!  The x-axis pixel size should ideally be below 0.1629 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000442056 
device "J1127-1857_X_2001_10_29_pus\_map.eps/VPS"
! Attempting to open device: 'J1127-1857_X_2001_10_29_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.124865 0.124865 0.249731 0.499462 0.998924 1.99785 3.9957 7.99139 15.9828 31.9656 63.9311
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.062 
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.825 x 1.989 at 5.154 degrees (North through East)
! Clean map  min=-0.0018843  max=1.0621 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1127-1857_X_2001_10_29_pus\_map.gif/vgif"
! Attempting to open device: 'J1127-1857_X_2001_10_29_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1127-1857_X_2001_10_29_pus_uvs.log closed on Mon Feb 25 16:13:05 2008