I got an error when trying to run fname = 'uncover-61-v3_prism-clear_2561_13416':
ValueError: 'yerr' must not contain negative values
I think the F090W band might be missing for that source, so be sure to check that the photometry is valid in all bands from the query. A simple test for "valid" photometry is ({filter}_tot_1 > -90) & ({filter}_etot_1 > 0).
I got an error when trying to run
fname = 'uncover-61-v3_prism-clear_2561_13416'
:I think the F090W band might be missing for that source, so be sure to check that the photometry is valid in all bands from the query. A simple test for "valid" photometry is
({filter}_tot_1 > -90) & ({filter}_etot_1 > 0)
.