Maximum sentence but they can extend it indefinitely and are expected to. Every five years he'll get something like a parole hearing where they'll assess how dangerous he is to the public and decide whether or not to release him, iirc. Different system.
I guess there was some evidence to him being schizophrenic but not enough to convince the judge that he wasn't mentally capable/liable. Otherwise he would've been in psychiatric care instead.