! Started logfile: J1513-1012_S_2004_05_27_yyk_uvs.log on Wed Dec  7 00:33:04 2005
obs J1513-1012_S_2004_05_27_yyk_uve.fits
! Reading UV FITS file: J1513-1012_S_2004_05_27_yyk_uve.fits
! AN table 1: 4 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.905556 visibilities/baseline/integration-bin.
! Found source: J1513-1012
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1386 lines of history.
! 
! Reading 652 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 J1513-1012_S_2004_05_27_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.675353 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! 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 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.360956Jy  sigma=6.207666
! Fit after  self-cal, rms=0.360896Jy  sigma=6.204318
! 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 
! Estimated beam: bmin=2.532 mas, bmaj=7.267 mas, bpa=-3.617 degrees
! Estimated noise=2.31995 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.560943 Jy
! Component: 100  -  total flux cleaned = 0.667048 Jy
! Total flux subtracted in 100 components = 0.667048 Jy
! Clean residual min=-0.020844 max=0.039004 Jy/beam
! Clean residual mean=0.000193 rms=0.007925 Jy/beam
! Combined flux in latest and established models = 0.667048 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.667048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.113352Jy  sigma=1.942634
! Fit after  self-cal, rms=0.113064Jy  sigma=1.939628
! Inverting map 
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=3.264 mas, bmaj=8.24 mas, bpa=-4.893 degrees
! Estimated noise=1.66791 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.0572529 Jy
! Component: 100  -  total flux cleaned = 0.0800449 Jy
! Component: 150  -  total flux cleaned = 0.0907961 Jy
! Component: 200  -  total flux cleaned = 0.0953289 Jy
! Total flux subtracted in 200 components = 0.0953289 Jy
! Clean residual min=-0.013990 max=0.023164 Jy/beam
! Clean residual mean=-0.000021 rms=0.004974 Jy/beam
! Combined flux in latest and established models = 0.762377 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 44 components and 0.762377 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096837Jy  sigma=1.540069
! Fit after  self-cal, rms=0.096608Jy  sigma=1.537891
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.02204
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        1.04     HN        0.97     KP        0.97     
!   LA        1.06     MK        0.95     NL        0.99     OV        0.99     
!   PT        0.98     SC        0.93     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.976786
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.00     HN        1.07     KP        0.99     
!   LA        1.05     MK        1.04     NL        1.03     OV        1.03     
!   PT        0.94     SC        0.99     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.990471
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.09     FD        0.88     HN        1.01     KP        0.96     
!   LA        0.96     MK        1.02     NL        1.09     OV        1.03     
!   PT        1.06     SC        1.00     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.00792
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        0.92     HN        1.00     KP        0.90     
!   LA        1.00*    MK        0.98     NL        1.00     OV        1.00*    
!   PT        0.93     SC        1.10     
! 
! 
! Fit before self-cal, rms=0.096608Jy  sigma=1.537891
! Fit after  self-cal, rms=0.082428Jy  sigma=1.310273
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.082428Jy  sigma=1.310273
! Fit after  self-cal, rms=0.082463Jy  sigma=1.310119
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.265 mas, bmaj=8.286 mas, bpa=-4.724 degrees
! Estimated noise=1.66346 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.00169832 Jy
! Component: 100  -  total flux cleaned = 0.00200612 Jy
! Component: 150  -  total flux cleaned = 0.00227683 Jy
! Component: 200  -  total flux cleaned = 0.00251351 Jy
! Total flux subtracted in 200 components = 0.00251351 Jy
! Clean residual min=-0.010341 max=0.021234 Jy/beam
! Clean residual mean=0.000070 rms=0.004162 Jy/beam
! Combined flux in latest and established models = 0.764891 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 53 components and 0.764891 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082298Jy  sigma=1.302713
! Fit after  self-cal, rms=0.082211Jy  sigma=1.302354
! Inverting map 
! Added new window around map position (13.5, -5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0245946 Jy
! Component: 100  -  total flux cleaned = 0.0328444 Jy
! Component: 150  -  total flux cleaned = 0.0340566 Jy
! Component: 200  -  total flux cleaned = 0.0343163 Jy
! Total flux subtracted in 200 components = 0.0343163 Jy
! Clean residual min=-0.008804 max=0.012611 Jy/beam
! Clean residual mean=0.000015 rms=0.002864 Jy/beam
! Combined flux in latest and established models = 0.799207 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 89 components and 0.799207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077524Jy  sigma=1.188919
! Fit after  self-cal, rms=0.077167Jy  sigma=1.184750
! 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.077167Jy  sigma=1.184750
! Fit after  self-cal, rms=0.075791Jy  sigma=1.154440
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)
! Added new window around map position (40, -45.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00787717 Jy
! Component: 100  -  total flux cleaned = 0.00872561 Jy
! Component: 150  -  total flux cleaned = 0.00873269 Jy
! Component: 200  -  total flux cleaned = 0.00873593 Jy
! Total flux subtracted in 200 components = 0.00873593 Jy
! Clean residual min=-0.007026 max=0.007812 Jy/beam
! Clean residual mean=0.000007 rms=0.002157 Jy/beam
! Combined flux in latest and established models = 0.807943 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 120 components and 0.807943 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073976Jy  sigma=1.113605
! Fit after  self-cal, rms=0.073970Jy  sigma=1.107648
! 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: 3.265 x 8.286 at -4.724 degrees (North through East)
! Clean map  min=-0.0071351  max=0.66512 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.073970Jy  sigma=1.107648
! Fit after  self-cal, rms=0.069897Jy  sigma=1.003799
! 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.069897Jy  sigma=1.003799
! Fit after  self-cal, rms=0.070066Jy  sigma=1.003048
! Inverting map and beam 
! Estimated beam: bmin=3.245 mas, bmaj=8.246 mas, bpa=-4.599 degrees
! Estimated noise=1.65479 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00411969 Jy
! Component: 100  -  total flux cleaned = 0.00510889 Jy
! Component: 150  -  total flux cleaned = 0.00580316 Jy
! Component: 200  -  total flux cleaned = 0.00617124 Jy
! Total flux subtracted in 200 components = 0.00617124 Jy
! Clean residual min=-0.005648 max=0.006205 Jy/beam
! Clean residual mean=-0.000003 rms=0.001620 Jy/beam
! Combined flux in latest and established models = 0.814114 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 145 components and 0.814114 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069598Jy  sigma=0.990615
! Fit after  self-cal, rms=0.069673Jy  sigma=0.989962
! 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.069673Jy  sigma=0.989962
! Fit after  self-cal, rms=0.068439Jy  sigma=0.967568
! 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.068439Jy  sigma=0.967568
! Fit after  self-cal, rms=0.068503Jy  sigma=0.967481
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=8.248 mas, bpa=-4.594 degrees
! Estimated noise=1.65319 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00238655 Jy
! Component: 100  -  total flux cleaned = 0.00261934 Jy
! Component: 150  -  total flux cleaned = 0.00272999 Jy
! Component: 200  -  total flux cleaned = 0.00311825 Jy
! Total flux subtracted in 200 components = 0.00311825 Jy
! Clean residual min=-0.005428 max=0.005613 Jy/beam
! Clean residual mean=-0.000012 rms=0.001493 Jy/beam
! Combined flux in latest and established models = 0.817232 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 165 components and 0.817232 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068256Jy  sigma=0.961423
! Fit after  self-cal, rms=0.068264Jy  sigma=0.961164
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.58 mas, bmaj=14.78 mas, bpa=-8.852 degrees
! Estimated noise=2.09646 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.000297677 Jy
! Component: 100  -  total flux cleaned = -0.000155978 Jy
! Component: 150  -  total flux cleaned = -0.000507906 Jy
! Component: 200  -  total flux cleaned = -0.000734334 Jy
! Total flux subtracted in 200 components = -0.000734334 Jy
! Clean residual min=-0.005205 max=0.004653 Jy/beam
! Clean residual mean=-0.000021 rms=0.001674 Jy/beam
! Combined flux in latest and established models = 0.816498 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 180 components and 0.816498 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068344Jy  sigma=0.961180
! Fit after  self-cal, rms=0.068207Jy  sigma=0.959664
! Inverting map 
uvtaper 0,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=2.527 mas, bmaj=7.272 mas, bpa=-3.43 degrees
! Estimated noise=2.30903 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.558462 Jy
! Component: 100  -  total flux cleaned = 0.667974 Jy
! Component: 150  -  total flux cleaned = 0.715941 Jy
! Component: 200  -  total flux cleaned = 0.744668 Jy
! Total flux subtracted in 200 components = 0.744668 Jy
! Clean residual min=-0.010568 max=0.021732 Jy/beam
! Clean residual mean=0.000105 rms=0.003706 Jy/beam
! Combined flux in latest and established models = 0.744667 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 34 model components to the UV plane model.
! The established model now contains 34 components and 0.744667 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=8.248 mas, bpa=-4.594 degrees
! Estimated noise=1.65319 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)
! Added new window around map position (3.5, -0.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0289143 Jy
! Component: 100  -  total flux cleaned = 0.0440037 Jy
! Component: 150  -  total flux cleaned = 0.0525309 Jy
! Component: 200  -  total flux cleaned = 0.0573127 Jy
! Total flux subtracted in 200 components = 0.0573127 Jy
! Clean residual min=-0.005737 max=0.006661 Jy/beam
! Clean residual mean=0.000011 rms=0.001824 Jy/beam
! Combined flux in latest and established models = 0.80198 Jy
! Adding 49 model components to the UV plane model.
! The established model now contains 80 components and 0.80198 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.58 mas, bmaj=14.78 mas, bpa=-8.852 degrees
! Estimated noise=2.09646 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.00570568 Jy
! Component: 100  -  total flux cleaned = 0.0067583 Jy
! Component: 150  -  total flux cleaned = 0.00742422 Jy
! Component: 200  -  total flux cleaned = 0.00798466 Jy
! Total flux subtracted in 200 components = 0.00798466 Jy
! Clean residual min=-0.005348 max=0.005729 Jy/beam
! Clean residual mean=0.000007 rms=0.001764 Jy/beam
! Combined flux in latest and established models = 0.809965 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 105 components and 0.809965 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=8.248 mas, bpa=-4.594 degrees
! Estimated noise=1.65319 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000423395 Jy
! Component: 100  -  total flux cleaned = 8.35134e-05 Jy
! Component: 150  -  total flux cleaned = 0.000672536 Jy
! Component: 200  -  total flux cleaned = 0.000936438 Jy
! Total flux subtracted in 200 components = 0.000936438 Jy
! Clean residual min=-0.005239 max=0.005174 Jy/beam
! Clean residual mean=-0.000002 rms=0.001360 Jy/beam
! Combined flux in latest and established models = 0.810901 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 127 components and 0.810901 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067988Jy  sigma=0.949983
! Fit after  self-cal, rms=0.067827Jy  sigma=0.948074
wmodel J1513-1012_S_2004_05_27_yyk\_map.mod
! Writing 127 model components to file: J1513-1012_S_2004_05_27_yyk_map.mod
wobs J1513-1012_S_2004_05_27_yyk\_uvs.fits
! Writing UV FITS file: J1513-1012_S_2004_05_27_yyk_uvs.fits
wwins J1513-1012_S_2004_05_27_yyk\_map.win
! wwins: Wrote 4 windows to J1513-1012_S_2004_05_27_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.00119513 Jy
! Component: 100  -  total flux cleaned = -0.00119455 Jy
! Component: 150  -  total flux cleaned = -0.00143238 Jy
! Component: 200  -  total flux cleaned = -0.00150747 Jy
! Component: 250  -  total flux cleaned = -0.0015076 Jy
! Component: 300  -  total flux cleaned = -0.00170743 Jy
! Component: 350  -  total flux cleaned = -0.00183237 Jy
! Component: 400  -  total flux cleaned = -0.0020099 Jy
! Component: 450  -  total flux cleaned = -0.00212427 Jy
! Component: 500  -  total flux cleaned = -0.00229009 Jy
! Component: 550  -  total flux cleaned = -0.00260678 Jy
! Component: 600  -  total flux cleaned = -0.0029629 Jy
! Component: 650  -  total flux cleaned = -0.00340577 Jy
! Component: 700  -  total flux cleaned = -0.00393105 Jy
! Component: 750  -  total flux cleaned = -0.00439422 Jy
! Component: 800  -  total flux cleaned = -0.00502691 Jy
! Component: 850  -  total flux cleaned = -0.00559992 Jy
! Component: 900  -  total flux cleaned = -0.0060301 Jy
! Component: 950  -  total flux cleaned = -0.00636732 Jy
! Component: 1000  -  total flux cleaned = -0.00661527 Jy
! Component: 1050  -  total flux cleaned = -0.00706015 Jy
! Component: 1100  -  total flux cleaned = -0.00737618 Jy
! Component: 1150  -  total flux cleaned = -0.00764751 Jy
! Component: 1200  -  total flux cleaned = -0.00795309 Jy
! Component: 1250  -  total flux cleaned = -0.00814213 Jy
! Component: 1300  -  total flux cleaned = -0.00840141 Jy
! Component: 1350  -  total flux cleaned = -0.00858401 Jy
! Component: 1400  -  total flux cleaned = -0.0087993 Jy
! Component: 1450  -  total flux cleaned = -0.0089764 Jy
! Component: 1500  -  total flux cleaned = -0.00918536 Jy
! Component: 1550  -  total flux cleaned = -0.00928887 Jy
! Component: 1600  -  total flux cleaned = -0.00942507 Jy
! Component: 1650  -  total flux cleaned = -0.00955906 Jy
! Component: 1700  -  total flux cleaned = -0.00975689 Jy
! Component: 1750  -  total flux cleaned = -0.00991895 Jy
! Component: 1800  -  total flux cleaned = -0.00995142 Jy
! Component: 1850  -  total flux cleaned = -0.010174 Jy
! Component: 1900  -  total flux cleaned = -0.0103304 Jy
! Component: 1950  -  total flux cleaned = -0.0104535 Jy
! Component: 2000  -  total flux cleaned = -0.0105448 Jy
! Total flux subtracted in 2048 components = -0.0106649 Jy
! Clean residual min=-0.002030 max=0.002023 Jy/beam
! Clean residual mean=-0.000003 rms=0.000601 Jy/beam
! Combined flux in latest and established models = 0.800236 Jy
keep
! Adding 121 model components to the UV plane model.
! The established model now contains 248 components and 0.800237 Jy
![Exited script file: muppet]
wmap "J1513-1012_S_2004_05_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.244 x 8.248 at -4.594 degrees (North through East)
! Clean map  min=-0.0048871  max=0.66452 Jy/beam
! Writing clean map to FITS file: J1513-1012_S_2004_05_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.664523 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000592163 
device "J1513-1012_S_2004_05_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J1513-1012_S_2004_05_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.267333 0.267333 0.534666 1.06933 2.13866 4.27733 8.55466 17.1093 34.2186 68.4373
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.664 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.244 x 8.248 at -4.594 degrees (North through East)
! Clean map  min=-0.0048871  max=0.66452 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1513-1012_S_2004_05_27_yyk\_map.gif/gif"
! Attempting to open device: 'J1513-1012_S_2004_05_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1513-1012_S_2004_05_27_yyk_uvs.log closed on Wed Dec  7 00:33:08 2005