! Started logfile: J1312+2531_S_2004_05_08_yyk_uvs.log on Wed Dec  7 00:26:18 2005
obs J1312+2531_S_2004_05_08_yyk_uve.fits
! Reading UV FITS file: J1312+2531_S_2004_05_08_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.876389 visibilities/baseline/integration-bin.
! Found source: J1312+2531
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1434 lines of history.
! 
! Reading 2524 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 J1312+2531_S_2004_05_08_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.205625 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.808229Jy  sigma=17.528092
! Fit after  self-cal, rms=0.808212Jy  sigma=17.527139
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.801 mas, bmaj=5.864 mas, bpa=1.179 degrees
! Estimated noise=1.01644 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.160016 Jy
! Component: 100  -  total flux cleaned = 0.194641 Jy
! Total flux subtracted in 100 components = 0.194641 Jy
! Clean residual min=-0.005805 max=0.010150 Jy/beam
! Clean residual mean=-0.000002 rms=0.001719 Jy/beam
! Combined flux in latest and established models = 0.194641 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.194641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062774Jy  sigma=1.159945
! Fit after  self-cal, rms=0.062596Jy  sigma=1.156497
! Inverting map 
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0143736 Jy
! Component: 100  -  total flux cleaned = 0.0212186 Jy
! Total flux subtracted in 100 components = 0.0212186 Jy
! Clean residual min=-0.004431 max=0.004851 Jy/beam
! Clean residual mean=-0.000006 rms=0.001251 Jy/beam
! Combined flux in latest and established models = 0.21586 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 29 components and 0.21586 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059673Jy  sigma=1.097064
! Fit after  self-cal, rms=0.059605Jy  sigma=1.095596
! 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.573 mas, bmaj=7.081 mas, bpa=-1.627 degrees
! Estimated noise=0.685655 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.0033597 Jy
! Component: 100  -  total flux cleaned = 0.00394742 Jy
! Component: 150  -  total flux cleaned = 0.00415722 Jy
! Component: 200  -  total flux cleaned = 0.00419537 Jy
! Total flux subtracted in 200 components = 0.00419537 Jy
! Clean residual min=-0.003014 max=0.003289 Jy/beam
! Clean residual mean=-0.000039 rms=0.000878 Jy/beam
! Combined flux in latest and established models = 0.220055 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 42 components and 0.220055 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059428Jy  sigma=1.091997
! Fit after  self-cal, rms=0.059410Jy  sigma=1.091677
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.01679
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.07     HN        0.92     KP        0.96     
!   LA        1.06     MK        0.97     NL        0.98     OV        0.99     
!   PT        1.00     SC        0.98     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.979073
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        1.02     HN        1.03     KP        1.09     
!   LA        1.05     MK        1.01     NL        1.01     OV        1.00     
!   PT        0.93     SC        0.96     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00116
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.85     FD        0.91     HN        0.99     KP        1.00     
!   LA        0.96     MK        1.05     NL        1.10     OV        1.03     
!   PT        1.06     SC        1.03     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.0073
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.94     HN        0.99     KP        0.93     
!   LA        1.00*    MK        1.03     NL        1.04     OV        0.87     
!   PT        0.99     SC        1.16     
! 
! 
! Fit before self-cal, rms=0.059410Jy  sigma=1.091677
! Fit after  self-cal, rms=0.055327Jy  sigma=1.039261
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.055327Jy  sigma=1.039261
! Fit after  self-cal, rms=0.055322Jy  sigma=1.039236
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.611 mas, bmaj=7.103 mas, bpa=-1.712 degrees
! Estimated noise=0.68523 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.00124313 Jy
! Component: 100  -  total flux cleaned = 0.00133926 Jy
! Component: 150  -  total flux cleaned = 0.00146454 Jy
! Component: 200  -  total flux cleaned = 0.00160575 Jy
! Total flux subtracted in 200 components = 0.00160575 Jy
! Clean residual min=-0.002272 max=0.002785 Jy/beam
! Clean residual mean=-0.000015 rms=0.000672 Jy/beam
! Combined flux in latest and established models = 0.221661 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 51 components and 0.221661 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055290Jy  sigma=1.037557
! Fit after  self-cal, rms=0.055281Jy  sigma=1.037395
! 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.055281Jy  sigma=1.037395
! Fit after  self-cal, rms=0.053242Jy  sigma=0.995323
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.00080449 Jy
! Component: 100  -  total flux cleaned = 0.000859549 Jy
! Component: 150  -  total flux cleaned = 0.000930872 Jy
! Component: 200  -  total flux cleaned = 0.000991089 Jy
! Total flux subtracted in 200 components = 0.000991089 Jy
! Clean residual min=-0.002261 max=0.002683 Jy/beam
! Clean residual mean=-0.000016 rms=0.000661 Jy/beam
! Combined flux in latest and established models = 0.222652 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 52 components and 0.222652 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.053229Jy  sigma=0.994720
! Fit after  self-cal, rms=0.053131Jy  sigma=0.991094
! 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.611 x 7.103 at -1.712 degrees (North through East)
! Clean map  min=-0.0021626  max=0.18981 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.053131Jy  sigma=0.991094
! Fit after  self-cal, rms=0.052486Jy  sigma=0.972832
! 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.052486Jy  sigma=0.972832
! Fit after  self-cal, rms=0.052533Jy  sigma=0.972207
! Inverting map and beam 
! Estimated beam: bmin=3.595 mas, bmaj=7.085 mas, bpa=-1.391 degrees
! Estimated noise=0.686042 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0010428 Jy
! Component: 100  -  total flux cleaned = 0.00115919 Jy
! Component: 150  -  total flux cleaned = 0.0011822 Jy
! Component: 200  -  total flux cleaned = 0.00118212 Jy
! Total flux subtracted in 200 components = 0.00118212 Jy
! Clean residual min=-0.002001 max=0.002308 Jy/beam
! Clean residual mean=-0.000014 rms=0.000625 Jy/beam
! Combined flux in latest and established models = 0.223834 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 64 components and 0.223834 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052497Jy  sigma=0.971592
! Fit after  self-cal, rms=0.052525Jy  sigma=0.971377
! 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.052525Jy  sigma=0.971377
! Fit after  self-cal, rms=0.051607Jy  sigma=0.950792
! 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.051607Jy  sigma=0.950792
! Fit after  self-cal, rms=0.051627Jy  sigma=0.950698
! Inverting map and beam 
! Estimated beam: bmin=3.584 mas, bmaj=7.097 mas, bpa=-1.511 degrees
! Estimated noise=0.688118 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000955193 Jy
! Component: 100  -  total flux cleaned = 0.00111223 Jy
! Component: 150  -  total flux cleaned = 0.00119207 Jy
! Component: 200  -  total flux cleaned = 0.00122515 Jy
! Total flux subtracted in 200 components = 0.00122515 Jy
! Clean residual min=-0.002265 max=0.002299 Jy/beam
! Clean residual mean=-0.000024 rms=0.000637 Jy/beam
! Combined flux in latest and established models = 0.225059 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 67 components and 0.225059 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051591Jy  sigma=0.950161
! Fit after  self-cal, rms=0.051593Jy  sigma=0.950073
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.424 mas, bmaj=10.49 mas, bpa=0.2048 degrees
! Estimated noise=0.848583 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.000791301 Jy
! Component: 100  -  total flux cleaned = -0.000939579 Jy
! Component: 150  -  total flux cleaned = -0.00101586 Jy
! Component: 200  -  total flux cleaned = -0.00104653 Jy
! Total flux subtracted in 200 components = -0.00104653 Jy
! Clean residual min=-0.002132 max=0.002732 Jy/beam
! Clean residual mean=-0.000048 rms=0.000798 Jy/beam
! Combined flux in latest and established models = 0.224013 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 74 components and 0.224013 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051608Jy  sigma=0.950413
! Fit after  self-cal, rms=0.051587Jy  sigma=0.950159
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.809 mas, bmaj=5.87 mas, bpa=1.357 degrees
! Estimated noise=1.01383 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.160417 Jy
! Component: 100  -  total flux cleaned = 0.196181 Jy
! Component: 150  -  total flux cleaned = 0.210605 Jy
! Component: 200  -  total flux cleaned = 0.217555 Jy
! Total flux subtracted in 200 components = 0.217555 Jy
! Clean residual min=-0.003793 max=0.003782 Jy/beam
! Clean residual mean=0.000003 rms=0.001009 Jy/beam
! Combined flux in latest and established models = 0.217555 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 29 model components to the UV plane model.
! The established model now contains 29 components and 0.217555 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.584 mas, bmaj=7.097 mas, bpa=-1.511 degrees
! Estimated noise=0.688118 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.00443866 Jy
! Component: 100  -  total flux cleaned = 0.006395 Jy
! Component: 150  -  total flux cleaned = 0.00688699 Jy
! Component: 200  -  total flux cleaned = 0.00702618 Jy
! Total flux subtracted in 200 components = 0.00702618 Jy
! Clean residual min=-0.002098 max=0.002382 Jy/beam
! Clean residual mean=-0.000024 rms=0.000642 Jy/beam
! Combined flux in latest and established models = 0.224581 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 41 components and 0.224581 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.424 mas, bmaj=10.49 mas, bpa=0.2048 degrees
! Estimated noise=0.848583 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.000506595 Jy
! Component: 100  -  total flux cleaned = -0.000615654 Jy
! Component: 150  -  total flux cleaned = -0.000637295 Jy
! Component: 200  -  total flux cleaned = -0.000652191 Jy
! Total flux subtracted in 200 components = -0.000652191 Jy
! Clean residual min=-0.002117 max=0.002781 Jy/beam
! Clean residual mean=-0.000048 rms=0.000795 Jy/beam
! Combined flux in latest and established models = 0.223929 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 46 components and 0.223929 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.584 mas, bmaj=7.097 mas, bpa=-1.511 degrees
! Estimated noise=0.688118 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000613524 Jy
! Component: 100  -  total flux cleaned = 0.000679662 Jy
! Component: 150  -  total flux cleaned = 0.000658416 Jy
! Component: 200  -  total flux cleaned = 0.000658681 Jy
! Total flux subtracted in 200 components = 0.000658681 Jy
! Clean residual min=-0.002121 max=0.002398 Jy/beam
! Clean residual mean=-0.000024 rms=0.000635 Jy/beam
! Combined flux in latest and established models = 0.224588 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 56 components and 0.224588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051593Jy  sigma=0.950183
! Fit after  self-cal, rms=0.051583Jy  sigma=0.950065
wmodel J1312+2531_S_2004_05_08_yyk\_map.mod
! Writing 56 model components to file: J1312+2531_S_2004_05_08_yyk_map.mod
wobs J1312+2531_S_2004_05_08_yyk\_uvs.fits
! Writing UV FITS file: J1312+2531_S_2004_05_08_yyk_uvs.fits
wwins J1312+2531_S_2004_05_08_yyk\_map.win
! wwins: Wrote 1 windows to J1312+2531_S_2004_05_08_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.00068488 Jy
! Component: 100  -  total flux cleaned = 0.00109725 Jy
! Component: 150  -  total flux cleaned = 0.0013069 Jy
! Component: 200  -  total flux cleaned = 0.00153982 Jy
! Component: 250  -  total flux cleaned = 0.00166732 Jy
! Component: 300  -  total flux cleaned = 0.00182007 Jy
! Component: 350  -  total flux cleaned = 0.00196908 Jy
! Component: 400  -  total flux cleaned = 0.00214259 Jy
! Component: 450  -  total flux cleaned = 0.00225498 Jy
! Component: 500  -  total flux cleaned = 0.0022555 Jy
! Component: 550  -  total flux cleaned = 0.00233658 Jy
! Component: 600  -  total flux cleaned = 0.00228424 Jy
! Component: 650  -  total flux cleaned = 0.00225865 Jy
! Component: 700  -  total flux cleaned = 0.00225887 Jy
! Component: 750  -  total flux cleaned = 0.00223379 Jy
! Component: 800  -  total flux cleaned = 0.00218415 Jy
! Component: 850  -  total flux cleaned = 0.00218381 Jy
! Component: 900  -  total flux cleaned = 0.00220719 Jy
! Component: 950  -  total flux cleaned = 0.00213618 Jy
! Component: 1000  -  total flux cleaned = 0.00215949 Jy
! Component: 1050  -  total flux cleaned = 0.00211374 Jy
! Component: 1100  -  total flux cleaned = 0.00211408 Jy
! Component: 1150  -  total flux cleaned = 0.00204686 Jy
! Component: 1200  -  total flux cleaned = 0.00200289 Jy
! Component: 1250  -  total flux cleaned = 0.00195981 Jy
! Component: 1300  -  total flux cleaned = 0.00198088 Jy
! Component: 1350  -  total flux cleaned = 0.00195962 Jy
! Component: 1400  -  total flux cleaned = 0.0020016 Jy
! Component: 1450  -  total flux cleaned = 0.00204284 Jy
! Component: 1500  -  total flux cleaned = 0.00208364 Jy
! Component: 1550  -  total flux cleaned = 0.00212381 Jy
! Component: 1600  -  total flux cleaned = 0.00212351 Jy
! Component: 1650  -  total flux cleaned = 0.0021433 Jy
! Component: 1700  -  total flux cleaned = 0.00218236 Jy
! Component: 1750  -  total flux cleaned = 0.00224019 Jy
! Component: 1800  -  total flux cleaned = 0.00222104 Jy
! Component: 1850  -  total flux cleaned = 0.00222102 Jy
! Component: 1900  -  total flux cleaned = 0.00220204 Jy
! Component: 1950  -  total flux cleaned = 0.00220199 Jy
! Component: 2000  -  total flux cleaned = 0.00212836 Jy
! Total flux subtracted in 2048 components = 0.00212823 Jy
! Clean residual min=-0.000978 max=0.001298 Jy/beam
! Clean residual mean=-0.000007 rms=0.000383 Jy/beam
! Combined flux in latest and established models = 0.226716 Jy
keep
! Adding 134 model components to the UV plane model.
! The established model now contains 190 components and 0.226716 Jy
![Exited script file: muppet]
wmap "J1312+2531_S_2004_05_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.584 x 7.097 at -1.511 degrees (North through East)
! Clean map  min=-0.0016612  max=0.19064 Jy/beam
! Writing clean map to FITS file: J1312+2531_S_2004_05_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.190641 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000380113 
device "J1312+2531_S_2004_05_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1312+2531_S_2004_05_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.598159 0.598159 1.19632 2.39263 4.78527 9.57054 19.1411 38.2822 76.5643
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.19 
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.584 x 7.097 at -1.511 degrees (North through East)
! Clean map  min=-0.0016612  max=0.19064 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1312+2531_S_2004_05_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1312+2531_S_2004_05_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1312+2531_S_2004_05_08_yyk_uvs.log closed on Wed Dec  7 00:26:22 2005