Study of the rare decays of Bs0 and B0 into muon pairs from data collected during the LHC Run 1 with the ATLAS detector