This script must be run on sxadsec or dxadsec. It will analyze one day at a time. Change the timestamp and the output file in the example.
Example:
./analyse_uao.py --day=20210518 --side=L --html --adseclogdir=/local/aolog > output/20210518_SX.html