PSX gains 826 points, closing at 41,878 points