To analyze the binary log using pt-query-digest, you should convert it to text format using the mysqlbinlog utility:
shell> sudo mysqlbinlog /var/lib/mysql/binlog.000639 > binlog.00063shell> pt-query-digest --type binlog binlog.000639 > binlog_digest