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


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1756
RA = 16.2146, Dec = -24.2808
tmin = 694483201, tmax = 694742401
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='804', job_status='RUN', time_executed='2023-01-07 00:07:06.525202', time_epoch_executed='1673078826.53' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804/ft1_4FGL_J0104.8-2416_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804/ft1_4FGL_J0104.8-2416_daily_bin1756.fits outfile=/scratch/kocevski/804/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1756.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=694483201.0 tmax=694742401.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.12
user 2.77
sys 0.20

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

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

Number of photons that the gtmktime cut: 655

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/804/ltcube_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.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/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits
.....................!
real 16.60
user 16.18
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/804/ltcube_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.fits outfile=/scratch/kocevski/804/expmap_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.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/804/ltcube_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.fits
.....................!
real 192.25
user 186.66
sys 4.98

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/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits scfile=/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits outfile=/scratch/kocevski/804/cmap_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.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.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits scfile=/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits outfile=/scratch/kocevski/804/cmap_HighResolution_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/804/ft2_4FGL_J0104.8-2416_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804/Model_4FGL_J0104.8-2416_daily_bin1756.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/804/ft1_filtered_4FGL_J0104.8-2416_daily_bin1756.fits.....................!
real 58.92
user 56.70
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32603E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28255E-03   1.0000          .0000       .10000E+07
     3 'norm      '    4.2907       1.0000          .0000       .10000E+07
     4 'norm      '    .44168       1.0000          .0000       .10000E+07
     5 'norm      '    .10871E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.4967       1.0000          .0000       .10000E+07
     7 'Prefactor '    .83653E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10885E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .74440E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5027       1.0000          .0000       .10000E+07
    11 'norm      '    2.2878       1.0000          .0000       .10000E+07
    12 'norm      '    4.9493       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75991E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1440       1.0000          .0000       .10000E+07
    15 'norm      '    .60020E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    17 'norm      '    .12867E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .50513E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .99279       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80777       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=   7264.770     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1209 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44587E-06    7.0825       -.42822E-06** at limit **
   2  Prefactor     .51514E-07    2.7502       -.63355E-07** at limit **
   3  norm          4.2253        4.4936       -.33844E-06   -.15257E-02
   4  norm          .48365        7.9348        .81997E-07   -.39445E-03
   5  norm          .22204E-09    2.4348        .89190E-07** at limit **
   6  norm          1.4963        2.0504       -.15247E-06    .49164E-03
   7  Prefactor      .0000        2.1951        .10579E-06** at limit **
   8  Prefactor     .94980E-07    4.5588       -.43883E-06** at limit **
   9  Prefactor     .11102E-09    1.6501        .11920E-06** at limit **
  10  Prefactor     3.3703        1.7532       -.10899E-06    .18622E-02
  11  norm          2.3150        1.7129       -.67065E-07   -.11976E-02
  12  norm          4.9555        2.0437        .22693E-07   -.90275E-03
  13  Prefactor     .86042E-08    1.9832       -.16698E-07** at limit **
  14  Prefactor     1.1382        2.2481        .45057E-06   -.22209E-03
  15  norm          .80203E-06    18.722       -.82600E-06** at limit **
  16  norm          .55511E-10    .49062        .45331E-07** at limit **
  17  norm          .53568E-07    4.3846       -.51959E-06** at limit **
  18  Prefactor     .32574E-06    9.0761       -.24865E-06** at limit **
  19  Normalizat    .99286        .14864        .12124E-05    .54264E-04
  20  Prefactor     .80753        .17563        .10569E-05    .40022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.45866e-07
  Prefactor  = 5.15143e-08
  norm       = 4.2253
  norm       = 0.483649
  norm       = 2.22045e-10
  norm       = 1.49629
  Prefactor  = 0
  Prefactor  = 9.49796e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 3.3703
  norm       = 2.31502
  norm       = 4.95553
  Prefactor  = 8.60423e-09
  Prefactor  = 1.1382
  norm       = 8.02025e-07
  norm       = 5.55112e-11
  norm       = 5.35683e-08
  Prefactor  = 3.25739e-07
  Normalizat = 0.992857
  Prefactor  = 0.80753
 **********
 **   18 **HESSE 
 **********

 FCN=   7264.770     FROM HESSE     STATUS=OK           337 CALLS     1546 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44587E-06    10.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51514E-07    4.6848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2253        4.4888        .48613E-03   -1.5667    
   4  norm          .48365        7.6817        .84809E-03   -1.5694    
   5  norm          .22204E-09    2.4538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4963        2.0786        .87532E-03   -1.5683    
   7  Prefactor      .0000        2.2045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .94980E-07    5.4516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    1.6494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3703        12.845        .53996E-03   -1.5671    
  11  norm          2.3150        3.0084        .67842E-03   -1.5678    
  12  norm          4.9555        2.0434        .45184E-03   -1.5663    
  13  Prefactor     .86042E-08    4.9554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1382        2.3066        .10848E-02   -1.5687    
  15  norm          .80203E-06    .39803        .33000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    .48965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .53568E-07    .99799        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .32574E-06    11.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99286        .12645        .46077E-01   -.93270    
  20  Prefactor     .80753        .14726        .43818E-01   -.99451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10894e-06
Minuit parameter uncertainties:
  1  0.00425547
  2  0.000982545
  3  4.48877
  4  3.855
  5  4.69054e-05
  6  2.07864
  7  8.55778e-06
  8  0.00143924
  9  2.41872e-05
  10  12.845
  11  3.00843
  12  2.04341
  13  0.00041248
  14  2.30664
  15  0.00113002
  16  9.54342e-06
  17  0.000462396
  18  0.0038473
  19  0.126488
  20  0.147336
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  0.000e+00  8.558e-06  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.075e-01  1.473e-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.929e-01  1.265e-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: 4.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/804/likelihoodResults_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.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) = 7264.77113277
delta logL = -0.000865408428581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7264.77026751
delta logL = -1.47799255501e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94369E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.7034       1.0000          .0000       10.000    
     3 'Normalizat'    .99293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80744       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7264.770     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      272 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3689        .42118E-03** at limit **
   2  Index         3.4708        1.3080       -.17951E-03     .0000    
   3  Normalizat    .99285        1.3230        .23041E-04   -.11371E-02
   4  Prefactor     .80753        1.1559        .15977E-04   -.68741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.47079
  Normalizat = 0.992855
  Prefactor  = 0.807531
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7264.770     FROM HESSE     STATUS=FAILED         9 CALLS      281 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3415        2.1882       -.17951E-03   -.31082    
   3  Normalizat    .99285        1.3230        .23041E-04   -.93270    
   4  Prefactor     .80753        1.1559        .15977E-04   -.99451    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.33231e-10
Minuit parameter uncertainties:
  1  3.12944e-06
  2  1.32508
  3  1.37099
  4  1.19374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804': 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) = 7264.77026736
delta logL = -3.66526364814e-10

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  0.000e+00  3.129e-06  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  3.471e+00  1.325e+00  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.075e-01  1.194e+00  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.929e-01  1.371e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/804/cmap_HighResolution_694483201_694742401_4FGL_J0104.8-2416_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2023-01-07 00:16:41.294645', job_id='804', GAL2='0.81', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1673079401.29', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-3.67e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1756' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:16:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 804: <4FGL_J0104.8-2416_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1756> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jan  7 00:04:45 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:06:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:06:47 2023
Terminated at Sat Jan  7 00:16:42 2023
Results reported at Sat Jan  7 00:16:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1756 16.2146 -24.2808 694483201 694742401 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 :                                   573.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             373.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            717 sec.

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

