/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 154 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 = 7439
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1015
RA = 200.976, Dec = 14.0871
tmin = 502416001, tmax = 502675201
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='530962', job_status='RUN', time_executed='2021-09-07 15:08:50.443656', time_epoch_executed='1631052530.44' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530962/ft1_4FGL_J1323.9+1405_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530962/ft1_4FGL_J1323.9+1405_daily_bin1015.fits outfile=/scratch/kocevski/530962/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1015.fits ra=200.976 dec=14.0871 rad=12.0 tmin=502416001.0 tmax=502675201.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.58
user 3.31
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530962/ft1_filtered_4FGL_J1323.9+1405_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/530962/ltcube_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.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/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits
.....................!
real 15.74
user 15.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530962/ft1_filtered_4FGL_J1323.9+1405_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/530962/ltcube_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.fits outfile=/scratch/kocevski/530962/expmap_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.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/530962/ltcube_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.fits
.....................!
real 193.21
user 186.40
sys 6.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/530962/ft1_filtered_4FGL_J1323.9+1405_daily_bin1015.fits scfile=/scratch/kocevski/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits outfile=/scratch/kocevski/530962/cmap_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530962/ft1_filtered_4FGL_J1323.9+1405_daily_bin1015.fits scfile=/scratch/kocevski/530962/ft2_4FGL_J1323.9+1405_daily_bin1015.fits outfile=/scratch/kocevski/530962/cmap_HighResolution_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12864E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12399E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4162       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.275       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2870       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .20498E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.621       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16916E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.932       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1298       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1161       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=   5974.966     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1407 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.557        .90712E-02** at limit **
   2  Prefactor     .10000E-03    3.5985        .52562E-01** at limit **
   3  Prefactor     5.4128        8.4270        .43166E-02   -.62122E-03
   4  Prefactor     .10000E-03    3.4318        .90712E-02** at limit **
   5  norm          .10000E-03    2.6004        .90712E-02** at limit **
   6  norm          15.283        14.683        .25620E-02    .26048E-03
   7  norm          .10000E-03    3.4754        .90712E-02** at limit **
   8  Prefactor     7.2917        8.7563        .37146E-02    .72757E-03
   9  Prefactor     .10000E-03    18.639        .90712E-02** at limit **
  10  norm          .10001E-03    5.6028        .90712E-01** at limit **
  11  Prefactor     10.621        53.773        .30736E-02   -.13043E-03
  12  Prefactor     .10000E-03    1.1443        .90712E-02** at limit **
  13  Prefactor     .10000E-03    3.4309        .47321E-01** at limit **
  14  Prefactor     17.943        15.901        .23646E-02    .24546E-03
  15  Prefactor     .10000E-03    5.6310        .90712E-02** at limit **
  16  Normalizat    1.1301        .18915        .57819E-01   -.13243E-04
  17  Prefactor     1.1158        .16181        .37004E-01   -.20234E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 5.4128
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 15.2832
  norm       = 0.0001
  Prefactor  = 7.29171
  Prefactor  = 0.000100001
  norm       = 0.000100006
  Prefactor  = 10.6211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9432
  Prefactor  = 0.0001
  Normalizat = 1.13013
  Prefactor  = 1.11583
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.966     FROM HESSE     STATUS=OK           219 CALLS     1626 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.2490        .28529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4128        8.4164        .17267E-03   -1.5243    
   4  Prefactor     .10000E-03    3.4368        .13983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.6564        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.283        14.675        .10248E-03   -1.4926    
   7  norm          .10000E-03    3.4888        .14057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2917        8.7483        .14859E-03   -1.5168    
   9  Prefactor     .10000E-03    18.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10001E-03    55.430        .34378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.621        53.633        .12294E-03   -1.5056    
  12  Prefactor     .10000E-03    1.1471        .80741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6213        .27656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.943        15.870        .94582E-04   -1.4861    
  15  Prefactor     .10000E-03    5.6549        .17911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1301        .21464        .25569E-03   -.88790    
  17  Prefactor     1.1158        .18725        .22405E-03   -.88962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23164e-09
Minuit parameter uncertainties:
  1  0.000711903
  2  3.80702e-05
  3  8.41827
  4  2.3157e-05
  5  2.99465e-05
  6  14.6783
  7  2.28669e-05
  8  8.74983
  9  0.000264896
  10  0.00116627
  11  47.8025
  12  3.28345e-06
  13  3.13169e-05
  14  15.8738
  15  9.40015e-06
  16  0.214802
  17  0.187364
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  2.649e-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:  1.116e+00  1.874e-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.130e+00  2.148e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530962/likelihoodResults_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.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) = 5974.96626407
delta logL = -0.000255102739175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5974.96600929
delta logL = -3.17424564855e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10801E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9650       1.0000          .0000       10.000    
     3 'Normalizat'    1.1301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1158       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=   5974.966     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    487.60        .90712E-02** at limit **
   2  Index         1.9543        7.4378        .50000        .45729E-05
   3  Normalizat    1.1301        .25801E-01    .57819E-01   -.14317E-05
   4  Prefactor     1.1158        .22585E-01    .37014E-01   -.39332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.9543
  Normalizat = 1.13013
  Prefactor  = 1.11583
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.966     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1547.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9543        8.2431        .50000       -.65498    
   3  Normalizat    1.1301        .51102E-01    .25569E-03   -.88790    
   4  Prefactor     1.1158        .44765E-01    .22405E-03   -.88962    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.53702e-11
Minuit parameter uncertainties:
  1  0.0018601
  2  37.7842
  3  0.0511041
  4  0.0447661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530962': 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) = 5974.96600905
delta logL = -8.09677658253e-08

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  1.860e-03  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.954e+00  3.778e+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:  1.116e+00  4.477e-02  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.130e+00  5.110e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.976 14.087

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/530962/cmap_HighResolution_502416001_502675201_4FGL_J1323.9+1405_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='5.18e-08', time_completed='2021-09-07 15:17:39.357184', job_id='530962', GAL2='1.12', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631053059.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-8.10e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1015' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:17:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 530962: <4FGL_J1323.9+1405_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1015 200.976 14.0871 502416001 502675201 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 :                                   527.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            708 sec.

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

