The array is still assigned. An assigned array cannot be deleted. Either ranks exist on the array, or a format operation is taking place. If you have already unassigned an array, it will enter an unavailable state, where it cannot be deleted, before it enters an unassigned state.
Delete the ranks on the array, wait for the array to become unassigned, or wait until the format completes, and then resubmit the task.