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


Performing analysis on: 4FGL_J1359.4+0202_daily_bin1765
RA = 209.859, Dec = 2.0424
tmin = 696816001, tmax = 697075201
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='636827', job_status='RUN', time_executed='2023-02-03 01:07:57.903674', time_epoch_executed='1675415277.9' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636827/ft1_4FGL_J1359.4+0202_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636827/ft1_4FGL_J1359.4+0202_daily_bin1765.fits outfile=/scratch/kocevski/636827/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1765.fits ra=209.859 dec=2.0424 rad=12.0 tmin=696816001.0 tmax=697075201.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.07
user 2.80
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.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/636827/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 721

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636827/ltcube_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.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/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits
.....................!
real 17.44
user 16.89
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636827/ltcube_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits outfile=/scratch/kocevski/636827/expmap_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.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/636827/ltcube_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits
.....................!
real 163.18
user 156.54
sys 5.22

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

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits outfile=/scratch/kocevski/636827/cmap_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.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=209.859 yref=2.0424 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.51
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits outfile=/scratch/kocevski/636827/cmap_HighResolution_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.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=209.859 yref=2.0424 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.50
user 0.32
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636827/Model_4FGL_J1359.4+0202_daily_bin1765.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/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits.....................!
real 52.22
user 50.64
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits', '/scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits', expMap='/scratch/kocevski/636827/expmap_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits', expCube='/scratch/kocevski/636827/ltcube_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636827/Model_4FGL_J1359.4+0202_daily_bin1765.xml', optimizer='MINUIT')

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

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/636827/ft1_filtered_4FGL_J1359.4+0202_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/636827/ft2_4FGL_J1359.4+0202_daily_bin1765.fits
Exposure map: /scratch/kocevski/636827/expmap_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits
Exposure cube: /scratch/kocevski/636827/ltcube_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636827/Model_4FGL_J1359.4+0202_daily_bin1765.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) = 8035.57454447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20277E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10579E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .84626       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26718E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .97558E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.8680       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15760E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.8001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .69389E-08   1.0000          .0000       .10000E+07
    10 'norm      '    31.576       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.906       1.0000          .0000       .10000E+07
    12 'norm      '    8.3242       1.0000          .0000       .10000E+07
    13 'norm      '    4.5565       1.0000          .0000       .10000E+07
    14 'norm      '    16.336       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.9413       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.7575       1.0000          .0000       .10000E+07
    17 'norm      '    13.378       1.0000          .0000       .10000E+07
    18 'Normalizat'    .98936       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2049       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8035.568     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1993 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6945        .11397E-06** at limit **
   2  Prefactor      .0000        5.8434        .70679E-06** at limit **
   3  norm          .85062        1.3550        .78145E-06   -.34824E-03
   4  Prefactor     .55511E-10    18.109        .97883E-06** at limit **
   5  norm           .0000        7.6809        .35873E-05** at limit **
   6  Prefactor     8.8803        4.5619       -.10682E-06   -.51760E-03
   7  Prefactor     .55511E-10    9.8456       -.22169E-05** at limit **
   8  Prefactor     2.8003        3.1893       -.59275E-06    .96193E-04
   9  Prefactor      .0000        2.6839       -.84906E-06** at limit **
  10  norm          31.582        4.8674       -.13272E-06   -.87939E-03
  11  Prefactor     20.931        1.2139        .11520E-06    .33057E-01
  12  norm          8.3684        7.5688        .34581E-05    .26414E-04
  13  norm          4.5335        8.5011        .25933E-05   -.10864E-02
  14  norm          16.314        1.1732        .12635E-06   -.15180E-01
  15  Prefactor     2.6860        9.3545       -.16241E-05    .23567E-01
  16  Prefactor     13.367        67.622       -.32635E-05   -.93034E-02
  17  norm          11.220        32.268       -.47829E-05   -.13440E-02
  18  Normalizat    .98857        .24100        .12005E-05   -.10834E-03
  19  Prefactor     1.2046        .16949       -.22028E-04   -.17972E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.850623
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 8.88035
  Prefactor  = 5.55112e-11
  Prefactor  = 2.80027
  Prefactor  = 0
  norm       = 31.5818
  Prefactor  = 20.9305
  norm       = 8.36843
  norm       = 4.53351
  norm       = 16.3137
  Prefactor  = 2.68603
  Prefactor  = 13.3669
  norm       = 11.2197
  Normalizat = 0.988567
  Prefactor  = 1.20456
 **********
 **   18 **HESSE 
 **********

 FCN=   8035.568     FROM HESSE     STATUS=OK           312 CALLS     2305 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.8282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85062        1.3658        .49548E-03   -1.5690    
   4  Prefactor     .55511E-10    18.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        7.6458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.8803        4.5630        .33634E-03   -1.5648    
   7  Prefactor     .55511E-10    9.8192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8003        3.1922        .60770E-03   -1.5674    
   9  Prefactor      .0000        2.6871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.582        4.8748        .17798E-03   -1.5596    
  11  Prefactor     20.931        19.061        .21877E-03   -1.5616    
  12  norm          8.3684        7.5594        .34723E-03   -1.5650    
  13  norm          4.5335        8.5303        .47136E-03   -1.5665    
  14  norm          16.314        21.913        .24754E-03   -1.5627    
  15  Prefactor     2.6860        682.62        .74481E-03   -1.5675    
  16  Prefactor     13.367        75.748        .33847E-03   -1.5635    
  17  norm          11.220        33.436        .27360E-03   -1.5641    
  18  Normalizat    .98857        .20443        .76469E-01   -.93414    
  19  Prefactor     1.2046        .14267        .49467E-01   -.86191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69289e-06
Minuit parameter uncertainties:
  1  9.51075e-06
  2  1.152e-05
  3  1.3658
  4  5.1655e-05
  5  2.74533e-05
  6  4.56302
  7  3.89001e-05
  8  3.19223
  9  6.37826e-08
  10  4.87477
  11  19.0606
  12  7.55938
  13  8.53028
  14  21.9127
  15  85.6497
  16  63.6414
  17  33.4365
  18  0.20459
  19  0.142712
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  6.378e-08  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.205e+00  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.886e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636827/likelihoodResults_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.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) = 8035.5702751
delta logL = -0.00269132446829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8035.56758411
delta logL = -3.32053787133e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8035.568     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      219 TOTAL
                     EDM=   .43E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .10268E-01    .42118E-03** at limit **
   2  Index         2.6517        6.3193        .50000        .45475E-09
   3  Normalizat    .98857        .37684E-03    .76469E-01    .20592E-03
   4  Prefactor     1.2046        .26692E-03    .49467E-01    .12412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.65167
  Normalizat = 0.988569
  Prefactor  = 1.20456
 **********
 **   18 **HESSE 
 **********

 FCN=   8035.568     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      250 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .57198E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6517        5.0711        .50000       -.48891    
   3  Normalizat    .98857        .88740E-03    .33841E-03   -.93414    
   4  Prefactor     1.2046        .62954E-03    .21868E-03   -.86191    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.36919e-12
Minuit parameter uncertainties:
  1  7.75578e-06
  2  4853.84
  3  0.000887402
  4  0.00062954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636827': 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) = 8035.56758378
delta logL = -1.08229869511e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  2.776e-10  7.756e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.652e+00  4.854e+03  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.205e+00  6.295e-04  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.886e-01  8.874e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 209.859 2.042

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/636827/cmap_HighResolution_696816001_697075201_4FGL_J1359.4+0202_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-03', job_status='DONE', photon_flux_upper_limit='4.68e-08', time_completed='2023-02-03 01:17:02.779208', job_id='636827', GAL2='1.20', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1675415822.78', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-1.08e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1765' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:17:02 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 636827: <4FGL_J1359.4+0202_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1359.4+0202_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:25 2023
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:05:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:05:52 2023
Terminated at Fri Feb  3 01:17:03 2023
Results reported at Fri Feb  3 01:17:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.4+0202_daily_bin1765 209.859 2.0424 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.4+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   545.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            698 sec.

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

