! Started logfile: J1615+2130_X_1996_01_02_yyk_uvs.log on Mon Jan  8 06:56:46 2007
obs J1615+2130_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1615+2130_X_1996_01_02_yyk_uva.fits
! AN table 1: 115 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.673623 visibilities/baseline/integration-bin.
! Found source: J1615+2130
! 
! 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.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 628 lines of history.
! 
! Reading 13944 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 J1615+2130_X_1996_01_02_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)= 1.29588 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=0.6533 mas, bmaj=1.68 mas, bpa=-1.642 degrees
! Estimated noise=1462.77 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.0510795 Jy
! Component: 100  -  total flux cleaned = 0.0463188 Jy
! Total flux subtracted in 100 components = 0.0463188 Jy
! Clean residual min=-0.047638 max=0.039048 Jy/beam
! Clean residual mean=-0.000020 rms=0.011301 Jy/beam
! Combined flux in latest and established models = 0.0463189 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.0463189 Jy
! 
! Correcting IF 1.
!  A total of 245 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 263 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 349 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 222 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=1.293742Jy  sigma=0.008276
! Fit after  self-cal, rms=1.293569Jy  sigma=0.008276
! Inverting map and beam 
! Estimated beam: bmin=0.6533 mas, bmaj=1.68 mas, bpa=-1.642 degrees
! Estimated noise=1463.06 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=0.8163 mas, bmaj=2.021 mas, bpa=1.401 degrees
! Estimated noise=995.15 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.00664577 Jy
! Component: 100  -  total flux cleaned = 0.0066329 Jy
! Component: 150  -  total flux cleaned = 0.0060085 Jy
! Component: 200  -  total flux cleaned = 0.0055392 Jy
! Total flux subtracted in 200 components = 0.0055392 Jy
! Clean residual min=-0.029825 max=0.024275 Jy/beam
! Clean residual mean=-0.000023 rms=0.006750 Jy/beam
! Combined flux in latest and established models = 0.0518581 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.0518581 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.292997Jy  sigma=0.008272
! Fit after  self-cal, rms=1.292953Jy  sigma=0.008271
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8163 x 2.021 at 1.401 degrees (North through East)
! Clean map  min=-0.026073  max=0.086478 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! 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.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=1.292953Jy  sigma=0.008271
! Fit after  self-cal, rms=1.294386Jy  sigma=0.008280
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=1.294386Jy  sigma=0.008280
! Fit after  self-cal, rms=1.294381Jy  sigma=0.008280
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8158 mas, bmaj=2.021 mas, bpa=1.444 degrees
! Estimated noise=996.621 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.00233807 Jy
! Component: 100  -  total flux cleaned = -0.00164468 Jy
! Component: 150  -  total flux cleaned = -0.00134672 Jy
! Component: 200  -  total flux cleaned = -0.00107013 Jy
! Total flux subtracted in 200 components = -0.00107013 Jy
! Clean residual min=-0.030070 max=0.024461 Jy/beam
! Clean residual mean=-0.000024 rms=0.006635 Jy/beam
! Combined flux in latest and established models = 0.0507879 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 19 components and 0.0507879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.294283Jy  sigma=0.008279
! Fit after  self-cal, rms=1.294256Jy  sigma=0.008279
! 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=1.294256Jy  sigma=0.008279
! Fit after  self-cal, rms=1.291980Jy  sigma=0.008265
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.00203524 Jy
! Component: 100  -  total flux cleaned = -0.00651409 Jy
! Component: 150  -  total flux cleaned = -0.00977482 Jy
! Component: 200  -  total flux cleaned = -0.0108034 Jy
! Total flux subtracted in 200 components = -0.0108034 Jy
! Clean residual min=-0.040759 max=0.035735 Jy/beam
! Clean residual mean=-0.000027 rms=0.008958 Jy/beam
! Combined flux in latest and established models = 0.0399845 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 22 components and 0.0399845 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.291350Jy  sigma=0.008261
! Fit after  self-cal, rms=1.289654Jy  sigma=0.008250
! 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: 0.8158 x 2.021 at 1.444 degrees (North through East)
! Clean map  min=-0.037561  max=0.11286 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=1.289654Jy  sigma=0.008250
! Fit after  self-cal, rms=1.289654Jy  sigma=0.008250
! 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=1.289654Jy  sigma=0.008250
! Fit after  self-cal, rms=1.288682Jy  sigma=0.008243
! Inverting map and beam 
! Estimated beam: bmin=0.8158 mas, bmaj=2.021 mas, bpa=1.444 degrees
! Estimated noise=996.621 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00425126 Jy
! Component: 100  -  total flux cleaned = -0.00627899 Jy
! Component: 150  -  total flux cleaned = -0.0078631 Jy
! Component: 200  -  total flux cleaned = -0.00849167 Jy
! Total flux subtracted in 200 components = -0.00849167 Jy
! Clean residual min=-0.047997 max=0.040221 Jy/beam
! Clean residual mean=-0.000046 rms=0.010541 Jy/beam
! Combined flux in latest and established models = 0.0314928 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 22 components and 0.0314928 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.288002Jy  sigma=0.008238
! Fit after  self-cal, rms=1.287336Jy  sigma=0.008233
! 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=1.287336Jy  sigma=0.008233
! Fit after  self-cal, rms=1.287336Jy  sigma=0.008233
! 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=1.287336Jy  sigma=0.008233
! Fit after  self-cal, rms=1.286838Jy  sigma=0.008230
! Inverting map and beam 
! Estimated beam: bmin=0.8158 mas, bmaj=2.021 mas, bpa=1.444 degrees
! Estimated noise=996.621 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00626585 Jy
! Component: 100  -  total flux cleaned = -0.00471737 Jy
! Component: 150  -  total flux cleaned = -0.00409397 Jy
! Component: 200  -  total flux cleaned = -0.00407703 Jy
! Total flux subtracted in 200 components = -0.00407703 Jy
! Clean residual min=-0.050040 max=0.040611 Jy/beam
! Clean residual mean=-0.000047 rms=0.010998 Jy/beam
! Combined flux in latest and established models = 0.0274158 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 25 components and 0.0274158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.286419Jy  sigma=0.008227
! Fit after  self-cal, rms=1.286032Jy  sigma=0.008224
! 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=1.92 mas, bmaj=3.111 mas, bpa=-7.823 degrees
! Estimated noise=1354.08 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.00368175 Jy
! Component: 100  -  total flux cleaned = 0.00462962 Jy
! Component: 150  -  total flux cleaned = 0.00588558 Jy
! Component: 200  -  total flux cleaned = 0.00727501 Jy
! Total flux subtracted in 200 components = 0.00727501 Jy
! Clean residual min=-0.014397 max=0.018347 Jy/beam
! Clean residual mean=-0.000095 rms=0.004885 Jy/beam
! Combined flux in latest and established models = 0.0346908 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 29 components and 0.0346908 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.286091Jy  sigma=0.008225
! Fit after  self-cal, rms=1.285870Jy  sigma=0.008224
! 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=0.6533 mas, bmaj=1.68 mas, bpa=-1.641 degrees
! Estimated noise=1464.7 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0502788 Jy
! Component: 100  -  total flux cleaned = 0.0269353 Jy
! Component: 150  -  total flux cleaned = 0.0151466 Jy
! Component: 200  -  total flux cleaned = 0.0109501 Jy
! Total flux subtracted in 200 components = 0.0109501 Jy
! Clean residual min=-0.067291 max=0.063625 Jy/beam
! Clean residual mean=-0.000021 rms=0.016473 Jy/beam
! Combined flux in latest and established models = 0.01095 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 14 model components to the UV plane model.
! The established model now contains 14 components and 0.01095 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8158 mas, bmaj=2.021 mas, bpa=1.444 degrees
! Estimated noise=996.621 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.00603451 Jy
! Component: 100  -  total flux cleaned = 0.00772081 Jy
! Component: 150  -  total flux cleaned = 0.00915235 Jy
! Component: 200  -  total flux cleaned = 0.0103768 Jy
! Total flux subtracted in 200 components = 0.0103768 Jy
! Clean residual min=-0.050394 max=0.041817 Jy/beam
! Clean residual mean=-0.000056 rms=0.011295 Jy/beam
! Combined flux in latest and established models = 0.0213268 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 18 components and 0.0213268 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=1.92 mas, bmaj=3.111 mas, bpa=-7.823 degrees
! Estimated noise=1354.08 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.00740571 Jy
! Component: 100  -  total flux cleaned = 0.00916709 Jy
! Component: 150  -  total flux cleaned = 0.0110929 Jy
! Component: 200  -  total flux cleaned = 0.012295 Jy
! Total flux subtracted in 200 components = 0.012295 Jy
! Clean residual min=-0.015329 max=0.017812 Jy/beam
! Clean residual mean=-0.000099 rms=0.004873 Jy/beam
! Combined flux in latest and established models = 0.0336219 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 21 components and 0.0336219 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8158 mas, bmaj=2.021 mas, bpa=1.444 degrees
! Estimated noise=996.621 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00237288 Jy
! Component: 100  -  total flux cleaned = -0.00377089 Jy
! Component: 150  -  total flux cleaned = -0.00375643 Jy
! Component: 200  -  total flux cleaned = -0.00424311 Jy
! Total flux subtracted in 200 components = -0.00424311 Jy
! Clean residual min=-0.048804 max=0.041631 Jy/beam
! Clean residual mean=-0.000045 rms=0.011128 Jy/beam
! Combined flux in latest and established models = 0.0293788 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 24 components and 0.0293788 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.285444Jy  sigma=0.008220
! Fit after  self-cal, rms=1.285135Jy  sigma=0.008218
wmodel J1615+2130_X_1996_01_02_yyk\_map.mod
! Writing 24 model components to file: J1615+2130_X_1996_01_02_yyk_map.mod
wobs J1615+2130_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1615+2130_X_1996_01_02_yyk_uvs.fits
wwins J1615+2130_X_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J1615+2130_X_1996_01_02_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.020405 Jy
! Component: 100  -  total flux cleaned = -0.0277378 Jy
! Component: 150  -  total flux cleaned = -0.0316171 Jy
! Component: 200  -  total flux cleaned = -0.032378 Jy
! Component: 250  -  total flux cleaned = -0.0331168 Jy
! Component: 300  -  total flux cleaned = -0.0331262 Jy
! Component: 350  -  total flux cleaned = -0.0317257 Jy
! Component: 400  -  total flux cleaned = -0.0310374 Jy
! Component: 450  -  total flux cleaned = -0.0296789 Jy
! Component: 500  -  total flux cleaned = -0.0283474 Jy
! Component: 550  -  total flux cleaned = -0.0283437 Jy
! Component: 600  -  total flux cleaned = -0.0276891 Jy
! Component: 650  -  total flux cleaned = -0.0264055 Jy
! Component: 700  -  total flux cleaned = -0.0257747 Jy
! Component: 750  -  total flux cleaned = -0.0245369 Jy
! Component: 800  -  total flux cleaned = -0.025759 Jy
! Component: 850  -  total flux cleaned = -0.0251493 Jy
! Component: 900  -  total flux cleaned = -0.0263415 Jy
! Component: 950  -  total flux cleaned = -0.0257502 Jy
! Component: 1000  -  total flux cleaned = -0.0257492 Jy
! Component: 1050  -  total flux cleaned = -0.0257486 Jy
! Component: 1100  -  total flux cleaned = -0.0257456 Jy
! Component: 1150  -  total flux cleaned = -0.0251796 Jy
! Component: 1200  -  total flux cleaned = -0.0246228 Jy
! Component: 1250  -  total flux cleaned = -0.0246209 Jy
! Component: 1300  -  total flux cleaned = -0.0240719 Jy
! Component: 1350  -  total flux cleaned = -0.0235298 Jy
! Component: 1400  -  total flux cleaned = -0.0235306 Jy
! Component: 1450  -  total flux cleaned = -0.022999 Jy
! Component: 1500  -  total flux cleaned = -0.0230028 Jy
! Component: 1550  -  total flux cleaned = -0.0230035 Jy
! Component: 1600  -  total flux cleaned = -0.0224887 Jy
! Component: 1650  -  total flux cleaned = -0.0230039 Jy
! Component: 1700  -  total flux cleaned = -0.0224984 Jy
! Component: 1750  -  total flux cleaned = -0.0230018 Jy
! Component: 1800  -  total flux cleaned = -0.0229951 Jy
! Component: 1850  -  total flux cleaned = -0.0220111 Jy
! Component: 1900  -  total flux cleaned = -0.0224981 Jy
! Component: 1950  -  total flux cleaned = -0.0220131 Jy
! Component: 2000  -  total flux cleaned = -0.0224896 Jy
! Total flux subtracted in 2048 components = -0.0220129 Jy
! Clean residual min=-0.026925 max=0.028185 Jy/beam
! Clean residual mean=-0.000005 rms=0.008201 Jy/beam
! Combined flux in latest and established models = 0.00736583 Jy
keep
! Adding 127 model components to the UV plane model.
! The established model now contains 151 components and 0.00736581 Jy
![Exited script file: muppet]
wmap "J1615+2130_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8158 x 2.021 at 1.444 degrees (North through East)
! Clean map  min=-0.058685  max=0.1135 Jy/beam
! Writing clean map to FITS file: J1615+2130_X_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.113498 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00815499 
device "J1615+2130_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1615+2130_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -21.5554 21.5554 43.1108 86.2217
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0244 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.113 
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.8158 x 2.021 at 1.444 degrees (North through East)
! Clean map  min=-0.058685  max=0.1135 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1615+2130_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1615+2130_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1615+2130_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 06:56:54 2007