! Started logfile: J2002+4725_X_1996_08_10_yyk_uvs.log on Mon Jan  8 10:10:54 2007
obs J2002+4725_X_1996_08_10_yyk_uva.fits
! Reading UV FITS file: J2002+4725_X_1996_08_10_yyk_uva.fits
! AN table 1: 146 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.684932 visibilities/baseline/integration-bin.
! Found source: J2002+4725
! 
! 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        8e+06          1        8e+06
!  02        2  8.23424e+09        8e+06          1        8e+06
!  03        3  8.41424e+09        8e+06          1        8e+06
!  04        4  8.55424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 630 lines of history.
! 
! Reading 18000 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 J2002+4725_X_1996_08_10_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.20581 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.7661 mas, bmaj=1.9 mas, bpa=14.28 degrees
! Estimated noise=1729.12 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.990863 Jy
! Component: 100  -  total flux cleaned = 1.1303 Jy
! Total flux subtracted in 100 components = 1.1303 Jy
! Clean residual min=-0.028816 max=0.038753 Jy/beam
! Clean residual mean=-0.000073 rms=0.008066 Jy/beam
! Combined flux in latest and established models = 1.1303 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 1.1303 Jy
! 
! Correcting IF 1.
!  A total of 249 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 249 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 249 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 249 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.356297Jy  sigma=0.002395
! Fit after  self-cal, rms=0.355557Jy  sigma=0.002391
! Inverting map and beam 
! Estimated beam: bmin=0.7661 mas, bmaj=1.9 mas, bpa=14.28 degrees
! Estimated noise=1729.27 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.9657 mas, bmaj=2.122 mas, bpa=11.69 degrees
! Estimated noise=789.717 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.0448989 Jy
! Component: 100  -  total flux cleaned = 0.0664883 Jy
! Component: 150  -  total flux cleaned = 0.0777446 Jy
! Component: 200  -  total flux cleaned = 0.0798404 Jy
! Total flux subtracted in 200 components = 0.0798404 Jy
! Clean residual min=-0.021794 max=0.039098 Jy/beam
! Clean residual mean=-0.000115 rms=0.007423 Jy/beam
! Combined flux in latest and established models = 1.21014 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 14 components and 1.21014 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352275Jy  sigma=0.002365
! Fit after  self-cal, rms=0.352271Jy  sigma=0.002365
! 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.9657 x 2.122 at 11.69 degrees (North through East)
! Clean map  min=-0.020612  max=1.1531 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.00369
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.98     HN        0.94     KP        1.00*    
!   LA        1.00     MK        0.96     NL        1.12     OV        0.96     
!   PT        0.98     SC        1.02     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00622
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        0.94     KP        1.00*    
!   LA        0.96     MK        0.95     NL        1.09     OV        1.01     
!   PT        0.96     SC        1.06     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.993869
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     HN        0.95     KP        1.00*    
!   LA        0.98     MK        0.99     NL        1.12     OV        0.99     
!   PT        0.96     SC        1.08     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.989249
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        0.97     KP        1.00*    
!   LA        0.98     MK        0.98     NL        1.15     OV        0.97     
!   PT        0.97     SC        1.08     
! 
! 
! Fit before self-cal, rms=0.352271Jy  sigma=0.002365
! Fit after  self-cal, rms=0.365845Jy  sigma=0.002304
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.365845Jy  sigma=0.002304
! Fit after  self-cal, rms=0.365843Jy  sigma=0.002304
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9737 mas, bmaj=2.111 mas, bpa=10.73 degrees
! Estimated noise=785.718 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.00619266 Jy
! Component: 100  -  total flux cleaned = -0.0066755 Jy
! Component: 150  -  total flux cleaned = -0.00667469 Jy
! Component: 200  -  total flux cleaned = -0.00668794 Jy
! Total flux subtracted in 200 components = -0.00668794 Jy
! Clean residual min=-0.012593 max=0.014127 Jy/beam
! Clean residual mean=0.000014 rms=0.003911 Jy/beam
! Combined flux in latest and established models = 1.20345 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 23 components and 1.20345 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.365570Jy  sigma=0.002303
! Fit after  self-cal, rms=0.365567Jy  sigma=0.002303
! 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.365567Jy  sigma=0.002303
! Fit after  self-cal, rms=0.257748Jy  sigma=0.001632
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.0174062 Jy
! Component: 100  -  total flux cleaned = 0.0183592 Jy
! Component: 150  -  total flux cleaned = 0.0203013 Jy
! Component: 200  -  total flux cleaned = 0.0218163 Jy
! Total flux subtracted in 200 components = 0.0218163 Jy
! Clean residual min=-0.022013 max=0.011761 Jy/beam
! Clean residual mean=0.000052 rms=0.003632 Jy/beam
! Combined flux in latest and established models = 1.22527 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 32 components and 1.22527 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255176Jy  sigma=0.001617
! Fit after  self-cal, rms=0.240837Jy  sigma=0.001529
! 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.9737 x 2.111 at 10.73 degrees (North through East)
! Clean map  min=-0.022528  max=1.1776 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.240837Jy  sigma=0.001529
! Fit after  self-cal, rms=0.228408Jy  sigma=0.001488
! 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.228408Jy  sigma=0.001488
! Fit after  self-cal, rms=0.225280Jy  sigma=0.001467
! Inverting map and beam 
! Estimated beam: bmin=0.9746 mas, bmaj=2.118 mas, bpa=11.08 degrees
! Estimated noise=782.027 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00180499 Jy
! Component: 100  -  total flux cleaned = -0.00218734 Jy
! Component: 150  -  total flux cleaned = -0.00259514 Jy
! Component: 200  -  total flux cleaned = -0.00287522 Jy
! Total flux subtracted in 200 components = -0.00287522 Jy
! Clean residual min=-0.004039 max=0.003403 Jy/beam
! Clean residual mean=-0.000000 rms=0.000954 Jy/beam
! Combined flux in latest and established models = 1.22239 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 37 components and 1.22239 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.225221Jy  sigma=0.001467
! Fit after  self-cal, rms=0.223991Jy  sigma=0.001458
! 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.223991Jy  sigma=0.001458
! Fit after  self-cal, rms=0.223531Jy  sigma=0.001454
! 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.223531Jy  sigma=0.001454
! Fit after  self-cal, rms=0.222854Jy  sigma=0.001449
! Inverting map and beam 
! Estimated beam: bmin=0.9742 mas, bmaj=2.12 mas, bpa=11.11 degrees
! Estimated noise=781.877 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000834421 Jy
! Component: 100  -  total flux cleaned = -0.00116823 Jy
! Component: 150  -  total flux cleaned = -0.00139641 Jy
! Component: 200  -  total flux cleaned = -0.00159484 Jy
! Total flux subtracted in 200 components = -0.00159484 Jy
! Clean residual min=-0.003673 max=0.003255 Jy/beam
! Clean residual mean=-0.000001 rms=0.000907 Jy/beam
! Combined flux in latest and established models = 1.2208 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 38 components and 1.2208 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222830Jy  sigma=0.001449
! Fit after  self-cal, rms=0.222364Jy  sigma=0.001446
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.022 mas, bmaj=2.692 mas, bpa=1.557 degrees
! Estimated noise=988.263 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.00082963 Jy
! Component: 100  -  total flux cleaned = -0.00100785 Jy
! Component: 150  -  total flux cleaned = -0.00110318 Jy
! Component: 200  -  total flux cleaned = -0.00112362 Jy
! Total flux subtracted in 200 components = -0.00112362 Jy
! Clean residual min=-0.003378 max=0.003440 Jy/beam
! Clean residual mean=-0.000010 rms=0.000941 Jy/beam
! Combined flux in latest and established models = 1.21968 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 47 components and 1.21968 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222363Jy  sigma=0.001446
! Fit after  self-cal, rms=0.222001Jy  sigma=0.001443
! 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.768 mas, bmaj=1.895 mas, bpa=13.87 degrees
! Estimated noise=1529.95 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.00813 Jy
! Component: 100  -  total flux cleaned = 1.14968 Jy
! Component: 150  -  total flux cleaned = 1.1895 Jy
! Component: 200  -  total flux cleaned = 1.20492 Jy
! Total flux subtracted in 200 components = 1.20492 Jy
! Clean residual min=-0.009495 max=0.008027 Jy/beam
! Clean residual mean=-0.000017 rms=0.002333 Jy/beam
! Combined flux in latest and established models = 1.20492 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 13 model components to the UV plane model.
! The established model now contains 13 components and 1.20492 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9742 mas, bmaj=2.12 mas, bpa=11.11 degrees
! Estimated noise=781.877 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.00767307 Jy
! Component: 100  -  total flux cleaned = 0.0111374 Jy
! Component: 150  -  total flux cleaned = 0.0120259 Jy
! Component: 200  -  total flux cleaned = 0.0124001 Jy
! Total flux subtracted in 200 components = 0.0124001 Jy
! Clean residual min=-0.003568 max=0.003532 Jy/beam
! Clean residual mean=-0.000010 rms=0.000942 Jy/beam
! Combined flux in latest and established models = 1.21732 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 22 components and 1.21732 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.022 mas, bmaj=2.692 mas, bpa=1.557 degrees
! Estimated noise=988.263 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.000327972 Jy
! Component: 100  -  total flux cleaned = 0.000623507 Jy
! Component: 150  -  total flux cleaned = 0.00084739 Jy
! Component: 200  -  total flux cleaned = 0.000969338 Jy
! Total flux subtracted in 200 components = 0.000969338 Jy
! Clean residual min=-0.003284 max=0.003492 Jy/beam
! Clean residual mean=-0.000018 rms=0.000954 Jy/beam
! Combined flux in latest and established models = 1.21829 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 32 components and 1.21829 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9742 mas, bmaj=2.12 mas, bpa=11.11 degrees
! Estimated noise=781.877 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000730801 Jy
! Component: 100  -  total flux cleaned = 0.000485249 Jy
! Component: 150  -  total flux cleaned = 0.000433603 Jy
! Component: 200  -  total flux cleaned = 0.000388121 Jy
! Total flux subtracted in 200 components = 0.000388121 Jy
! Clean residual min=-0.003490 max=0.003494 Jy/beam
! Clean residual mean=-0.000006 rms=0.000922 Jy/beam
! Combined flux in latest and established models = 1.21868 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 35 components and 1.21868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222047Jy  sigma=0.001443
! Fit after  self-cal, rms=0.221755Jy  sigma=0.001441
wmodel J2002+4725_X_1996_08_10_yyk\_map.mod
! Writing 35 model components to file: J2002+4725_X_1996_08_10_yyk_map.mod
wobs J2002+4725_X_1996_08_10_yyk\_uvs.fits
! Writing UV FITS file: J2002+4725_X_1996_08_10_yyk_uvs.fits
wwins J2002+4725_X_1996_08_10_yyk\_map.win
! wwins: Wrote 1 windows to J2002+4725_X_1996_08_10_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.000700489 Jy
! Component: 100  -  total flux cleaned = 0.00122918 Jy
! Component: 150  -  total flux cleaned = 0.0015041 Jy
! Component: 200  -  total flux cleaned = 0.00160862 Jy
! Component: 250  -  total flux cleaned = 0.00155922 Jy
! Component: 300  -  total flux cleaned = 0.00155828 Jy
! Component: 350  -  total flux cleaned = 0.00150995 Jy
! Component: 400  -  total flux cleaned = 0.00155323 Jy
! Component: 450  -  total flux cleaned = 0.00132916 Jy
! Component: 500  -  total flux cleaned = 0.0013714 Jy
! Component: 550  -  total flux cleaned = 0.00128663 Jy
! Component: 600  -  total flux cleaned = 0.00141066 Jy
! Component: 650  -  total flux cleaned = 0.00136979 Jy
! Component: 700  -  total flux cleaned = 0.00160941 Jy
! Component: 750  -  total flux cleaned = 0.00172591 Jy
! Component: 800  -  total flux cleaned = 0.00180267 Jy
! Component: 850  -  total flux cleaned = 0.00199139 Jy
! Component: 900  -  total flux cleaned = 0.00217612 Jy
! Component: 950  -  total flux cleaned = 0.00239307 Jy
! Component: 1000  -  total flux cleaned = 0.00256907 Jy
! Component: 1050  -  total flux cleaned = 0.00256816 Jy
! Component: 1100  -  total flux cleaned = 0.0026026 Jy
! Component: 1150  -  total flux cleaned = 0.00263699 Jy
! Component: 1200  -  total flux cleaned = 0.0026379 Jy
! Component: 1250  -  total flux cleaned = 0.00270326 Jy
! Component: 1300  -  total flux cleaned = 0.00276663 Jy
! Component: 1350  -  total flux cleaned = 0.00267117 Jy
! Component: 1400  -  total flux cleaned = 0.00260909 Jy
! Component: 1450  -  total flux cleaned = 0.00257875 Jy
! Component: 1500  -  total flux cleaned = 0.00266938 Jy
! Component: 1550  -  total flux cleaned = 0.00263898 Jy
! Component: 1600  -  total flux cleaned = 0.00269747 Jy
! Component: 1650  -  total flux cleaned = 0.00266857 Jy
! Component: 1700  -  total flux cleaned = 0.00264055 Jy
! Component: 1750  -  total flux cleaned = 0.00261218 Jy
! Component: 1800  -  total flux cleaned = 0.00258451 Jy
! Component: 1850  -  total flux cleaned = 0.00252922 Jy
! Component: 1900  -  total flux cleaned = 0.00247467 Jy
! Component: 1950  -  total flux cleaned = 0.00244831 Jy
! Component: 2000  -  total flux cleaned = 0.0024482 Jy
! Total flux subtracted in 2048 components = 0.00237035 Jy
! Clean residual min=-0.001341 max=0.001409 Jy/beam
! Clean residual mean=0.000000 rms=0.000497 Jy/beam
! Combined flux in latest and established models = 1.22105 Jy
keep
! Adding 122 model components to the UV plane model.
! The established model now contains 157 components and 1.22105 Jy
![Exited script file: muppet]
wmap "J2002+4725_X_1996_08_10_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9742 x 2.12 at 11.11 degrees (North through East)
! Clean map  min=-0.0026453  max=1.1745 Jy/beam
! Writing clean map to FITS file: J2002+4725_X_1996_08_10_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.17448 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000492338 
device "J2002+4725_X_1996_08_10_yyk\_map.eps/VPS"
! Attempting to open device: 'J2002+4725_X_1996_08_10_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.125759 0.125759 0.251518 0.503036 1.00607 2.01214 4.02428 8.04857 16.0971 32.1943 64.3885
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.174 
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.9742 x 2.12 at 11.11 degrees (North through East)
! Clean map  min=-0.0026453  max=1.1745 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2002+4725_X_1996_08_10_yyk\_map.gif/gif"
! Attempting to open device: 'J2002+4725_X_1996_08_10_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2002+4725_X_1996_08_10_yyk_uvs.log closed on Mon Jan  8 10:11:02 2007