Police arrest man for carrying prohibited weapon into federal building