/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 132 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 = 7405
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin93
RA = 200.976, Dec = 14.0871
tmin = 263433601, tmax = 263692801
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='526191', job_status='RUN', time_executed='2021-09-07 14:55:42.721130', time_epoch_executed='1631051742.72' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526191

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526191/ft1_4FGL_J1323.9+1405_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526191/ft1_4FGL_J1323.9+1405_daily_bin93.fits outfile=/scratch/kocevski/526191/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin93.fits ra=200.976 dec=14.0871 rad=12.0 tmin=263433601.0 tmax=263692801.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.49
user 3.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.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/526191/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/526191/ltcube_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.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/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits
.....................!
real 14.87
user 14.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/526191/ltcube_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits outfile=/scratch/kocevski/526191/expmap_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.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/526191/ltcube_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits
.....................!
real 191.44
user 185.39
sys 5.46

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1323.9+1405 @ 200.976 14.0871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits outfile=/scratch/kocevski/526191/cmap_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.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.976 yref=14.0871 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits outfile=/scratch/kocevski/526191/cmap_HighResolution_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.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.976 yref=14.0871 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526191/Model_4FGL_J1323.9+1405_daily_bin93.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/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits.....................!
real 46.96
user 45.57
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits', '/scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits', expMap='/scratch/kocevski/526191/expmap_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits', expCube='/scratch/kocevski/526191/ltcube_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/526191/Model_4FGL_J1323.9+1405_daily_bin93.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1323.9+1405'

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.083e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/526191/ft1_filtered_4FGL_J1323.9+1405_daily_bin93.fits
Spacecraft file(s): /scratch/kocevski/526191/ft2_4FGL_J1323.9+1405_daily_bin93.fits
Exposure map: /scratch/kocevski/526191/expmap_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits
Exposure cube: /scratch/kocevski/526191/ltcube_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/526191/Model_4FGL_J1323.9+1405_daily_bin93.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) = 5433.28862197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.910       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4307       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6534       1.0000         .10000E-03   10000.    
     6 'norm      '    24.721       1.0000         .10000E-03   10000.    
     7 'norm      '    9.2642       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.173       1.0000         .10000E-03   10000.    
    10 'norm      '    15.407       1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.403       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4225       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7184       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1581       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5433.288     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1529 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.910        42.177        .17204E-02   -.85581E-03
   2  Prefactor     1.4310        7.5168        .90288E-02    .85486E-03
   3  Prefactor     .10000E-03    3.9439        .90712E-02** at limit **
   4  Prefactor     .10000E-03    6.8630        .90712E-02** at limit **
   5  norm          4.6535        3.8130        .46641E-02    .10137E-02
   6  norm          24.721        20.479        .20141E-02    .24428E-03
   7  norm          9.2644        8.6578        .32918E-02    .49074E-03
   8  Prefactor     .10001E-03    5.4629        .90712E-02** at limit **
   9  Prefactor     26.173        26.369        .19576E-02   -.20211E-03
  10  norm          15.407        11.693        .25510E-02    .92925E-03
  11  Prefactor     51.403        51.905        .13984E-02    .72564E-04
  12  Prefactor     2.4227        3.9833        .65740E-02    .13517E-02
  13  Prefactor     .10000E-03    1.3286        .90712E-02** at limit **
  14  Prefactor     1.7181        38.657        .80125E-02    .53617E-03
  15  Prefactor     .10001E-03    5.2614        .90712E-02** at limit **
  16  Normalizat    1.1581        .19682        .55617E-01    .56189E-04
  17  Prefactor     .91861        .16433        .45242E-01    .21351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.9102
  Prefactor  = 1.43102
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65349
  norm       = 24.7215
  norm       = 9.2644
  Prefactor  = 0.00010001
  Prefactor  = 26.1729
  norm       = 15.4075
  Prefactor  = 51.403
  Prefactor  = 2.42269
  Prefactor  = 0.0001
  Prefactor  = 1.71806
  Prefactor  = 0.000100008
  Normalizat = 1.15808
  Prefactor  = 0.918608
 **********
 **   18 **HESSE 
 **********

 FCN=   5433.288     FROM HESSE     STATUS=OK           219 CALLS     1748 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.910        42.162        .68815E-04   -1.4543    
   2  Prefactor     1.4310        7.5201        .36115E-03   -1.5469    
   3  Prefactor     .10000E-03    3.9566        .14290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6535        3.8095        .12632E-03   -1.5276    
   6  norm          24.721        20.473        .80566E-04   -1.4713    
   7  norm          9.2644        8.6509        .13167E-03   -1.5099    
   8  Prefactor     .10001E-03    5.4847        .16824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.173        26.371        .78304E-04   -1.4684    
  10  norm          15.407        11.693        .51019E-03   -1.4923    
  11  Prefactor     51.403        51.902        .55938E-04   -1.4273    
  12  Prefactor     2.4227        3.9698        .17972E-03   -1.5397    
  13  Prefactor     .10000E-03    1.3303        .82964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7181        38.611        .32050E-03   -1.5446    
  15  Prefactor     .10001E-03    5.2778        .16510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1581        .23514        .24594E-03   -.87908    
  17  Prefactor     .91861        .19595        .23072E-03   -.95494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03949e-08
Minuit parameter uncertainties:
  1  42.1993
  2  6.56199
  3  7.99533e-07
  4  8.16161e-05
  5  3.80969
  6  20.4788
  7  8.65209
  8  0.000462373
  9  26.383
  10  11.6945
  11  51.9475
  12  3.97026
  13  5.2354e-06
  14  16.3008
  15  0.000400877
  16  0.235355
  17  0.1961
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.617e+01  2.638e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.186e-01  1.961e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.158e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.83e-05

TS (Fixed Index): 2.91
Ra Dec: 200.976 14.087
Photon Flux Upper Limit: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526191/likelihoodResults_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.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) = 5433.25487156
delta logL = 0.0327231821475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5433.2546904
delta logL = 0.0329043415868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.776       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0608       1.0000          .0000       10.000    
     3 'Normalizat'    1.1536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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=   5433.255     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      280 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.770        33.171        .87873E-04    .55076E-03
   2  Index         2.0607        .78945        .71177E-02    .20833E-03
   3  Normalizat    1.1536        .22879        .24635E-03   -.53434E-03
   4  Prefactor     .92028        .19392        .23053E-03   -.68506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7701
  Index      = 2.06073
  Normalizat = 1.15358
  Prefactor  = 0.920281
 **********
 **   18 **HESSE 
 **********

 FCN=   5433.255     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.770        30.410        .17575E-04   -1.4796    
   2  Index         2.0607        .72425        .28471E-03   -.62840    
   3  Normalizat    1.1536        .22876        .49271E-04   -.88050    
   4  Prefactor     .92028        .19402        .46106E-04   -.95436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30323e-09
Minuit parameter uncertainties:
  1  30.433
  2  0.728173
  3  0.228956
  4  0.194169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526191': 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) = 5433.25468935
delta logL = 0.0329053882342

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.077e+01  3.043e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.061e+00  7.282e-01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.203e-01  1.942e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.154e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 200.976 14.087
Photon Index (Free Index): 2.06 +/- 0.73
Photon Flux (Free Index): 2.35e-08 +/- 2.90e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.89e-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/526191/cmap_HighResolution_263433601_263692801_4FGL_J1323.9+1405_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='1.41e-05', photon_flux_error='1.92e-08', dlogl='3.29e-02', energy_flux='1.82e-05', photon_flux2='2.35e-08', job_status='DONE', time_completed='2021-09-07 15:04:14.828200', photon_index_error2='0.73', photon_index2='2.06', ts='2.91', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='7.48e-08', energy_flux_error2='1.89e-05', EG='1.16', time_epoch_completed='1631052254.83', return_code='0', job_id='526191', GAL2='0.92', EG2='1.15', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='2.90e-08', ts2='2.97', photon_index='1.88' WHERE bin_id='93' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:04:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 526191: <4FGL_J1323.9+1405_daily_bin93> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin93> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:50:26 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:53:19 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:53:19 2021
Terminated at Tue Sep  7 15:04:15 2021
Results reported at Tue Sep  7 15:04:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin93 200.976 14.0871 263433601 263692801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1323.9+1405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   510.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            829 sec.

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

