! Started logfile: J0457-2324_X_1998_10_01_pus_uvs.log on Wed Feb  6 14:51:43 2008
obs J0457-2324_X_1998_10_01_pus_uva.fits
! Reading UV FITS file: J0457-2324_X_1998_10_01_pus_uva.fits
! AN table 1: 19 integrations on 136 of 136 possible baselines.
! AN table 2: 220 integrations on 136 of 136 possible baselines.
! AN table 3: 33 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.122162 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0457-2324
! 
! 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.40798e+09        4e+06          1        4e+06
!  02        2  8.47798e+09        4e+06          1        4e+06
!  03        3  8.79298e+09        4e+06          1        4e+06
!  04        4  8.89798e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 2053 lines of history.
! 
! Reading 18076 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 J0457-2324_X_1998_10_01_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 323 telescope corrections were flagged in sub-array 1.
!  A total of 2584 telescope corrections were flagged in sub-array 2.
!  A total of 561 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 323 telescope corrections were flagged in sub-array 1.
!  A total of 2584 telescope corrections were flagged in sub-array 2.
!  A total of 561 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 323 telescope corrections were flagged in sub-array 1.
!  A total of 2585 telescope corrections were flagged in sub-array 2.
!  A total of 561 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 323 telescope corrections were flagged in sub-array 1.
!  A total of 2584 telescope corrections were flagged in sub-array 2.
!  A total of 561 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.900834Jy  sigma=0.008978
! Fit after  self-cal, rms=0.840868Jy  sigma=0.008487
! 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.102% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.6297 mas, bmaj=1.776 mas, bpa=-5.113 degrees
! Estimated noise=996.62 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.29311 Jy
! Component: 100  -  total flux cleaned = 1.62655 Jy
! Total flux subtracted in 100 components = 1.62655 Jy
! Clean residual min=-0.039887 max=0.138542 Jy/beam
! Clean residual mean=0.001293 rms=0.016010 Jy/beam
! Combined flux in latest and established models = 1.62655 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 1.62655 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403090Jy  sigma=0.003848
! Fit after  self-cal, rms=0.403127Jy  sigma=0.003848
! Inverting map 
! Your choice of large map pixels excluded 0.102% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.152014 Jy
! Component: 100  -  total flux cleaned = 0.233793 Jy
! Total flux subtracted in 100 components = 0.233793 Jy
! Clean residual min=-0.027716 max=0.044067 Jy/beam
! Clean residual mean=0.000421 rms=0.008952 Jy/beam
! Combined flux in latest and established models = 1.86034 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 15 components and 1.86034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.333694Jy  sigma=0.002880
! Fit after  self-cal, rms=0.333688Jy  sigma=0.002879
! Inverting map 
! Your choice of large map pixels excluded 0.102% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.102% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8123 mas, bmaj=2.231 mas, bpa=-8.817 degrees
! Estimated noise=579.02 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.0699172 Jy
! Component: 100  -  total flux cleaned = 0.100599 Jy
! Component: 150  -  total flux cleaned = 0.115201 Jy
! Component: 200  -  total flux cleaned = 0.122792 Jy
! Total flux subtracted in 200 components = 0.122792 Jy
! Clean residual min=-0.021488 max=0.037767 Jy/beam
! Clean residual mean=-0.001979 rms=0.008051 Jy/beam
! Combined flux in latest and established models = 1.98313 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 37 components and 1.98313 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.328454Jy  sigma=0.002666
! Fit after  self-cal, rms=0.328451Jy  sigma=0.002666
! Inverting map 
! Your choice of large map pixels excluded 0.102% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.94     FD        1.00     GC        1.00*    HN        0.99     
!   KK        1.06     KP        0.96     LA        1.00     MK        0.97     
!   NL        1.05     NY        1.00*    ON        1.00*    OV        0.99     
!   PT        1.00     SC        1.01     WF        1.10     MC        1.00*    
!   GN        1.05     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        1.00     GC        1.00*    HN        1.04     
!   KK        1.06     KP        0.98     LA        0.95     MK        0.96     
!   NL        1.07     NY        1.00*    ON        1.00*    OV        0.98     
!   PT        0.99     SC        1.00     WF        1.12     MC        1.00*    
!   GN        1.05     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 87 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.98     GC        1.00*    HN        1.00     
!   KK        1.05     KP        0.99     LA        0.96     MK        1.02     
!   NL        1.05     NY        1.00*    ON        1.00*    OV        0.95     
!   PT        1.00     SC        1.03     WF        1.15     MC        1.00*    
!   GN        1.05     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.96     GC        1.00*    HN        1.05     
!   KK        1.05     KP        0.98     LA        0.97     MK        0.97     
!   NL        1.07     NY        1.00*    ON        1.00*    OV        0.97     
!   PT        0.96     SC        1.00     WF        1.14     MC        1.00*    
!   GN        1.05     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
! 
! Fit before self-cal, rms=0.328451Jy  sigma=0.002666
! Fit after  self-cal, rms=0.321874Jy  sigma=0.002503
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8143 mas, bmaj=2.229 mas, bpa=-8.767 degrees
! Estimated noise=581.209 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.00870972 Jy
! Component: 100  -  total flux cleaned = -0.0102089 Jy
! Component: 150  -  total flux cleaned = -0.010479 Jy
! Component: 200  -  total flux cleaned = -0.0105824 Jy
! Total flux subtracted in 200 components = -0.0105824 Jy
! Clean residual min=-0.018042 max=0.022096 Jy/beam
! Clean residual mean=-0.001403 rms=0.005282 Jy/beam
! Combined flux in latest and established models = 1.97255 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 44 components and 1.97255 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321426Jy  sigma=0.002503
! Fit after  self-cal, rms=0.321726Jy  sigma=0.002502
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.321726Jy  sigma=0.002502
! Fit after  self-cal, rms=0.309952Jy  sigma=0.002354
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8132 mas, bmaj=2.237 mas, bpa=-8.736 degrees
! Estimated noise=580.99 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0035775 Jy
! Component: 100  -  total flux cleaned = -0.00346298 Jy
! Component: 150  -  total flux cleaned = -0.00336251 Jy
! Component: 200  -  total flux cleaned = -0.00326579 Jy
! Total flux subtracted in 200 components = -0.00326579 Jy
! Clean residual min=-0.006613 max=0.006992 Jy/beam
! Clean residual mean=-0.000122 rms=0.001932 Jy/beam
! Combined flux in latest and established models = 1.96928 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 46 components and 1.96929 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309849Jy  sigma=0.002353
! Fit after  self-cal, rms=0.309926Jy  sigma=0.002352
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.000305222 Jy
! Component: 100  -  total flux cleaned = -0.000128576 Jy
! Component: 150  -  total flux cleaned = -4.69825e-05 Jy
! Component: 200  -  total flux cleaned = 0.000108291 Jy
! Total flux subtracted in 200 components = 0.000108291 Jy
! Clean residual min=-0.006664 max=0.006975 Jy/beam
! Clean residual mean=-0.000127 rms=0.001919 Jy/beam
! Combined flux in latest and established models = 1.96939 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 47 components and 1.96939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309877Jy  sigma=0.002352
! Fit after  self-cal, rms=0.309872Jy  sigma=0.002352
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.309872Jy  sigma=0.002352
! Fit after  self-cal, rms=0.310103Jy  sigma=0.002347
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8142 mas, bmaj=2.242 mas, bpa=-8.695 degrees
! Estimated noise=581.498 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00234762 Jy
! Component: 100  -  total flux cleaned = -0.00223398 Jy
! Component: 150  -  total flux cleaned = -0.00223688 Jy
! Component: 200  -  total flux cleaned = -0.00206311 Jy
! Total flux subtracted in 200 components = -0.00206311 Jy
! Clean residual min=-0.006520 max=0.005875 Jy/beam
! Clean residual mean=-0.000110 rms=0.001718 Jy/beam
! Combined flux in latest and established models = 1.96733 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 48 components and 1.96733 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310028Jy  sigma=0.002346
! Fit after  self-cal, rms=0.310042Jy  sigma=0.002346
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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 = 7.55947e-05 Jy
! Component: 100  -  total flux cleaned = 0.000151183 Jy
! Component: 150  -  total flux cleaned = 0.000292465 Jy
! Component: 200  -  total flux cleaned = 0.000424857 Jy
! Total flux subtracted in 200 components = 0.000424857 Jy
! Clean residual min=-0.006550 max=0.005923 Jy/beam
! Clean residual mean=-0.000121 rms=0.001705 Jy/beam
! Combined flux in latest and established models = 1.96776 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 50 components and 1.96776 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310009Jy  sigma=0.002346
! Fit after  self-cal, rms=0.310003Jy  sigma=0.002346
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.310003Jy  sigma=0.002346
! Fit after  self-cal, rms=0.310116Jy  sigma=0.002345
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=2.155 mas, bmaj=4.529 mas, bpa=-1.249 degrees
! Estimated noise=737.509 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -3.07222e-06 Jy
! Component: 100  -  total flux cleaned = -4.96671e-06 Jy
! Component: 150  -  total flux cleaned = 5.83437e-05 Jy
! Component: 200  -  total flux cleaned = 0.000109306 Jy
! Total flux subtracted in 200 components = 0.000109306 Jy
! Clean residual min=-0.005009 max=0.006566 Jy/beam
! Clean residual mean=-0.000180 rms=0.002078 Jy/beam
! Combined flux in latest and established models = 1.96786 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 51 components and 1.96786 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310116Jy  sigma=0.002345
! Fit after  self-cal, rms=0.310098Jy  sigma=0.002345
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.000102471 Jy
! Component: 100  -  total flux cleaned = 9.93156e-05 Jy
! Component: 150  -  total flux cleaned = 0.00010153 Jy
! Component: 200  -  total flux cleaned = 0.000148395 Jy
! Total flux subtracted in 200 components = 0.000148395 Jy
! Clean residual min=-0.004966 max=0.006525 Jy/beam
! Clean residual mean=-0.000188 rms=0.002057 Jy/beam
! Combined flux in latest and established models = 1.96801 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 53 components and 1.96801 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310097Jy  sigma=0.002345
! Fit after  self-cal, rms=0.310081Jy  sigma=0.002345
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8147 mas, bmaj=2.245 mas, bpa=-8.678 degrees
! Estimated noise=581.647 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8147 x 2.245 at -8.678 degrees (North through East)
! Clean map  min=-0.0055536  max=1.7467 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.310081Jy  sigma=0.002345
! Fit after  self-cal, rms=0.297422Jy  sigma=0.002171
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8145 mas, bmaj=2.245 mas, bpa=-8.674 degrees
! Estimated noise=581.343 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00161488 Jy
! Component: 100  -  total flux cleaned = -0.00161841 Jy
! Component: 150  -  total flux cleaned = -0.00162174 Jy
! Component: 200  -  total flux cleaned = -0.00162198 Jy
! Total flux subtracted in 200 components = -0.00162198 Jy
! Clean residual min=-0.006658 max=0.005522 Jy/beam
! Clean residual mean=-0.000112 rms=0.001672 Jy/beam
! Combined flux in latest and established models = 1.96639 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 53 components and 1.96639 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297385Jy  sigma=0.002170
! Fit after  self-cal, rms=0.297386Jy  sigma=0.002170
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 6.80002e-07 Jy
! Component: 100  -  total flux cleaned = 5.65119e-05 Jy
! Component: 150  -  total flux cleaned = 0.000110038 Jy
! Component: 200  -  total flux cleaned = 0.000161095 Jy
! Total flux subtracted in 200 components = 0.000161095 Jy
! Clean residual min=-0.006630 max=0.005567 Jy/beam
! Clean residual mean=-0.000117 rms=0.001666 Jy/beam
! Combined flux in latest and established models = 1.96655 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 53 components and 1.96655 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297368Jy  sigma=0.002170
! Fit after  self-cal, rms=0.297366Jy  sigma=0.002170
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.297366Jy  sigma=0.002170
! Fit after  self-cal, rms=0.297531Jy  sigma=0.002170
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.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.6339 mas, bmaj=1.79 mas, bpa=-4.834 degrees
! Estimated noise=1030.18 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.30608 Jy
! Component: 100  -  total flux cleaned = 1.63591 Jy
! Component: 150  -  total flux cleaned = 1.78643 Jy
! Component: 200  -  total flux cleaned = 1.86559 Jy
! Total flux subtracted in 200 components = 1.86559 Jy
! Clean residual min=-0.014239 max=0.037717 Jy/beam
! Clean residual mean=0.000349 rms=0.005144 Jy/beam
! Combined flux in latest and established models = 1.86559 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 11 model components to the UV plane model.
! The established model now contains 11 components and 1.86559 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8148 mas, bmaj=2.247 mas, bpa=-8.664 degrees
! Estimated noise=581.44 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.0559177 Jy
! Component: 100  -  total flux cleaned = 0.0802014 Jy
! Component: 150  -  total flux cleaned = 0.0914664 Jy
! Component: 200  -  total flux cleaned = 0.0969291 Jy
! Total flux subtracted in 200 components = 0.0969291 Jy
! Clean residual min=-0.006418 max=0.006038 Jy/beam
! Clean residual mean=0.000004 rms=0.001836 Jy/beam
! Combined flux in latest and established models = 1.96252 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 28 components and 1.96252 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 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.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=2.155 mas, bmaj=4.531 mas, bpa=-1.251 degrees
! Estimated noise=736.999 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00354054 Jy
! Component: 100  -  total flux cleaned = 0.00365461 Jy
! Component: 150  -  total flux cleaned = 0.00374175 Jy
! Component: 200  -  total flux cleaned = 0.00381307 Jy
! Total flux subtracted in 200 components = 0.00381307 Jy
! Clean residual min=-0.004997 max=0.006447 Jy/beam
! Clean residual mean=-0.000182 rms=0.002138 Jy/beam
! Combined flux in latest and established models = 1.96633 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 = 6.25584e-05 Jy
! Component: 100  -  total flux cleaned = 0.000117943 Jy
! Component: 150  -  total flux cleaned = 0.000167638 Jy
! Component: 200  -  total flux cleaned = 0.000211667 Jy
! Total flux subtracted in 200 components = 0.000211667 Jy
! Clean residual min=-0.004924 max=0.006414 Jy/beam
! Clean residual mean=-0.000193 rms=0.002093 Jy/beam
! Combined flux in latest and established models = 1.96655 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 34 components and 1.96654 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! Estimated beam: bmin=0.8148 mas, bmaj=2.247 mas, bpa=-8.664 degrees
! Estimated noise=581.44 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000161986 Jy
! Component: 100  -  total flux cleaned = 0.000503718 Jy
! Component: 150  -  total flux cleaned = 0.000599624 Jy
! Component: 200  -  total flux cleaned = 0.000686332 Jy
! Total flux subtracted in 200 components = 0.000686332 Jy
! Clean residual min=-0.007224 max=0.005738 Jy/beam
! Clean residual mean=-0.000112 rms=0.001731 Jy/beam
! Combined flux in latest and established models = 1.96723 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 41 components and 1.96723 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297685Jy  sigma=0.002171
! Fit after  self-cal, rms=0.297649Jy  sigma=0.002171
wmodel J0457-2324_X_1998_10_01_pus_map.mod
! Writing 41 model components to file: J0457-2324_X_1998_10_01_pus_map.mod
wobs J0457-2324_X_1998_10_01_pus_uvs.fits
! Writing UV FITS file: J0457-2324_X_1998_10_01_pus_uvs.fits
wwins J0457-2324_X_1998_10_01_pus_map.win
! wwins: Wrote 1 windows to J0457-2324_X_1998_10_01_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.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00228165 Jy
! Component: 100  -  total flux cleaned = -0.00291843 Jy
! Component: 150  -  total flux cleaned = -0.00302072 Jy
! Component: 200  -  total flux cleaned = -0.00301908 Jy
! Component: 250  -  total flux cleaned = -0.00319548 Jy
! Component: 300  -  total flux cleaned = -0.00327914 Jy
! Component: 350  -  total flux cleaned = -0.00327707 Jy
! Component: 400  -  total flux cleaned = -0.00327618 Jy
! Component: 450  -  total flux cleaned = -0.00335292 Jy
! Component: 500  -  total flux cleaned = -0.00320306 Jy
! Component: 550  -  total flux cleaned = -0.00327594 Jy
! Component: 600  -  total flux cleaned = -0.00327626 Jy
! Component: 650  -  total flux cleaned = -0.00341665 Jy
! Component: 700  -  total flux cleaned = -0.00348499 Jy
! Component: 750  -  total flux cleaned = -0.00361874 Jy
! Component: 800  -  total flux cleaned = -0.00381664 Jy
! Component: 850  -  total flux cleaned = -0.00407598 Jy
! Component: 900  -  total flux cleaned = -0.00420383 Jy
! Component: 950  -  total flux cleaned = -0.0043296 Jy
! Component: 1000  -  total flux cleaned = -0.00451576 Jy
! Total flux subtracted in 1024 components = -0.0045774 Jy
! Clean residual min=-0.003562 max=0.003487 Jy/beam
! Clean residual mean=-0.000060 rms=0.001244 Jy/beam
! Combined flux in latest and established models = 1.96265 Jy
keep
! Adding 76 model components to the UV plane model.
! The established model now contains 117 components and 1.96265 Jy
![Exited script file: muppet]
wmap "J0457-2324_X_1998_10_01_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8148 x 2.247 at -8.664 degrees (North through East)
! Clean map  min=-0.0054544  max=1.7479 Jy/beam
! Writing clean map to FITS file: J0457-2324_X_1998_10_01_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.74786 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.104% of the data.
!  The x-axis pixel size should ideally be below 0.1995 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00124506 
device "J0457-2324_X_1998_10_01_pus\_map.eps/VPS"
! Attempting to open device: 'J0457-2324_X_1998_10_01_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.2137 0.2137 0.4274 0.854799 1.7096 3.4192 6.8384 13.6768 27.3536 54.7072
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0037 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.747 
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.8148 x 2.247 at -8.664 degrees (North through East)
! Clean map  min=-0.0054544  max=1.7479 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0457-2324_X_1998_10_01_pus\_map.gif/vgif"
! Attempting to open device: 'J0457-2324_X_1998_10_01_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0457-2324_X_1998_10_01_pus_uvs.log closed on Wed Feb  6 14:51:50 2008