! Started logfile: J1304-0346_X_1997_05_07_yyk_uvs.log on Mon Jan  8 05:55:27 2007
obs J1304-0346_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J1304-0346_X_1997_05_07_yyk_uva.fits
! AN table 1: 138 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.709179 visibilities/baseline/integration-bin.
! Found source: J1304-0346
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 17616 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
![@muppet J1304-0346_X_1997_05_07_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.309092 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.009 mas, bmaj=2.186 mas, bpa=3.1 degrees
! Estimated noise=1212.79 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.204168 Jy
! Component: 100  -  total flux cleaned = 0.237564 Jy
! Total flux subtracted in 100 components = 0.237564 Jy
! Clean residual min=-0.011215 max=0.019731 Jy/beam
! Clean residual mean=0.000031 rms=0.003361 Jy/beam
! Combined flux in latest and established models = 0.237564 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.237564 Jy
! 
! Correcting IF 1.
!  A total of 214 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 214 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 214 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 214 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.187343Jy  sigma=0.001236
! Fit after  self-cal, rms=0.186375Jy  sigma=0.001234
! Inverting map and beam 
! Estimated beam: bmin=1.009 mas, bmaj=2.186 mas, bpa=3.1 degrees
! Estimated noise=1212.79 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.243 mas, bmaj=2.609 mas, bpa=4.132 degrees
! Estimated noise=759.439 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0255225 Jy
! Component: 100  -  total flux cleaned = 0.0349338 Jy
! Component: 150  -  total flux cleaned = 0.0395711 Jy
! Component: 200  -  total flux cleaned = 0.0412214 Jy
! Total flux subtracted in 200 components = 0.0412214 Jy
! Clean residual min=-0.005857 max=0.008620 Jy/beam
! Clean residual mean=0.000042 rms=0.001654 Jy/beam
! Combined flux in latest and established models = 0.278785 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 28 components and 0.278785 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184975Jy  sigma=0.001217
! Fit after  self-cal, rms=0.184920Jy  sigma=0.001216
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.243 x 2.609 at 4.132 degrees (North through East)
! Clean map  min=-0.0052984  max=0.24448 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.992713
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00     HN        1.09     KP        1.01     
!   LA        1.02     MK        1.03     NL        1.01     OV        1.00     
!   PT        0.94     SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995068
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     HN        1.10     KP        0.97     
!   LA        1.01     MK        0.95     NL        1.04     OV        1.10     
!   PT        0.89     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.988269
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.04     HN        1.07     KP        0.99     
!   LA        1.00     MK        1.01     NL        1.00     OV        1.01     
!   PT        0.97     SC        1.06     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.989349
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.00     HN        1.10     KP        0.98     
!   LA        1.03     MK        0.99     NL        0.98     OV        1.02     
!   PT        0.96     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.184920Jy  sigma=0.001216
! Fit after  self-cal, rms=0.185344Jy  sigma=0.001213
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185344Jy  sigma=0.001213
! Fit after  self-cal, rms=0.185347Jy  sigma=0.001213
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.253 mas, bmaj=2.626 mas, bpa=3.835 degrees
! Estimated noise=747.829 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00490954 Jy
! Component: 100  -  total flux cleaned = -0.00579175 Jy
! Component: 150  -  total flux cleaned = -0.00590762 Jy
! Component: 200  -  total flux cleaned = -0.00596043 Jy
! Total flux subtracted in 200 components = -0.00596043 Jy
! Clean residual min=-0.003759 max=0.006668 Jy/beam
! Clean residual mean=0.000016 rms=0.001229 Jy/beam
! Combined flux in latest and established models = 0.272825 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 37 components and 0.272825 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185177Jy  sigma=0.001212
! Fit after  self-cal, rms=0.185160Jy  sigma=0.001212
! Inverting map 
! Added new window around map position (1.6, -2.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00541912 Jy
! Component: 100  -  total flux cleaned = 0.0049394 Jy
! Component: 150  -  total flux cleaned = 0.00434591 Jy
! Component: 200  -  total flux cleaned = 0.00394891 Jy
! Total flux subtracted in 200 components = 0.00394891 Jy
! Clean residual min=-0.003224 max=0.004111 Jy/beam
! Clean residual mean=0.000007 rms=0.001007 Jy/beam
! Combined flux in latest and established models = 0.276774 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 51 components and 0.276774 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184969Jy  sigma=0.001211
! Fit after  self-cal, rms=0.184953Jy  sigma=0.001211
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184953Jy  sigma=0.001211
! Fit after  self-cal, rms=0.183902Jy  sigma=0.001203
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000777169 Jy
! Component: 100  -  total flux cleaned = 0.000787917 Jy
! Component: 150  -  total flux cleaned = 0.000727984 Jy
! Component: 200  -  total flux cleaned = 0.000783055 Jy
! Total flux subtracted in 200 components = 0.000783055 Jy
! Clean residual min=-0.003023 max=0.003883 Jy/beam
! Clean residual mean=0.000007 rms=0.000967 Jy/beam
! Combined flux in latest and established models = 0.277557 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 64 components and 0.277557 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183865Jy  sigma=0.001203
! Fit after  self-cal, rms=0.183748Jy  sigma=0.001202
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.253 x 2.626 at 3.835 degrees (North through East)
! Clean map  min=-0.0029427  max=0.24371 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183748Jy  sigma=0.001202
! Fit after  self-cal, rms=0.261680Jy  sigma=0.001198
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261680Jy  sigma=0.001198
! Fit after  self-cal, rms=0.261681Jy  sigma=0.001198
! Inverting map and beam 
! Estimated beam: bmin=1.249 mas, bmaj=2.616 mas, bpa=3.746 degrees
! Estimated noise=744.318 mJy/beam.
! Added new window around map position (0.4, -9.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00213547 Jy
! Component: 100  -  total flux cleaned = 0.00238053 Jy
! Component: 150  -  total flux cleaned = 0.00250196 Jy
! Component: 200  -  total flux cleaned = 0.00255899 Jy
! Total flux subtracted in 200 components = 0.00255899 Jy
! Clean residual min=-0.002422 max=0.002970 Jy/beam
! Clean residual mean=0.000028 rms=0.000716 Jy/beam
! Combined flux in latest and established models = 0.280116 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 87 components and 0.280116 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261617Jy  sigma=0.001197
! Fit after  self-cal, rms=0.261625Jy  sigma=0.001197
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261625Jy  sigma=0.001197
! Fit after  self-cal, rms=0.262378Jy  sigma=0.001195
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.262378Jy  sigma=0.001195
! Fit after  self-cal, rms=0.262382Jy  sigma=0.001195
! Inverting map and beam 
! Estimated beam: bmin=1.248 mas, bmaj=2.615 mas, bpa=3.716 degrees
! Estimated noise=745.976 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00043685 Jy
! Component: 100  -  total flux cleaned = 0.000342424 Jy
! Component: 150  -  total flux cleaned = 0.000169679 Jy
! Component: 200  -  total flux cleaned = 9.14467e-05 Jy
! Total flux subtracted in 200 components = 9.14467e-05 Jy
! Clean residual min=-0.002574 max=0.002785 Jy/beam
! Clean residual mean=0.000021 rms=0.000677 Jy/beam
! Combined flux in latest and established models = 0.280207 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 104 components and 0.280207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.262363Jy  sigma=0.001195
! Fit after  self-cal, rms=0.262369Jy  sigma=0.001195
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.506 mas, bmaj=4.207 mas, bpa=10.75 degrees
! Estimated noise=865.37 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000847205 Jy
! Component: 100  -  total flux cleaned = -0.00107062 Jy
! Component: 150  -  total flux cleaned = -0.00120618 Jy
! Component: 200  -  total flux cleaned = -0.00134966 Jy
! Total flux subtracted in 200 components = -0.00134966 Jy
! Clean residual min=-0.002430 max=0.002646 Jy/beam
! Clean residual mean=0.000037 rms=0.000760 Jy/beam
! Combined flux in latest and established models = 0.278858 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 114 components and 0.278858 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.262363Jy  sigma=0.001195
! Fit after  self-cal, rms=0.262368Jy  sigma=0.001195
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=1.009 mas, bmaj=2.185 mas, bpa=4.088 degrees
! Estimated noise=1242.56 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.211571 Jy
! Component: 100  -  total flux cleaned = 0.248844 Jy
! Component: 150  -  total flux cleaned = 0.26404 Jy
! Component: 200  -  total flux cleaned = 0.272334 Jy
! Total flux subtracted in 200 components = 0.272334 Jy
! Clean residual min=-0.005414 max=0.005259 Jy/beam
! Clean residual mean=0.000035 rms=0.001462 Jy/beam
! Combined flux in latest and established models = 0.272334 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 25 model components to the UV plane model.
! The established model now contains 25 components and 0.272334 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.248 mas, bmaj=2.615 mas, bpa=3.716 degrees
! Estimated noise=745.976 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00496299 Jy
! Component: 100  -  total flux cleaned = 0.00587429 Jy
! Component: 150  -  total flux cleaned = 0.00646543 Jy
! Component: 200  -  total flux cleaned = 0.00670573 Jy
! Total flux subtracted in 200 components = 0.00670573 Jy
! Clean residual min=-0.002653 max=0.002759 Jy/beam
! Clean residual mean=0.000025 rms=0.000729 Jy/beam
! Combined flux in latest and established models = 0.27904 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 59 components and 0.27904 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.506 mas, bmaj=4.207 mas, bpa=10.75 degrees
! Estimated noise=865.37 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000222069 Jy
! Component: 100  -  total flux cleaned = 6.90003e-05 Jy
! Component: 150  -  total flux cleaned = -2.04551e-05 Jy
! Component: 200  -  total flux cleaned = -5.88774e-05 Jy
! Total flux subtracted in 200 components = -5.88774e-05 Jy
! Clean residual min=-0.002518 max=0.002807 Jy/beam
! Clean residual mean=0.000037 rms=0.000791 Jy/beam
! Combined flux in latest and established models = 0.278981 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 72 components and 0.278981 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.248 mas, bmaj=2.615 mas, bpa=3.716 degrees
! Estimated noise=745.976 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.39195e-05 Jy
! Component: 100  -  total flux cleaned = 8.43435e-05 Jy
! Component: 150  -  total flux cleaned = -2.93663e-05 Jy
! Component: 200  -  total flux cleaned = -6.27342e-05 Jy
! Total flux subtracted in 200 components = -6.27342e-05 Jy
! Clean residual min=-0.002458 max=0.002642 Jy/beam
! Clean residual mean=0.000023 rms=0.000672 Jy/beam
! Combined flux in latest and established models = 0.278918 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 87 components and 0.278918 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.262371Jy  sigma=0.001195
! Fit after  self-cal, rms=0.262374Jy  sigma=0.001195
wmodel J1304-0346_X_1997_05_07_yyk\_map.mod
! Writing 87 model components to file: J1304-0346_X_1997_05_07_yyk_map.mod
wobs J1304-0346_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J1304-0346_X_1997_05_07_yyk_uvs.fits
wwins J1304-0346_X_1997_05_07_yyk\_map.win
! wwins: Wrote 3 windows to J1304-0346_X_1997_05_07_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000613963 Jy
! Component: 100  -  total flux cleaned = 0.00102872 Jy
! Component: 150  -  total flux cleaned = 0.00102647 Jy
! Component: 200  -  total flux cleaned = 0.000957326 Jy
! Component: 250  -  total flux cleaned = 0.000890754 Jy
! Component: 300  -  total flux cleaned = 0.000729405 Jy
! Component: 350  -  total flux cleaned = 0.000667392 Jy
! Component: 400  -  total flux cleaned = 0.000576188 Jy
! Component: 450  -  total flux cleaned = 0.000516996 Jy
! Component: 500  -  total flux cleaned = 0.000459757 Jy
! Component: 550  -  total flux cleaned = 0.000459967 Jy
! Component: 600  -  total flux cleaned = 0.000460101 Jy
! Component: 650  -  total flux cleaned = 0.00051331 Jy
! Component: 700  -  total flux cleaned = 0.000564942 Jy
! Component: 750  -  total flux cleaned = 0.000615733 Jy
! Component: 800  -  total flux cleaned = 0.000615848 Jy
! Component: 850  -  total flux cleaned = 0.000714148 Jy
! Component: 900  -  total flux cleaned = 0.000738382 Jy
! Component: 950  -  total flux cleaned = 0.000785863 Jy
! Component: 1000  -  total flux cleaned = 0.000786051 Jy
! Component: 1050  -  total flux cleaned = 0.000923347 Jy
! Component: 1100  -  total flux cleaned = 0.00101332 Jy
! Component: 1150  -  total flux cleaned = 0.00103552 Jy
! Component: 1200  -  total flux cleaned = 0.00110133 Jy
! Component: 1250  -  total flux cleaned = 0.00116628 Jy
! Component: 1300  -  total flux cleaned = 0.0013362 Jy
! Component: 1350  -  total flux cleaned = 0.00137767 Jy
! Component: 1400  -  total flux cleaned = 0.00143982 Jy
! Component: 1450  -  total flux cleaned = 0.00152175 Jy
! Component: 1500  -  total flux cleaned = 0.00168289 Jy
! Component: 1550  -  total flux cleaned = 0.00172241 Jy
! Component: 1600  -  total flux cleaned = 0.00180114 Jy
! Component: 1650  -  total flux cleaned = 0.00183986 Jy
! Component: 1700  -  total flux cleaned = 0.00191648 Jy
! Component: 1750  -  total flux cleaned = 0.00199185 Jy
! Component: 1800  -  total flux cleaned = 0.00204778 Jy
! Component: 1850  -  total flux cleaned = 0.0020663 Jy
! Component: 1900  -  total flux cleaned = 0.00208472 Jy
! Component: 1950  -  total flux cleaned = 0.00213899 Jy
! Component: 2000  -  total flux cleaned = 0.00213913 Jy
! Total flux subtracted in 2048 components = 0.00222743 Jy
! Clean residual min=-0.001014 max=0.000912 Jy/beam
! Clean residual mean=0.000010 rms=0.000351 Jy/beam
! Combined flux in latest and established models = 0.281145 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 222 components and 0.281145 Jy
![Exited script file: muppet]
wmap "J1304-0346_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.248 x 2.615 at 3.716 degrees (North through East)
! Clean map  min=-0.0021961  max=0.2441 Jy/beam
! Writing clean map to FITS file: J1304-0346_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.244102 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000345191 
device "J1304-0346_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J1304-0346_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.424238 0.424238 0.848476 1.69695 3.3939 6.78781 13.5756 27.1512 54.3025
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.244 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.248 x 2.615 at 3.716 degrees (North through East)
! Clean map  min=-0.0021961  max=0.2441 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1304-0346_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J1304-0346_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1304-0346_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 05:55:36 2007