To run the task ekstest
using the input FITS file
'lightcurve.ds' and its associated GTI file 'gti.ds', with the single
distribution Kolmogorov-Smirnov test and and the flare test where the
flare must be at least 3 above the mean and at least 5 bins
wide and then write the results both into a new FITS file called
'test.fit' and also write the results to the screen, a command such
as,
ekstest set=lightcurve.ds newoutset=yes outset=test.fit screen=yes gtiset=gti.ds kstest=yes twodists=no flaretest=yes flarefactor=3 flarebins=5
can be used.