Man dies after setting himself ablaze in AP town