A proper nonlocal formulation of quantum maximum entropy principle in statistical mechanics