! Started logfile: J1610+2414_S_1996_05_15_yyk_uvs.log on Sun Jan  7 18:54:04 2007
obs J1610+2414_S_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J1610+2414_S_1996_05_15_yyk_uva.fits
! AN table 1: 150 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.973778 visibilities/baseline/integration-bin.
! Found source: J1610+2414
! 
! 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 26292 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 J1610+2414_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.431086 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.771 mas, bmaj=7.22 mas, bpa=-16.42 degrees
! Estimated noise=1487.52 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.294015 Jy
! Component: 100  -  total flux cleaned = 0.339444 Jy
! Total flux subtracted in 100 components = 0.339444 Jy
! Clean residual min=-0.011488 max=0.017470 Jy/beam
! Clean residual mean=0.000008 rms=0.003247 Jy/beam
! Combined flux in latest and established models = 0.339444 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.339444 Jy
! 
! Correcting IF 1.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.247751Jy  sigma=0.001246
! Fit after  self-cal, rms=0.247443Jy  sigma=0.001245
! Inverting map and beam 
! Estimated beam: bmin=2.771 mas, bmaj=7.22 mas, bpa=-16.42 degrees
! Estimated noise=1487.71 mJy/beam.
! Added new window around map position (-4.5, 0.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0231525 Jy
! Component: 100  -  total flux cleaned = 0.0353397 Jy
! Total flux subtracted in 100 components = 0.0353397 Jy
! Clean residual min=-0.009544 max=0.012552 Jy/beam
! Clean residual mean=0.000017 rms=0.002643 Jy/beam
! Combined flux in latest and established models = 0.374784 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 35 components and 0.374784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245346Jy  sigma=0.001234
! Fit after  self-cal, rms=0.245208Jy  sigma=0.001233
! 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.47 mas, bmaj=8.242 mas, bpa=-17.62 degrees
! Estimated noise=770.297 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.0109057 Jy
! Component: 100  -  total flux cleaned = 0.0163115 Jy
! Component: 150  -  total flux cleaned = 0.0194936 Jy
! Component: 200  -  total flux cleaned = 0.0207412 Jy
! Total flux subtracted in 200 components = 0.0207412 Jy
! Clean residual min=-0.007767 max=0.009227 Jy/beam
! Clean residual mean=0.000040 rms=0.002326 Jy/beam
! Combined flux in latest and established models = 0.395525 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 68 components and 0.395525 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.244794Jy  sigma=0.001231
! Fit after  self-cal, rms=0.244752Jy  sigma=0.001231
! 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.47 x 8.242 at -17.62 degrees (North through East)
! Clean map  min=-0.0074002  max=0.33816 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.02202
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.10     HN        1.00     KP        0.90     
!   LA        0.99     MK        1.01     NL        0.89     OV        1.09     
!   PT        0.95     SC        0.86     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.970286
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.15     HN        1.11     KP        0.94     
!   LA        1.08     MK        1.01     NL        0.98     OV        1.03     
!   PT        0.94     SC        0.97     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.04582
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.05     HN        0.96     KP        0.94     
!   LA        0.80     MK        0.89     NL        0.91     OV        0.96     
!   PT        1.07     SC        0.98     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00103
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        1.07     HN        1.05     KP        0.97     
!   LA        0.88     MK        1.04     NL        1.06     OV        0.93     
!   PT        0.98     SC        0.94     
! 
! 
! Fit before self-cal, rms=0.244752Jy  sigma=0.001231
! Fit after  self-cal, rms=0.236636Jy  sigma=0.001216
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.236636Jy  sigma=0.001216
! Fit after  self-cal, rms=0.236634Jy  sigma=0.001216
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.437 mas, bmaj=8.287 mas, bpa=-17.1 degrees
! Estimated noise=776.311 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.00368811 Jy
! Component: 100  -  total flux cleaned = 0.00334149 Jy
! Component: 150  -  total flux cleaned = 0.00290811 Jy
! Component: 200  -  total flux cleaned = 0.00254848 Jy
! Total flux subtracted in 200 components = 0.00254848 Jy
! Clean residual min=-0.003776 max=0.004005 Jy/beam
! Clean residual mean=-0.000003 rms=0.001088 Jy/beam
! Combined flux in latest and established models = 0.398074 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 82 components and 0.398074 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.236365Jy  sigma=0.001215
! Fit after  self-cal, rms=0.236351Jy  sigma=0.001215
! 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.236351Jy  sigma=0.001215
! Fit after  self-cal, rms=0.235323Jy  sigma=0.001209
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.00064837 Jy
! Component: 100  -  total flux cleaned = 0.000172276 Jy
! Component: 150  -  total flux cleaned = -0.000236227 Jy
! Component: 200  -  total flux cleaned = -0.000523779 Jy
! Total flux subtracted in 200 components = -0.000523779 Jy
! Clean residual min=-0.003675 max=0.003842 Jy/beam
! Clean residual mean=-0.000002 rms=0.001064 Jy/beam
! Combined flux in latest and established models = 0.39755 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 90 components and 0.39755 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235250Jy  sigma=0.001208
! Fit after  self-cal, rms=0.235126Jy  sigma=0.001208
! 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.437 x 8.287 at -17.1 degrees (North through East)
! Clean map  min=-0.0035693  max=0.34269 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.235126Jy  sigma=0.001208
! Fit after  self-cal, rms=0.231325Jy  sigma=0.001201
! 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.231325Jy  sigma=0.001201
! Fit after  self-cal, rms=0.231308Jy  sigma=0.001201
! Inverting map and beam 
! Estimated beam: bmin=3.42 mas, bmaj=8.301 mas, bpa=-17.01 degrees
! Estimated noise=772.942 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00082743 Jy
! Component: 100  -  total flux cleaned = -0.0013956 Jy
! Component: 150  -  total flux cleaned = -0.00178802 Jy
! Component: 200  -  total flux cleaned = -0.00218099 Jy
! Total flux subtracted in 200 components = -0.00218099 Jy
! Clean residual min=-0.003065 max=0.003422 Jy/beam
! Clean residual mean=-0.000005 rms=0.000839 Jy/beam
! Combined flux in latest and established models = 0.395369 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 99 components and 0.395369 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231251Jy  sigma=0.001201
! Fit after  self-cal, rms=0.231244Jy  sigma=0.001201
! 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.231244Jy  sigma=0.001201
! Fit after  self-cal, rms=0.231287Jy  sigma=0.001199
! 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.231287Jy  sigma=0.001199
! Fit after  self-cal, rms=0.231289Jy  sigma=0.001199
! Inverting map and beam 
! Estimated beam: bmin=3.417 mas, bmaj=8.312 mas, bpa=-16.95 degrees
! Estimated noise=772.59 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00048215 Jy
! Component: 100  -  total flux cleaned = -0.00087457 Jy
! Component: 150  -  total flux cleaned = -0.00115053 Jy
! Component: 200  -  total flux cleaned = -0.00138517 Jy
! Total flux subtracted in 200 components = -0.00138517 Jy
! Clean residual min=-0.003018 max=0.003368 Jy/beam
! Clean residual mean=-0.000005 rms=0.000817 Jy/beam
! Combined flux in latest and established models = 0.393984 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 102 components and 0.393984 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231261Jy  sigma=0.001199
! Fit after  self-cal, rms=0.231258Jy  sigma=0.001199
! 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=8.098 mas, bmaj=10.83 mas, bpa=-14.61 degrees
! Estimated noise=955.575 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 = -6.86645e-05 Jy
! Component: 100  -  total flux cleaned = -0.000175795 Jy
! Component: 150  -  total flux cleaned = -0.000229575 Jy
! Component: 200  -  total flux cleaned = -0.000272067 Jy
! Total flux subtracted in 200 components = -0.000272067 Jy
! Clean residual min=-0.003058 max=0.003737 Jy/beam
! Clean residual mean=-0.000004 rms=0.001003 Jy/beam
! Combined flux in latest and established models = 0.393712 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 110 components and 0.393712 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231254Jy  sigma=0.001199
! Fit after  self-cal, rms=0.231251Jy  sigma=0.001199
! 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.751 mas, bmaj=7.197 mas, bpa=-15.9 degrees
! Estimated noise=1497.88 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.296009 Jy
! Component: 100  -  total flux cleaned = 0.346925 Jy
! Component: 150  -  total flux cleaned = 0.369486 Jy
! Component: 200  -  total flux cleaned = 0.380675 Jy
! Total flux subtracted in 200 components = 0.380675 Jy
! Clean residual min=-0.005480 max=0.005875 Jy/beam
! Clean residual mean=-0.000006 rms=0.001670 Jy/beam
! Combined flux in latest and established models = 0.380675 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 21 model components to the UV plane model.
! The established model now contains 21 components and 0.380675 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.417 mas, bmaj=8.312 mas, bpa=-16.95 degrees
! Estimated noise=772.59 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.00701637 Jy
! Component: 100  -  total flux cleaned = 0.010595 Jy
! Component: 150  -  total flux cleaned = 0.0118624 Jy
! Component: 200  -  total flux cleaned = 0.0121642 Jy
! Total flux subtracted in 200 components = 0.0121642 Jy
! Clean residual min=-0.003030 max=0.003303 Jy/beam
! Clean residual mean=-0.000004 rms=0.000823 Jy/beam
! Combined flux in latest and established models = 0.392839 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 39 components and 0.392839 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=8.098 mas, bmaj=10.83 mas, bpa=-14.61 degrees
! Estimated noise=955.575 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.000544261 Jy
! Component: 100  -  total flux cleaned = 0.000622998 Jy
! Component: 150  -  total flux cleaned = 0.000685171 Jy
! Component: 200  -  total flux cleaned = 0.000711339 Jy
! Total flux subtracted in 200 components = 0.000711339 Jy
! Clean residual min=-0.002993 max=0.003727 Jy/beam
! Clean residual mean=-0.000005 rms=0.001005 Jy/beam
! Combined flux in latest and established models = 0.39355 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 47 components and 0.39355 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.417 mas, bmaj=8.312 mas, bpa=-16.95 degrees
! Estimated noise=772.59 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000134853 Jy
! Component: 100  -  total flux cleaned = -0.000204046 Jy
! Component: 150  -  total flux cleaned = -0.000234535 Jy
! Component: 200  -  total flux cleaned = -0.000260838 Jy
! Total flux subtracted in 200 components = -0.000260838 Jy
! Clean residual min=-0.002917 max=0.003289 Jy/beam
! Clean residual mean=-0.000004 rms=0.000810 Jy/beam
! Combined flux in latest and established models = 0.393289 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 56 components and 0.393289 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231250Jy  sigma=0.001199
! Fit after  self-cal, rms=0.231246Jy  sigma=0.001199
wmodel J1610+2414_S_1996_05_15_yyk\_map.mod
! Writing 56 model components to file: J1610+2414_S_1996_05_15_yyk_map.mod
wobs J1610+2414_S_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J1610+2414_S_1996_05_15_yyk_uvs.fits
wwins J1610+2414_S_1996_05_15_yyk\_map.win
! wwins: Wrote 2 windows to J1610+2414_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.000255534 Jy
! Component: 100  -  total flux cleaned = 0.000448616 Jy
! Component: 150  -  total flux cleaned = 0.000945831 Jy
! Component: 200  -  total flux cleaned = 0.00150695 Jy
! Component: 250  -  total flux cleaned = 0.00183803 Jy
! Component: 300  -  total flux cleaned = 0.00207941 Jy
! Component: 350  -  total flux cleaned = 0.00235355 Jy
! Component: 400  -  total flux cleaned = 0.00258226 Jy
! Component: 450  -  total flux cleaned = 0.00295295 Jy
! Component: 500  -  total flux cleaned = 0.00327748 Jy
! Component: 550  -  total flux cleaned = 0.00366369 Jy
! Component: 600  -  total flux cleaned = 0.00397259 Jy
! Component: 650  -  total flux cleaned = 0.0041745 Jy
! Component: 700  -  total flux cleaned = 0.00430765 Jy
! Component: 750  -  total flux cleaned = 0.00443712 Jy
! Component: 800  -  total flux cleaned = 0.00450042 Jy
! Component: 850  -  total flux cleaned = 0.00456336 Jy
! Component: 900  -  total flux cleaned = 0.00465637 Jy
! Component: 950  -  total flux cleaned = 0.00468692 Jy
! Component: 1000  -  total flux cleaned = 0.00477689 Jy
! Component: 1050  -  total flux cleaned = 0.00489403 Jy
! Component: 1100  -  total flux cleaned = 0.00495208 Jy
! Component: 1150  -  total flux cleaned = 0.00500935 Jy
! Component: 1200  -  total flux cleaned = 0.00512223 Jy
! Component: 1250  -  total flux cleaned = 0.00523323 Jy
! Component: 1300  -  total flux cleaned = 0.00537036 Jy
! Component: 1350  -  total flux cleaned = 0.00539791 Jy
! Component: 1400  -  total flux cleaned = 0.00545176 Jy
! Component: 1450  -  total flux cleaned = 0.00555772 Jy
! Component: 1500  -  total flux cleaned = 0.00566198 Jy
! Component: 1550  -  total flux cleaned = 0.00568806 Jy
! Component: 1600  -  total flux cleaned = 0.00579048 Jy
! Component: 1650  -  total flux cleaned = 0.00586621 Jy
! Component: 1700  -  total flux cleaned = 0.00589128 Jy
! Component: 1750  -  total flux cleaned = 0.00603909 Jy
! Component: 1800  -  total flux cleaned = 0.00613683 Jy
! Component: 1850  -  total flux cleaned = 0.00618508 Jy
! Component: 1900  -  total flux cleaned = 0.00630441 Jy
! Component: 1950  -  total flux cleaned = 0.00642225 Jy
! Component: 2000  -  total flux cleaned = 0.00651574 Jy
! Total flux subtracted in 2048 components = 0.00658509 Jy
! Clean residual min=-0.001292 max=0.001371 Jy/beam
! Clean residual mean=-0.000004 rms=0.000478 Jy/beam
! Combined flux in latest and established models = 0.399874 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 185 components and 0.399874 Jy
![Exited script file: muppet]
wmap "J1610+2414_S_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.417 x 8.312 at -16.95 degrees (North through East)
! Clean map  min=-0.0024566  max=0.34261 Jy/beam
! Writing clean map to FITS file: J1610+2414_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.342605 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00047727 
device "J1610+2414_S_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1610+2414_S_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.417919 0.417919 0.835837 1.67167 3.34335 6.6867 13.3734 26.7468 53.4936
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.342 
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.417 x 8.312 at -16.95 degrees (North through East)
! Clean map  min=-0.0024566  max=0.34261 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1610+2414_S_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1610+2414_S_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1610+2414_S_1996_05_15_yyk_uvs.log closed on Sun Jan  7 18:54:12 2007