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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin377
RA = 200.551, Dec = 8.7036
tmin = 337046401, tmax = 337305601
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='511892', job_status='RUN', time_executed='2021-09-07 14:07:55.996982', time_epoch_executed='1631048876.0' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='377'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511892/ft1_4FGL_J1322.2+0842_daily_bin377.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511892/ft1_4FGL_J1322.2+0842_daily_bin377.fits outfile=/scratch/kocevski/511892/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin377.fits ra=200.551 dec=8.7036 rad=12.0 tmin=337046401.0 tmax=337305601.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 11.06
user 10.58
sys 0.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.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/511892/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin377.fits evtable="EVENTS" outfile="/scratch/kocevski/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.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.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits" evtable="EVENTS" scfile=/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits sctable="SC_DATA" outfile=/scratch/kocevski/511892/ltcube_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.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/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits
.....................!
real 13.02
user 12.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits evtable="EVENTS" scfile=/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits sctable="SC_DATA" expcube=/scratch/kocevski/511892/ltcube_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits outfile=/scratch/kocevski/511892/expmap_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.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/511892/ltcube_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits
.....................!
real 192.02
user 186.17
sys 5.28

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/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits scfile=/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits outfile=/scratch/kocevski/511892/cmap_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits scfile=/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits outfile=/scratch/kocevski/511892/cmap_HighResolution_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits', '/scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits', expMap='/scratch/kocevski/511892/expmap_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits', expCube='/scratch/kocevski/511892/ltcube_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511892/Model_4FGL_J1322.2+0842_daily_bin377.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/511892/ft1_filtered_4FGL_J1322.2+0842_daily_bin377.fits
Spacecraft file(s): /scratch/kocevski/511892/ft2_4FGL_J1322.2+0842_daily_bin377.fits
Exposure map: /scratch/kocevski/511892/expmap_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits
Exposure cube: /scratch/kocevski/511892/ltcube_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511892/Model_4FGL_J1322.2+0842_daily_bin377.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) = 11504.5196053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.573       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23221E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.516       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22022       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13031E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.965       1.0000         .10000E-03   10000.    
    10 'norm      '    12.176       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1553       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.960       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.4857       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1444       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=   11504.48     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1412 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.574        2.0224        .28242E-02    .91667E-05
   2  Prefactor     .10000E-03    6.6540        .90712E-02** at limit **
   3  Prefactor     .10008E-03    12.522        .90712E-02** at limit **
   4  Prefactor     .10003E-03    3.7389        .10045    ** at limit **
   5  Prefactor     20.517        10.269        .22107E-02    .21539E-03
   6  Prefactor     .23978        4.4617        .10070        .72099E-03
   7  Prefactor     .10009E-03    12.283        .90712E-02** at limit **
   8  Prefactor     .10000E-03    25.643        .90712E-02** at limit **
   9  Prefactor     18.874        35.702        .22992E-02    .13435E-03
  10  norm          12.176        13.414        .28700E-02    .79541E-05
  11  Prefactor     1.1562        2.1898        .10742E-01    .15868E-02
  12  Prefactor     .10000E-03    15.079        .90712E-02** at limit **
  13  Prefactor     .10000E-03    1.4162        .90712E-02** at limit **
  14  Prefactor     12.964        7.7225        .27816E-02   -.25990E-02
  15  Prefactor     9.4874        8.2298        .32530E-02    .58481E-03
  16  Normalizat    1.1092        .15169        .63477E-01   -.39763E-04
  17  Prefactor     1.1446        .12170        .51781E-01   -.30055E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.5735
  Prefactor  = 0.0001
  Prefactor  = 0.00010008
  Prefactor  = 0.000100026
  Prefactor  = 20.5174
  Prefactor  = 0.239778
  Prefactor  = 0.000100093
  Prefactor  = 0.000100004
  Prefactor  = 18.8736
  norm       = 12.1757
  Prefactor  = 1.15617
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 12.9637
  Prefactor  = 9.48741
  Normalizat = 1.10924
  Prefactor  = 1.14459
 **********
 **   18 **HESSE 
 **********

 FCN=   11504.48     FROM HESSE     STATUS=OK           225 CALLS     1637 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.574        2.0246        .59034E-04   -1.4999    
   2  Prefactor     .10000E-03    6.6564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10008E-03    12.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    23.476        .38504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.517        10.131        .88428E-04   -1.4802    
   6  Prefactor     .23978        46.602        .43836E-02   -1.5610    
   7  Prefactor     .10009E-03    12.597        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.874        35.706        .91970E-04   -1.4839    
  10  norm          12.176        13.416        .11480E-03   -1.5010    
  11  Prefactor     1.1562        2.1520        .20972E-03   -1.5493    
  12  Prefactor     .10000E-03    15.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4428        .12462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.964        7.7230        .11126E-03   -1.4988    
  15  Prefactor     9.4874        8.2274        .13012E-03   -1.5092    
  16  Normalizat    1.1092        .18113        .28078E-03   -.89456    
  17  Prefactor     1.1446        .14686        .22893E-03   -.88054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02698e-08
Minuit parameter uncertainties:
  1  2.02462
  2  4.40549e-06
  3  0.00199933
  4  0.00155267
  5  10.1315
  6  6.68941
  7  0.0021647
  8  0.000621442
  9  35.7463
  10  13.4194
  11  2.1521
  12  0.000367146
  13  3.30863e-07
  14  7.72359
  15  8.22841
  16  0.181233
  17  0.146909
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.001e-04  2.165e-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.145e+00  1.469e-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:  1.109e+00  1.812e-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: 6.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511892/likelihoodResults_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.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) = 11504.4760764
delta logL = -0.000378760598323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11504.4757004
delta logL = -2.79729101749e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22112E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3580       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1443       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=   11503.04     FROM MIGRAD    STATUS=CONVERGED    163 CALLS      330 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12739E-02    .86395E-02    .60191E-03** at limit **
   2  Index         6.4838        1.4492        .12398        .21459E-03
   3  Normalizat    1.0069        .30201E-01    .66262E-01   -.49548E-04
   4  Prefactor     1.1978        .25060E-01    .36103E-01    .17296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0012739
  Index      = 6.4838
  Normalizat = 1.00686
  Prefactor  = 1.19777
 **********
 **   18 **HESSE 
 **********

 FCN=   11503.04     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      365 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12739E-02    .28361E-01    .25872E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.4838        3.2580        .42918E-02    .30130    
   3  Normalizat    1.0069        .12966        .29316E-03   -.92801    
   4  Prefactor     1.1978        .10514        .22443E-03   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.39012e-07
Minuit parameter uncertainties:
  1  0.0115399
  2  3.58558
  3  0.129705
  4  0.105155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511892': 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) = 11503.0380245
delta logL = 1.43767309286

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.274e-03  1.154e-02  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  6.484e+00  3.586e+00  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.198e+00  1.052e-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:  1.007e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.14
Ra Dec: 200.551 8.704
Photon Index (Free Index): 6.48 +/- 3.59
Photon Flux (Free Index): 6.91e-08 +/- 4.44e-08
Energy Flux (Free Index): 8.41e-06 +/- 5.88e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/511892/cmap_HighResolution_337046401_337305601_4FGL_J1322.2+0842_daily_bin377.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', comment='SUCCESS', energy_flux2='8.41e-06', dlogl='1.44e+00', photon_flux2='6.91e-08', job_status='DONE', time_completed='2021-09-07 14:20:42.177853', photon_index_error2='3.59', photon_index2='6.48', ts='-0.00', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='6.07e-08', energy_flux_error2='5.88e-06', EG='1.11', time_epoch_completed='1631049642.18', return_code='0', job_id='511892', GAL2='1.20', EG2='1.01', return_code2='102', photon_flux_error2='4.44e-08', ts2='3.14', photon_index='2.26' WHERE bin_id='377' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:20:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 511892: <4FGL_J1322.2+0842_daily_bin377> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin377 200.551 8.7036 337046401 337305601 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 :                                   761.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            928 sec.

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

