if it's possible, can we replace this `sys.stderr.write` with a
```python
from pyon.util.log import log
log.info('\ntest nan inputs to function:\n') 
```

That way the automatic builds can keep the logging separate from stderr output.