The error message is pretty descriptive. You're trying to assign a parent context to a context that already has a persistent store coordinator. You can't do both. A managed object context may have either a persistent store coordinator or a parent context but not both. With nested contexts, only the root context has a persistent store coordinator of its own. Its child contexts (and their child contexts, etc) have parent contexts instead.
If you want to create a parent context, don't assign a value for the persistent store coordinator.
If you want to assign a value for the persistent store coordinator, don't set its parent context.