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 48 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_bin1754
RA = 16.2146, Dec = -24.2808
tmin = 693964801, tmax = 694224001
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='624454', job_status='RUN', time_executed='2023-01-01 00:09:17.504971', time_epoch_executed='1672560557.51' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624454/ft1_4FGL_J0104.8-2416_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624454/ft1_4FGL_J0104.8-2416_daily_bin1754.fits outfile=/scratch/kocevski/624454/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1754.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=693964801.0 tmax=694224001.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 4.06
user 3.73
sys 0.23

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

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

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/624454/ltcube_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.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/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits
.....................!
real 14.30
user 13.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/624454/ltcube_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits outfile=/scratch/kocevski/624454/expmap_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.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/624454/ltcube_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits
.....................!
real 191.14
user 185.31
sys 5.29

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/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits scfile=/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits outfile=/scratch/kocevski/624454/cmap_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits scfile=/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits outfile=/scratch/kocevski/624454/cmap_HighResolution_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.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 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624454/Model_4FGL_J0104.8-2416_daily_bin1754.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/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits.....................!
real 53.89
user 51.90
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits', '/scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits', expMap='/scratch/kocevski/624454/expmap_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits', expCube='/scratch/kocevski/624454/ltcube_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624454/Model_4FGL_J0104.8-2416_daily_bin1754.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/624454/ft1_filtered_4FGL_J0104.8-2416_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/624454/ft2_4FGL_J0104.8-2416_daily_bin1754.fits
Exposure map: /scratch/kocevski/624454/expmap_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits
Exposure cube: /scratch/kocevski/624454/ltcube_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624454/Model_4FGL_J0104.8-2416_daily_bin1754.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) = 6791.90028846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6124       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31228E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .19853E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .43981E-06   1.0000          .0000       .10000E+07
     5 'norm      '    5.3278       1.0000          .0000       .10000E+07
     6 'norm      '    .18676E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0657       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76475E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18976E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.3337       1.0000          .0000       .10000E+07
    11 'norm      '    .15678E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .29327E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .41032E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11945E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .82221       1.0000          .0000       .10000E+07
    16 'norm      '    .39696E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .72915       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15644E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85580       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=   6791.837     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1221 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6148        1.3022        .10104E-06    .86011E-02
   2  Prefactor     .57732E-08    6.3794        .13858E-05** at limit **
   3  norm          .16653E-08    6.1534       -.10896E-05** at limit **
   4  norm          .55511E-10    1.1904       -.12029E-06** at limit **
   5  norm          5.3278        5.2163       -.55443E-06   -.55730E-02
   6  norm          .34972E-08    1.0061       -.15987E-06** at limit **
   7  Prefactor     4.0548        4.8578        .39527E-08   -.28771E-03
   8  Prefactor     .11657E-08    3.0606        .19127E-06** at limit **
   9  Prefactor     .23592E-07    1.1441       -.25405E-06** at limit **
  10  Prefactor     3.3300        4.0529       -.27022E-06   -.18468E-02
  11  norm           .0000        .71332        .20504E-06** at limit **
  12  norm          .55511E-10    .76723       -.43723E-06** at limit **
  13  Prefactor     .12601E-07    1.6591        .18893E-06** at limit **
  14  Prefactor     .13878E-08    1.9787        .52719E-07** at limit **
  15  norm          .82224        .68270       -.98308E-07    .35336E-02
  16  norm           .0000        .57105       -.61316E-07** at limit **
  17  norm          .73167        1.5940        .25332E-07   -.27363E-04
  18  Prefactor     .21649E-08    8.0179       -.15299E-05** at limit **
  19  Normalizat    .77144        .13544        .15257E-05    .53135E-04
  20  Prefactor     .85586        .16069       -.10782E-05   -.52682E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.61481
  Prefactor  = 5.77316e-09
  norm       = 1.66533e-09
  norm       = 5.55112e-11
  norm       = 5.32783
  norm       = 3.4972e-09
  Prefactor  = 4.05484
  Prefactor  = 1.16573e-09
  Prefactor  = 2.35922e-08
  Prefactor  = 3.32998
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 1.2601e-08
  Prefactor  = 1.38778e-09
  norm       = 0.82224
  norm       = 0
  norm       = 0.731672
  Prefactor  = 2.16493e-09
  Normalizat = 0.771442
  Prefactor  = 0.855861
 **********
 **   18 **HESSE 
 **********

 FCN=   6791.837     FROM HESSE     STATUS=OK           333 CALLS     1554 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6148        7.9685        .42381E-03   -1.5661    
   2  Prefactor     .57732E-08    7.3689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .16653E-08    6.3141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    1.1921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.3278        5.2322        .43518E-03   -1.5662    
   6  norm          .34972E-08    1.8176        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0548        4.8717        .49980E-03   -1.5668    
   8  Prefactor     .11657E-08    3.1594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23592E-07    2.4819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3300        4.0801        .55411E-03   -1.5671    
  11  norm           .0000        .71312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    .73613        .25364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12601E-07    2.3898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13878E-08    2.0522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .82224        .68896        .51294E-03   -1.5690    
  16  norm           .0000        .56981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .73167        1.6019        .58373E-03   -1.5691    
  18  Prefactor     .21649E-08    8.4437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77144        .11383        .43237E-01   -1.0114    
  20  Prefactor     .85586        .13557        .44439E-01   -.97701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08317e-08
Minuit parameter uncertainties:
  1  7.96848
  2  0.000413426
  3  0.000204433
  4  1.34349e-05
  5  5.23218
  6  0.00015962
  7  4.87169
  8  0.000122523
  9  0.000483945
  10  4.08014
  11  3.1387e-06
  12  1.08465e-05
  13  0.000346995
  14  0.00010724
  15  0.688963
  16  3.63228e-06
  17  1.60186
  18  0.000271319
  19  0.113866
  20  0.135622
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  4.055e+00  4.872e+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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.559e-01  1.356e-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.714e-01  1.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/624454/likelihoodResults_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.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) = 6791.83253682
delta logL = 0.00421575122618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6791.83131369
delta logL = 0.0054388892122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3099       1.0000          .0000       .10000E+07
     2 'Index     '    2.4991       1.0000          .0000       10.000    
     3 'Normalizat'    .77309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85419       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=   6791.831     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3070        190.44        .48501E-03    .55235E-02
   2  Index         2.5002        5.8447        .23538        .31952E-04
   3  Normalizat    .77312        .41429E-01    .43258E-01    .12051E-04
   4  Prefactor     .85416        .53729E-01    .44418E-01    .62322E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.30705
  Index      = 2.50016
  Normalizat = 0.773122
  Prefactor  = 0.854161
 **********
 **   18 **HESSE 
 **********

 FCN=   6791.831     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3070        5.6877        .19337E-04   -1.5666    
   2  Index         2.5002        .87707        .11390E-01   -.52356    
   3  Normalizat    .77312        .13417        .19200E-03   -1.0107    
   4  Prefactor     .85416        .16137        .22109E-03   -.97762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31876e-12
Minuit parameter uncertainties:
  1  5.68766
  2  0.883186
  3  0.134224
  4  0.161457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624454': 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): 0
logL (Free Index) = 6791.83131286
delta logL = 0.00543971463776

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  4.307e+00  5.688e+00  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  2.500e+00  8.832e-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:  8.542e-01  1.615e-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.731e-01  1.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.83
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/624454/cmap_HighResolution_693964801_694224001_4FGL_J0104.8-2416_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.59e-08', time_completed='2023-01-01 00:18:32.361241', job_id='624454', GAL2='0.85', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1672561112.36', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.44e-03', ts2='0.84', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1754' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 00:18:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 624454: <4FGL_J0104.8-2416_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 00:04:41 2023
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:08:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:08:14 2023
Terminated at Sun Jan  1 00:18:33 2023
Results reported at Sun Jan  1 00:18:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1754 16.2146 -24.2808 693964801 694224001 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 :                                   552.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            832 sec.

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

