Parse this person name:

Thomas Bailey (1618-1687, flourished 1640-1661)
user
first_name: Thomas
last_name: Bailey
middle_names: []
temporal:
- start: 1618
  end: 1687
  type: life_span
- start: 1640
  end: 1661
  type: flourished
titles: []
extra_info: []
assistant