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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin34
RA = 200.976, Dec = 14.0871
tmin = 248140801, tmax = 248400001
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='526064', job_status='RUN', time_executed='2021-09-07 14:55:17.760595', time_epoch_executed='1631051717.76' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='34'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526064

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526064/ft1_4FGL_J1323.9+1405_daily_bin34.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526064/ft1_4FGL_J1323.9+1405_daily_bin34.fits outfile=/scratch/kocevski/526064/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin34.fits ra=200.976 dec=14.0871 rad=12.0 tmin=248140801.0 tmax=248400001.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 1.50
user 1.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.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/526064/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin34.fits evtable="EVENTS" outfile="/scratch/kocevski/526064/ft1_filtered_4FGL_J1323.9+1405_daily_bin34.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526064/ft1_filtered_4FGL_J1323.9+1405_daily_bin34.fits" evtable="EVENTS" scfile=/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits sctable="SC_DATA" outfile=/scratch/kocevski/526064/ltcube_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.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/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits
.....................!
real 17.62
user 17.17
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526064/ft1_filtered_4FGL_J1323.9+1405_daily_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/526064/ltcube_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.fits outfile=/scratch/kocevski/526064/expmap_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.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/526064/ltcube_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.fits
.....................!
real 192.59
user 186.56
sys 5.44

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/526064/ft1_filtered_4FGL_J1323.9+1405_daily_bin34.fits scfile=/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits outfile=/scratch/kocevski/526064/cmap_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526064/ft1_filtered_4FGL_J1323.9+1405_daily_bin34.fits scfile=/scratch/kocevski/526064/ft2_4FGL_J1323.9+1405_daily_bin34.fits outfile=/scratch/kocevski/526064/cmap_HighResolution_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.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.60
user 0.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.333       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4646       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17371       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2892       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3348       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2384       1.0000         .10000E-03   10000.    
    11 'Prefactor '    94.931       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9187       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35635E-01   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1205       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98247       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=   7288.668     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     1886 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.326        45.622        .59548E-04    .51968E-04
   2  Prefactor     1.4636        6.7441        .35535E-03   -.76046E-04
   3  Prefactor     5.3676        12.114        .17359E-03    .10210E-03
   4  Prefactor     .11160        12.270        .67081E-01    .32368E-03
   5  norm          5.2893        3.9742        .14275E-03   -.64278E-03
   6  norm          .10000E-03    8.5556        .18142E-02** at limit **
   7  norm          1.4966        3.6701        .12190E-02    .82446E-03
   8  Prefactor     5.3342        7.3380        .17400E-03   -.40443E-04
   9  Prefactor     .10000E-03    110.80        .18142E-02** at limit **
  10  norm          2.2395        4.5175        .24446E-03   -.10510E-04
  11  Prefactor     94.917        52.023        .20626E-03    .46300E-05
  12  Prefactor     .10000E-03    1.2978        .94594E-03** at limit **
  13  Prefactor     .10000E-03    2.2576        .24554E-03** at limit **
  14  Prefactor     7.9184        11.852        .14249E-03   -.38936E-04
  15  Prefactor     .10024E-03    8.2099        .60822E-01** at limit **
  16  Normalizat    1.1206        .21017        .25199E-03    .12317E-04
  17  Prefactor     .98235        .17429        .22773E-03    .12491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.326
  Prefactor  = 1.46363
  Prefactor  = 5.36759
  Prefactor  = 0.111605
  norm       = 5.28927
  norm       = 0.0001
  norm       = 1.49658
  Prefactor  = 5.33421
  Prefactor  = 0.000100001
  norm       = 2.23945
  Prefactor  = 94.9172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.91836
  Prefactor  = 0.000100239
  Normalizat = 1.12062
  Prefactor  = 0.982355
 **********
 **   18 **HESSE 
 **********

 FCN=   7288.668     FROM HESSE     STATUS=OK           227 CALLS     2113 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.326        45.605        .11910E-04   -1.4360    
   2  Prefactor     1.4636        6.7410        .14214E-04   -1.5466    
   3  Prefactor     5.3676        12.095        .69436E-05   -1.5245    
   4  Prefactor     .11160        10.422        .74772E-01   -1.5641    
   5  norm          5.2893        3.9739        .57100E-05   -1.5248    
   6  norm          .10000E-03    8.5562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4966        3.6664        .24380E-03   -1.5463    
   8  Prefactor     5.3342        7.3377        .69601E-05   -1.5246    
   9  Prefactor     .10000E-03    110.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2395        4.5145        .97783E-05   -1.5409    
  11  Prefactor     94.917        52.021        .82502E-05   -1.3756    
  12  Prefactor     .10000E-03    1.2979        .18919E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2577        .49109E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9184        11.852        .56995E-05   -1.5145    
  15  Prefactor     .10024E-03    7.1398        .67117E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1206        .21030        .10079E-04   -.89093    
  17  Prefactor     .98235        .17448        .91091E-05   -.93320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41962e-10
Minuit parameter uncertainties:
  1  45.6398
  2  6.28311
  3  12.1002
  4  2.1564
  5  3.97414
  6  1.4432e-05
  7  3.66697
  8  7.3389
  9  0.000715056
  10  4.51521
  11  52.046
  12  2.28793e-06
  13  1.16842e-05
  14  11.8559
  15  0.0026108
  16  0.210456
  17  0.174576
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  7.151e-04  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.824e-01  1.746e-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.121e+00  2.105e-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: 5.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526064/likelihoodResults_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.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) = 7288.66773503
delta logL = -4.28818730143e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7288.66769241
delta logL = -2.63289621216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8417       1.0000          .0000       10.000    
     3 'Normalizat'    1.1206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98236       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=   7287.349     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      356 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28296        2.4190        .67329E-02    .18169E-02
   2  Index         3.9700        1.4550        .81489E-01    .26318E-03
   3  Normalizat    1.0239        .39692E-01    .59206E-01    .20009E-03
   4  Prefactor     1.0264        .33879E-01    .46046E-01    .12987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.282961
  Index      = 3.97003
  Normalizat = 1.02395
  Prefactor  = 1.02645
 **********
 **   18 **HESSE 
 **********

 FCN=   7287.349     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      391 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28296        6.3620        .30520E-03   -1.5602    
   2  Index         3.9700        2.8739        .29616E-02   -.20748    
   3  Normalizat    1.0239        .15680        .26186E-03   -.92232    
   4  Prefactor     1.0264        .13236        .22316E-03   -.91853    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.38607e-08
Minuit parameter uncertainties:
  1  2.68328
  2  3.07175
  3  0.156867
  4  0.1324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526064': 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) = 7287.34924245
delta logL = 1.31844969626

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.830e-01  2.683e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  3.970e+00  3.072e+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.026e+00  1.324e-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.024e+00  1.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 200.976 14.087
Photon Index (Free Index): 3.97 +/- 3.07
Photon Flux (Free Index): 8.18e-08 +/- 5.47e-08
Energy Flux (Free Index): 1.23e-05 +/- 9.88e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/526064/cmap_HighResolution_248140801_248400001_4FGL_J1323.9+1405_daily_bin34.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='1.32e+00', photon_flux2='8.18e-08', job_status='DONE', time_completed='2021-09-07 15:05:22.497224', photon_index_error2='3.07', photon_index2='3.97', ts='-0.00', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='5.99e-08', energy_flux_error2='9.88e-06', EG='1.12', time_epoch_completed='1631052322.5', return_code='0', job_id='526064', GAL2='1.03', EG2='1.02', return_code2='102', photon_flux_error2='5.47e-08', ts2='2.79', photon_index='1.88' WHERE bin_id='34' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:05:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 526064: <4FGL_J1323.9+1405_daily_bin34> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin34 200.976 14.0871 248140801 248400001 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 :                                   604.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            903 sec.

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

