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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin1723
RA = 15.969, Dec = 13.3536
tmin = 685929601, tmax = 686188801
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='430152', job_status='RUN', time_executed='2022-09-30 00:05:29.385376', time_epoch_executed='1664521529.39' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430152

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430152/ft1_4FGL_J0103.8+1321_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430152/ft1_4FGL_J0103.8+1321_daily_bin1723.fits outfile=/scratch/kocevski/430152/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1723.fits ra=15.969 dec=13.3536 rad=12.0 tmin=685929601.0 tmax=686188801.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.64
user 3.34
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.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/430152/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.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.30
sys 0.18

Number of photons that the gtmktime cut: 700

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430152/ltcube_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.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/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits
.....................!
real 11.90
user 11.47
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430152/ltcube_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits outfile=/scratch/kocevski/430152/expmap_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.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/430152/ltcube_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits
.....................!
real 190.96
user 185.96
sys 4.41

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

Setting source of interest to:
4FGL J0103.8+1321 @ 15.969 13.3536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits outfile=/scratch/kocevski/430152/cmap_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.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=15.969 yref=13.3536 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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits outfile=/scratch/kocevski/430152/cmap_HighResolution_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.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=15.969 yref=13.3536 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 1.48
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430152/Model_4FGL_J0103.8+1321_daily_bin1723.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/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits....................!
real 81.92
user 78.57
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits', '/scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits', expMap='/scratch/kocevski/430152/expmap_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits', expCube='/scratch/kocevski/430152/ltcube_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430152/Model_4FGL_J0103.8+1321_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0103.8+1321'

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430152/ft1_filtered_4FGL_J0103.8+1321_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430152/ft2_4FGL_J0103.8+1321_daily_bin1723.fits
Exposure map: /scratch/kocevski/430152/expmap_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430152/ltcube_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430152/Model_4FGL_J0103.8+1321_daily_bin1723.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) = 7375.17461973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.595       1.0000          .0000       .10000E+07
     2 'norm      '    13.166       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34609E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .83458E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .26732E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .42839E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.6867       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56236E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .21293E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .56640E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .60182       1.0000          .0000       .10000E+07
    12 'norm      '    77.528       1.0000          .0000       .10000E+07
    13 'norm      '    2.4865       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.700       1.0000          .0000       .10000E+07
    15 'Prefactor '    .82377E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2544       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .74901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7375.134     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      935 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.645        5.0701        .60255E-07    .15752E-01
   2  norm          13.183        7.9560        .18530E-05    .53346E-01
   3  Prefactor     .18774E-06    54.369       -.37876E-05** at limit **
   4  Prefactor     .85598E-07    3.1339        .43130E-07** at limit **
   5  norm          .55511E-10    7.2265       -.23223E-06** at limit **
   6  Prefactor     .35527E-08    4.4150       -.62874E-07** at limit **
   7  Prefactor     5.7824        12.943       -.59614E-05    .72445E-02
   8  Prefactor     .11102E-09    .87567        .67599E-08** at limit **
   9  norm          .46962E-07    4.1901        .64760E-06** at limit **
  10  Prefactor     .43299E-08    12.709       -.69632E-06** at limit **
  11  Prefactor     .14426E-04    25.288       -.69575E-06** at limit **
  12  norm          77.528        6.9639       -.43815E-07   -.85103E-02
  13  norm          2.4861        .76861       -.99955E-08    .14230E-01
  14  Prefactor     10.706        8.8269        .40584E-07    .18551E-03
  15  Prefactor     .17441E-05    28.487        .12871E-05** at limit **
  16  Normalizat    1.2541        .23498        .15935E-04    .32927E-03
  17  Prefactor     .74918        .15806       -.75601E-05    .19495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6451
  norm       = 13.1831
  Prefactor  = 1.87739e-07
  Prefactor  = 8.55982e-08
  norm       = 5.55112e-11
  Prefactor  = 3.55271e-09
  Prefactor  = 5.78237
  Prefactor  = 1.11022e-10
  norm       = 4.69624e-08
  Prefactor  = 4.32987e-09
  Prefactor  = 1.44261e-05
  norm       = 77.5284
  norm       = 2.48611
  Prefactor  = 10.7062
  Prefactor  = 1.7441e-06
  Normalizat = 1.25408
  Prefactor  = 0.749178
 **********
 **   18 **HESSE 
 **********

 FCN=   7375.134     FROM HESSE     STATUS=OK           253 CALLS     1188 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.645        5.0702        .27140E-03   -1.5634    
   2  norm          13.183        9.6701        .27580E-03   -1.5635    
   3  Prefactor     .18774E-06    54.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .85598E-07    4.8168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    7.2239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .35527E-08    4.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.7824        13.736        .42099E-03   -1.5660    
   8  Prefactor     .11102E-09    .87656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .46962E-07    4.9723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .43299E-08    12.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14426E-04    95.777        .69065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          77.528        6.9502        .11358E-03   -1.5532    
  13  norm          2.4861        .76886        .64800E-03   -1.5676    
  14  Prefactor     10.706        8.8344        .30605E-03   -1.5643    
  15  Prefactor     .17441E-05    37.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2541        .20008        .66283E-01   -.84948    
  17  Prefactor     .74918        .13470        .43050E-01   -1.0163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50789e-07
Minuit parameter uncertainties:
  1  5.07016
  2  9.67006
  3  0.00641391
  4  0.00128439
  5  3.27772e-05
  6  0.000257942
  7  13.736
  8  2.13773e-05
  9  0.000966606
  10  0.000468517
  11  0.0743433
  12  6.95023
  13  0.768857
  14  8.83436
  15  0.0162435
  16  0.2002
  17  0.134763
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.330e-09  4.685e-04  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  7.492e-01  1.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.254e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: 4.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430152/likelihoodResults_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.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) = 7375.17161562
delta logL = -0.0374827756577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7375.13413303
delta logL = -1.86541001312e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7375.134     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      214 TOTAL
                     EDM=   .53E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1584        .42118E-03** at limit **
   2  Index         3.5207        1.4575       -.60123E-04     .0000    
   3  Normalizat    1.2541        1.0901       -.74377E-05    .21981E-04
   4  Prefactor     .74918        1.0987        .56074E-05    .24035E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.52067
  Normalizat = 1.25407
  Prefactor  = 0.749179
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7375.134     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .53E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3773        2.2139       -.60123E-04   -.30036    
   3  Normalizat    1.2541        1.0901       -.74377E-05   -.84948    
   4  Prefactor     .74918        1.0987        .56074E-05   -1.0163    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.29839e-12
Minuit parameter uncertainties:
  1  8.51481e-07
  2  1.48116
  3  1.11097
  4  1.13335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430152': 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) = 7375.13413285
delta logL = 2.68300937023e-10

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  8.515e-07  0.000e+00  1.000e+06 ( 1.000e-14)
233        Index:  3.521e+00  1.481e+00  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  7.492e-01  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.254e+00  1.111e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 15.969 13.354

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/430152/cmap_HighResolution_685929601_686188801_4FGL_J0103.8+1321_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2022-09-30 00:15:03.937387', job_id='430152', GAL2='0.75', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1664522103.94', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.68e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1723' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:15:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 430152: <4FGL_J0103.8+1321_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:04:57 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:03 2022
Terminated at Fri Sep 30 00:15:04 2022
Results reported at Fri Sep 30 00:15:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin1723 15.969 13.3536 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   538.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            607 sec.

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

