MIAMI (AP) — Every team in NBA history that won at least 30 games in the second half of a season headed to the playoffs.

That is, until now.

Time will tell whether that will be a source of pride or a piece of unwanted history for the Miami Heat, who pulled off a turnaround that defied even their own expectations. They went 30-11 in the final 41 games, a perfect inverse from the 11-30 start to the season and the second-best record in the league in that span, yet wound up missing the playoffs by a game.

“By no means did we think we were a perfect team,” Heat coach Erik Spoelstra said. “But we thought that we had the energy and momentum going in the right direction — that we would find a way.”

They almost did.

After losing Dwyane Wade in free agency and losing Chris Bosh in September after a failed physical, they knew this would be a season…