/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 96 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin61
RA = 200.976, Dec = 14.0871
tmin = 255139201, tmax = 255398401
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='526146', job_status='RUN', time_executed='2021-09-07 14:55:01.923843', time_epoch_executed='1631051701.92' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526146

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526146/ft1_4FGL_J1323.9+1405_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526146/ft1_4FGL_J1323.9+1405_daily_bin61.fits outfile=/scratch/kocevski/526146/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin61.fits ra=200.976 dec=14.0871 rad=12.0 tmin=255139201.0 tmax=255398401.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 7.62
user 7.20
sys 0.30

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/526146/ltcube_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.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/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits
.....................!
real 14.91
user 14.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/526146/ltcube_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits outfile=/scratch/kocevski/526146/expmap_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.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/526146/ltcube_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits
.....................!
real 191.81
user 186.76
sys 4.54

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/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits scfile=/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits outfile=/scratch/kocevski/526146/cmap_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.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.56
user 0.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits scfile=/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits outfile=/scratch/kocevski/526146/cmap_HighResolution_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.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.57
user 0.42
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits', '/scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits', expMap='/scratch/kocevski/526146/expmap_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits', expCube='/scratch/kocevski/526146/ltcube_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/526146/Model_4FGL_J1323.9+1405_daily_bin61.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/526146/ft1_filtered_4FGL_J1323.9+1405_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/526146/ft2_4FGL_J1323.9+1405_daily_bin61.fits
Exposure map: /scratch/kocevski/526146/expmap_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits
Exposure cube: /scratch/kocevski/526146/ltcube_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/526146/Model_4FGL_J1323.9+1405_daily_bin61.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.714       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10372E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.2269       1.0000         .10000E-03   10000.    
     6 'norm      '    13.748       1.0000         .10000E-03   10000.    
     7 'norm      '    3.5052       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4307       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0392       1.0000         .10000E-03   10000.    
    10 'norm      '    33.399       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.723       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4963       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16130E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16773E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .96764       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0232       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=   6419.602     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1615 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.390        34.983       -.13863E-06    .20718E-04
   2  Prefactor     .10000E-03    3.6714        .18280E-07** at limit **
   3  Prefactor     .10000E-03    3.6774        .16079E-06** at limit **
   4  Prefactor     .10000E-03    4.8082        .73585E-07** at limit **
   5  norm          3.2255        3.6266       -.39086E-07   -.60270E-04
   6  norm          13.678        24.506       -.14614E-05   -.73844E-04
   7  norm          3.4676        9.7640        .67887E-05    .72555E-05
   8  Prefactor     7.4264        8.0107        .68518E-06    .14865E-04
   9  Prefactor     1.8815        97.032       -.26272E-06    .53210E-05
  10  norm          33.419        13.665       -.15353E-05   -.45590E-04
  11  Prefactor     37.648        42.944        .16843E-05   -.14274E-03
  12  Prefactor     .10000E-03    1.6040       -.18568E-07** at limit **
  13  Prefactor     4.4954        3.8606       -.25124E-07   -.60603E-04
  14  Prefactor     .10000E-03    7.9675       -.86427E-07** at limit **
  15  Prefactor     .10000E-03    16.752        .17678E-06** at limit **
  16  Normalizat    .96798        .18548       -.46411E-06    .35466E-04
  17  Prefactor     1.0232        .15354       -.10179E-06    .45125E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.3901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.22554
  norm       = 13.6784
  norm       = 3.46758
  Prefactor  = 7.4264
  Prefactor  = 1.88151
  norm       = 33.4187
  Prefactor  = 37.6477
  Prefactor  = 0.0001
  Prefactor  = 4.49538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.967983
  Prefactor  = 1.02325
 **********
 **   18 **HESSE 
 **********

 FCN=   6419.602     FROM HESSE     STATUS=OK           225 CALLS     1840 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.390        34.973        .77509E-04   -1.4680    
   2  Prefactor     .10000E-03    3.6983        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6857        .15000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8266        .17157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2255        3.6252        .78214E-03   -1.5349    
   6  norm          13.678        24.537        .10802E-03   -1.4968    
   7  norm          3.4676        9.8129        .10797E-02   -1.5336    
   8  Prefactor     7.4264        8.0059        .73565E-03   -1.5163    
   9  Prefactor     1.8815        97.513        .28960E-03   -1.5434    
  10  norm          33.419        13.733        .69337E-04   -1.4551    
  11  Prefactor     37.648        43.129        .65255E-04   -1.4480    
  12  Prefactor     .10000E-03    1.6645        .19809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4954        3.8610        .14076E-03   -1.5284    
  14  Prefactor     .10000E-03    8.0447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.299        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .96798        .21986        .26344E-03   -.94111    
  17  Prefactor     1.0232        .18224        .21607E-03   -.91959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55656e-10
Minuit parameter uncertainties:
  1  35
  2  1.87081e-06
  3  1.89546e-05
  4  9.84373e-06
  5  3.62548
  6  24.5549
  7  9.81746
  8  8.00706
  9  27.1365
  10  13.7347
  11  43.1646
  12  1.29073e-06
  13  3.86122
  14  1.45549e-05
  15  4.57342e-05
  16  0.22007
  17  0.18235
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.882e+00  2.714e+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.023e+00  1.824e-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:  9.680e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/526146/likelihoodResults_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.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) = 6418.32019028
delta logL = 1.28154835492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6418.29963129
delta logL = 1.30210734698

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73025       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6556       1.0000          .0000       10.000    
     3 'Normalizat'    .87240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0661       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=   6418.300     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73004        6.8396        .10262E-01    .10171E-02
   2  Index         3.6558        1.5808        .82008E-01    .23187E-03
   3  Normalizat    .87236        .43349E-01    .44548E-01    .18791E-04
   4  Prefactor     1.0661        .36382E-01    .39045E-01    .41447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.73004
  Index      = 3.65585
  Normalizat = 0.872362
  Prefactor  = 1.06614
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.300     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73004        16.882        .46576E-03   -1.5537    
   2  Index         3.6558        2.9863        .29765E-02   -.27218    
   3  Normalizat    .87236        .17323        .27578E-03   -.97438    
   4  Prefactor     1.0661        .14367        .21197E-03   -.90556    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28961e-10
Minuit parameter uncertainties:
  1  7.02309
  2  3.22118
  3  0.17334
  4  0.143721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526146': 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) = 6418.29963095
delta logL = 1.30210768437

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  7.300e-01  7.023e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  3.656e+00  3.221e+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.066e+00  1.437e-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:  8.724e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 200.976 14.087
Photon Index (Free Index): 3.66 +/- 3.22
Photon Flux (Free Index): 8.00e-08 +/- 5.83e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.05e-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/526146/cmap_HighResolution_255139201_255398401_4FGL_J1323.9+1405_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='1.30e+00', photon_flux2='8.00e-08', job_status='DONE', time_completed='2021-09-07 15:04:29.946467', photon_index_error2='3.22', photon_index2='3.66', ts='0.01', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='6.13e-08', energy_flux_error2='1.05e-05', EG='0.97', time_epoch_completed='1631052269.95', return_code='0', job_id='526146', GAL2='1.07', EG2='0.87', return_code2='102', photon_flux_error2='5.83e-08', ts2='2.75', photon_index='1.88' WHERE bin_id='61' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:04:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 526146: <4FGL_J1323.9+1405_daily_bin61> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin61 200.976 14.0871 255139201 255398401 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 :                                   567.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            847 sec.

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

