A cattle farmer who murdered three members of a neighbouring family and tried to kill a fourth will serve at least 40 years behind bars over the mass shooting at a remote property.