Error analysis for resonant thermonuclear reaction rates