/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 3 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7417
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin275
RA = 351.359, Dec = -35.9878
tmin = 310608001, tmax = 310867201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='864357', job_status='RUN', time_executed='2021-09-29 17:25:54.813099', time_epoch_executed='1632961554.81' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864357

Creating custom pfile directory:
/scratch/kocevski/864357/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=310608001.0 && nMetStart<310867201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=310608001.0 && nMetStart<310867201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864357/ft1_4FGL_J2325.4-3559_daily_bin275.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=310608001.0 && nMetStart<310867201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864357/ft1_4FGL_J2325.4-3559_daily_bin275.fits outfile=/scratch/kocevski/864357/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin275.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=310608001.0 tmax=310867201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.61
user 3.38
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/864357/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin275.fits evtable="EVENTS" outfile="/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/864357/ltcube_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits
.....................!
real 12.08
user 11.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/864357/ltcube_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits outfile=/scratch/kocevski/864357/expmap_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/864357/ltcube_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits
.....................!
real 190.74
user 185.53
sys 4.87

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits outfile=/scratch/kocevski/864357/cmap_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits outfile=/scratch/kocevski/864357/cmap_HighResolution_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864357/Model_4FGL_J2325.4-3559_daily_bin275.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits.....................!
real 40.36
user 39.03
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits', '/scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits', expMap='/scratch/kocevski/864357/expmap_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits', expCube='/scratch/kocevski/864357/ltcube_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/864357/Model_4FGL_J2325.4-3559_daily_bin275.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/864357/ft1_filtered_4FGL_J2325.4-3559_daily_bin275.fits
Spacecraft file(s): /scratch/kocevski/864357/ft2_4FGL_J2325.4-3559_daily_bin275.fits
Exposure map: /scratch/kocevski/864357/expmap_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits
Exposure cube: /scratch/kocevski/864357/ltcube_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/864357/Model_4FGL_J2325.4-3559_daily_bin275.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5106.74551785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5106.72438828

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.607       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.508       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3886       1.0000         .10000E-03   10000.    
     9 'norm      '    6.6331       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3524       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3234       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    28.140       1.0000         .10000E-03   10000.    
    16 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    33.707       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.225       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.581       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1687       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5176       1.0000         .10000E-03   10000.    
    22 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    102.31       1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.725       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.4463       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.2409       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .99606       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .66299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5106.724     FROM MIGRAD    STATUS=CONVERGED    707 CALLS     3689 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.741        .68563E-06** at limit **
   2  Prefactor     .10000E-03    2.3635        .34445E-06** at limit **
   3  Prefactor     .10000E-03    13.328       -.12822E-06** at limit **
   4  Prefactor     .10000E-03    27.871       -.42009E-06** at limit **
   5  Prefactor     33.604        19.791        .23473E-06   -.54254E-04
   6  Prefactor     40.353        22.298        .42789E-06   -.57740E-04
   7  Prefactor     11.504        10.426        .11678E-06   -.12867E-03
   8  Prefactor     6.3880        5.9632        .30334E-06   -.72958E-04
   9  norm          6.6330        4.1521        .17451E-06   -.27960E-03
  10  Prefactor     .10000E-03    7.9644       -.10534E-07** at limit **
  11  Prefactor     .10000E-03    19.079        .36215E-06** at limit **
  12  norm          2.3520        .75851       -.52686E-07   -.24431E-02
  13  Prefactor     8.3040        59.171        .30770E-05   -.43058E-04
  14  Prefactor     .10000E-03    9.8559        .39217E-06** at limit **
  15  norm          28.139        14.302        .71026E-07   -.70533E-04
  16  norm          .10000E-03    4.6215        .71479E-06** at limit **
  17  norm          33.707        12.984       -.59162E-06   -.23484E-03
  18  Prefactor     28.242        40.068       -.22144E-04   -.17405E-03
  19  Prefactor     20.557        44.654        .18402E-05   -.11047E-03
  20  norm          1.1609        8.9128        .26026E-04   -.15172E-03
  21  Prefactor     1.5092        52.640        .35100E-05    .16442E-04
  22  norm          .10000E-03    2.0976        .49466E-06** at limit **
  23  Prefactor     102.07        130.26        .13148E-04   -.25922E-03
  24  Prefactor     24.725        33.547        .46500E-07   -.38459E-04
  25  Prefactor     8.4443        6.0562       -.17403E-07   -.14116E-03
  26  Prefactor     2.2385        6.1194        .66682E-06   -.32065E-04
  27  Prefactor     .10000E-03    39.262        .27896E-06** at limit **
  28  Normalizat    .99675        .19128        .43286E-05   -.18531E-03
  29  Prefactor     .66238        .19517       -.10301E-04   -.44294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.6038
  Prefactor  = 40.3532
  Prefactor  = 11.5037
  Prefactor  = 6.38802
  norm       = 6.63299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.35204
  Prefactor  = 8.30396
  Prefactor  = 0.0001
  norm       = 28.1385
  norm       = 0.0001
  norm       = 33.7071
  Prefactor  = 28.2423
  Prefactor  = 20.5572
  norm       = 1.16085
  Prefactor  = 1.50925
  norm       = 0.0001
  Prefactor  = 102.074
  Prefactor  = 24.7248
  Prefactor  = 8.44429
  Prefactor  = 2.23852
  Prefactor  = 0.0001
  Normalizat = 0.99675
  Prefactor  = 0.662377
 **********
 **   18 **HESSE 
 **********

 FCN=   5106.724     FROM HESSE     STATUS=OK           539 CALLS     4228 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4321        .21453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.604        19.794        .69124E-04   -1.4548    
   6  Prefactor     40.353        22.305        .63096E-04   -1.4437    
   7  Prefactor     11.504        10.442        .11809E-03   -1.5029    
   8  Prefactor     6.3880        5.9605        .15880E-03   -1.5202    
   9  norm          6.6330        4.1565        .11011E-03   -1.5193    
  10  Prefactor     .10000E-03    7.9806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3520        .75437        .33227E-04   -1.5401    
  13  Prefactor     8.3040        59.425        .13896E-03   -1.5132    
  14  Prefactor     .10000E-03    9.9471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.139        14.293        .75524E-04   -1.4647    
  16  norm          .10000E-03    4.7182        .15008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.707        12.986        .69021E-04   -1.4546    
  18  Prefactor     28.242        40.996        .75409E-04   -1.4645    
  19  Prefactor     20.557        44.816        .88288E-04   -1.4801    
  20  norm          1.1609        9.4414        .15335E-02   -1.5492    
  21  Prefactor     1.5092        53.418        .34694E-03   -1.5462    
  22  norm          .10000E-03    2.1133        .10098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     102.07        131.16        .19875E-03   -1.3684    
  24  Prefactor     24.725        33.548        .80559E-04   -1.4713    
  25  Prefactor     8.4443        6.0705        .13794E-03   -1.5127    
  26  Prefactor     2.2385        6.1133        .27455E-03   -1.5409    
  27  Prefactor     .10000E-03    39.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .99675        .22897        .22674E-03   -.93139    
  29  Prefactor     .66238        .22940        .29375E-03   -1.0502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57426e-09
Minuit parameter uncertainties:
  1  4.58339e-06
  2  2.55544e-05
  3  0.000122317
  4  0.000193002
  5  19.7979
  6  22.3096
  7  10.4437
  8  5.96102
  9  4.15672
  10  1.61496e-05
  11  3.20216e-05
  12  0.754372
  13  44.4904
  14  1.27408e-05
  15  14.2949
  16  1.28055e-05
  17  12.9867
  18  41.0371
  19  44.8895
  20  6.62234
  21  17.9747
  22  1.25982e-05
  23  131.539
  24  33.5736
  25  6.07099
  26  6.11504
  27  1.4491e-05
  28  0.229192
  29  0.229727
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5106.72438212

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.371e+01  1.299e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  6.624e-01  2.297e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.967e-01  2.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.90
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 4.04e-08
Energy Flux (Fixed Index): 4.21e-05 +/- 1.62e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5106.72119295
delta logL = 0.00318916358265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5106.72083162
delta logL = 0.00355049395421

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.452       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1624       1.0000          .0000       5.0000    
     3 'Normalizat'    .99343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5106.721     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.452        23.244        .17321E-02    .28937E-02
   2  alpha         2.1623        .66477        .23886        .14570E-04
   3  Normalizat    .99344        .18567        .46085E-01    .88522E-05
   4  Prefactor     .66489        .19913        .66273E-01    .20313E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.4521
  alpha      = 2.1623
  Normalizat = 0.99344
  Prefactor  = 0.664894
 **********
 **   18 **HESSE 
 **********

 FCN=   5106.721     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.452        13.196        .69283E-04   -1.4551    
   2  alpha         2.1623        .39892        .10011E-01   -.13549    
   3  Normalizat    .99344        .21415        .22706E-03   -.93251    
   4  Prefactor     .66489        .22903        .29324E-03   -1.0492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10385e-09
Minuit parameter uncertainties:
  1  13.1975
  2  0.400668
  3  0.214337
  4  0.229356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864357': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5106.72083132
delta logL = 0.0035507945322

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.345e+01  1.320e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.162e+00  4.007e-01  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  6.649e-01  2.294e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.934e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.69
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.16 +/- 0.40
Photon Flux (Free Index): 1.07e-07 +/- 4.82e-08
Energy Flux (Free Index): 4.15e-05 +/- 1.72e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/864357/cmap_HighResolution_310608001_310867201_4FGL_J2325.4-3559_daily_bin275.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/864357

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='4.15e-05', photon_flux_error='4.04e-08', dlogl='3.55e-03', energy_flux='4.21e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-29 17:36:50.305753', photon_index_error2='0.40', photon_index2='2.16', ts='16.90', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.00', time_epoch_completed='1632962210.31', return_code='0', job_id='864357', GAL2='0.66', EG2='0.99', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='4.82e-08', ts2='16.69', photon_index='2.13' WHERE bin_id='275' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:36:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 864357: <4FGL_J2325.4-3559_daily_bin275> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin275> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:43 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:25:44 2021
Terminated at Wed Sep 29 17:36:51 2021
Results reported at Wed Sep 29 17:36:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin275 351.359 -35.9878 310608001 310867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            668 sec.

The output (if any) is above this job summary.

