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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin211
RA = 200.551, Dec = 8.7036
tmin = 294019201, tmax = 294278401
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='510630', job_status='RUN', time_executed='2021-09-07 14:03:32.968495', time_epoch_executed='1631048612.97' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510630

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510630/ft1_4FGL_J1322.2+0842_daily_bin211.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510630/ft2_4FGL_J1322.2+0842_daily_bin211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510630/ft1_4FGL_J1322.2+0842_daily_bin211.fits outfile=/scratch/kocevski/510630/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin211.fits ra=200.551 dec=8.7036 rad=12.0 tmin=294019201.0 tmax=294278401.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.22
user 2.96
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510630/ft1_filtered_4FGL_J1322.2+0842_daily_bin211.fits evtable="EVENTS" scfile=/scratch/kocevski/510630/ft2_4FGL_J1322.2+0842_daily_bin211.fits sctable="SC_DATA" expcube=/scratch/kocevski/510630/ltcube_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.fits outfile=/scratch/kocevski/510630/expmap_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.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/510630/ltcube_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.fits
.....................!
real 191.67
user 186.37
sys 4.86

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/510630/ft1_filtered_4FGL_J1322.2+0842_daily_bin211.fits scfile=/scratch/kocevski/510630/ft2_4FGL_J1322.2+0842_daily_bin211.fits outfile=/scratch/kocevski/510630/cmap_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.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/510630/ft1_filtered_4FGL_J1322.2+0842_daily_bin211.fits scfile=/scratch/kocevski/510630/ft2_4FGL_J1322.2+0842_daily_bin211.fits outfile=/scratch/kocevski/510630/cmap_HighResolution_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10180E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    92.561       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.854       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6046       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4537       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.492       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9309       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.933       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5806       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .60396       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0279       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97924       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=   6419.632     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1587 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .88162       -.65872E-07** at limit **
   2  Prefactor     .10000E-03    21.698        .14912E-06** at limit **
   3  Prefactor     92.561        64.427        .35614E-07    .74104E-05
   4  Prefactor     29.858        16.631        .18507E-05    .14605E-04
   5  Prefactor     7.6028        16.064       -.42712E-05   -.62386E-04
   6  Prefactor     .10000E-03    5.9502       -.76844E-10** at limit **
   7  Prefactor     2.4526        10.890       -.15150E-05   -.22523E-03
   8  Prefactor     14.493        20.473        .10805E-05   -.17352E-05
   9  Prefactor     .10000E-03    16.887        .23792E-05** at limit **
  10  norm          .10000E-03    16.379       -.22572E-05** at limit **
  11  Prefactor     3.9309        3.4007       -.80190E-07   -.42341E-03
  12  Prefactor     29.925        28.008       -.95246E-05   -.98201E-04
  13  Prefactor     2.5806        2.7342        .49058E-08    .12127E-03
  14  Prefactor     .10000E-03    6.2273        .91397E-07** at limit **
  15  Prefactor     .60244        8.1277        .14952E-05   -.13288E-03
  16  Normalizat    1.0276        .19621       -.56991E-06   -.33442E-03
  17  Prefactor     .97945        .15145        .15529E-05   -.13083E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.5614
  Prefactor  = 29.8578
  Prefactor  = 7.60277
  Prefactor  = 0.0001
  Prefactor  = 2.45258
  Prefactor  = 14.4935
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.93092
  Prefactor  = 29.9253
  Prefactor  = 2.58065
  Prefactor  = 0.0001
  Prefactor  = 0.602444
  Normalizat = 1.0276
  Prefactor  = 0.979454
 **********
 **   18 **HESSE 
 **********

 FCN=   6419.632     FROM HESSE     STATUS=OK           229 CALLS     1816 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8525        .14581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     92.561        64.433        .41771E-04   -1.3781    
   4  Prefactor     29.858        16.655        .73328E-04   -1.4615    
   5  Prefactor     7.6028        16.060        .14542E-03   -1.5156    
   6  Prefactor     .10000E-03    5.9608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4526        11.014        .26112E-03   -1.5395    
   8  Prefactor     14.493        20.475        .10521E-03   -1.4946    
   9  Prefactor     .10000E-03    16.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    16.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9309        3.4063        .66093E-03   -1.5311    
  12  Prefactor     29.925        27.677        .73231E-04   -1.4613    
  13  Prefactor     2.5806        2.7385        .13274E-03   -1.5387    
  14  Prefactor     .10000E-03    6.2806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .60244        51.215        .42749E-02   -1.5553    
  16  Normalizat    1.0276        .23613        .13838E-02   -.92111    
  17  Prefactor     .97945        .18344        .22448E-03   -.93418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03998e-10
Minuit parameter uncertainties:
  1  1.43334e-05
  2  8.19616e-06
  3  64.4819
  4  16.658
  5  16.0687
  6  1.2824e-07
  7  10.3979
  8  20.4845
  9  4.17406e-06
  10  1.30333e-05
  11  3.40647
  12  27.6885
  13  2.7386
  14  6.23408e-06
  15  11.1182
  16  0.236369
  17  0.183558
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  2.453e+00  1.040e+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:  9.795e-01  1.836e-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.028e+00  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/510630/likelihoodResults_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.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) = 6419.62787256
delta logL = 0.00369937855885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6419.62549886
delta logL = 0.00607307311293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4244       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0086       1.0000          .0000       10.000    
     3 'Normalizat'    1.0304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97723       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6419.625     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      277 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3928        15.163        .10930E-02   -.43261E-04
   2  Index         2.0080        1.9910        .59389E-02   -.36092E-04
   3  Normalizat    1.0301        .22996        .27646E-03   -.18246E-03
   4  Prefactor     .97758        .18395        .22467E-03   -.27966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39278
  Index      = 2.00797
  Normalizat = 1.0301
  Prefactor  = 0.977576
 **********
 **   18 **HESSE 
 **********

 FCN=   6419.625     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3928        14.342        .43718E-04   -1.5340    
   2  Index         2.0080        1.9417        .23756E-03   -.64151    
   3  Normalizat    1.0301        .23012        .11059E-04   -.92029    
   4  Prefactor     .97758        .18403        .44934E-04   -.93481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57448e-10
Minuit parameter uncertainties:
  1  13.9569
  2  2.02709
  3  0.230338
  4  0.184145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510630': 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) = 6419.62549418
delta logL = 0.00607775302251

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  3.393e+00  1.396e+01  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.008e+00  2.027e+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:  9.776e-01  1.841e-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.030e+00  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/510630/cmap_HighResolution_294019201_294278401_4FGL_J1322.2+0842_daily_bin211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2021-09-07 14:12:35.063211', job_id='510630', GAL2='0.98', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631049155.06', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='6.08e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='211' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:12:35 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin211 200.551 8.7036 294019201 294278401 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 :                                   541.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            705 sec.

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

