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


Performing analysis on: 4FGL_J1359.4+0202_daily_bin1760
RA = 209.859, Dec = 2.0424
tmin = 695520001, tmax = 695779201
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='738871', job_status='RUN', time_executed='2023-01-19 01:01:48.759284', time_epoch_executed='1674118908.76' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/738871

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/738871/ft1_4FGL_J1359.4+0202_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/738871/ft1_4FGL_J1359.4+0202_daily_bin1760.fits outfile=/scratch/kocevski/738871/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1760.fits ra=209.859 dec=2.0424 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.54
user 2.21
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.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/738871/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1164

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/738871/ltcube_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.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/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits
.....................!
real 15.94
user 15.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/738871/ltcube_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits outfile=/scratch/kocevski/738871/expmap_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.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/738871/ltcube_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits
.....................!
real 193.38
user 186.26
sys 4.68

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/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits scfile=/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits outfile=/scratch/kocevski/738871/cmap_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits scfile=/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits outfile=/scratch/kocevski/738871/cmap_HighResolution_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits', '/scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits', expMap='/scratch/kocevski/738871/expmap_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits', expCube='/scratch/kocevski/738871/ltcube_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/738871/Model_4FGL_J1359.4+0202_daily_bin1760.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/738871/ft1_filtered_4FGL_J1359.4+0202_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/738871/ft2_4FGL_J1359.4+0202_daily_bin1760.fits
Exposure map: /scratch/kocevski/738871/expmap_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits
Exposure cube: /scratch/kocevski/738871/ltcube_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/738871/Model_4FGL_J1359.4+0202_daily_bin1760.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) = 12445.9280262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10754E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.2596       1.0000          .0000       .10000E+07
     3 'norm      '    .56395       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0854       1.0000          .0000       .10000E+07
     5 'norm      '    .13210E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87536E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8815       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4843       1.0000          .0000       .10000E+07
     9 'Prefactor '    .47956E-03   1.0000          .0000       .10000E+07
    10 'norm      '    32.405       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.323       1.0000          .0000       .10000E+07
    12 'norm      '    7.2520       1.0000          .0000       .10000E+07
    13 'norm      '    .64793E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .19760E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .55594E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .38697E-06   1.0000          .0000       .10000E+07
    17 'norm      '    55.255       1.0000          .0000       .10000E+07
    18 'Normalizat'    .97592       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1202       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=   12445.89     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1162 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29421E-08    6.8855        .16503E-05** at limit **
   2  Prefactor     9.1913        8.3447       -.28745E-06   -.38994E-01
   3  norm          .56409        .82660        .24677E-07   -.41534E-02
   4  Prefactor     .44785        762.74        .45736E-05    .28227E-03
   5  norm          .46629E-08    8.7187        .14954E-05** at limit **
   6  Prefactor      .0000        1.3564       -.33331E-06** at limit **
   7  Prefactor     2.8645        8.8298       -.23377E-05   -.53886E-02
   8  Prefactor     1.4863        3.1852        .15378E-06    .97442E-03
   9  Prefactor     .15210E-07    3.0328       -.15617E-06** at limit **
  10  norm          32.399        3.5334        .10558E-06   -.51732E-02
  11  Prefactor     11.346        4.7488        .29171E-06   -.82588E-01
  12  norm          7.2061        6.8596       -.61792E-06    .10393E-02
  13  norm          .21094E-08    2.9723       -.23183E-06** at limit **
  14  norm          .36637E-08    4.8250        .75893E-06** at limit **
  15  Prefactor     .33307E-09    17.935        .13980E-05** at limit **
  16  Prefactor     .66613E-09    10.889       -.34744E-05** at limit **
  17  norm          55.256        1.7309        .39455E-08   -.40678E-01
  18  Normalizat    .97592        .18313        .63936E-05   -.22426E-04
  19  Prefactor     1.1207        .13245       -.16223E-05    .16209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.94209e-09
  Prefactor  = 9.19125
  norm       = 0.564085
  Prefactor  = 0.447846
  norm       = 4.66294e-09
  Prefactor  = 0
  Prefactor  = 2.86452
  Prefactor  = 1.48635
  Prefactor  = 1.52101e-08
  norm       = 32.3986
  Prefactor  = 11.3464
  norm       = 7.20608
  norm       = 2.10942e-09
  norm       = 3.66374e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 6.66134e-10
  norm       = 55.2559
  Normalizat = 0.975919
  Prefactor  = 1.12067
 **********
 **   18 **HESSE 
 **********

 FCN=   12445.89     FROM HESSE     STATUS=OK           312 CALLS     1474 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29421E-08    6.9968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1913        9.2545        .32911E-03   -1.5647    
   3  norm          .56409        .84032        .72521E-03   -1.5693    
   4  Prefactor     .44785        36.285        .15031E-01   -1.5695    
   5  norm          .46629E-08    8.8076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8645        8.9091        .59847E-03   -1.5674    
   8  Prefactor     1.4863        3.2102        .88024E-03   -1.5684    
   9  Prefactor     .15210E-07    5.8183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.399        3.5373        .17569E-03   -1.5594    
  11  Prefactor     11.346        10.052        .29748E-03   -1.5641    
  12  norm          7.2061        6.8495        .37223E-03   -1.5654    
  13  norm          .21094E-08    5.9646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .36637E-08    4.9037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .33307E-09    17.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .66613E-09    10.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          55.256        18.701        .13454E-03   -1.5559    
  18  Normalizat    .97592        .15533        .70554E-01   -.93842    
  19  Prefactor     1.1207        .11128        .36865E-01   -.88809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4079e-08
Minuit parameter uncertainties:
  1  0.000287457
  2  9.25449
  3  0.840317
  4  8.06228
  5  0.00040613
  6  1.14451e-05
  7  8.9091
  8  3.21016
  9  0.000594519
  10  3.53733
  11  10.0515
  12  6.84946
  13  0.000223591
  14  0.000267231
  15  0.000148621
  16  0.000168532
  17  18.701
  18  0.155398
  19  0.111301
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.521e-08  5.945e-04  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.121e+00  1.113e-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.759e-01  1.554e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/738871/likelihoodResults_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.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) = 12445.9804235
delta logL = -0.0897585957755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12445.890665
delta logL = -1.13550413516e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22943E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .87936       1.0000          .0000       10.000    
     3 'Normalizat'    .97588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1207       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=   12445.89     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56066E-08    .39013        .42118E-03** at limit **
   2  Index         1.8803        5.2879        .44741       -.96557E-09
   3  Normalizat    .97592        .91649E-03    .70554E-01   -.96193E-04
   4  Prefactor     1.1207        .66411E-03    .36849E-01   -.86884E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.60663e-09
  Index      = 1.88027
  Normalizat = 0.975925
  Prefactor  = 1.12066
 **********
 **   18 **HESSE 
 **********

 FCN=   12445.89     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      267 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56066E-08    1.4014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8803        5.5093        .50000       -.67378    
   3  Normalizat    .97592        .17326E-02    .31214E-03   -.93841    
   4  Prefactor     1.1207        .12574E-02    .21170E-03   -.88809    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45214e-10
Minuit parameter uncertainties:
  1  0.000177322
  2  5284.2
  3  0.0017326
  4  0.00125739
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/738871': 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) = 12445.8906649
delta logL = 4.72937244922e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.607e-09  1.773e-04  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  1.880e+00  5.284e+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.121e+00  1.257e-03  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.759e-01  1.733e-03  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/738871/cmap_HighResolution_695520001_695779201_4FGL_J1359.4+0202_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.60e-03', job_status='DONE', photon_flux_upper_limit='4.66e-08', time_completed='2023-01-19 01:13:06.875513', job_id='738871', GAL2='1.12', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1674119586.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='4.73e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1760' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:13:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 738871: <4FGL_J1359.4+0202_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1359.4+0202_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 01:00:18 2023
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:01:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:01:04 2023
Terminated at Thu Jan 19 01:13:07 2023
Results reported at Thu Jan 19 01:13:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.4+0202_daily_bin1760 209.859 2.0424 695520001 695779201 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 :                                   673.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            769 sec.

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

