*-- Author : R. Henderson
SUBROUTINE FPCFIT(IP,Y,W,SLOPE,ZERO,COVSLZ,CHISQ,PBCHI)
**: FPCFIT.......SM. Bug fix. Protect against small Chisq for PROB.
**----------------------------------------------------------------------
C-------------------------------------------------------------
C
C--- Fit four points y(i) with weights w(i) at positions z(i)
C--- Returns SLOPE (dy/dz) ZERO (y(0))
C--- COVSLZ(2,2) their correlation matrix
C--- and CHISQ and probability from chisquare pbchi
C
C-------------------------------------------------------------
C---
*KEEP,FPLGEO.
C---
C---
*KEND.
C---
C
C--- Section of code varies with w(i)
C
C
C--- return slope and constant unphysical if det is 0
C
C
C--- calculate error matrix
C
C
C--- Initialization per fit
C
C
C--- Calculate required sums
C
C
C--- Calculate slopes and data zeros
C
C
C--- Calculate chisquare
C
C
C--- Calculate probability from chisquare
C
* Fix for v. small Chisq...
*