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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1050
RA = 200.976, Dec = 14.0871
tmin = 511488001, tmax = 511747201
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='531011', job_status='RUN', time_executed='2021-09-07 15:09:34.874686', time_epoch_executed='1631052574.87' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1050'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531011

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531011/ft1_4FGL_J1323.9+1405_daily_bin1050.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531011/ft1_4FGL_J1323.9+1405_daily_bin1050.fits outfile=/scratch/kocevski/531011/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1050.fits ra=200.976 dec=14.0871 rad=12.0 tmin=511488001.0 tmax=511747201.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.58
user 3.35
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.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/531011/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1050.fits evtable="EVENTS" outfile="/scratch/kocevski/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.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.57
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.fits evtable="EVENTS" scfile=/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits sctable="SC_DATA" expcube=/scratch/kocevski/531011/ltcube_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits outfile=/scratch/kocevski/531011/expmap_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.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/531011/ltcube_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits
.....................!
real 194.91
user 188.65
sys 5.38

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/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.fits scfile=/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits outfile=/scratch/kocevski/531011/cmap_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.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.61
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.fits scfile=/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits outfile=/scratch/kocevski/531011/cmap_HighResolution_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.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.60
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.fits', '/scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits', expMap='/scratch/kocevski/531011/expmap_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits', expCube='/scratch/kocevski/531011/ltcube_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/531011/Model_4FGL_J1323.9+1405_daily_bin1050.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/531011/ft1_filtered_4FGL_J1323.9+1405_daily_bin1050.fits
Spacecraft file(s): /scratch/kocevski/531011/ft2_4FGL_J1323.9+1405_daily_bin1050.fits
Exposure map: /scratch/kocevski/531011/expmap_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits
Exposure cube: /scratch/kocevski/531011/ltcube_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/531011/Model_4FGL_J1323.9+1405_daily_bin1050.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) = 5532.0691898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18031E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1807       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9974       1.0000         .10000E-03   10000.    
     7 'norm      '    4.3492       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3122       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.772       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.912       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .91191       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1493       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1113       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94559       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=   5531.382     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1383 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.883       -.75664E-05** at limit **
   2  Prefactor     .10004E-03    4.7888       -.35635E-06** at limit **
   3  Prefactor     .10000E-03    5.8469        .62811E-07** at limit **
   4  Prefactor     9.1813        12.579       -.53352E-06   -.12226E-03
   5  norm          .10000E-03    1.0178       -.54683E-08** at limit **
   6  norm          8.9966        17.939       -.44786E-06   -.51710E-04
   7  norm          4.3468        6.2219       -.60291E-06   -.40793E-03
   8  Prefactor     5.3110        10.850       -.20628E-05   -.24845E-03
   9  Prefactor     .10000E-03    42.900        .84979E-05** at limit **
  10  norm          13.771        8.7138       -.36993E-06   -.20744E-03
  11  Prefactor     13.914        38.526        .32588E-05    .35080E-04
  12  Prefactor     .91169        3.0447       -.13287E-05   -.12589E-02
  13  Prefactor     8.3998        5.4511        .76654E-06    .19495E-03
  14  Prefactor     .10000E-03    8.9338       -.99173E-09** at limit **
  15  Prefactor     1.1533        35.894        .12485E-04   -.30734E-03
  16  Normalizat    1.1114        .19409       -.45292E-06   -.13806E-03
  17  Prefactor     .94555        .16153       -.23294E-06   -.13728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 9.18127
  norm       = 0.0001
  norm       = 8.99663
  norm       = 4.34676
  Prefactor  = 5.31101
  Prefactor  = 0.000100004
  norm       = 13.7709
  Prefactor  = 13.9143
  Prefactor  = 0.911692
  Prefactor  = 8.39977
  Prefactor  = 0.0001
  Prefactor  = 1.15334
  Normalizat = 1.11141
  Prefactor  = 0.945548
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.382     FROM HESSE     STATUS=OK           237 CALLS     1620 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10004E-03    4.6691        .52233E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8685        .17556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1813        12.660        .13227E-03   -1.5102    
   5  norm          .10000E-03    1.0185        .73272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9966        17.940        .13362E-03   -1.5108    
   7  norm          4.3468        6.2476        .19315E-03   -1.5291    
   8  Prefactor     5.3110        10.970        .17438E-03   -1.5247    
   9  Prefactor     .10000E-03    43.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.771        8.7062        .10793E-03   -1.4966    
  11  Prefactor     13.914        38.468        .10738E-03   -1.4962    
  12  Prefactor     .91169        3.2065        .24035E-03   -1.5517    
  13  Prefactor     8.3998        5.4355        .13433E-03   -1.5128    
  14  Prefactor     .10000E-03    9.0460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1533        25.196        .43192E-03   -1.5493    
  16  Normalizat    1.1114        .23213        .24360E-03   -.89386    
  17  Prefactor     .94555        .19340        .22567E-03   -.94567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31292e-09
Minuit parameter uncertainties:
  1  0.000701353
  2  0.00086892
  3  1.24418e-05
  4  12.6635
  5  6.37101e-07
  6  17.9507
  7  6.24851
  8  10.9745
  9  0.000796949
  10  8.70704
  11  38.5363
  12  3.20709
  13  5.4358
  14  1.95537e-05
  15  10.7861
  16  0.232345
  17  0.193542
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  7.969e-04  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:  9.455e-01  1.935e-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:  1.111e+00  2.323e-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: 6.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/531011/likelihoodResults_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.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) = 5531.38256618
delta logL = -0.000110371584015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5531.38245608
delta logL = -2.72822035186e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8197       1.0000          .0000       10.000    
     3 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94555       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=   5531.382     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    487.02        .90712E-02** at limit **
   2  Index         1.8954        8.3791        .50000       -.21030E-04
   3  Normalizat    1.1114        .15597E-01    .55091E-01   -.72260E-04
   4  Prefactor     .94555        .13513E-01    .45583E-01    .70322E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.89537
  Normalizat = 1.11141
  Prefactor  = 0.94555
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.382     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    902.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8954        8.7912        .50000       -.66992    
   3  Normalizat    1.1114        .21541E-01    .24360E-03   -.89386    
   4  Prefactor     .94555        .18669E-01    .22567E-03   -.94567    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.05829e-09
Minuit parameter uncertainties:
  1  4.30458e-05
  2  17.6513
  3  0.0215415
  4  0.0186687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531011': 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) = 5531.38245572
delta logL = 8.82919266587e-08

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  4.305e-05  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.895e+00  1.765e+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:  9.455e-01  1.867e-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:  1.111e+00  2.154e-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/531011/cmap_HighResolution_511488001_511747201_4FGL_J1323.9+1405_daily_bin1050.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2021-09-07 15:18:10.290275', job_id='531011', GAL2='0.95', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631053090.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1050' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:18:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 531011: <4FGL_J1323.9+1405_daily_bin1050> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1050> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 15:05:55 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:06:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 15:06:13 2021
Terminated at Tue Sep  7 15:18:11 2021
Results reported at Tue Sep  7 15:18:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1050 200.976 14.0871 511488001 511747201 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 :                                   514.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            736 sec.

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

