Magnet damage to Macbook Pro
Unfortunately, the magnet damaged the data on internal hard disk, which is located near the trackpad inside your MacBook Pro. Data on standard Hard Disks is stored on the disk using patterns of magnetization.

You will have to erase and restore from a backup if you have one.