Man gets 45 years in shooting death of neighbor