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


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1769
RA = 16.2146, Dec = -24.2808
tmin = 697852801, tmax = 698112001
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='424002', job_status='RUN', time_executed='2023-02-15 00:05:59.394626', time_epoch_executed='1676448359.39' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424002

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424002/ft1_4FGL_J0104.8-2416_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424002/ft1_4FGL_J0104.8-2416_daily_bin1769.fits outfile=/scratch/kocevski/424002/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1769.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=697852801.0 tmax=698112001.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 5.29
user 4.16
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.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/424002/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.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.72
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/424002/ltcube_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.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/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits
.....................!
real 11.83
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/424002/ltcube_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits outfile=/scratch/kocevski/424002/expmap_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.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/424002/ltcube_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits
.....................!
real 190.95
user 185.63
sys 4.34

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

Setting source of interest to:
4FGL J0104.8-2416 @ 16.2146 -24.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits outfile=/scratch/kocevski/424002/cmap_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.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=16.2146 yref=-24.2808 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.84
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits outfile=/scratch/kocevski/424002/cmap_HighResolution_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.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=16.2146 yref=-24.2808 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.00
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424002/Model_4FGL_J0104.8-2416_daily_bin1769.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/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits.....................!
real 58.74
user 45.98
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits', '/scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits', expMap='/scratch/kocevski/424002/expmap_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits', expCube='/scratch/kocevski/424002/ltcube_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424002/Model_4FGL_J0104.8-2416_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0104.8-2416'

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  2.411e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/424002/ft1_filtered_4FGL_J0104.8-2416_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/424002/ft2_4FGL_J0104.8-2416_daily_bin1769.fits
Exposure map: /scratch/kocevski/424002/expmap_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits
Exposure cube: /scratch/kocevski/424002/ltcube_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424002/Model_4FGL_J0104.8-2416_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5804.07743244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48187E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.537       1.0000          .0000       .10000E+07
     3 'norm      '    11.023       1.0000          .0000       .10000E+07
     4 'norm      '    1.4035       1.0000          .0000       .10000E+07
     5 'norm      '    .62976E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .99669       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36604E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35678E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41098E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.2207       1.0000          .0000       .10000E+07
    11 'norm      '    .21927       1.0000          .0000       .10000E+07
    12 'norm      '    .86625       1.0000          .0000       .10000E+07
    13 'Prefactor '    .35241E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13624E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .88629E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .84655E-07   1.0000          .0000       .10000E+07
    17 'norm      '    .63851       1.0000          .0000       .10000E+07
    18 'Prefactor '    .41295E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .81066       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0558       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5803.987     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1245 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    10.737       -.69699E-06** at limit **
   2  Prefactor     11.706        1.2982        .22004E-07   -.31552E-02
   3  norm          11.004        10.097        .26472E-06   -.10263E-01
   4  norm          1.4058        2.5710       -.35098E-07   -.95855E-04
   5  norm          .14266E-07    1.6122        .20115E-06** at limit **
   6  norm          .99429        2.3275        .24630E-07   -.39044E-04
   7  Prefactor     .11657E-08    16.561        .26432E-06** at limit **
   8  Prefactor     .44409E-09    2.1753        .61804E-06** at limit **
   9  Prefactor     .20983E-07    1.4261        .14256E-06** at limit **
  10  Prefactor     1.9202        2.1438        .36169E-07   -.97643E-03
  11  norm          .27279        1.7057        .91464E-07    .25464E-03
  12  norm          .86649        1.1402        .11798E-07   -.12822E-03
  13  Prefactor      .0000        3.1217        .72986E-07** at limit **
  14  Prefactor     .16653E-09    2.7586        .18928E-06** at limit **
  15  norm          .55511E-10    1.9647       -.11142E-06** at limit **
  16  norm           .0000        .35989        .35917E-08** at limit **
  17  norm          .66690        2.1107       -.16886E-06   -.29235E-03
  18  Prefactor     .22204E-09    17.153       -.10787E-06** at limit **
  19  Normalizat    .81110        .16069        .82041E-05    .18324E-04
  20  Prefactor     1.0552        .19756       -.70346E-05    .23248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 11.7059
  norm       = 11.0039
  norm       = 1.40578
  norm       = 1.42664e-08
  norm       = 0.994294
  Prefactor  = 1.16573e-09
  Prefactor  = 4.44089e-10
  Prefactor  = 2.09832e-08
  Prefactor  = 1.92022
  norm       = 0.272786
  norm       = 0.866489
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  norm       = 0
  norm       = 0.666899
  Prefactor  = 2.22045e-10
  Normalizat = 0.811101
  Prefactor  = 1.05522
 **********
 **   18 **HESSE 
 **********

 FCN=   5803.987     FROM HESSE     STATUS=OK           341 CALLS     1586 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    10.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.706        16.908        .29469E-03   -1.5640    
   3  norm          11.004        10.543        .30150E-03   -1.5642    
   4  norm          1.4058        2.6112        .91511E-03   -1.5684    
   5  norm          .14266E-07    2.6104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99429        2.3332        .43648E-03   -1.5688    
   7  Prefactor     .11657E-08    15.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44409E-09    2.2063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20983E-07    2.8501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9202        37.452        .68978E-03   -1.5680    
  11  norm          .27279        5.6692        .29634E-02   -1.5698    
  12  norm          .86649        1.1439        .48122E-03   -1.5689    
  13  Prefactor      .0000        3.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    2.7348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    .52539        .28809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .36192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .66690        2.1193        .65847E-03   -1.5692    
  18  Prefactor     .22204E-09    17.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .81110        .13832        .43749E-01   -.99658    
  20  Prefactor     1.0552        .16755        .39582E-01   -.90911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5347e-06
Minuit parameter uncertainties:
  1  4.72694e-05
  2  16.9079
  3  10.5429
  4  2.6112
  5  0.000386015
  6  2.33318
  7  0.00027061
  8  6.34703e-05
  9  0.000488787
  10  16.9608
  11  2.48715
  12  1.14386
  13  1.65041e-05
  14  4.14321e-05
  15  8.17548e-06
  16  3.664e-07
  17  2.11931
  18  0.000117987
  19  0.138384
  20  0.167635
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.166e-09  2.706e-04  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.055e+00  1.676e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.111e-01  1.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 16.215 -24.281
Photon Flux Upper Limit: 5.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424002/likelihoodResults_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.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) = 5803.98858237
delta logL = -0.00150530076371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5803.9870775
delta logL = -4.27985469287e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5803.873     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      331 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18234E-01    .38577        .42118E-03** at limit **
   2  Index         6.3255        2.9944        .30895        .76552E-04
   3  Normalizat    .78496        .16298E-01    .43754E-01   -.28600E-03
   4  Prefactor     1.0757        .20047E-01    .39605E-01   -.32517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0182345
  Index      = 6.32553
  Normalizat = 0.784955
  Prefactor  = 1.07567
 **********
 **   18 **HESSE 
 **********

 FCN=   5803.873     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      362 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18234E-01    3.7828        .19701E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.3255        5.2132        .10629E-01    .26831    
   3  Normalizat    .78496        .97013E-01    .21129E-03   -1.0063    
   4  Prefactor     1.0757        .11666        .22423E-03   -.90248    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.91283e-09
Minuit parameter uncertainties:
  1  0.52527
  2  18.1653
  3  0.0970347
  4  0.116692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424002': 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) = 5803.8727831
delta logL = 0.114293974178

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.823e-02  5.253e-01  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  6.326e+00  1.817e+01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.076e+00  1.167e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  7.850e-01  9.703e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 16.215 -24.281

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/424002/cmap_HighResolution_697852801_698112001_4FGL_J0104.8-2416_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2023-02-15 00:14:54.578765', job_id='424002', GAL2='1.08', fit_tolerance='1e-08', EG2='0.78', EG='0.81', time_epoch_completed='1676448894.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.14e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1769' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:14:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 424002: <4FGL_J0104.8-2416_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:05:08 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:05:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:05:09 2023
Terminated at Wed Feb 15 00:14:55 2023
Results reported at Wed Feb 15 00:14:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1769 16.2146 -24.2808 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0104.8-2416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   516.00 sec.
    Max Memory :                                 1038 MB
    Average Memory :                             295.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            587 sec.

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

