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


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1780
RA = 16.2146, Dec = -24.2808
tmin = 700704001, tmax = 700963201
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='49056', job_status='RUN', time_executed='2023-03-20 00:06:22.463088', time_epoch_executed='1679295982.46' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49056/ft1_4FGL_J0104.8-2416_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49056/ft1_4FGL_J0104.8-2416_daily_bin1780.fits outfile=/scratch/kocevski/49056/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1780.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=700704001.0 tmax=700963201.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.26
user 3.94
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.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/49056/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.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.89
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 327

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/49056/ltcube_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.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/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits
.....................!
real 15.38
user 14.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/49056/ltcube_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.fits outfile=/scratch/kocevski/49056/expmap_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.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/49056/ltcube_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.fits
.....................!
real 191.41
user 185.10
sys 5.40

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/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits outfile=/scratch/kocevski/49056/cmap_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits outfile=/scratch/kocevski/49056/cmap_HighResolution_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49056/ft2_4FGL_J0104.8-2416_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49056/Model_4FGL_J0104.8-2416_daily_bin1780.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/49056/ft1_filtered_4FGL_J0104.8-2416_daily_bin1780.fits.....................!
real 36.11
user 34.39
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5621       1.0000          .0000       .10000E+07
     2 'Prefactor '    .35446E-02   1.0000          .0000       .10000E+07
     3 'norm      '    20.613       1.0000          .0000       .10000E+07
     4 'norm      '    .10157E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .59269E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .61946E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17248       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65108E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16195E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26806E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .17879E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.5688       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.359       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26157E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .25457E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .23129E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .82246E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    19.353       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0247       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96364       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=   3848.403     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1234 TOTAL
                     EDM=   .74E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5786        13.284        .16481E-05    .39344E-03
   2  Prefactor      .0000        14.419        .65361E-06** at limit **
   3  norm          20.087        4.7452        .11435E-06    .39533E-02
   4  norm           .0000        2.7315        .53184E-08** at limit **
   5  norm           .0000        37.417        .25450E-05** at limit **
   6  norm           .0000        3.0046        .95434E-07** at limit **
   7  Prefactor     .72164E-09    103.85        .23749E-05** at limit **
   8  Prefactor     .55511E-10    74.027       -.16197E-05** at limit **
   9  Prefactor      .0000        1.5803        .45798E-08** at limit **
  10  Prefactor     .55511E-10    23.680       -.75231E-06** at limit **
  11  norm           .0000        2.7089        .14794E-06** at limit **
  12  norm          2.5624        2.2715       -.33859E-07   -.13164E-03
  13  Prefactor     18.817        2.2176       -.58743E-07    .46274E-02
  14  Prefactor      .0000        3.3643       -.94340E-08** at limit **
  15  norm          .55511E-10    7.5958       -.34089E-06** at limit **
  16  norm           .0000        1.0839       -.48283E-07** at limit **
  17  norm           .0000        2.5705       -.20910E-06** at limit **
  18  Prefactor     20.357        33.300       -.20545E-05    .11543E-03
  19  Normalizat    1.0249        .22354       -.19218E-04    .19231E-04
  20  Prefactor     .96351        .25616        .64185E-05    .25450E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.57859
  Prefactor  = 0
  norm       = 20.0871
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.56243
  Prefactor  = 18.8174
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 20.3573
  Normalizat = 1.02493
  Prefactor  = 0.963513
 **********
 **   18 **HESSE 
 **********

 FCN=   3848.403     FROM HESSE     STATUS=OK           341 CALLS     1575 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5786        13.335        .36445E-03   -1.5653    
   2  Prefactor      .0000        14.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          20.087        16.705        .22033E-03   -1.5618    
   4  norm           .0000        2.7300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        15.445        .82373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.9740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .72164E-09    6.6070        .10009E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    73.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.5820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    23.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.6910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5624        2.2832        .63661E-03   -1.5676    
  13  Prefactor     18.817        17.701        .23347E-03   -1.5621    
  14  Prefactor      .0000        3.3711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.7504        .26531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.0804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.5564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.357        33.310        .22739E-03   -1.5618    
  19  Normalizat    1.0249        .19718        .42741E-01   -.92200    
  20  Prefactor     .96351        .21869        .45811E-01   -.93956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19394e-10
Minuit parameter uncertainties:
  1  13.3349
  2  1.85263e-06
  3  16.7052
  4  2.45204e-06
  5  5.37733e-06
  6  7.14393e-06
  7  0.000136233
  8  0.000128061
  9  4.55279e-07
  10  7.07272e-05
  11  1.98426e-06
  12  2.28321
  13  17.7011
  14  7.29346e-06
  15  1.47303e-05
  16  1.63768e-06
  17  9.14649e-07
  18  33.3105
  19  0.197316
  20  0.218887
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  7.216e-10  1.362e-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:  9.635e-01  2.189e-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:  1.025e+00  1.973e-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: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49056/likelihoodResults_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.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) = 3847.95339438
delta logL = 0.44932788618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3847.90563777
delta logL = 0.497084489189

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20581       1.0000          .0000       .10000E+07
     2 'Index     '    5.5632       1.0000          .0000       10.000    
     3 'Normalizat'    .95147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0167       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=   3847.906     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      274 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20587        4.1938        .69114E-03** at limit **
   2  Index         5.5633        3.7893        .19510        .83622E-06
   3  Normalizat    .95149        .40757E-01    .45556E-01    .58442E-05
   4  Prefactor     1.0167        .46692E-01    .42483E-01    .70776E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.205871
  Index      = 5.56328
  Normalizat = 0.951494
  Prefactor  = 1.0167
 **********
 **   18 **HESSE 
 **********

 FCN=   3847.906     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      309 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20587        13.110        .31692E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5633        7.6234        .67133E-02    .11290    
   3  Normalizat    .95149        .17461        .22410E-03   -.94674    
   4  Prefactor     1.0167        .19214        .24798E-03   -.92175    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.83006e-08
Minuit parameter uncertainties:
  1  3.28572
  2  10.1417
  3  0.17471
  4  0.19227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49056': 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) = 3847.9056377
delta logL = 0.497084560786

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  2.059e-01  3.286e+00  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  5.563e+00  1.014e+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.017e+00  1.923e-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:  9.515e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 16.215 -24.281
Photon Index (Free Index): 5.56 +/- 10.14
Photon Flux (Free Index): 6.36e-08 +/- 8.35e-08
Energy Flux (Free Index): 8.12e-06 +/- 1.42e-05

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/49056/cmap_HighResolution_700704001_700963201_4FGL_J0104.8-2416_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='8.12e-06', dlogl='4.97e-01', photon_flux2='6.36e-08', job_status='DONE', time_completed='2023-03-20 00:13:46.936360', photon_index_error2='10.14', photon_index2='5.56', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.42e-05', EG='1.02', time_epoch_completed='1679296426.94', return_code='0', job_id='49056', GAL2='1.02', EG2='0.95', return_code2='102', photon_flux_error2='8.35e-08', ts2='1.07', photon_index='2.59' WHERE bin_id='1780' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:13:46 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 49056: <4FGL_J0104.8-2416_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:04:55 2023
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:04:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:04:56 2023
Terminated at Mon Mar 20 00:13:47 2023
Results reported at Mon Mar 20 00:13:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1780 16.2146 -24.2808 700704001 700963201 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 :                                   443.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   531 sec.
    Turnaround time :                            532 sec.

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

