aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 222 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1410.1+0202_daily_bin1748
RA = 212.529, Dec = 2.0354
tmin = 692409601, tmax = 692668801
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='887842', job_status='RUN', time_executed='2022-12-14 00:49:11.914951', time_epoch_executed='1671007751.91' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887842/ft1_4FGL_J1410.1+0202_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887842/ft1_4FGL_J1410.1+0202_daily_bin1748.fits outfile=/scratch/kocevski/887842/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin1748.fits ra=212.529 dec=2.0354 rad=12.0 tmin=692409601.0 tmax=692668801.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.38
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.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/887842/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.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.49
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 850

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/887842/ltcube_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.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/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits
.....................!
real 12.57
user 12.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/887842/ltcube_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits outfile=/scratch/kocevski/887842/expmap_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.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/887842/ltcube_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits
.....................!
real 191.00
user 185.69
sys 4.98

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

Setting source of interest to:
4FGL J1410.1+0202 @ 212.529 2.0354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits outfile=/scratch/kocevski/887842/cmap_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.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=212.529 yref=2.0354 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits outfile=/scratch/kocevski/887842/cmap_HighResolution_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.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=212.529 yref=2.0354 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887842/Model_4FGL_J1410.1+0202_daily_bin1748.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/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits.....................!
real 67.06
user 65.70
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits', '/scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits', expMap='/scratch/kocevski/887842/expmap_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits', expCube='/scratch/kocevski/887842/ltcube_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887842/Model_4FGL_J1410.1+0202_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1410.1+0202'

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.797e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/887842/ft1_filtered_4FGL_J1410.1+0202_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/887842/ft2_4FGL_J1410.1+0202_daily_bin1748.fits
Exposure map: /scratch/kocevski/887842/expmap_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits
Exposure cube: /scratch/kocevski/887842/ltcube_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887842/Model_4FGL_J1410.1+0202_daily_bin1748.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) = 9095.67655043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11158E-07   1.0000          .0000       .10000E+07
     2 'norm      '    4.7003       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7918       1.0000          .0000       .10000E+07
     4 'Prefactor '    47.250       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0353       1.0000          .0000       .10000E+07
     6 'Prefactor '    .49835E-04   1.0000          .0000       .10000E+07
     7 'norm      '    55.512       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80797E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    76.607       1.0000          .0000       .10000E+07
    10 'norm      '    11.164       1.0000          .0000       .10000E+07
    11 'norm      '    9.3472       1.0000          .0000       .10000E+07
    12 'norm      '    .35561E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .76623       1.0000          .0000       .10000E+07
    14 'Prefactor '    .69765E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .60236E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1141       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9095.607     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1242 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.2496       -.44646E-07** at limit **
   2  norm          4.0457        21.954        .39949E-06    .40097E-01
   3  Prefactor     2.7890        2.7044        .33511E-08    .82175E-04
   4  Prefactor     47.970        24.471        .65933E-06    .76502E-01
   5  Prefactor     3.0349        3.1097       -.18624E-07    .46781E-04
   6  Prefactor      .0000        4.3426        .72997E-07** at limit **
   7  norm          55.592        5.8168       -.54156E-08    .10639E-02
   8  Prefactor     .33973E-07    8.2237       -.10723E-06** at limit **
   9  Prefactor     77.114        27.499       -.10655E-05    .10624    
  10  norm          11.161        9.6283        .45066E-07    .15579E-02
  11  norm          9.2960        7.8479        .10266E-07    .58433E-03
  12  norm          .35527E-08    8.8971       -.60095E-06** at limit **
  13  Prefactor     1.4392        245.54       -.10801E-04   -.32039E-02
  14  Prefactor      .0000        10.794        .10775E-06** at limit **
  15  norm          .58509E-07    8.3008        .59531E-06** at limit **
  16  Normalizat    1.1117        .23802       -.48736E-06   -.21469E-05
  17  Prefactor     1.0497        .15814        .18961E-05   -.28898E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 4.04567
  Prefactor  = 2.78905
  Prefactor  = 47.9695
  Prefactor  = 3.03486
  Prefactor  = 0
  norm       = 55.5915
  Prefactor  = 3.39728e-08
  Prefactor  = 77.1136
  norm       = 11.1613
  norm       = 9.29604
  norm       = 3.55271e-09
  Prefactor  = 1.43923
  Prefactor  = 0
  norm       = 5.85088e-08
  Normalizat = 1.11175
  Prefactor  = 1.04967
 **********
 **   18 **HESSE 
 **********

 FCN=   9095.607     FROM HESSE     STATUS=OK           257 CALLS     1499 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.2346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0457        43.554        .46391E-03   -1.5668    
   3  Prefactor     2.7890        2.7056        .60868E-03   -1.5675    
   4  Prefactor     47.970        26.383        .14549E-03   -1.5569    
   5  Prefactor     3.0349        3.1201        .58216E-03   -1.5673    
   6  Prefactor      .0000        4.3413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          55.592        5.8213        .13423E-03   -1.5559    
   8  Prefactor     .33973E-07    8.2711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     77.114        32.885        .11426E-03   -1.5532    
  10  norm          11.161        9.5998        .29959E-03   -1.5641    
  11  norm          9.2960        7.8530        .32756E-03   -1.5647    
  12  norm          .35527E-08    8.8777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4392        246.95        .55487E-03   -1.5684    
  14  Prefactor      .0000        10.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .58509E-07    8.3959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1117        .19990        .74128E-01   -.89376    
  17  Prefactor     1.0497        .13250        .39984E-01   -.91092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42012e-07
Minuit parameter uncertainties:
  1  7.96738e-07
  2  26.5486
  3  2.70564
  4  26.3827
  5  3.12007
  6  6.54949e-07
  7  5.82128
  8  0.00106014
  9  32.8854
  10  9.59981
  11  7.85296
  12  0.000356276
  13  37.7063
  14  2.14011e-06
  15  0.00140203
  16  0.200037
  17  0.132537
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  3.397e-08  1.060e-03  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.050e+00  1.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.112e+00  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 212.529 2.035
Photon Flux Upper Limit: 6.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887842/likelihoodResults_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9095.61062646
delta logL = -0.00390426774356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9095.60672335
delta logL = -1.16394585348e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10290E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.8767       1.0000          .0000       10.000    
     3 'Normalizat'    1.1119       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9095.607     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      217 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5095        .42118E-03** at limit **
   2  Index         1.1396        .70602       -.41362E-03     .0000    
   3  Normalizat    1.1117        1.1472        .69369E-05    .91790E-03
   4  Prefactor     1.0497        1.1916       -.42705E-05    .15638E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.13963
  Normalizat = 1.11175
  Prefactor  = 1.04968
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9095.607     FROM HESSE     STATUS=FAILED         9 CALLS      226 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79621E-01    1.1565       -.41362E-03   -.88210    
   3  Normalizat    1.1117        1.1472        .69369E-05   -.89376    
   4  Prefactor     1.0497        1.1916       -.42705E-05   -.91091    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.20734e-09
Minuit parameter uncertainties:
  1  2.0303e-06
  2  0.711958
  3  1.17464
  4  1.22389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887842': 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): 101
logL (Free Index) = 9095.60672219
delta logL = 1.3333192328e-09

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  2.030e-06  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  1.140e+00  7.120e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.050e+00  1.224e+00  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.112e+00  1.175e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 212.529 2.035

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/887842/cmap_HighResolution_692409601_692668801_4FGL_J1410.1+0202_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.24e-08', time_completed='2022-12-14 00:58:36.857472', job_id='887842', GAL2='1.05', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1671008316.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.33e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1748' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:58:36 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 887842: <4FGL_J1410.1+0202_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:45:19 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:45:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:45:20 2022
Terminated at Wed Dec 14 00:58:37 2022
Results reported at Wed Dec 14 00:58:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin1748 212.529 2.0354 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1410.1+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   566.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

