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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin907
RA = 200.551, Dec = 8.7036
tmin = 474422401, tmax = 474681601
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='514834', job_status='RUN', time_executed='2021-09-07 14:16:54.040495', time_epoch_executed='1631049414.04' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514834/ft1_4FGL_J1322.2+0842_daily_bin907.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514834/ft1_4FGL_J1322.2+0842_daily_bin907.fits outfile=/scratch/kocevski/514834/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin907.fits ra=200.551 dec=8.7036 rad=12.0 tmin=474422401.0 tmax=474681601.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.20
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.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/514834/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin907.fits evtable="EVENTS" outfile="/scratch/kocevski/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits" evtable="EVENTS" scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits sctable="SC_DATA" outfile=/scratch/kocevski/514834/ltcube_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.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/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits
.....................!
real 17.13
user 16.70
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits sctable="SC_DATA" expcube=/scratch/kocevski/514834/ltcube_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.fits outfile=/scratch/kocevski/514834/expmap_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.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/514834/ltcube_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.fits
.....................!
real 194.24
user 188.74
sys 4.79

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/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits outfile=/scratch/kocevski/514834/cmap_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits outfile=/scratch/kocevski/514834/cmap_HighResolution_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.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/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/514834/ft2_4FGL_J1322.2+0842_daily_bin907.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514834/Model_4FGL_J1322.2+0842_daily_bin907.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/514834/ft1_filtered_4FGL_J1322.2+0842_daily_bin907.fits.....................!
real 50.64
user 49.10
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9925       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9053       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33592E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0305       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6002       1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.405       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.415       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6305       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9965       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .87390       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2274       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=   6331.850     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1618 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9925        2.0123       -.38998E-07   -.24895E-04
   2  Prefactor     .10000E-03    21.784        .23651E-05** at limit **
   3  Prefactor     .10000E-03    21.177       -.26592E-05** at limit **
   4  Prefactor     2.9069        8.2972        .71328E-05    .49148E-04
   5  Prefactor     .10000E-03    5.6484       -.86726E-06** at limit **
   6  Prefactor     40.510        21.451       -.34633E-05    .12601E-05
   7  Prefactor     1.0306        .74855       -.42555E-07   -.52142E-03
   8  Prefactor     4.5994        19.900        .45672E-05    .28223E-05
   9  Prefactor     49.400        53.131       -.69549E-05    .93186E-06
  10  norm          .10000E-03    8.7793       -.63181E-07** at limit **
  11  Prefactor     .10000E-03    1.5017        .86475E-08** at limit **
  12  Prefactor     33.414        22.535       -.47922E-05    .68150E-06
  13  Prefactor     1.6306        3.1392        .13124E-06    .23289E-04
  14  Prefactor     3.9955        10.089       -.23940E-06    .10450E-05
  15  Prefactor     .10000E-03    5.5587        .57336E-07** at limit **
  16  Normalizat    .87390        .19879        .70539E-06    .36052E-04
  17  Prefactor     1.2275        .16451        .36359E-07    .66356E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.99251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90688
  Prefactor  = 0.000100003
  Prefactor  = 40.51
  Prefactor  = 1.03061
  Prefactor  = 4.59941
  Prefactor  = 49.4
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.4138
  Prefactor  = 1.63057
  Prefactor  = 3.99552
  Prefactor  = 0.0001
  Normalizat = 0.873896
  Prefactor  = 1.22747
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.850     FROM HESSE     STATUS=OK           233 CALLS     1851 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9925        2.0126        .69298E-04   -1.5261    
   2  Prefactor     .10000E-03    21.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9069        8.3094        .23838E-03   -1.5367    
   5  Prefactor     .10000E-03    9.2410        .62545E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.510        21.456        .62977E-04   -1.4434    
   7  Prefactor     1.0306        9.6740        .23724E-02   -1.5505    
   8  Prefactor     4.5994        19.887        .18767E-03   -1.5279    
   9  Prefactor     49.400        53.132        .57052E-04   -1.4301    
  10  norm          .10000E-03    8.7796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5153        .95186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.414        22.525        .69321E-04   -1.4551    
  13  Prefactor     1.6306        3.1045        .18931E-03   -1.5453    
  14  Prefactor     3.9955        10.078        .20174E-03   -1.5308    
  15  Prefactor     .10000E-03    5.5684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .87390        .23182        .29578E-03   -.97384    
  17  Prefactor     1.2275        .19190        .21293E-03   -.85490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95155e-10
Minuit parameter uncertainties:
  1  2.01265
  2  2.95986e-06
  3  0.000112247
  4  8.31266
  5  0.000311248
  6  21.4596
  7  6.31615
  8  19.1383
  9  53.1834
  10  1.7491e-06
  11  2.80474e-06
  12  22.5302
  13  3.10477
  14  10.0823
  15  1.67594e-05
  16  0.232081
  17  0.192012
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.031e+00  6.316e+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

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.227e+00  1.920e-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:  8.739e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/514834/likelihoodResults_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.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): 0
logL (Free Index) = 6331.78620792
delta logL = 0.0634241204998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6331.78195393
delta logL = 0.0676781082957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71779       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1600       1.0000          .0000       10.000    
     3 'Normalizat'    .86122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2322       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=   6331.782     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70984        37.281        .12130E-01    .13298E-02
   2  Index         3.1637        3.1597        .21764        .52060E-04
   3  Normalizat    .86112        .27721E-01    .67318E-01    .20668E-04
   4  Prefactor     1.2323        .23095E-01    .33910E-01    .14483E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.709843
  Index      = 3.1637
  Normalizat = 0.861124
  Prefactor  = 1.23229
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.782     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70984        54.870        .17120E-03   -1.5539    
   2  Index         3.1637        5.8852        .10462E-01   -.37606    
   3  Normalizat    .86112        .24911        .29782E-03   -.97840    
   4  Prefactor     1.2323        .20107        .21257E-03   -.85343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66161e-07
Minuit parameter uncertainties:
  1  12.4928
  2  9.11411
  3  0.249446
  4  0.201196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514834': 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): 0
logL (Free Index) = 6331.78195084
delta logL = 0.0676812038473

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  7.098e-01  1.249e+01  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  3.164e+00  9.114e+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.232e+00  2.012e-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:  8.611e-01  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/514834/cmap_HighResolution_474422401_474681601_4FGL_J1322.2+0842_daily_bin907.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-07 14:26:02.237806', job_id='514834', GAL2='1.23', fit_tolerance='1e-08', EG2='0.86', EG='0.87', time_epoch_completed='1631049962.24', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='6.77e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='907' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:26:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 514834: <4FGL_J1322.2+0842_daily_bin907> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin907> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:15:31 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:16: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:16:40 2021
Terminated at Tue Sep  7 14:26:03 2021
Results reported at Tue Sep  7 14:26:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin907 200.551 8.7036 474422401 474681601 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 :                                   547.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            632 sec.

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

