The prison holds convicted insurgents , al-Qaida militants and other criminals from across Iraq .