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


Performing analysis on: 4FGL_J1322.2+0842_daily_bin287
RA = 200.551, Dec = 8.7036
tmin = 313718401, tmax = 313977601
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='510739', job_status='RUN', time_executed='2021-09-07 14:05:17.945622', time_epoch_executed='1631048717.95' WHERE source_name='4FGL J1322.2+0842' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510739/ft1_4FGL_J1322.2+0842_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510739/ft2_4FGL_J1322.2+0842_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510739/ft1_4FGL_J1322.2+0842_daily_bin287.fits outfile=/scratch/kocevski/510739/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin287.fits ra=200.551 dec=8.7036 rad=12.0 tmin=313718401.0 tmax=313977601.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.38
user 3.12
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/510739/ft2_4FGL_J1322.2+0842_daily_bin287.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/510739/ft1_filteredMKT_4FGL_J1322.2+0842_daily_bin287.fits evtable="EVENTS" outfile="/scratch/kocevski/510739/ft1_filtered_4FGL_J1322.2+0842_daily_bin287.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.51
user 0.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510739/ft1_filtered_4FGL_J1322.2+0842_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/510739/ft2_4FGL_J1322.2+0842_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/510739/ltcube_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.fits outfile=/scratch/kocevski/510739/expmap_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.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/510739/ltcube_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.fits
.....................!
real 192.21
user 186.33
sys 5.14

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/510739/ft1_filtered_4FGL_J1322.2+0842_daily_bin287.fits scfile=/scratch/kocevski/510739/ft2_4FGL_J1322.2+0842_daily_bin287.fits outfile=/scratch/kocevski/510739/cmap_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510739/ft1_filtered_4FGL_J1322.2+0842_daily_bin287.fits scfile=/scratch/kocevski/510739/ft2_4FGL_J1322.2+0842_daily_bin287.fits outfile=/scratch/kocevski/510739/cmap_HighResolution_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5715       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.014       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.260       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2262       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1502       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.513       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.654       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2592       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.511       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0494       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0552       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=   5627.596     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1575 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5715        1.4636       -.31364E-08   -.24263E-04
   2  Prefactor     40.012        41.450       -.16561E-05   -.54636E-05
   3  Prefactor     .10000E-03    44.920       -.28720E-06** at limit **
   4  Prefactor     24.256        14.379        .40636E-07    .10054E-04
   5  Prefactor     4.2270        5.8043        .28206E-06   -.35476E-03
   6  Prefactor     3.1474        23.501       -.20424E-05   -.12448E-04
   7  Prefactor     28.514        15.225       -.91949E-07    .10580E-04
   8  Prefactor     10.651        35.550       -.62314E-05   -.88836E-05
   9  Prefactor     .10000E-03    17.910        .66650E-06** at limit **
  10  norm          .10000E-03    11.322       -.37321E-06** at limit **
  11  Prefactor     .10000E-03    2.1188       -.75882E-07** at limit **
  12  Prefactor     7.2578        13.583       -.98289E-08   -.13477E-03
  13  Prefactor     .10000E-03    1.4651       -.53404E-07** at limit **
  14  Prefactor     .10000E-03    9.3615        .31602E-06** at limit **
  15  Prefactor     10.512        10.082       -.55485E-07    .31991E-05
  16  Normalizat    1.0493        .21214        .65254E-06    .10979E-04
  17  Prefactor     1.0554        .16882        .86210E-07    .43680E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.57146
  Prefactor  = 40.0123
  Prefactor  = 0.0001
  Prefactor  = 24.256
  Prefactor  = 4.227
  Prefactor  = 3.14739
  Prefactor  = 28.5142
  Prefactor  = 10.6513
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.25782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5115
  Normalizat = 1.04926
  Prefactor  = 1.05535
 **********
 **   18 **HESSE 
 **********

 FCN=   5627.596     FROM HESSE     STATUS=OK           229 CALLS     1804 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5715        1.4546        .84907E-04   -1.5457    
   2  Prefactor     40.012        41.472        .63367E-04   -1.4442    
   3  Prefactor     .10000E-03    44.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.256        14.703        .81327E-04   -1.4723    
   5  Prefactor     4.2270        12.890        .98006E-03   -1.5297    
   6  Prefactor     3.1474        23.725        .22838E-03   -1.5353    
   7  Prefactor     28.514        15.273        .75029E-04   -1.4639    
   8  Prefactor     10.651        35.613        .12275E-03   -1.5055    
   9  Prefactor     .10000E-03    17.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    11.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.5797        .20968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2578        14.233        .74436E-03   -1.5169    
  13  Prefactor     .10000E-03    1.4797        .88678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.512        10.081        .12358E-03   -1.5059    
  16  Normalizat    1.0493        .25322        .27249E-03   -.91398    
  17  Prefactor     1.0554        .20113        .22360E-03   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57503e-10
Minuit parameter uncertainties:
  1  1.45464
  2  41.5022
  3  2.5301e-05
  4  14.7052
  5  12.8988
  6  17.2919
  7  15.2748
  8  35.6845
  9  5.78396e-06
  10  2.55761e-06
  11  2.16028e-05
  12  14.2399
  13  6.24409e-07
  14  5.0723e-06
  15  10.0829
  16  0.253508
  17  0.201278
Done.

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

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  2.851e+01  1.527e+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:  1.055e+00  2.013e-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.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.55
Ra Dec: 200.551 8.704
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 4.88e-08
Energy Flux (Fixed Index): 3.67e-05 +/- 1.97e-05

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) = 5627.08998235
delta logL = 0.506402918063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5627.08869031
delta logL = 0.507694958492

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.762       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7985       1.0000          .0000       10.000    
     3 'Normalizat'    .98561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0883       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=   5627.089     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      293 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.758        18.772        .10425E-03   -.19935E-03
   2  Index         2.7989        .69327        .33871E-02   -.82821E-04
   3  Normalizat    .98532        .25415        .27962E-03   -.12738E-03
   4  Prefactor     1.0886        .20436        .22048E-03   -.45295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.758
  Index      = 2.79887
  Normalizat = 0.985316
  Prefactor  = 1.08862
 **********
 **   18 **HESSE 
 **********

 FCN=   5627.089     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.758        15.130        .41699E-05   -1.4939    
   2  Index         2.7989        .55888        .13548E-03   -.45585    
   3  Normalizat    .98532        .25208        .11185E-04   -.93524    
   4  Prefactor     1.0886        .20328        .44095E-04   -.89831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1622e-10
Minuit parameter uncertainties:
  1  15.1337
  2  0.56033
  3  0.252385
  4  0.20342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510739': 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) = 5627.08868903
delta logL = 0.507696246143

Extracting fit parameters...

4FGL J1322.2+0842
   Spectrum: PowerLaw
297    Prefactor:  1.476e+01  1.513e+01  1.000e-04  1.000e+04 ( 1.000e-13)
298        Index:  2.799e+00  5.603e-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:  1.089e+00  2.034e-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:  9.853e-01  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.66
Ra Dec: 200.551 8.704
Photon Index (Free Index): 2.80 +/- 0.56
Photon Flux (Free Index): 1.37e-07 +/- 7.13e-08
Energy Flux (Free Index): 3.08e-05 +/- 1.44e-05

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/510739/cmap_HighResolution_313718401_313977601_4FGL_J1322.2+0842_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='3.08e-05', photon_flux_error='4.88e-08', dlogl='5.08e-01', energy_flux='3.67e-05', photon_flux2='1.37e-07', job_status='DONE', time_completed='2021-09-07 14:13:33.037857', photon_index_error2='0.56', photon_index2='2.80', ts='7.55', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.05', time_epoch_completed='1631049213.04', return_code='0', job_id='510739', GAL2='1.09', EG2='0.99', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='7.13e-08', ts2='8.66', photon_index='2.26' WHERE bin_id='287' AND source_name='4FGL J1322.2+0842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 14:13:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 510739: <4FGL_J1322.2+0842_daily_bin287> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1322.2+0842_daily_bin287 200.551 8.7036 313718401 313977601 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 :                                   495.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            756 sec.

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

