Increase the dimension of the covariance matrix
"\n",
"# set covariance on the spectral model\n",
"covariance = result.parameters.covariance\n",
- "spec.parameters.covariance = covariance[2:6, 2:6]\n",
+ "spec.parameters.covariance = covariance[2:7, 2:7]\n",
"\n",
"energy_range = [0.3, 10] * u.TeV\n",
"spec.plot(energy_range=energy_range, energy_power=2)\n",
