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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin151
RA = 200.551, Dec = 8.7036
tmin = 278467201, tmax = 278726401
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='510545', job_status='RUN', time_executed='2021-09-07 14:04:34.782944', time_epoch_executed='1631048674.78' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='151'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510545/ft1_4FGL_J1322.2+0842_daily_bin151.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510545/ft2_4FGL_J1322.2+0842_daily_bin151.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510545/ft1_4FGL_J1322.2+0842_daily_bin151.fits outfile=/scratch/kocevski/510545/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin151.fits ra=200.551 dec=8.7036 rad=12.0 tmin=278467201.0 tmax=278726401.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.69
user 3.43
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510545/ft1_filtered_4FGL_J1322.2+0842_daily_bin151.fits" evtable="EVENTS" scfile=/scratch/kocevski/510545/ft2_4FGL_J1322.2+0842_daily_bin151.fits sctable="SC_DATA" outfile=/scratch/kocevski/510545/ltcube_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.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/510545/ft2_4FGL_J1322.2+0842_daily_bin151.fits
.....................!
real 16.20
user 15.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510545/ft1_filtered_4FGL_J1322.2+0842_daily_bin151.fits evtable="EVENTS" scfile=/scratch/kocevski/510545/ft2_4FGL_J1322.2+0842_daily_bin151.fits sctable="SC_DATA" expcube=/scratch/kocevski/510545/ltcube_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.fits outfile=/scratch/kocevski/510545/expmap_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.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/510545/ltcube_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.fits
.....................!
real 192.23
user 187.31
sys 4.36

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/510545/ft1_filtered_4FGL_J1322.2+0842_daily_bin151.fits scfile=/scratch/kocevski/510545/ft2_4FGL_J1322.2+0842_daily_bin151.fits outfile=/scratch/kocevski/510545/cmap_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3537       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.854       1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.497       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10884E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .74936       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3911       1.0000         .10000E-03   10000.    
    10 'norm      '    16.331       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.064       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10584E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6537       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84305       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=   7387.123     FROM MIGRAD    STATUS=CONVERGED    336 CALLS     1583 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3539        2.4613        .32759E-02   -.65307E-05
   2  Prefactor     38.855        37.759        .16075E-02   -.52666E-03
   3  Prefactor     31.496        34.661        .17849E-02    .29628E-03
   4  Prefactor     .10000E-03    5.6349        .90712E-02** at limit **
   5  Prefactor     .10000E-03    29.397        .90712E-02** at limit **
   6  Prefactor     .10002E-03    55.909        .90712E-02** at limit **
   7  Prefactor     .74740        8.8537        .89198E-01    .40339E-03
   8  Prefactor     .10000E-03    20.665        .90712E-02** at limit **
   9  Prefactor     8.3920        80.669        .34598E-02   -.30036E-03
  10  norm          16.332        20.172        .24777E-02   -.40928E-04
  11  Prefactor     .10000E-03    1.0479        .90712E-02** at limit **
  12  Prefactor     36.064        23.905        .16684E-02    .73880E-04
  13  Prefactor     .10000E-03    5.8632        .90712E-02** at limit **
  14  Prefactor     .10000E-03    6.2267        .90712E-02** at limit **
  15  Prefactor     .10000E-03    4.9333        .90712E-02** at limit **
  16  Normalizat    1.6536        .21097        .59649E-01    .90985E-04
  17  Prefactor     .84300        .16151        .44275E-01    .13159E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.35386
  Prefactor  = 38.8554
  Prefactor  = 31.496
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100016
  Prefactor  = 0.747402
  Prefactor  = 0.000100001
  Prefactor  = 8.39201
  norm       = 16.3317
  Prefactor  = 0.0001
  Prefactor  = 36.0641
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.65361
  Prefactor  = 0.842998
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.123     FROM HESSE     STATUS=OK           215 CALLS     1798 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3539        2.4618        .66986E-04   -1.5096    
   2  Prefactor     38.855        37.766        .64302E-04   -1.4460    
   3  Prefactor     31.496        34.674        .71395E-04   -1.4585    
   4  Prefactor     .10000E-03    5.6474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    57.562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .74740        45.220        .47977E-02   -1.5535    
   8  Prefactor     .10000E-03    20.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3920        80.665        .13839E-03   -1.5129    
  10  norm          16.332        20.177        .99108E-04   -1.4899    
  11  Prefactor     .10000E-03    1.0511        .85909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.064        23.910        .66734E-04   -1.4506    
  13  Prefactor     .10000E-03    6.1238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.9580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6536        .25215        .26377E-03   -.73549    
  17  Prefactor     .84300        .19325        .27176E-03   -.98162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0494e-09
Minuit parameter uncertainties:
  1  2.46179
  2  37.7894
  3  34.6962
  4  3.46094e-06
  5  0.000283652
  6  0.00193391
  7  11.6355
  8  0.000273815
  9  52.1283
  10  20.1858
  11  1.64446e-05
  12  23.9163
  13  5.14354e-05
  14  6.57916e-05
  15  2.00687e-05
  16  0.25234
  17  0.193404
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  7.474e-01  1.164e+01  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:  8.430e-01  1.934e-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.654e+00  2.523e-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: 9.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/510545/likelihoodResults_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.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) = 7386.95571527
delta logL = 0.1675173246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7386.729984
delta logL = 0.393248591238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12671E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3097       1.0000          .0000       10.000    
     3 'Normalizat'    1.5890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87800       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=   7386.730     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      398 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11471E-03    .50635E-02    .29554E-03** at limit **
   2  Index         7.3486        2.5103        .12698        .43918E-03
   3  Normalizat    1.5889        .38923E-01    .60612E-01    .29960E-03
   4  Prefactor     .87796        .30077E-01    .44724E-01    .29617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000114712
  Index      = 7.34858
  Normalizat = 1.58894
  Prefactor  = 0.877963
 **********
 **   18 **HESSE 
 **********

 FCN=   7386.730     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      431 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11471E-03    .65775E-01    .16931E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3486        8.3247        .71972E-02    .48897    
   3  Normalizat    1.5889        .15280        .26805E-03   -.75309    
   4  Prefactor     .87796        .11246        .26692E-03   -.96915    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.0395e-09
Minuit parameter uncertainties:
  1  0.00196742
  2  6.72943
  3  0.15284
  4  0.112492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510545': 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) = 7386.72996966
delta logL = 0.393262929598

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.147e-04  1.967e-03  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  7.349e+00  6.729e+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:  8.780e-01  1.125e-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.589e+00  1.528e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/510545/cmap_HighResolution_278467201_278726401_4FGL_J1322.2+0842_daily_bin151.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.22e-03', job_status='DONE', photon_flux_upper_limit='9.43e-08', time_completed='2021-09-07 14:14:26.477174', job_id='510545', GAL2='0.88', fit_tolerance='1e-08', EG2='1.59', EG='1.65', time_epoch_completed='1631049266.48', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.93e-01', ts2='0.84', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='151' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:14:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 510545: <4FGL_J1322.2+0842_daily_bin151> in cluster <slac> Done

Job <4FGL_J1322.2+0842_daily_bin151> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Sep  7 14:00:44 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:00:58 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:00:58 2021
Terminated at Tue Sep  7 14:14:27 2021
Results reported at Tue Sep  7 14:14:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin151 200.551 8.7036 278467201 278726401 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 :                                   591.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            823 sec.

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

