producing errorbars for all stars