/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 5 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 = 7477
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin394
RA = 351.359, Dec = -35.9878
tmin = 341452801, tmax = 341712001
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='865081', job_status='RUN', time_executed='2021-09-29 17:30:33.401529', time_epoch_executed='1632961833.4' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='394'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865081/ft1_4FGL_J2325.4-3559_daily_bin394.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865081/ft1_4FGL_J2325.4-3559_daily_bin394.fits outfile=/scratch/kocevski/865081/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin394.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=341452801.0 tmax=341712001.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.39
user 3.17
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.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/865081/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin394.fits evtable="EVENTS" outfile="/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.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.49
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits" evtable="EVENTS" scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits sctable="SC_DATA" outfile=/scratch/kocevski/865081/ltcube_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.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/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits
.....................!
real 12.16
user 11.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits sctable="SC_DATA" expcube=/scratch/kocevski/865081/ltcube_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits outfile=/scratch/kocevski/865081/expmap_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.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/865081/ltcube_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits
.....................!
real 195.07
user 189.49
sys 4.78

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/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits outfile=/scratch/kocevski/865081/cmap_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits outfile=/scratch/kocevski/865081/cmap_HighResolution_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865081/Model_4FGL_J2325.4-3559_daily_bin394.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/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits.....................!
real 46.45
user 45.06
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits', '/scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits', expMap='/scratch/kocevski/865081/expmap_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits', expCube='/scratch/kocevski/865081/ltcube_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/865081/Model_4FGL_J2325.4-3559_daily_bin394.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/865081/ft1_filtered_4FGL_J2325.4-3559_daily_bin394.fits
Spacecraft file(s): /scratch/kocevski/865081/ft2_4FGL_J2325.4-3559_daily_bin394.fits
Exposure map: /scratch/kocevski/865081/expmap_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits
Exposure cube: /scratch/kocevski/865081/ltcube_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/865081/Model_4FGL_J2325.4-3559_daily_bin394.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) = 6418.4410304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6336       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5755       1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.260       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2314       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5462       1.0000         .10000E-03   10000.    
     9 'norm      '    .45476       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7213       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .27079       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6505       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2652       1.0000         .10000E-03   10000.    
    20 'norm      '    3.7822       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7741       1.0000         .10000E-03   10000.    
    22 'norm      '    5.0100       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.8268       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .30817E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .55262       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0227       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=   6418.433     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3712 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.636       -.70427E-06** at limit **
   2  Prefactor     1.6336        1.8646        .73056E-07   -.21489E-04
   3  Prefactor     11.832        13.306        .14858E-06   -.95837E-05
   4  Prefactor     .10000E-03    12.893       -.47166E-06** at limit **
   5  Prefactor     7.5767        15.579        .59204E-06    .61598E-05
   6  Prefactor     34.260        20.434        .32718E-06    .15374E-04
   7  Prefactor     8.2332        9.0738        .19366E-06   -.34884E-04
   8  Prefactor     4.5468        5.0647        .19641E-06   -.16219E-05
   9  norm          .45490        2.8996        .19770E-05   -.54649E-05
  10  Prefactor     .10000E-03    4.1490       -.14188E-06** at limit **
  11  Prefactor     .10000E-03    4.9276       -.17598E-06** at limit **
  12  norm          1.7214        .56612       -.48292E-07   -.79826E-03
  13  Prefactor     .10000E-03    8.9256       -.61883E-06** at limit **
  14  Prefactor     .10000E-03    9.6391        .79909E-06** at limit **
  15  norm          .10000E-03    12.366       -.38482E-06** at limit **
  16  norm          .10000E-03    1.3640       -.52458E-07** at limit **
  17  norm          .30242        7.1516       -.89120E-06    .35346E-03
  18  Prefactor     2.6269        78.068       -.10925E-05   -.24709E-04
  19  Prefactor     4.2843        75.374        .39959E-05    .53538E-04
  20  norm          3.7828        4.4469       -.24249E-06    .64038E-04
  21  Prefactor     9.7793        11.973        .24012E-06    .11243E-04
  22  norm          5.0099        3.6118       -.56794E-08    .73744E-04
  23  Prefactor     5.8194        208.76       -.93836E-06   -.53817E-05
  24  Prefactor     .10000E-03    10.611        .73686E-06** at limit **
  25  Prefactor     .10000E-03    1.7212        .15121E-06** at limit **
  26  Prefactor     .10000E-03    1.7857       -.32918E-08** at limit **
  27  Prefactor     .10000E-03    19.045        .10711E-05** at limit **
  28  Normalizat    .55267        .14310       -.67093E-06   -.18661E-04
  29  Prefactor     1.0225        .15421       -.60675E-06   -.13529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.63363
  Prefactor  = 11.8318
  Prefactor  = 0.0001
  Prefactor  = 7.57672
  Prefactor  = 34.2605
  Prefactor  = 8.23316
  Prefactor  = 4.54682
  norm       = 0.4549
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.72138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.302424
  Prefactor  = 2.62694
  Prefactor  = 4.28432
  norm       = 3.7828
  Prefactor  = 9.77929
  norm       = 5.00992
  Prefactor  = 5.81938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.552673
  Prefactor  = 1.02253
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.433     FROM HESSE     STATUS=OK           563 CALLS     4275 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6336        1.8504        .11041E-03   -1.5452    
   3  Prefactor     11.832        13.267        .11645E-03   -1.5020    
   4  Prefactor     .10000E-03    12.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5767        15.579        .14570E-03   -1.5157    
   6  Prefactor     34.260        20.443        .68464E-04   -1.4537    
   7  Prefactor     8.2332        9.0691        .13974E-03   -1.5134    
   8  Prefactor     4.5468        5.0609        .18279E-03   -1.5281    
   9  norm          .45490        2.9515        .25609E-03   -1.5573    
  10  Prefactor     .10000E-03    4.1611        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.0074        .17301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7214        .55972        .31750E-04   -1.5446    
  13  Prefactor     .10000E-03    8.9311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9224        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.3663        .91288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30242        37.920        .37133E-02   -1.5598    
  18  Prefactor     2.6269        77.366        .25040E-03   -1.5384    
  19  Prefactor     4.2843        74.707        .19509E-03   -1.5294    
  20  norm          3.7828        4.3336        .12295E-03   -1.5319    
  21  Prefactor     9.7793        11.975        .12818E-03   -1.5082    
  22  norm          5.0099        3.5982        .11810E-03   -1.5260    
  23  Prefactor     5.8194        210.37        .16638E-03   -1.5225    
  24  Prefactor     .10000E-03    10.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    33.657        .20134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    1.8079        .10452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    19.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .55267        .16646        .24133E-03   -1.1003    
  29  Prefactor     1.0225        .18235        .20993E-03   -.91982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67578e-09
Minuit parameter uncertainties:
  1  1.99815e-05
  2  1.85046
  3  13.2703
  4  1.73076e-05
  5  15.5874
  6  20.4469
  7  9.07062
  8  5.06142
  9  2.31737
  10  1.48737e-05
  11  2.44101e-05
  12  0.559721
  13  1.74634e-05
  14  2.91701e-05
  15  8.37569e-06
  16  3.34203e-06
  17  6.7761
  18  28.5523
  19  35.833
  20  4.33397
  21  11.9782
  22  3.59839
  23  70.2451
  24  2.78447e-05
  25  0.000107674
  26  3.40632e-06
  27  5.78488e-05
  28  0.166607
  29  0.182455
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.024e-01  6.776e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.023e+00  1.825e-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:  5.527e-01  1.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 5.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/865081/likelihoodResults_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.txt

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): 102
logL (Free Index) = 6418.36691352
delta logL = 0.0665535096932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6418.32201687
delta logL = 0.111450156502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4225       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2038       1.0000          .0000       5.0000    
     3 'Normalizat'    .53831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0282       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=   6418.322     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4237        117.22        .90654E-02    .10062E-02
   2  alpha         3.2020        2.8760        .43430        .42346E-04
   3  Normalizat    .53820        .30016E-01    .40088E-01    .39966E-04
   4  Prefactor     1.0283        .35572E-01    .41407E-01    .89073E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4237
  alpha      = 3.20204
  Normalizat = 0.538204
  Prefactor  = 1.02829
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.322     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4237        12.068        .19532E-03   -1.5469    
   2  alpha         3.2020        4.0532        .36447E-01    .28464    
   3  Normalizat    .53820        .15686        .24445E-03   -1.1068    
   4  Prefactor     1.0283        .18098        .20942E-03   -.91792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95924e-08
Minuit parameter uncertainties:
  1  8.29197
  2  3.7858
  3  0.156991
  4  0.181085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865081': 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) = 6418.322016
delta logL = 0.111451022952

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.424e+00  8.292e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.202e+00  3.786e+00  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:  1.028e+00  1.811e-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:  5.382e-01  1.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.359 -35.988

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/865081/cmap_HighResolution_341452801_341712001_4FGL_J2325.4-3559_daily_bin394.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-05', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2021-09-29 17:44:42.632393', job_id='865081', GAL2='1.03', fit_tolerance='1e-08', EG2='0.54', EG='0.55', time_epoch_completed='1632962682.63', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.11e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='394' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:44:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 865081: <4FGL_J2325.4-3559_daily_bin394> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin394> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:17 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:19 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:30:19 2021
Terminated at Wed Sep 29 17:44:43 2021
Results reported at Wed Sep 29 17:44:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin394 351.359 -35.9878 341452801 341712001 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 :                                   846.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            866 sec.

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

