..... it was a nut glued on it.
Looks like someone's bright idea that didn't quite work out. Chisel or grind or file off the epoxy so that the proper oil filter wrench fits on. Buy proper oil filter wrench. Then remove filter. If possible, have the bike warmed up as I've found it makes filter removal easier.