test logistic fit.
test2.
add logistic  fit 3
add title.
draw pdf.
add copyfile.
add runtime error handler.