State-specific theory and computation of a polyelectronic atomic state in a magnetic field. Application to doubly excited state of H-