Command FLIKELIHOOD


            Parameters     Defaults

FLIKELIHOOD anlid         
            evtid         
            /
            PARAMETERS(pp)
            LIMITS(ll)    
            NSTEPS(ns)    
            LOGARITHMIC   

Purpose

  Evaluate likelihood function of the current fit environment vs one or two fit parameters

Function

  The likelihood function values are sent back to the calling package
  where they might be further processed.
  Called from gd: data are stored in datasets,
  from satan: data are stored in analyzers.

Example


     FLIKE x y / PAR(1,2) LIM(0,1,0.5,1.5)

     Calculates the likelihood function for fit parameters 1 and 2
     between limits 0 and 1 ( for fit parameter #1 ) and
     0.5 and 1.5 ( for fit parameter #2 ). A 16 by 16 array is computed
     and stored in dataset x.y (from gd)
     or in analyzer x.y (from satan, respectively).

Parameter ANLID

Specifies destination for likelihood function values.
In general: first level qualifier to be sent back to calling package.
From gd: File name.
From satan: Analyzer identifier.

Parameter EVTID

Specifies destination for likelihood function values.
In general: second level qualifier to be sent back to calling package.
From gd: File name extension.
From satan: Event identifier.

Parameter PARAMETERS(par)

List of up to two fit parameter numbers to be varied by regular increments.
If omitted the likelihood function is evaluated using the first non-fixed fit parameter(s).

Parameter LIMITS(lims)

List of lower and upper limits defining the interval of fit parameter variation.
If omitted the limits of the fit parameters are assumed.

Parameter NSTEPS(nstep)

List of numbers of steps for fit parameter variation.
If omitted, nstep = 16 is assumed.

Parameter LOGARITHMIC

Fit parameters are varied with logarithmic spacing.