Crystal Palace have failed in their bid to sign Wigan centre-back Ivan Ramis after the player failed a medical with the club on deadline day.