Jamaat Salaah and Imaamat

Missing the Jammat Despite making the Effort

Q:  I thought that asar jamaat at a certain musjid is 5 pm. when I reached there namaaz was over as jamaat was at 4:45pm. Will I get the reward as if I read namaaz with jamaat? once I saw that jamaat namaaz was over I went inside the musjid and read my own namaaz, even though if I drove 5 minutes away I would have got another jamaat but I didn’t do that as that would have took up my time. Will I still get the reward of namaaz with jamaat even though I could have made it to catch the jamaat somewhere else?