Field dependence of the superconducting transition and of the onset of magnetism in Y4Co3