/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 1 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 = 7463
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin439
RA = 200.976, Dec = 14.0871
tmin = 353116801, tmax = 353376001
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='527832', job_status='RUN', time_executed='2021-09-07 14:56:28.716553', time_epoch_executed='1631051788.72' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/527832

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/527832/ft1_4FGL_J1323.9+1405_daily_bin439.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/527832/ft1_4FGL_J1323.9+1405_daily_bin439.fits outfile=/scratch/kocevski/527832/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin439.fits ra=200.976 dec=14.0871 rad=12.0 tmin=353116801.0 tmax=353376001.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.46
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/527832/ft1_filtered_4FGL_J1323.9+1405_daily_bin439.fits" evtable="EVENTS" scfile=/scratch/kocevski/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits sctable="SC_DATA" outfile=/scratch/kocevski/527832/ltcube_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.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/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits
.....................!
real 14.77
user 14.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/527832/ft1_filtered_4FGL_J1323.9+1405_daily_bin439.fits evtable="EVENTS" scfile=/scratch/kocevski/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits sctable="SC_DATA" expcube=/scratch/kocevski/527832/ltcube_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.fits outfile=/scratch/kocevski/527832/expmap_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.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/527832/ltcube_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.fits
.....................!
real 190.96
user 185.81
sys 4.64

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/527832/ft1_filtered_4FGL_J1323.9+1405_daily_bin439.fits scfile=/scratch/kocevski/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits outfile=/scratch/kocevski/527832/cmap_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/527832/ft1_filtered_4FGL_J1323.9+1405_daily_bin439.fits scfile=/scratch/kocevski/527832/ft2_4FGL_J1323.9+1405_daily_bin439.fits outfile=/scratch/kocevski/527832/cmap_HighResolution_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .53263E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.082       1.0000         .10000E-03   10000.    
     6 'norm      '    10.036       1.0000         .10000E-03   10000.    
     7 'norm      '    14.251       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.9449       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11998E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0480       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .82424       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=   6899.252     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1375 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.601        .28511E-05** at limit **
   2  Prefactor     .10000E-03    2.3401       -.11602E-08** at limit **
   3  Prefactor     .10000E-03    4.1499       -.17802E-07** at limit **
   4  Prefactor     .10015E-03    50.911       -.96728E-05** at limit **
   5  norm          20.083        7.0184        .22045E-07    .22551E-04
   6  norm          10.036        14.519       -.54886E-07    .78615E-06
   7  norm          14.250        8.8847        .64209E-06    .38018E-04
   8  Prefactor     .10000E-03    2.0981       -.35637E-08** at limit **
   9  Prefactor     .10000E-03    15.410       -.15919E-05** at limit **
  10  norm          7.9451        12.271       -.24553E-05   -.66777E-04
  11  Prefactor     .10000E-03    53.331        .90492E-06** at limit **
  12  Prefactor     .10001E-03    6.2769        .27399E-05** at limit **
  13  Prefactor     4.0487        3.1174        .46849E-07    .94852E-04
  14  Prefactor     .10000E-03    9.6724       -.13810E-05** at limit **
  15  Prefactor     .10000E-03    15.379       -.10995E-05** at limit **
  16  Normalizat    1.3840        .18749        .11953E-06    .29089E-03
  17  Prefactor     .82408        .14671        .27739E-06    .29792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100149
  norm       = 20.083
  norm       = 10.0364
  norm       = 14.2499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.94514
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 4.04872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.384
  Prefactor  = 0.824078
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.252     FROM HESSE     STATUS=OK           223 CALLS     1598 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3436        .12408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1585        .16521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10015E-03    91.244        .48127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.083        7.0211        .89377E-04   -1.4811    
   6  norm          10.036        14.512        .12649E-03   -1.5074    
   7  norm          14.250        8.8893        .10610E-03   -1.4953    
   8  Prefactor     .10000E-03    2.0992        .11750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.9451        12.349        .71126E-03   -1.5144    
  11  Prefactor     .10000E-03    53.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    10.099        .21908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.0487        3.1182        .12514E-03   -1.5306    
  14  Prefactor     .10000E-03    9.7106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3840        .21878        .24618E-03   -.81092    
  17  Prefactor     .82408        .17387        .24963E-03   -.98847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93069e-09
Minuit parameter uncertainties:
  1  8.85413e-05
  2  9.99859e-08
  3  2.16545e-06
  4  0.00738185
  5  7.02139
  6  14.5175
  7  8.89016
  8  4.78143e-07
  9  3.96817e-05
  10  12.3526
  11  7.10016e-05
  12  0.000735644
  13  3.11836
  14  1.28254e-05
  15  1.95095e-05
  16  0.218933
  17  0.17399
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  3.968e-05  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:  8.241e-01  1.740e-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.384e+00  2.189e-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: 4.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/527832/likelihoodResults_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.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) = 6899.25240143
delta logL = -0.000308488055452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6899.25209427
delta logL = -1.32059631142e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6760       1.0000          .0000       10.000    
     3 'Normalizat'    1.3840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82408       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=   6899.252     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9455        .90712E-02** at limit **
   2  Index         2.6565        2.5058        .50000        .15426E-04
   3  Normalizat    1.3840        .28147E-02    .55675E-01    .11593E-03
   4  Prefactor     .82408        .22810E-02    .44030E-01    .89811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.65653
  Normalizat = 1.384
  Prefactor  = 0.824077
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.252     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1999.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6565        6.2778        .50000       -.48781    
   3  Normalizat    1.3840        .98205E-01    .24618E-03   -.81092    
   4  Prefactor     .82408        .79181E-01    .24963E-03   -.98847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.02043e-07
Minuit parameter uncertainties:
  1  0.00239087
  2  61.1757
  3  0.0982184
  4  0.0791921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/527832': 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) = 6899.25209415
delta logL = -1.20712502394e-06

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  2.391e-03  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.657e+00  6.118e+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:  8.241e-01  7.919e-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.384e+00  9.822e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/527832/cmap_HighResolution_353116801_353376001_4FGL_J1323.9+1405_daily_bin439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.53e-08', time_completed='2021-09-07 15:05:35.683613', job_id='527832', GAL2='0.82', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631052335.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-1.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='439' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:05:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 527832: <4FGL_J1323.9+1405_daily_bin439> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin439> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 14:55:44 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:56:15 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:56:15 2021
Terminated at Tue Sep  7 15:05:36 2021
Results reported at Tue Sep  7 15:05:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin439 200.976 14.0871 353116801 353376001 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 :                                   545.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            592 sec.

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

