/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 23 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 = 7340
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1093
RA = 351.35, Dec = -48.0022
tmin = 522633601, tmax = 522892801
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='877132', job_status='RUN', time_executed='2021-09-29 18:10:43.836956', time_epoch_executed='1632964243.84' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877132

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877132/ft1_4FGL_J2325.4-4800_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877132/ft1_4FGL_J2325.4-4800_daily_bin1093.fits outfile=/scratch/kocevski/877132/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1093.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=522633601.0 tmax=522892801.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.60
user 3.35
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.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/877132/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1093.fits evtable="EVENTS" outfile="/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.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.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/877132/ltcube_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.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/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits
.....................!
real 12.04
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/877132/ltcube_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits outfile=/scratch/kocevski/877132/expmap_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.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/877132/ltcube_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits
.....................!
real 191.42
user 185.59
sys 5.15

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits outfile=/scratch/kocevski/877132/cmap_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.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.35 yref=-48.0022 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/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits outfile=/scratch/kocevski/877132/cmap_HighResolution_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.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.35 yref=-48.0022 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877132/Model_4FGL_J2325.4-4800_daily_bin1093.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/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits.....................!
real 37.23
user 35.51
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits', '/scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits', expMap='/scratch/kocevski/877132/expmap_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits', expCube='/scratch/kocevski/877132/ltcube_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877132/Model_4FGL_J2325.4-4800_daily_bin1093.xml', optimizer='MINUIT')

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

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/877132/ft1_filtered_4FGL_J2325.4-4800_daily_bin1093.fits
Spacecraft file(s): /scratch/kocevski/877132/ft2_4FGL_J2325.4-4800_daily_bin1093.fits
Exposure map: /scratch/kocevski/877132/expmap_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits
Exposure cube: /scratch/kocevski/877132/ltcube_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877132/Model_4FGL_J2325.4-4800_daily_bin1093.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) = 4452.8194002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.743       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17170E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.6547       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18168E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    68.328       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .24992       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13627E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.2438       1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.000       1.0000         .10000E-03   10000.    
    25 'norm      '    .48456       1.0000         .10000E-03   10000.    
    26 'norm      '    .90330       1.0000         .10000E-03   10000.    
    27 'Prefactor '    42.058       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    64.163       1.0000         .10000E-03   10000.    
    30 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.6198       1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.0828       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .84729       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.1382       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4452.777     FROM MIGRAD    STATUS=CONVERGED    921 CALLS     4879 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.718        86.584       -.36743E-05   -.99786E-04
   2  Prefactor     .10000E-03    39.480        .20193E-05** at limit **
   3  Prefactor     .10000E-03    25.583       -.70895E-06** at limit **
   4  Prefactor     .10000E-03    11.204        .17753E-07** at limit **
   5  Prefactor     .10000E-03    24.576       -.24398E-06** at limit **
   6  Prefactor     .10000E-03    18.838        .38703E-06** at limit **
   7  Prefactor     .10000E-03    21.408        .67096E-06** at limit **
   8  norm          5.6557        5.7228       -.13481E-05    .47471E-03
   9  Prefactor     .10000E-03    1.9366        .24420E-07** at limit **
  10  Prefactor     .10000E-03    18.520        .31618E-06** at limit **
  11  Prefactor     15.451        7.5038        .48662E-08   -.57701E-05
  12  Prefactor     .10000E-03    10.006        .18251E-06** at limit **
  13  Prefactor     .10006E-03    8.9755       -.15890E-06** at limit **
  14  Prefactor     .10000E-03    31.761       -.16090E-05** at limit **
  15  Prefactor     .10000E-03    5.5703        .28778E-07** at limit **
  16  Prefactor     68.326        48.965       -.20053E-06   -.11998E-04
  17  Prefactor     .10000E-03    15.991       -.10070E-05** at limit **
  18  norm          .10000E-03    7.2929       -.88654E-07** at limit **
  19  norm          .10000E-03    6.4551        .32172E-07** at limit **
  20  norm          .25389        9.8374        .26791E-06   -.98522E-04
  21  Prefactor     .10000E-03    9.1500        .52236E-06** at limit **
  22  Prefactor     .10000E-03    20.832        .61203E-06** at limit **
  23  norm          3.2400        6.3342       -.41688E-06   -.23079E-03
  24  Prefactor     19.962        24.419       -.75961E-06   -.95689E-04
  25  norm          .48503        1.1816        .32269E-06   -.21260E-04
  26  norm          .90446        5.1355        .14557E-05   -.95705E-04
  27  Prefactor     42.059        23.017       -.12708E-06   -.31756E-04
  28  Prefactor     .10000E-03    3.0770        .40360E-07** at limit **
  29  Prefactor     64.155        36.208       -.50263E-06   -.88249E-04
  30  norm          .10000E-03    18.593        .46862E-06** at limit **
  31  Prefactor     4.6195        4.8727        .47426E-06    .23496E-03
  32  Prefactor     3.0836        6.0971        .56472E-06   -.14112E-03
  33  Normalizat    .84698        .22765       -.33701E-07   -.92668E-04
  34  Prefactor     1.1386        .22811       -.30816E-06   -.61295E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.7182
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.65568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4513
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 68.3263
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.25389
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.24005
  Prefactor  = 19.9618
  norm       = 0.485031
  norm       = 0.904464
  Prefactor  = 42.0588
  Prefactor  = 0.0001
  Prefactor  = 64.1546
  norm       = 0.0001
  Prefactor  = 4.61946
  Prefactor  = 3.08365
  Normalizat = 0.846983
  Prefactor  = 1.13856
 **********
 **   18 **HESSE 
 **********

 FCN=   4452.777     FROM HESSE     STATUS=OK           732 CALLS     5611 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.718        89.039        .48066E-04   -1.4036    
   2  Prefactor     .10000E-03    40.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6557        5.8073        .79484E-03   -1.5232    
   9  Prefactor     .10000E-03    1.9594        .90670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.451        7.5283        .10190E-03   -1.4922    
  12  Prefactor     .10000E-03    10.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10006E-03    108.93        .38206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6239        .15378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     68.326        49.015        .48558E-04   -1.4053    
  17  Prefactor     .10000E-03    16.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.3035        .17602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.4891        .16541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .25389        1162.3        .30743E-02   -1.5607    
  21  Prefactor     .10000E-03    23.479        .33695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.2400        93.991        .16434E-03   -1.5348    
  24  Prefactor     19.962        21.898        .89561E-04   -1.4814    
  25  norm          .48503        1.0579        .10192E-02   -1.5569    
  26  norm          .90446        13.840        .27713E-03   -1.5518    
  27  Prefactor     42.059        23.202        .61813E-04   -1.4410    
  28  Prefactor     .10000E-03    3.1100        .11382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     64.155        36.018        .50099E-04   -1.4104    
  30  norm          .10000E-03    18.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     4.6195        4.9278        .14614E-03   -1.5278    
  32  Prefactor     3.0836        6.1126        .21423E-03   -1.5357    
  33  Normalizat    .84698        .30964        .26662E-03   -.98349    
  34  Prefactor     1.1386        .28917        .25037E-03   -.88243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8121e-06
Minuit parameter uncertainties:
  1  89.2095
  2  0.000340986
  3  0.000118985
  4  5.96601e-06
  5  0.000110893
  6  5.89371e-05
  7  2.93661e-05
  8  5.80793
  9  5.76254e-08
  10  3.69715e-05
  11  7.52874
  12  1.76703e-05
  13  0.0050718
  14  0.000259659
  15  1.3618e-06
  16  49.0439
  17  0.000120566
  18  8.73249e-06
  19  3.74853e-07
  20  35.0533
  21  0.000349961
  22  8.51388e-05
  23  34.962
  24  21.9068
  25  1.05795
  26  7.07757
  27  23.2074
  28  4.38651e-07
  29  36.0304
  30  2.49908e-05
  31  4.9282
  32  6.11384
  33  0.310287
  34  0.289569
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  3.500e-04  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.139e+00  2.896e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.470e-01  3.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 8.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877132/likelihoodResults_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.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) = 4452.77690839
delta logL = -0.000202408007681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4451.90348051
delta logL = 0.873225475444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40135E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.2784       1.0000          .0000       10.000    
     3 'Normalizat'    .75940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4451.903     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      318 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38284E-03    .78210E-02    .27573E-03** at limit **
   2  Index         6.2965        2.1839        .93894E-01    .26949E-03
   3  Normalizat    .75892        .48108E-01    .63218E-01    .43864E-04
   4  Prefactor     1.2030        .51927E-01    .55242E-01    .86347E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000382837
  Index      = 6.2965
  Normalizat = 0.758922
  Prefactor  = 1.20295
 **********
 **   18 **HESSE 
 **********

 FCN=   4451.903     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38284E-03    .20484E-01    .13306E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2965        3.8928        .35304E-02    .26230    
   3  Normalizat    .75892        .18504        .27966E-03   -1.0161    
   4  Prefactor     1.2030        .19736        .24426E-03   -.86241    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43065e-09
Minuit parameter uncertainties:
  1  0.00481402
  2  4.52756
  3  0.185193
  4  0.197484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877132': 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): 102
logL (Free Index) = 4451.90345908
delta logL = 0.8732469024

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.828e-04  4.814e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  6.297e+00  4.528e+00  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.203e+00  1.975e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  7.589e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 6.30 +/- 4.53
Photon Flux (Free Index): 7.43e-08 +/- 6.24e-08
Energy Flux (Free Index): 9.12e-06 +/- 8.19e-06

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/877132/cmap_HighResolution_522633601_522892801_4FGL_J2325.4-4800_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.69e-03', comment='SUCCESS', energy_flux2='9.12e-06', dlogl='8.73e-01', photon_flux2='7.43e-08', job_status='DONE', time_completed='2021-09-29 18:23:39.106779', photon_index_error2='4.53', photon_index2='6.30', ts='-0.00', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.85e-08', energy_flux_error2='8.19e-06', EG='0.85', time_epoch_completed='1632965019.11', return_code='0', job_id='877132', GAL2='1.20', EG2='0.76', return_code2='102', photon_flux_error2='6.24e-08', ts2='1.85', photon_index='2.11' WHERE bin_id='1093' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:23:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 877132: <4FGL_J2325.4-4800_daily_bin1093> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1093> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:11 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:12 2021
Terminated at Wed Sep 29 18:23:39 2021
Results reported at Wed Sep 29 18:23:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1093 351.35 -48.0022 522633601 522892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   770.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            808 sec.

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

