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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin2
RA = 200.976, Dec = 14.0871
tmin = 239846401, tmax = 240105601
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='526019', job_status='RUN', time_executed='2021-09-07 14:56:17.780784', time_epoch_executed='1631051777.78' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526019

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526019/ft1_4FGL_J1323.9+1405_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526019/ft1_4FGL_J1323.9+1405_daily_bin2.fits outfile=/scratch/kocevski/526019/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin2.fits ra=200.976 dec=14.0871 rad=12.0 tmin=239846401.0 tmax=240105601.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 2.21
user 1.05
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.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/526019/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin2.fits evtable="EVENTS" outfile="/scratch/kocevski/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.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.47
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits" evtable="EVENTS" scfile=/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits sctable="SC_DATA" outfile=/scratch/kocevski/526019/ltcube_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.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/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits
.....................!
real 11.95
user 11.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/526019/ltcube_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits outfile=/scratch/kocevski/526019/expmap_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.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/526019/ltcube_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits
.....................!
real 155.80
user 151.15
sys 4.05

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/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits scfile=/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits outfile=/scratch/kocevski/526019/cmap_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.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.52
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits scfile=/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits outfile=/scratch/kocevski/526019/cmap_HighResolution_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.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.52
user 0.32
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits', '/scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits', expMap='/scratch/kocevski/526019/expmap_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits', expCube='/scratch/kocevski/526019/ltcube_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/526019/Model_4FGL_J1323.9+1405_daily_bin2.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/526019/ft1_filtered_4FGL_J1323.9+1405_daily_bin2.fits
Spacecraft file(s): /scratch/kocevski/526019/ft2_4FGL_J1323.9+1405_daily_bin2.fits
Exposure map: /scratch/kocevski/526019/expmap_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits
Exposure cube: /scratch/kocevski/526019/ltcube_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/526019/Model_4FGL_J1323.9+1405_daily_bin2.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) = 5526.19920876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8376       1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.565       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .35555E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.084       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3917       1.0000         .10000E-03   10000.    
    10 'norm      '    11.978       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2214       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .74889       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2269       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.

 FCN=   5526.088     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1377 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.325        .74119E-06** at limit **
   2  Prefactor     .10000E-03    2.3440        .52857E-07** at limit **
   3  Prefactor     3.8365        8.8562        .74446E-05   -.74553E-03
   4  Prefactor     30.566        16.678       -.70383E-06    .87027E-05
   5  norm          .10000E-03    2.4928        .98857E-07** at limit **
   6  norm          .10000E-03    10.229        .16812E-06** at limit **
   7  norm          .10000E-03    3.6245        .16423E-06** at limit **
   8  Prefactor     10.083        10.241        .54645E-06   -.10258E-03
   9  Prefactor     1.3612        106.41       -.27232E-04   -.19540E-03
  10  norm          11.975        8.3912       -.69558E-08   -.58227E-04
  11  Prefactor     .10000E-03    17.690       -.11541E-05** at limit **
  12  Prefactor     1.2220        4.2814        .10413E-05   -.25753E-03
  13  Prefactor     .10000E-03    2.9280        .85084E-07** at limit **
  14  Prefactor     .10000E-03    22.247        .94743E-06** at limit **
  15  Prefactor     .10000E-03    5.1133        .13029E-06** at limit **
  16  Normalizat    .74883        .19542       -.11123E-05    .28593E-04
  17  Prefactor     1.2270        .16559       -.24732E-06    .28297E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.83653
  Prefactor  = 30.5665
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 10.0827
  Prefactor  = 1.36124
  norm       = 11.9748
  Prefactor  = 0.0001
  Prefactor  = 1.22198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.748826
  Prefactor  = 1.22698
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.088     FROM HESSE     STATUS=OK           221 CALLS     1598 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3475        .11115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.8365        9.3028        .10301E-02   -1.5316    
   4  Prefactor     30.566        16.730        .72472E-04   -1.4602    
   5  norm          .10000E-03    2.5224        .11459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    24.066        .26503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.083        10.249        .63090E-03   -1.5073    
   9  Prefactor     1.3612        126.83        .36830E-03   -1.5475    
  10  norm          11.975        8.1765        .11574E-03   -1.5016    
  11  Prefactor     .10000E-03    17.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2220        4.3064        .27000E-03   -1.5487    
  13  Prefactor     .10000E-03    2.9826        .12418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.889        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.1456        .16415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .74883        .22554        .28704E-03   -1.0200    
  17  Prefactor     1.2270        .19229        .20202E-03   -.85505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50448e-09
Minuit parameter uncertainties:
  1  0.000114597
  2  1.29081e-06
  3  9.30634
  4  16.7321
  5  1.90626e-06
  6  1.56451e-05
  7  0.000250199
  8  10.2508
  9  26.3357
  10  8.17725
  11  0.000174539
  12  4.30744
  13  2.26189e-06
  14  0.000112511
  15  4.32197e-06
  16  0.225824
  17  0.192397
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.361e+00  2.634e+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:  1.227e+00  1.924e-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:  7.488e-01  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/526019/likelihoodResults_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.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) = 5525.43609288
delta logL = 0.651733111436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5525.41212513
delta logL = 0.675700860133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24145       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9063       1.0000          .0000       10.000    
     3 'Normalizat'    .68378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2558       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=   5525.412     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23722        3.7762        .73978E-02    .19737E-02
   2  Index         3.9123        2.0306        .73577E-01    .23386E-03
   3  Normalizat    .68402        .42176E-01    .67579E-01    .25801E-04
   4  Prefactor     1.2558        .37126E-01    .33429E-01    .34109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.237216
  Index      = 3.91228
  Normalizat = 0.684022
  Prefactor  = 1.25583
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.412     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      287 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23722        10.160        .33865E-03   -1.5611    
   2  Index         3.9123        3.7837        .37380E-02   -.21930    
   3  Normalizat    .68402        .16158        .29904E-03   -1.0453    
   4  Prefactor     1.2558        .14004        .19985E-03   -.84630    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10667e-10
Minuit parameter uncertainties:
  1  3.10479
  2  4.32975
  3  0.161696
  4  0.140077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526019': 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) = 5525.41211458
delta logL = 0.675711415731

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.372e-01  3.105e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  3.912e+00  4.330e+00  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:  1.256e+00  1.401e-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:  6.840e-01  1.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 200.976 14.087
Photon Index (Free Index): 3.91 +/- 4.33
Photon Flux (Free Index): 5.73e-08 +/- 5.52e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.66e-06

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/526019/cmap_HighResolution_239846401_240105601_4FGL_J1323.9+1405_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', comment='SUCCESS', energy_flux2='8.71e-06', dlogl='6.76e-01', photon_flux2='5.73e-08', job_status='DONE', time_completed='2021-09-07 15:03:05.332517', photon_index_error2='4.33', photon_index2='3.91', ts='0.00', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='6.41e-08', energy_flux_error2='8.66e-06', EG='0.75', time_epoch_completed='1631052185.33', return_code='0', job_id='526019', GAL2='1.26', EG2='0.68', return_code2='102', photon_flux_error2='5.52e-08', ts2='1.42', photon_index='1.88' WHERE bin_id='2' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:03:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 526019: <4FGL_J1323.9+1405_daily_bin2> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin2 200.976 14.0871 239846401 240105601 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 :                                   403.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            769 sec.

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

