Any suggestions on continous error "ValueError: shape mismatch: value array of shape (62,) could not be broadcast to indexing result of shape (0,)"

Just out of curiosity, which one gets chosen in building the graph, whatever the initial value for p2 decides?