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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1086
RA = 356.303, Dec = -15.9182
tmin = 520819201, tmax = 521078401
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='101264', job_status='RUN', time_executed='2021-09-30 04:02:25.331001', time_epoch_executed='1632999745.33' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101264/ft1_4FGL_J2345.2-1555_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101264/ft1_4FGL_J2345.2-1555_daily_bin1086.fits outfile=/scratch/kocevski/101264/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1086.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=520819201.0 tmax=521078401.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.52
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.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/101264/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1086.fits evtable="EVENTS" outfile="/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.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.70
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits" evtable="EVENTS" scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits sctable="SC_DATA" outfile=/scratch/kocevski/101264/ltcube_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.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/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits
.....................!
real 12.05
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/101264/ltcube_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits outfile=/scratch/kocevski/101264/expmap_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.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/101264/ltcube_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits
.....................!
real 191.90
user 186.63
sys 4.90

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

Setting source of interest to:
4FGL J2345.2-1555 @ 356.303 -15.9182

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits outfile=/scratch/kocevski/101264/cmap_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.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=356.303 yref=-15.9182 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits outfile=/scratch/kocevski/101264/cmap_HighResolution_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.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=356.303 yref=-15.9182 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/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101264/Model_4FGL_J2345.2-1555_daily_bin1086.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/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits.....................!
real 61.83
user 60.41
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits', '/scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits', expMap='/scratch/kocevski/101264/expmap_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits', expCube='/scratch/kocevski/101264/ltcube_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101264/Model_4FGL_J2345.2-1555_daily_bin1086.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2345.2-1555'

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.857e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/101264/ft1_filtered_4FGL_J2345.2-1555_daily_bin1086.fits
Spacecraft file(s): /scratch/kocevski/101264/ft2_4FGL_J2345.2-1555_daily_bin1086.fits
Exposure map: /scratch/kocevski/101264/expmap_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits
Exposure cube: /scratch/kocevski/101264/ltcube_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101264/Model_4FGL_J2345.2-1555_daily_bin1086.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) = 7803.71239667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.489       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.363       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.592       1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.814       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8158       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10390E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.941       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7773       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.710       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10951E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8185       1.0000         .10000E-03   10000.    
    18 'norm      '    7.2433       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5865       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .99956       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76452       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7803.687     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2154 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9965        .30711E-07** at limit **
   2  norm          22.486        33.284       -.48061E-05   -.19813E-05
   3  Prefactor     .10000E-03    24.243       -.16715E-04** at limit **
   4  Prefactor     17.359        18.256       -.10358E-05    .44820E-04
   5  Prefactor     .10000E-03    6.8602       -.68960E-07** at limit **
   6  Prefactor     10.592        9.1589       -.39226E-06   -.63305E-04
   7  Prefactor     47.814        34.964       -.69020E-06    .22474E-05
   8  Prefactor     8.8162        10.651       -.12031E-06   -.11047E-04
   9  Prefactor     .10000E-03    2.9933       -.73624E-07** at limit **
  10  norm          15.941        5.6146        .39384E-06    .26593E-04
  11  norm          3.7769        2.3258        .40624E-06   -.12357E-03
  12  Prefactor     .10000E-03    28.151        .17454E-04** at limit **
  13  Prefactor     .10000E-03    6.1214       -.61174E-07** at limit **
  14  Prefactor     41.699        28.106       -.77412E-05   -.36921E-05
  15  Prefactor     .10000E-03    18.806        .29691E-05** at limit **
  16  Prefactor     .10000E-03    54.136       -.45784E-05** at limit **
  17  norm          3.8187        .92659       -.12105E-06   -.11280E-03
  18  norm          7.2421        5.9915        .67372E-06   -.54606E-03
  19  Prefactor     2.5864        5.2999       -.16089E-05   -.74739E-03
  20  Normalizat    .99966        .15267        .18495E-05   -.11958E-03
  21  Prefactor     .76444        .14290       -.83890E-07    .69277E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.4859
  Prefactor  = 0.0001
  Prefactor  = 17.359
  Prefactor  = 0.0001
  Prefactor  = 10.592
  Prefactor  = 47.8136
  Prefactor  = 8.81619
  Prefactor  = 0.0001
  norm       = 15.9411
  norm       = 3.77694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.6993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.81875
  norm       = 7.24205
  Prefactor  = 2.58644
  Normalizat = 0.999663
  Prefactor  = 0.76444
 **********
 **   18 **HESSE 
 **********

 FCN=   7803.687     FROM HESSE     STATUS=OK           319 CALLS     2473 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0000        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.486        33.308        .84463E-04   -1.4759    
   3  Prefactor     .10000E-03    24.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.359        18.251        .96119E-04   -1.4874    
   5  Prefactor     .10000E-03    6.8811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.592        9.1620        .12311E-03   -1.5057    
   7  Prefactor     47.814        34.980        .57989E-04   -1.4324    
   8  Prefactor     8.8162        10.650        .13500E-03   -1.5114    
   9  Prefactor     .10000E-03    3.0012        .14908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.941        5.6128        .10032E-03   -1.4909    
  11  norm          3.7769        2.3191        .99332E-04   -1.5319    
  12  Prefactor     .10000E-03    28.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.699        28.144        .62069E-04   -1.4416    
  15  Prefactor     .10000E-03    18.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    54.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8187        .95800        .32137E-04   -1.5317    
  18  norm          7.2421        6.1861        .14904E-03   -1.5170    
  19  Prefactor     2.5864        5.3696        .25374E-03   -1.5386    
  20  Normalizat    .99966        .17798        .23499E-03   -.93042    
  21  Prefactor     .76444        .16603        .25739E-03   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.506e-10
Minuit parameter uncertainties:
  1  1.79417e-06
  2  33.3358
  3  2.00038e-05
  4  18.2572
  5  4.81372e-06
  6  9.16316
  7  34.9952
  8  10.6526
  9  5.62676e-06
  10  5.61297
  11  2.3192
  12  6.66103e-05
  13  1.51286e-05
  14  28.1534
  15  1.39304e-05
  16  0.000114941
  17  0.958005
  18  6.18666
  19  5.37058
  20  0.178082
  21  0.166139
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.819e+00  9.580e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  7.644e-01  1.661e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  9.997e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 75.18
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 5.48e-08
Energy Flux (Fixed Index): 1.16e-04 +/- 2.90e-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) = 7802.15761054
delta logL = 1.52943736801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7802.15753847
delta logL = 1.52950943137

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7802.158     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2069        8.0887        .56559E-02    .10820E-03
   2  alpha         2.3535        1.7705        .10948        .74075E-04
   3  Normalizat    .94491        .14091        .45473E-01    .14180E-04
   4  Prefactor     .79698        .11885        .43677E-01    .18498E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.20692
  alpha      = 2.35347
  Normalizat = 0.944914
  Prefactor  = 0.796982
 **********
 **   18 **HESSE 
 **********

 FCN=   7802.158     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .40E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2069        .75223        .27524E-04   -1.5350    
   2  alpha         2.3535        .18713        .47634E-03   -.58648E-01
   3  Normalizat    .94491        .17305        .24017E-03   -.94899    
   4  Prefactor     .79698        .16635        .25226E-03   -.99840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9909e-15
Minuit parameter uncertainties:
  1  0.752227
  2  0.187303
  3  0.173147
  4  0.166454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101264': 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) = 7802.15753836
delta logL = 1.52950953977

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.207e+00  7.522e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.353e+00  1.873e-01  0.000e+00  5.000e+00 ( 1.000e+00)
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  7.970e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  9.449e-01  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 80.26
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 2.35 +/- 0.19
Photon Flux (Free Index): 2.69e-07 +/- 5.54e-08
Energy Flux (Free Index): 9.34e-05 +/- 1.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/101264/cmap_HighResolution_520819201_521078401_4FGL_J2345.2-1555_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='9.34e-05', photon_flux_error='5.48e-08', dlogl='1.53e+00', energy_flux='1.16e-04', photon_flux2='2.69e-07', job_status='DONE', time_completed='2021-09-30 04:12:22.497923', photon_index_error2='0.19', photon_index2='2.35', ts='75.18', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.00', time_epoch_completed='1633000342.5', return_code='0', job_id='101264', GAL2='0.80', EG2='0.94', return_code2='0', energy_flux_error='2.90e-05', photon_flux_error2='5.54e-08', ts2='80.26', photon_index='2.03' WHERE bin_id='1086' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:12:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 101264: <4FGL_J2345.2-1555_daily_bin1086> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1086> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:42 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 04:00:44 2021
Terminated at Thu Sep 30 04:12:23 2021
Results reported at Thu Sep 30 04:12:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1086 356.303 -15.9182 520819201 521078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2345.2-1555 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   594.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            701 sec.

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

