The gunman in the California mass shooting a compiled a list of nationwide religious institutions, federal buildings, courthouses and both major political parties, prompting the FBI to open a domestic terrorism investigation into the case.