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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin490
RA = 200.551, Dec = 8.7036
tmin = 366336001, tmax = 366595201
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='512055', job_status='RUN', time_executed='2021-09-07 14:09:00.968658', time_epoch_executed='1631048940.97' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/512055

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/512055/ft1_4FGL_J1322.2+0842_daily_bin490.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/512055/ft1_4FGL_J1322.2+0842_daily_bin490.fits outfile=/scratch/kocevski/512055/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin490.fits ra=200.551 dec=8.7036 rad=12.0 tmin=366336001.0 tmax=366595201.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 5.51
user 5.26
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.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/512055/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin490.fits evtable="EVENTS" outfile="/scratch/kocevski/512055/ft1_filtered_4FGL_J1322.2+0842_daily_bin490.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/512055/ft1_filtered_4FGL_J1322.2+0842_daily_bin490.fits" evtable="EVENTS" scfile=/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits sctable="SC_DATA" outfile=/scratch/kocevski/512055/ltcube_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.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/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits
.....................!
real 12.45
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/512055/ft1_filtered_4FGL_J1322.2+0842_daily_bin490.fits evtable="EVENTS" scfile=/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits sctable="SC_DATA" expcube=/scratch/kocevski/512055/ltcube_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.fits outfile=/scratch/kocevski/512055/expmap_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.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/512055/ltcube_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.fits
.....................!
real 189.98
user 185.09
sys 4.53

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/512055/ft1_filtered_4FGL_J1322.2+0842_daily_bin490.fits scfile=/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits outfile=/scratch/kocevski/512055/cmap_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/512055/ft1_filtered_4FGL_J1322.2+0842_daily_bin490.fits scfile=/scratch/kocevski/512055/ft2_4FGL_J1322.2+0842_daily_bin490.fits outfile=/scratch/kocevski/512055/cmap_HighResolution_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.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.55
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0483       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.939       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.366       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.087       1.0000         .10000E-03   10000.    
    10 'norm      '    12.822       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1319       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3839       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12599E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.926       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0496       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96431       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=   6297.305     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1806 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0484        1.7701        .50101E-02    .15651E-03
   2  Prefactor     .10000E-03    6.8561        .90712E-02** at limit **
   3  Prefactor     .10000E-03    30.026        .90712E-02** at limit **
   4  Prefactor     .10000E-03    5.5291        .90712E-02** at limit **
   5  Prefactor     11.942        11.576        .28985E-02    .19810E-03
   6  Prefactor     .10000E-03    4.9727        .90712E-02** at limit **
   7  Prefactor     .10000E-03    17.106        .90712E-02** at limit **
   8  Prefactor     12.367        38.686        .28478E-02   -.65753E-04
   9  Prefactor     21.075        34.208        .21806E-02    .15716E-02
  10  norm          12.822        24.750        .27966E-02    .39997E-04
  11  Prefactor     3.1317        4.1961        .57270E-02    .57522E-03
  12  Prefactor     .10000E-03    34.198        .90712E-02** at limit **
  13  Prefactor     7.3841        5.5869        .36900E-02    .23637E-02
  14  Prefactor     .10007E-03    12.398        .10301    ** at limit **
  15  Prefactor     12.928        12.867        .27853E-02    .28503E-04
  16  Normalizat    1.0492        .19060        .60024E-01    .33429E-03
  17  Prefactor     .96470        .15023        .45819E-01    .47217E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04836
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9418
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3665
  Prefactor  = 21.0748
  norm       = 12.822
  Prefactor  = 3.13169
  Prefactor  = 0.000100001
  Prefactor  = 7.38406
  Prefactor  = 0.000100072
  Prefactor  = 12.9282
  Normalizat = 1.0492
  Prefactor  = 0.964696
 **********
 **   18 **HESSE 
 **********

 FCN=   6297.305     FROM HESSE     STATUS=OK           221 CALLS     2027 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0484        1.7688        .67529E-04   -1.5306    
   2  Prefactor     .10000E-03    6.8566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.5603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.942        11.619        .11594E-03   -1.5017    
   6  Prefactor     .10000E-03    4.9810        .17282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.367        38.691        .11391E-03   -1.5005    
   9  Prefactor     21.075        34.197        .87224E-04   -1.4789    
  10  norm          12.822        24.788        .11186E-03   -1.4992    
  11  Prefactor     3.1317        4.1839        .17766E-03   -1.5354    
  12  Prefactor     .10000E-03    34.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3841        5.5609        .14760E-03   -1.5164    
  14  Prefactor     .10007E-03    176.52        .53060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.928        12.864        .11141E-03   -1.4989    
  16  Normalizat    1.0492        .22983        .26546E-03   -.91400    
  17  Prefactor     .96470        .18126        .21965E-03   -.93916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57345e-08
Minuit parameter uncertainties:
  1  1.76884
  2  2.26883e-06
  3  0.00011799
  4  1.10353e-05
  5  11.6209
  6  1.48863e-05
  7  1.02949e-05
  8  38.7697
  9  34.2292
  10  24.8078
  11  4.18434
  12  0.000441854
  13  5.56126
  14  0.00714761
  15  12.8667
  16  0.230049
  17  0.181372
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.029e-05  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:  9.647e-01  1.814e-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.049e+00  2.300e-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: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/512055/likelihoodResults_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.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) = 6297.30496617
delta logL = -0.000274059078947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6297.30469216
delta logL = -4.96129359817e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2705       1.0000          .0000       10.000    
     3 'Normalizat'    1.0492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96475       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=   6297.305     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    772.92        .90712E-02** at limit **
   2  Index         2.2790        5.8836        .50000       -.45322E-05
   3  Normalizat    1.0492        .33647E-01    .60024E-01    .33686E-04
   4  Prefactor     .96470        .26945E-01    .45825E-01    .33478E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27903
  Normalizat = 1.0492
  Prefactor  = 0.964695
 **********
 **   18 **HESSE 
 **********

 FCN=   6297.305     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1498.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2790        7.9412        .50000       -.57543    
   3  Normalizat    1.0492        .50098E-01    .26546E-03   -.91400    
   4  Prefactor     .96470        .40153E-01    .21965E-03   -.93916    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.73696e-10
Minuit parameter uncertainties:
  1  0.000677001
  2  39.9924
  3  0.0501006
  4  0.0401542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/512055': 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) = 6297.3046921
delta logL = 1.70839484781e-08

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  6.770e-04  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.279e+00  3.999e+01  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:  9.647e-01  4.015e-02  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.049e+00  5.010e-02  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/512055/cmap_HighResolution_366336001_366595201_4FGL_J1322.2+0842_daily_bin490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.77e-08', time_completed='2021-09-07 14:18:10.924810', job_id='512055', GAL2='0.96', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631049490.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='490' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:18:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 512055: <4FGL_J1322.2+0842_daily_bin490> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin490> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:05:27 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:05:40 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:40 2021
Terminated at Tue Sep  7 14:18:11 2021
Results reported at Tue Sep  7 14:18:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin490 200.551 8.7036 366336001 366595201 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 :                                   550.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            764 sec.

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

