acid phosphatase activity [GO_0003993] - Virtual Fly Brain