hp_anafast: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/hp_anafast - from package: healpix

You may install the required package with command yum install {package}
Error in other languages:
hp_anafast: bevel nie gevind nie
hp_anafast: comandă negăsită
hp_anafast: comando não encontrado
hp_anafast: commande introuvable
hp_anafast: command not found
hp_anafast: käsku ei ole
hp_anafast: không tìm thấy lệnh
hp_anafast: komanda nerasta
hp_anafast: Kommando nicht gefunden.
hp_anafast: kommandot finns inte
hp_anafast: komut yok
hp_anafast: nie znaleziono polecenia
hp_anafast: níor aimsíodh an t-ordú
hp_anafast: no se encontró la orden
hp_anafast: no s'ha trobat l'ordre
hp_anafast: opdracht niet gevonden
hp_anafast: parancs nem található
hp_anafast: perintah tidak ditemukan
hp_anafast: príkaz nenájdený
hp_anafast: příkaz nenalezen
hp_anafast: команда не найдена
hp_anafast: командата не е открита
hp_anafast: 命令找不到
hp_anafast: コマンドが見つかりません