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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1377
RA = 351.35, Dec = -48.0022
tmin = 596246401, tmax = 596505601
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='877573', job_status='RUN', time_executed='2021-09-29 18:11:04.094954', time_epoch_executed='1632964264.09' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1377'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877573

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877573/ft1_4FGL_J2325.4-4800_daily_bin1377.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877573/ft1_4FGL_J2325.4-4800_daily_bin1377.fits outfile=/scratch/kocevski/877573/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1377.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=596246401.0 tmax=596505601.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 4.87
user 4.63
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.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/877573/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1377.fits evtable="EVENTS" outfile="/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits" evtable="EVENTS" scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits sctable="SC_DATA" outfile=/scratch/kocevski/877573/ltcube_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.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/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits
.....................!
real 11.58
user 11.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits sctable="SC_DATA" expcube=/scratch/kocevski/877573/ltcube_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits outfile=/scratch/kocevski/877573/expmap_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.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/877573/ltcube_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits
.....................!
real 190.25
user 185.30
sys 4.63

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/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits outfile=/scratch/kocevski/877573/cmap_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits outfile=/scratch/kocevski/877573/cmap_HighResolution_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits evtable="EVENTS" scfile=/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877573/Model_4FGL_J2325.4-4800_daily_bin1377.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/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits.....................!
real 36.62
user 35.36
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits', '/scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits', expMap='/scratch/kocevski/877573/expmap_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits', expCube='/scratch/kocevski/877573/ltcube_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877573/Model_4FGL_J2325.4-4800_daily_bin1377.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/877573/ft1_filtered_4FGL_J2325.4-4800_daily_bin1377.fits
Spacecraft file(s): /scratch/kocevski/877573/ft2_4FGL_J2325.4-4800_daily_bin1377.fits
Exposure map: /scratch/kocevski/877573/expmap_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits
Exposure cube: /scratch/kocevski/877573/ltcube_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877573/Model_4FGL_J2325.4-4800_daily_bin1377.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) = 4364.01713718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8147       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.362       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.910       1.0000         .10000E-03   10000.    
     8 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.2396       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12291E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11572E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.785       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1380       1.0000         .10000E-03   10000.    
    18 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.685       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4045       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    4.2440       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10435E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    11.854       1.0000         .10000E-03   10000.    
    30 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.5780       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .57263       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=   4364.007     FROM MIGRAD    STATUS=CONVERGED    947 CALLS     4867 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.325       -.83406E-06** at limit **
   2  Prefactor     .10000E-03    9.2736       -.27597E-06** at limit **
   3  Prefactor     .10000E-03    15.205       -.10934E-05** at limit **
   4  Prefactor     5.8146        12.847        .15974E-05    .26297E-03
   5  Prefactor     14.363        10.844       -.59671E-07    .16012E-04
   6  Prefactor     .10000E-03    20.015        .23011E-05** at limit **
   7  Prefactor     10.912        10.504       -.38849E-07    .10168E-04
   8  norm          .10000E-03    5.7515       -.39984E-07** at limit **
   9  Prefactor     9.2463        7.2847        .86051E-06    .43700E-03
  10  Prefactor     2.5947        186.52       -.96150E-05   -.97364E-05
  11  Prefactor     .10002E-03    21.215        .53498E-05** at limit **
  12  Prefactor     .10000E-03    21.152       -.37426E-06** at limit **
  13  Prefactor     .10000E-03    11.162       -.19931E-05** at limit **
  14  Prefactor     .10000E-03    87.570       -.24124E-05** at limit **
  15  Prefactor     11.785        9.8958        .44592E-08    .10767E-04
  16  Prefactor     .10000E-03    16.602        .13909E-05** at limit **
  17  Prefactor     1.1762        31.939       -.21909E-05    .31337E-04
  18  norm          .10000E-03    12.578        .92205E-06** at limit **
  19  norm          .10000E-03    7.4969       -.92531E-06** at limit **
  20  norm          .10000E-03    4.1710       -.18200E-07** at limit **
  21  Prefactor     22.673        12.473        .11874E-06    .18016E-03
  22  Prefactor     .10000E-03    174.44        .34896E-05** at limit **
  23  norm          3.4147        8.4521       -.28294E-06   -.15835E-04
  24  Prefactor     .10000E-03    9.0166       -.11209E-06** at limit **
  25  norm          .10000E-03    1.3453       -.17495E-06** at limit **
  26  norm          4.2439        5.1780        .41124E-06    .32452E-03
  27  Prefactor     .10000E-03    7.7152        .10128E-05** at limit **
  28  Prefactor     .10000E-03    5.7158        .19436E-07** at limit **
  29  Prefactor     11.810        28.736       -.14878E-06    .30180E-04
  30  norm          .10000E-03    14.845       -.14345E-05** at limit **
  31  Prefactor     .10000E-03    2.4692        .13098E-08** at limit **
  32  Prefactor     .10000E-03    1.1338       -.22312E-07** at limit **
  33  Normalizat    1.5779        .24120        .35194E-07    .96075E-04
  34  Prefactor     .57252        .23636        .43058E-06    .53768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.81462
  Prefactor  = 14.3625
  Prefactor  = 0.0001
  Prefactor  = 10.9116
  norm       = 0.0001
  Prefactor  = 9.24632
  Prefactor  = 2.59466
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 11.7847
  Prefactor  = 0.0001
  Prefactor  = 1.17617
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.6729
  Prefactor  = 0.0001
  norm       = 3.41474
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.24393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8096
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.57793
  Prefactor  = 0.572519
 **********
 **   18 **HESSE 
 **********

 FCN=   4364.007     FROM HESSE     STATUS=OK           732 CALLS     5599 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8146        13.725        .83276E-03   -1.5226    
   5  Prefactor     14.363        10.837        .10569E-03   -1.4950    
   6  Prefactor     .10000E-03    20.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.912        10.506        .12130E-03   -1.5047    
   8  norm          .10000E-03    5.7900        .15473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2463        7.4057        .65924E-03   -1.5100    
  10  Prefactor     2.5947        188.17        .25426E-03   -1.5386    
  11  Prefactor     .10002E-03    31.963        .37434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    46.434        .39681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    87.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.785        9.8975        .11669E-03   -1.5021    
  16  Prefactor     .10000E-03    16.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1762        153.63        .59415E-02   -1.5491    
  18  norm          .10000E-03    12.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.5900        .17648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.1761        .13164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.673        12.319        .84099E-04   -1.4755    
  22  Prefactor     .10000E-03    175.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4147        8.3341        .21926E-03   -1.5338    
  24  Prefactor     .10000E-03    9.0238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.0391        .13625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          4.2439        5.2473        .76313E-03   -1.5296    
  27  Prefactor     .10000E-03    7.7410        .17912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    5.8939        .30602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     11.810        28.410        .11635E-03   -1.5021    
  30  norm          .10000E-03    14.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    2.4831        .10134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.1349        .68693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.5779        .28402        .21905E-03   -.75612    
  34  Prefactor     .57252        .27393        .35058E-03   -1.0876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24483e-09
Minuit parameter uncertainties:
  1  3.82364e-05
  2  8.64851e-06
  3  4.01658e-05
  4  13.732
  5  10.8387
  6  9.16681e-05
  7  10.5074
  8  4.92021e-06
  9  7.4064
  10  44.3365
  11  0.00153078
  12  3.24812e-05
  13  0.000572138
  14  0.000221478
  15  9.89891
  16  4.94467e-05
  17  26.9545
  18  2.02046e-05
  19  1.90048e-05
  20  1.95517e-06
  21  12.3205
  22  0.000283835
  23  8.33698
  24  5.31216e-06
  25  1.07202e-05
  26  5.24782
  27  1.93267e-05
  28  3.83048e-06
  29  28.4424
  30  5.02377e-05
  31  2.79737e-08
  32  3.38681e-07
  33  0.284306
  34  0.274564
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.267e+01  1.232e+01  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:  5.725e-01  2.746e-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:  1.578e+00  2.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.03
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 9.76e-08 +/- 5.30e-08
Energy Flux (Fixed Index): 5.29e-05 +/- 2.88e-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) = 4363.44853427
delta logL = 0.558706175395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4363.44329364
delta logL = 0.563946799225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.979       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6074       1.0000          .0000       10.000    
     3 'Normalizat'    1.5055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62066       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=   4363.443     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.971        87.322        .28935E-02    .10090E-03
   2  Index         2.6075        2.4205        .71832E-01    .14545E-03
   3  Normalizat    1.5054        .12981        .50429E-01    .11990E-04
   4  Prefactor     .62076        .10431        .76223E-01    .25990E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9708
  Index      = 2.60754
  Normalizat = 1.50537
  Prefactor  = 0.620765
 **********
 **   18 **HESSE 
 **********

 FCN=   4363.443     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.971        13.095        .95035E-04   -1.5016    
   2  Index         2.6075        .57233        .29376E-02   -.49894    
   3  Normalizat    1.5054        .27982        .22294E-03   -.77628    
   4  Prefactor     .62076        .27748        .33748E-03   -1.0672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02089e-11
Minuit parameter uncertainties:
  1  13.0984
  2  0.573964
  3  0.280111
  4  0.278094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877573': 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) = 4363.44329267
delta logL = 0.563947775753

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.197e+01  1.310e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.608e+00  5.740e-01  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:  6.208e-01  2.781e-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:  1.505e+00  2.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.15
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.61 +/- 0.57
Photon Flux (Free Index): 1.54e-07 +/- 8.44e-08
Energy Flux (Free Index): 4.02e-05 +/- 1.96e-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/877573/cmap_HighResolution_596246401_596505601_4FGL_J2325.4-4800_daily_bin1377.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.76e-08', energy_flux2='4.02e-05', photon_flux_error='5.30e-08', dlogl='5.64e-01', energy_flux='5.29e-05', photon_flux2='1.54e-07', job_status='DONE', time_completed='2021-09-29 18:22:30.268519', photon_index_error2='0.57', photon_index2='2.61', ts='11.03', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='1.58', time_epoch_completed='1632964950.27', return_code='0', job_id='877573', GAL2='0.62', EG2='1.51', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='8.44e-08', ts2='12.15', photon_index='2.11' WHERE bin_id='1377' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 877573: <4FGL_J2325.4-4800_daily_bin1377> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1377> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:49 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:50 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:50 2021
Terminated at Wed Sep 29 18:22:31 2021
Results reported at Wed Sep 29 18:22:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1377 351.35 -48.0022 596246401 596505601 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 :                                   677.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            702 sec.

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

