/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 136 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 = 7653
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin35
RA = 200.976, Dec = 14.0871
tmin = 248400001, tmax = 248659201
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='526066', job_status='RUN', time_executed='2021-09-07 14:55:28.129266', time_epoch_executed='1631051728.13' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526066

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526066/ft1_4FGL_J1323.9+1405_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526066/ft1_4FGL_J1323.9+1405_daily_bin35.fits outfile=/scratch/kocevski/526066/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin35.fits ra=200.976 dec=14.0871 rad=12.0 tmin=248400001.0 tmax=248659201.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 1.47
user 1.29
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.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/526066/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin35.fits evtable="EVENTS" outfile="/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/526066/ltcube_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.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/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits
.....................!
real 16.79
user 16.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/526066/ltcube_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits outfile=/scratch/kocevski/526066/expmap_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.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/526066/ltcube_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits
.....................!
real 192.64
user 186.50
sys 5.17

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

Setting source of interest to:
4FGL J1323.9+1405 @ 200.976 14.0871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits outfile=/scratch/kocevski/526066/cmap_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.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=200.976 yref=14.0871 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits outfile=/scratch/kocevski/526066/cmap_HighResolution_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.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=200.976 yref=14.0871 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526066/Model_4FGL_J1323.9+1405_daily_bin35.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/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits.....................!
real 51.38
user 49.94
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits', '/scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits', expMap='/scratch/kocevski/526066/expmap_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits', expCube='/scratch/kocevski/526066/ltcube_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/526066/Model_4FGL_J1323.9+1405_daily_bin35.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1323.9+1405'

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.083e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/526066/ft1_filtered_4FGL_J1323.9+1405_daily_bin35.fits
Spacecraft file(s): /scratch/kocevski/526066/ft2_4FGL_J1323.9+1405_daily_bin35.fits
Exposure map: /scratch/kocevski/526066/expmap_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits
Exposure cube: /scratch/kocevski/526066/ltcube_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/526066/Model_4FGL_J1323.9+1405_daily_bin35.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) = 6211.00097907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20145E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.436       1.0000         .10000E-03   10000.    
     5 'norm      '    5.9868       1.0000         .10000E-03   10000.    
     6 'norm      '    .11551E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7119       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.970       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16149E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.448       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23570E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.960       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5413       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .95178       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6210.968     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1345 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.643        .14657E-04** at limit **
   2  Prefactor     .10000E-03    4.5222        .21915E-06** at limit **
   3  Prefactor     .10000E-03    4.4421       -.35339E-06** at limit **
   4  Prefactor     18.369        14.338        .49994E-06   -.93477E-04
   5  norm          5.9808        3.7896       -.54777E-07    .46617E-04
   6  norm          .10000E-03    11.921        .11022E-05** at limit **
   7  norm          2.7152        4.5928       -.87481E-06   -.27093E-03
   8  Prefactor     15.005        12.861       -.25929E-05    .11627E-03
   9  Prefactor     .10000E-03    9.0322       -.33176E-06** at limit **
  10  norm          15.448        9.6278       -.19360E-07    .31780E-04
  11  Prefactor     .10000E-03    12.069       -.87770E-07** at limit **
  12  Prefactor     .10000E-03    1.0703       -.19838E-07** at limit **
  13  Prefactor     .10000E-03    1.3839        .13330E-07** at limit **
  14  Prefactor     21.864        15.565       -.32103E-05    .28483E-03
  15  Prefactor     1.4761        16.891       -.14489E-04   -.14318E-03
  16  Normalizat    .95204        .19574        .23451E-05    .78379E-04
  17  Prefactor     1.1032        .16351        .41752E-06    .15487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.3693
  norm       = 5.9808
  norm       = 0.0001
  norm       = 2.71523
  Prefactor  = 15.0052
  Prefactor  = 0.0001
  norm       = 15.4477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.864
  Prefactor  = 1.47608
  Normalizat = 0.952036
  Prefactor  = 1.10324
 **********
 **   18 **HESSE 
 **********

 FCN=   6210.968     FROM HESSE     STATUS=OK           219 CALLS     1564 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.023        .20222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5636        .16362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4651        .16222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.369        14.346        .93280E-04   -1.4851    
   5  norm          5.9808        3.7896        .11899E-03   -1.5219    
   6  norm          .10000E-03    11.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7152        4.5848        .20587E-03   -1.5378    
   8  Prefactor     15.005        12.874        .10352E-03   -1.4933    
   9  Prefactor     .10000E-03    9.0340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.448        9.6208        .10190E-03   -1.4922    
  11  Prefactor     .10000E-03    12.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.0769        .79609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3907        .90531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.864        15.440        .85475E-04   -1.4772    
  15  Prefactor     1.4761        18.961        .34340E-03   -1.5465    
  16  Normalizat    .95204        .22756        .27052E-03   -.94655    
  17  Prefactor     1.1032        .19039        .21875E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82848e-10
Minuit parameter uncertainties:
  1  0.000796047
  2  1.77438e-05
  3  1.07853e-05
  4  14.3486
  5  3.78979
  6  3.83698e-05
  7  4.58537
  8  12.876
  9  4.20068e-06
  10  9.62172
  11  4.05459e-06
  12  1.64572e-06
  13  1.05169e-06
  14  15.4428
  15  10.5846
  16  0.227787
  17  0.190506
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  4.201e-06  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.103e+00  1.905e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.520e-01  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 200.976 14.087
Photon Flux Upper Limit: 3.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526066/likelihoodResults_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.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) = 6210.96898863
delta logL = -0.000525539828232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6210.96846324
delta logL = -1.51954736793e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6210.968     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    582.10        .90712E-02** at limit **
   2  Index         1.8282        5.2259        .50000        .19188E-04
   3  Normalizat    .95204        .39130E-01    .45564E-01    .36594E-04
   4  Prefactor     1.1032        .33961E-01    .37467E-01    .28501E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 1.82823
  Normalizat = 0.952037
  Prefactor  = 1.10324
 **********
 **   18 **HESSE 
 **********

 FCN=   6210.968     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      230 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1606.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8282        5.9127        .50000       -.68717    
   3  Normalizat    .95204        .88307E-01    .27052E-03   -.94655    
   4  Prefactor     1.1032        .76676E-01    .21875E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.01754e-07
Minuit parameter uncertainties:
  1  0.00554279
  2  51.8552
  3  0.088321
  4  0.0766834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526066': 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) = 6210.96846283
delta logL = 2.62362846115e-07

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  5.543e-03  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.828e+00  5.186e+01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.103e+00  7.668e-02  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.520e-01  8.832e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.976 14.087

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/526066/cmap_HighResolution_248400001_248659201_4FGL_J1323.9+1405_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-03', job_status='DONE', photon_flux_upper_limit='3.64e-08', time_completed='2021-09-07 15:04:02.017800', job_id='526066', GAL2='1.10', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1631052242.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.62e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='35' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:04:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 526066: <4FGL_J1323.9+1405_daily_bin35> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin35> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:50:20 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:53:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 14:53:01 2021
Terminated at Tue Sep  7 15:04:02 2021
Results reported at Tue Sep  7 15:04:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin35 200.976 14.0871 248400001 248659201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1323.9+1405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             240.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            822 sec.

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

