! Started logfile: J0830+2410_S_1996_05_15_yyk_uvs.log on Sun Jan  7 17:01:42 2007
obs J0830+2410_S_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J0830+2410_S_1996_05_15_yyk_uva.fits
! AN table 1: 146 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.660883 visibilities/baseline/integration-bin.
! Found source: J0830+2410
! 
! 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.22049e+09        8e+06          1        8e+06
!  02        2  2.23424e+09        8e+06          1        8e+06
!  03        3  2.29424e+09        8e+06          1        8e+06
!  04        4  2.32424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 617 lines of history.
! 
! Reading 17368 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 J0830+2410_S_1996_05_15_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.83642 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=2.582 mas, bmaj=6.209 mas, bpa=0.2805 degrees
! Estimated noise=2255.63 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.5, 0.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.634352 Jy
! Component: 100  -  total flux cleaned = 0.83157 Jy
! Total flux subtracted in 100 components = 0.83157 Jy
! Clean residual min=-0.049679 max=0.064680 Jy/beam
! Clean residual mean=0.000184 rms=0.013720 Jy/beam
! Combined flux in latest and established models = 0.831569 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.831569 Jy
! 
! Correcting IF 1.
!  A total of 280 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 280 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 280 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 280 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.337048Jy  sigma=0.001657
! Fit after  self-cal, rms=0.331830Jy  sigma=0.001634
! Inverting map and beam 
! Estimated beam: bmin=2.582 mas, bmaj=6.209 mas, bpa=0.2804 degrees
! Estimated noise=2255.7 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=3.393 mas, bmaj=7.194 mas, bpa=0.17 degrees
! Estimated noise=1008.75 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 (2, -2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.116174 Jy
! Component: 100  -  total flux cleaned = 0.158978 Jy
! Component: 150  -  total flux cleaned = 0.169844 Jy
! Component: 200  -  total flux cleaned = 0.174954 Jy
! Total flux subtracted in 200 components = 0.174954 Jy
! Clean residual min=-0.026275 max=0.030020 Jy/beam
! Clean residual mean=0.000623 rms=0.008871 Jy/beam
! Combined flux in latest and established models = 1.00652 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 26 components and 1.00652 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.307179Jy  sigma=0.001476
! Fit after  self-cal, rms=0.306753Jy  sigma=0.001474
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.393 x 7.194 at 0.17 degrees (North through East)
! Clean map  min=-0.024318  max=0.72994 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
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: 0.990081
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.10     HN        0.98     KP        1.47     
!   LA        0.94     MK        0.98     NL        0.87     OV        1.00*    
!   PT        0.92     SC        0.88     
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.952809
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.13     HN        1.08     KP        1.37     
!   LA        1.04     MK        1.02     NL        0.96     OV        1.00*    
!   PT        0.89     SC        0.98     
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00958
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.06     HN        0.94     KP        1.35     
!   LA        0.77     MK        0.87     NL        0.91     OV        1.00*    
!   PT        1.04     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.966216
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.05     HN        1.04     KP        1.43     
!   LA        0.86     MK        1.05     NL        1.03     OV        1.00*    
!   PT        0.95     SC        0.94     
! 
! 
! Fit before self-cal, rms=0.306753Jy  sigma=0.001474
! Fit after  self-cal, rms=0.285887Jy  sigma=0.001367
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.285887Jy  sigma=0.001367
! Fit after  self-cal, rms=0.285890Jy  sigma=0.001367
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.357 mas, bmaj=7.148 mas, bpa=0.8696 degrees
! Estimated noise=944.284 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.0313099 Jy
! Component: 100  -  total flux cleaned = -0.032635 Jy
! Component: 150  -  total flux cleaned = -0.0328711 Jy
! Component: 200  -  total flux cleaned = -0.033549 Jy
! Total flux subtracted in 200 components = -0.033549 Jy
! Clean residual min=-0.007978 max=0.008552 Jy/beam
! Clean residual mean=-0.000010 rms=0.002120 Jy/beam
! Combined flux in latest and established models = 0.972974 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 52 components and 0.972974 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.283490Jy  sigma=0.001348
! Fit after  self-cal, rms=0.283423Jy  sigma=0.001348
! 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.283423Jy  sigma=0.001348
! Fit after  self-cal, rms=0.280635Jy  sigma=0.001331
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.00103114 Jy
! Component: 100  -  total flux cleaned = -0.00104591 Jy
! Component: 150  -  total flux cleaned = -0.00105193 Jy
! Component: 200  -  total flux cleaned = -0.000762851 Jy
! Total flux subtracted in 200 components = -0.000762851 Jy
! Clean residual min=-0.006889 max=0.007763 Jy/beam
! Clean residual mean=-0.000007 rms=0.001944 Jy/beam
! Combined flux in latest and established models = 0.972211 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 71 components and 0.972212 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.280432Jy  sigma=0.001330
! Fit after  self-cal, rms=0.279902Jy  sigma=0.001327
! 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.357 x 7.148 at 0.8696 degrees (North through East)
! Clean map  min=-0.0065792  max=0.68724 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.279902Jy  sigma=0.001327
! Fit after  self-cal, rms=0.273990Jy  sigma=0.001312
! 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.273990Jy  sigma=0.001312
! Fit after  self-cal, rms=0.273847Jy  sigma=0.001311
! Inverting map and beam 
! Estimated beam: bmin=3.341 mas, bmaj=7.098 mas, bpa=1.255 degrees
! Estimated noise=939.644 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00297456 Jy
! Component: 100  -  total flux cleaned = 0.00391322 Jy
! Component: 150  -  total flux cleaned = 0.00471884 Jy
! Component: 200  -  total flux cleaned = 0.00507641 Jy
! Total flux subtracted in 200 components = 0.00507641 Jy
! Clean residual min=-0.005989 max=0.005950 Jy/beam
! Clean residual mean=0.000007 rms=0.001615 Jy/beam
! Combined flux in latest and established models = 0.977288 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 91 components and 0.977288 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273695Jy  sigma=0.001310
! Fit after  self-cal, rms=0.273627Jy  sigma=0.001310
! 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.273627Jy  sigma=0.001310
! Fit after  self-cal, rms=0.273742Jy  sigma=0.001307
! 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.273742Jy  sigma=0.001307
! Fit after  self-cal, rms=0.273728Jy  sigma=0.001307
! Inverting map and beam 
! Estimated beam: bmin=3.335 mas, bmaj=7.086 mas, bpa=1.313 degrees
! Estimated noise=938.766 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00151506 Jy
! Component: 100  -  total flux cleaned = 0.00224975 Jy
! Component: 150  -  total flux cleaned = 0.00267277 Jy
! Component: 200  -  total flux cleaned = 0.00286321 Jy
! Total flux subtracted in 200 components = 0.00286321 Jy
! Clean residual min=-0.005567 max=0.005656 Jy/beam
! Clean residual mean=0.000011 rms=0.001514 Jy/beam
! Combined flux in latest and established models = 0.980151 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 100 components and 0.980151 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273631Jy  sigma=0.001306
! Fit after  self-cal, rms=0.273609Jy  sigma=0.001306
! 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=6.939 mas, bmaj=9.654 mas, bpa=-1.853 degrees
! Estimated noise=1198.42 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.000246775 Jy
! Component: 100  -  total flux cleaned = 0.000814199 Jy
! Component: 150  -  total flux cleaned = 0.000814316 Jy
! Component: 200  -  total flux cleaned = 0.000916164 Jy
! Total flux subtracted in 200 components = 0.000916164 Jy
! Clean residual min=-0.005857 max=0.008181 Jy/beam
! Clean residual mean=0.000003 rms=0.001986 Jy/beam
! Combined flux in latest and established models = 0.981067 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 108 components and 0.981067 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273589Jy  sigma=0.001306
! Fit after  self-cal, rms=0.273572Jy  sigma=0.001306
! Inverting map 
! Added new window around map position (-0.5, -23.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0085828 Jy
! Component: 100  -  total flux cleaned = 0.0110721 Jy
! Component: 150  -  total flux cleaned = 0.0114314 Jy
! Component: 200  -  total flux cleaned = 0.0117467 Jy
! Total flux subtracted in 200 components = 0.0117467 Jy
! Clean residual min=-0.004245 max=0.004543 Jy/beam
! Clean residual mean=-0.000028 rms=0.001245 Jy/beam
! Combined flux in latest and established models = 0.992814 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 144 components and 0.992814 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273500Jy  sigma=0.001305
! Fit after  self-cal, rms=0.273487Jy  sigma=0.001305
! 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=2.542 mas, bmaj=6.124 mas, bpa=0.7533 degrees
! Estimated noise=2108.35 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.606324 Jy
! Component: 100  -  total flux cleaned = 0.806594 Jy
! Component: 150  -  total flux cleaned = 0.887409 Jy
! Component: 200  -  total flux cleaned = 0.92833 Jy
! Total flux subtracted in 200 components = 0.92833 Jy
! Clean residual min=-0.011846 max=0.015038 Jy/beam
! Clean residual mean=0.000002 rms=0.003581 Jy/beam
! Combined flux in latest and established models = 0.92833 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.92833 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.335 mas, bmaj=7.086 mas, bpa=1.313 degrees
! Estimated noise=938.766 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.0287723 Jy
! Component: 100  -  total flux cleaned = 0.0420415 Jy
! Component: 150  -  total flux cleaned = 0.0503496 Jy
! Component: 200  -  total flux cleaned = 0.054424 Jy
! Total flux subtracted in 200 components = 0.054424 Jy
! Clean residual min=-0.005567 max=0.005068 Jy/beam
! Clean residual mean=0.000020 rms=0.001464 Jy/beam
! Combined flux in latest and established models = 0.982754 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 42 components and 0.982754 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=6.939 mas, bmaj=9.654 mas, bpa=-1.853 degrees
! Estimated noise=1198.42 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.00514067 Jy
! Component: 100  -  total flux cleaned = 0.00692267 Jy
! Component: 150  -  total flux cleaned = 0.00751918 Jy
! Component: 200  -  total flux cleaned = 0.00816649 Jy
! Total flux subtracted in 200 components = 0.00816649 Jy
! Clean residual min=-0.004451 max=0.004198 Jy/beam
! Clean residual mean=-0.000001 rms=0.001356 Jy/beam
! Combined flux in latest and established models = 0.99092 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 78 components and 0.99092 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.335 mas, bmaj=7.086 mas, bpa=1.313 degrees
! Estimated noise=938.766 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 3.65105e-05 Jy
! Component: 100  -  total flux cleaned = 0.000794692 Jy
! Component: 150  -  total flux cleaned = 0.000655096 Jy
! Component: 200  -  total flux cleaned = 0.000781747 Jy
! Total flux subtracted in 200 components = 0.000781747 Jy
! Clean residual min=-0.004265 max=0.004020 Jy/beam
! Clean residual mean=0.000004 rms=0.001107 Jy/beam
! Combined flux in latest and established models = 0.991702 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 107 components and 0.991702 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273383Jy  sigma=0.001305
! Fit after  self-cal, rms=0.273367Jy  sigma=0.001305
wmodel J0830+2410_S_1996_05_15_yyk\_map.mod
! Writing 107 model components to file: J0830+2410_S_1996_05_15_yyk_map.mod
wobs J0830+2410_S_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J0830+2410_S_1996_05_15_yyk_uvs.fits
wwins J0830+2410_S_1996_05_15_yyk\_map.win
! wwins: Wrote 3 windows to J0830+2410_S_1996_05_15_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.000788673 Jy
! Component: 100  -  total flux cleaned = 0.00175593 Jy
! Component: 150  -  total flux cleaned = 0.00229652 Jy
! Component: 200  -  total flux cleaned = 0.00246575 Jy
! Component: 250  -  total flux cleaned = 0.00241381 Jy
! Component: 300  -  total flux cleaned = 0.00210272 Jy
! Component: 350  -  total flux cleaned = 0.00190238 Jy
! Component: 400  -  total flux cleaned = 0.00175567 Jy
! Component: 450  -  total flux cleaned = 0.00147051 Jy
! Component: 500  -  total flux cleaned = 0.00137757 Jy
! Component: 550  -  total flux cleaned = 0.00119527 Jy
! Component: 600  -  total flux cleaned = 0.000753399 Jy
! Component: 650  -  total flux cleaned = 0.000623488 Jy
! Component: 700  -  total flux cleaned = 0.000410581 Jy
! Component: 750  -  total flux cleaned = 0.000119322 Jy
! Component: 800  -  total flux cleaned = -4.41083e-05 Jy
! Component: 850  -  total flux cleaned = -0.000165049 Jy
! Component: 900  -  total flux cleaned = -0.000364016 Jy
! Component: 950  -  total flux cleaned = -0.000559401 Jy
! Component: 1000  -  total flux cleaned = -0.000827601 Jy
! Component: 1050  -  total flux cleaned = -0.000902263 Jy
! Component: 1100  -  total flux cleaned = -0.000976302 Jy
! Component: 1150  -  total flux cleaned = -0.00108627 Jy
! Component: 1200  -  total flux cleaned = -0.00115801 Jy
! Component: 1250  -  total flux cleaned = -0.00108759 Jy
! Component: 1300  -  total flux cleaned = -0.00115762 Jy
! Component: 1350  -  total flux cleaned = -0.00108927 Jy
! Component: 1400  -  total flux cleaned = -0.00115693 Jy
! Component: 1450  -  total flux cleaned = -0.00105638 Jy
! Component: 1500  -  total flux cleaned = -0.00108909 Jy
! Component: 1550  -  total flux cleaned = -0.000958617 Jy
! Component: 1600  -  total flux cleaned = -0.000894341 Jy
! Component: 1650  -  total flux cleaned = -0.000799319 Jy
! Component: 1700  -  total flux cleaned = -0.000706033 Jy
! Component: 1750  -  total flux cleaned = -0.000706149 Jy
! Component: 1800  -  total flux cleaned = -0.000614197 Jy
! Component: 1850  -  total flux cleaned = -0.000432562 Jy
! Component: 1900  -  total flux cleaned = -0.000372987 Jy
! Component: 1950  -  total flux cleaned = -0.000343254 Jy
! Component: 2000  -  total flux cleaned = -0.000343316 Jy
! Total flux subtracted in 2048 components = -0.00028476 Jy
! Clean residual min=-0.001757 max=0.001869 Jy/beam
! Clean residual mean=0.000007 rms=0.000575 Jy/beam
! Combined flux in latest and established models = 0.991417 Jy
keep
! Adding 126 model components to the UV plane model.
! The established model now contains 233 components and 0.991417 Jy
![Exited script file: muppet]
wmap "J0830+2410_S_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.335 x 7.086 at 1.313 degrees (North through East)
! Clean map  min=-0.003574  max=0.6813 Jy/beam
! Writing clean map to FITS file: J0830+2410_S_1996_05_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.681297 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000573244 
device "J0830+2410_S_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J0830+2410_S_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.25242 0.25242 0.504841 1.00968 2.01936 4.03873 8.07745 16.1549 32.3098 64.6196
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.681 
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.335 x 7.086 at 1.313 degrees (North through East)
! Clean map  min=-0.003574  max=0.6813 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0830+2410_S_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J0830+2410_S_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0830+2410_S_1996_05_15_yyk_uvs.log closed on Sun Jan  7 17:01:49 2007