docs: def archive_sciobj(pid):
      """Set the status of an object to archived.
  
      Preconditions:
      - The object with the pid is verified to exist.
      - The object is not a replica.
      - The object is not archived.
  
      """
      sciobj_model = d1_gmn.app.model_util.get_sci_model(pid)
      sciobj_model.is_archived = True
      sciobj_model.save()
      _update_modified_timestamp(sciobj_model)