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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin392
RA = 200.551, Dec = 8.7036
tmin = 340934401, tmax = 341193601
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='511913', job_status='RUN', time_executed='2021-09-07 14:07:58.357255', time_epoch_executed='1631048878.36' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511913

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511913/ft1_4FGL_J1322.2+0842_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511913/ft1_4FGL_J1322.2+0842_daily_bin392.fits outfile=/scratch/kocevski/511913/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin392.fits ra=200.551 dec=8.7036 rad=12.0 tmin=340934401.0 tmax=341193601.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.38
user 3.15
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.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/511913/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin392.fits evtable="EVENTS" outfile="/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/511913/ltcube_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.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/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits
.....................!
real 16.13
user 15.69
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/511913/ltcube_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits outfile=/scratch/kocevski/511913/expmap_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.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/511913/ltcube_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits
.....................!
real 193.02
user 187.20
sys 5.14

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

Setting source of interest to:
4FGL J1322.2+0842 @ 200.551 8.7036

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits outfile=/scratch/kocevski/511913/cmap_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.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.551 yref=8.7036 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits outfile=/scratch/kocevski/511913/cmap_HighResolution_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.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.551 yref=8.7036 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/511913/Model_4FGL_J1322.2+0842_daily_bin392.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/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits.....................!
real 47.45
user 46.01
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits', '/scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits', expMap='/scratch/kocevski/511913/expmap_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits', expCube='/scratch/kocevski/511913/ltcube_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511913/Model_4FGL_J1322.2+0842_daily_bin392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1322.2+0842'

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.652e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/511913/ft1_filtered_4FGL_J1322.2+0842_daily_bin392.fits
Spacecraft file(s): /scratch/kocevski/511913/ft2_4FGL_J1322.2+0842_daily_bin392.fits
Exposure map: /scratch/kocevski/511913/expmap_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits
Exposure cube: /scratch/kocevski/511913/ltcube_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511913/Model_4FGL_J1322.2+0842_daily_bin392.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) = 5877.4105697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.240       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.870       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.510       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15875E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4389       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    19.017       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5655       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9741       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .92076       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2460       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5877.407     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1581 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.240        3.0586       -.38686E-07   -.84987E-04
   2  Prefactor     21.864        46.526       -.11196E-04   -.43663E-05
   3  Prefactor     34.350        61.352        .19615E-04   -.30525E-05
   4  Prefactor     .10000E-03    8.6043       -.46697E-06** at limit **
   5  Prefactor     .10000E-03    5.9114       -.11227E-06** at limit **
   6  Prefactor     20.506        18.813       -.19807E-05   -.18867E-04
   7  Prefactor     .10029E-03    6.8071        .36822E-05** at limit **
   8  Prefactor     6.4201        36.173       -.44880E-04   -.21925E-04
   9  Prefactor     .10000E-03    19.146       -.41152E-05** at limit **
  10  norm          19.015        26.223       -.16639E-05   -.35804E-05
  11  Prefactor     6.5653        4.8533       -.85104E-06   -.32256E-03
  12  Prefactor     .10000E-03    44.929        .17242E-06** at limit **
  13  Prefactor     .10000E-03    1.8654       -.58831E-08** at limit **
  14  Prefactor     6.9727        11.989        .76118E-07   -.55878E-04
  15  Prefactor     .10000E-03    5.5005        .14631E-07** at limit **
  16  Normalizat    .92085        .21185        .80375E-06   -.21597E-03
  17  Prefactor     1.2460        .17417        .60712E-06   -.28339E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.2398
  Prefactor  = 21.8642
  Prefactor  = 34.3503
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 20.5064
  Prefactor  = 0.000100291
  Prefactor  = 6.42005
  Prefactor  = 0.0001
  norm       = 19.0152
  Prefactor  = 6.56525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.9727
  Prefactor  = 0.0001
  Normalizat = 0.920853
  Prefactor  = 1.24604
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.407     FROM HESSE     STATUS=OK           225 CALLS     1806 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.240        3.0592        .66684E-04   -1.5037    
   2  Prefactor     21.864        46.533        .85649E-04   -1.4772    
   3  Prefactor     34.350        61.382        .68387E-04   -1.4535    
   4  Prefactor     .10000E-03    8.6474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.9313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.506        18.816        .88440E-04   -1.4802    
   7  Prefactor     .10029E-03    25.785        .38164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4201        36.449        .15817E-03   -1.5201    
   9  Prefactor     .10000E-03    19.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          19.015        26.233        .91845E-04   -1.4836    
  11  Prefactor     6.5653        4.8572        .13834E-03   -1.5195    
  12  Prefactor     .10000E-03    45.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.8744        .10225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.9727        11.987        .15191E-03   -1.5180    
  15  Prefactor     .10000E-03    5.5120        .17560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .92085        .25377        .30219E-03   -.95731    
  17  Prefactor     1.2460        .20987        .22024E-03   -.84926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11891e-08
Minuit parameter uncertainties:
  1  3.05925
  2  46.6102
  3  61.495
  4  0.000170667
  5  1.67509e-05
  6  18.8216
  7  0.00548361
  8  30.6226
  9  1.55871e-05
  10  26.2492
  11  4.85747
  12  4.04298e-05
  13  2.18205e-07
  14  11.9907
  15  1.32635e-06
  16  0.254097
  17  0.210014
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.003e-04  5.484e-03  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.262e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.246e+00  2.100e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.209e-01  2.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 200.551 8.704
Photon Flux Upper Limit: 7.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511913/likelihoodResults_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.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) = 5877.40740517
delta logL = -0.000183005926374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5877.40722204
delta logL = 1.28627107188e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5877.407     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      234 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .15681        .90712E-01** at limit **
   2  Index         2.1681        8.8929        .50000        .10994E-04
   3  Normalizat    .92085        .81114E-03    .68308E-01   -.30704E-03
   4  Prefactor     1.2460        .67893E-03    .49818E-01   -.34053E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.16808
  Normalizat = 0.920848
  Prefactor  = 1.24605
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.407     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    67.054        .37918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1681        6.3369        .50000       -.60211    
   3  Normalizat    .92085        .76835E-02    .30219E-03   -.95731    
   4  Prefactor     1.2460        .64390E-02    .22024E-03   -.84926    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.81901e-07
Minuit parameter uncertainties:
  1  0.000964737
  2  165.681
  3  0.00768348
  4  0.00643901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511913': 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) = 5877.40722186
delta logL = 3.07244590658e-07

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  9.647e-04  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.168e+00  1.657e+02  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  1.418e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.246e+00  6.439e-03  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.208e-01  7.683e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.551 8.704

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/511913/cmap_HighResolution_340934401_341193601_4FGL_J1322.2+0842_daily_bin392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2021-09-07 14:16:47.841189', job_id='511913', GAL2='1.25', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1631049407.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='3.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='392' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:16:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 511913: <4FGL_J1322.2+0842_daily_bin392> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin392> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:05:17 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:05:20 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:05:20 2021
Terminated at Tue Sep  7 14:16:48 2021
Results reported at Tue Sep  7 14:16:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin392 200.551 8.7036 340934401 341193601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1322.2+0842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   528.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            691 sec.

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

