If you are going to use the Nonlinear platform to fit the data using the maximum likelihood method, you need following pieces.
First, the density function of your truncated Cauchy(0, gamma).
Refer to the PDF formula on this page https://en.wikipedia.org/wiki/Truncated_distribution
In your case, b = 2, and a = 0.
On the numerator, it is the Cauch(0, gamma) density function, in your case. Find it in the JMP scripting index:
On the denominator, F function is the Cauchy(0, gamma) distribution, in your case. Find it in the index:
Now you need to piece the information to create a negative log-likelihood loss function formula column.
The formula is something like the following. (Assume your data column is called "Y".)
It is a JSL function "Parameter". The first argument is a list of parameters that we need to fit. In this case, there is only one here: gamma. And the value 1 is an initial value. It should be as close to the final estimate as possible. So, use your best judgement. Or you can trial-and-error it out. Don't worry if it is not close initially. Nonlinear platform allows you to try different values after launching.
The second argument of "Parameter" function call is that negative loglikelihood function. Take a look at it and see how it comes from the density function of your truncation Cauchy.
Name the new column "loss". And configure Nonlinear launch dialog. Click "OK".
After launching, you can click "Go", or change the value of "gamma" then click "Go". If failed, you can change "gamma" and click "Go" again.
Here are the links to a few relevant documentation:
https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formulas-in-jmp.shtml#ww96570
https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/nonlinear-regression.shtml#
https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formula-columns-for-multiple-co...
https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-a-formula-column.shtml