/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 62 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1559
RA = 16.2146, Dec = -24.2808
tmin = 643420801, tmax = 643680001
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='336481', job_status='RUN', time_executed='2021-08-13 11:58:21.297670', time_epoch_executed='1628881101.3' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/336481

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/336481/ft1_4FGL_J0104.8-2416_daily_bin1559.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/336481/ft1_4FGL_J0104.8-2416_daily_bin1559.fits outfile=/scratch/kocevski/336481/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1559.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=643420801.0 tmax=643680001.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 9.23
user 3.27
sys 5.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.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/336481/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1559.fits evtable="EVENTS" outfile="/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.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 5.74
user 0.34
sys 5.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits" evtable="EVENTS" scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits sctable="SC_DATA" outfile=/scratch/kocevski/336481/ltcube_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.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/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits
.....................!
real 21.25
user 14.22
sys 6.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits sctable="SC_DATA" expcube=/scratch/kocevski/336481/ltcube_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits outfile=/scratch/kocevski/336481/expmap_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.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/336481/ltcube_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits
.....................!
real 198.52
user 186.35
sys 11.62

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/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits outfile=/scratch/kocevski/336481/cmap_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.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 5.67
user 0.39
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits outfile=/scratch/kocevski/336481/cmap_HighResolution_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.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 5.70
user 0.40
sys 5.25

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/336481/Model_4FGL_J0104.8-2416_daily_bin1559.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/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits.....................!
real 60.99
user 52.09
sys 8.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits', '/scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits', expMap='/scratch/kocevski/336481/expmap_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits', expCube='/scratch/kocevski/336481/ltcube_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/336481/Model_4FGL_J0104.8-2416_daily_bin1559.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  1.000e-04  1.000e+04 ( 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/336481/ft1_filtered_4FGL_J0104.8-2416_daily_bin1559.fits
Spacecraft file(s): /scratch/kocevski/336481/ft2_4FGL_J0104.8-2416_daily_bin1559.fits
Exposure map: /scratch/kocevski/336481/expmap_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits
Exposure cube: /scratch/kocevski/336481/ltcube_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/336481/Model_4FGL_J0104.8-2416_daily_bin1559.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) = 6452.05463419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3283       1.0000         .10000E-03   10000.    
     3 'norm      '    9.4065       1.0000         .10000E-03   10000.    
     4 'norm      '    5.4985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13819E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.6282       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4195       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .48082E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7803       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5272       1.0000         .10000E-03   10000.    
    12 'norm      '    .11091E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1353       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.816       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1711       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4252       1.0000         .10000E-03   10000.    
    17 'norm      '    .14031E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .11909E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0447       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .60963       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=   6451.998     FROM MIGRAD    STATUS=CONVERGED     78 CALLS     1585 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2001        .19407E-06** at limit **
   2  Prefactor     5.3201        1.2496        .76912E-06   -.65634E-03
   3  norm          9.4059        1.0054       -.96756E-07   -.66411E-04
   4  norm          5.4992        2.7460        .64331E-06   -.14985E-02
   5  Prefactor     .10001E-03    53.542       -.45657E-05** at limit **
   6  norm          4.6275        1.0719       -.63451E-06   -.71720E-04
   7  norm          5.4193        2.7557        .13000E-06    .35020E-04
   8  Prefactor     .10041E-03    6.5023        .17583E-04** at limit **
   9  Prefactor     .10000E-03    7.1461        .73579E-06** at limit **
  10  Prefactor     4.7769        2.5947       -.14181E-05   -.16810E-02
  11  Prefactor     5.5357        5.7362        .88843E-05    .28558E-02
  12  norm          .10000E-03    1.4179       -.26579E-06** at limit **
  13  norm          2.1352        1.4913        .64619E-07    .31787E-04
  14  Prefactor     23.824        1.3148       -.49259E-06    .17190E-02
  15  Prefactor     3.1717        3.0003       -.14848E-05   -.45817E-03
  16  norm          2.4251        1.2034       -.97157E-07   -.77094E-03
  17  norm          .12419E-01    .89110        .55240E-05   -.85763E-03
  18  norm          .10000E-03    4.2486        .29485E-08** at limit **
  19  Prefactor     .10001E-03    15.843       -.50351E-06** at limit **
  20  Normalizat    1.0448        .15746       -.88757E-06   -.15601E-03
  21  Prefactor     .60962        .18030       -.61788E-06   -.16365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.32011
  norm       = 9.40595
  norm       = 5.49922
  Prefactor  = 0.000100014
  norm       = 4.62751
  norm       = 5.41929
  Prefactor  = 0.000100405
  Prefactor  = 0.0001
  Prefactor  = 4.77695
  Prefactor  = 5.53569
  norm       = 0.0001
  norm       = 2.13518
  Prefactor  = 23.8239
  Prefactor  = 3.17171
  norm       = 2.42506
  norm       = 0.012419
  norm       = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 1.04478
  Prefactor  = 0.609617
 **********
 **   18 **HESSE 
 **********

 FCN=   6451.998     FROM HESSE     STATUS=OK           391 CALLS     1976 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1916        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3201        14.168        .43527E-02   -1.5247    
   3  norm          9.4059        8.5104        .32667E-02   -1.5094    
   4  norm          5.4992        3.6951        .42837E-02   -1.5239    
   5  Prefactor     .10001E-03    53.879        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.6275        7.1841        .46771E-02   -1.5278    
   7  norm          5.4193        2.7578        .43153E-02   -1.5242    
   8  Prefactor     .10041E-03    2.4494        .75325E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0558        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7769        3.6190        .46004E-02   -1.5271    
  11  Prefactor     5.5357        7.3217        .42724E-02   -1.5237    
  12  norm          .10000E-03    1.0952        .29368E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1352        1.5098        .70527E-02   -1.5416    
  14  Prefactor     23.824        12.930        .20520E-02   -1.4731    
  15  Prefactor     3.1717        3.0636        .56896E-02   -1.5352    
  16  norm          2.4251        1.2098        .65700E-02   -1.5397    
  17  norm          .12419E-01    .64492        .45921E-01   -1.5686    
  18  norm          .10000E-03    1.0249        .43968E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    16.158        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0448        .13610        .40925E-01   -.91545    
  21  Prefactor     .60962        .15457        .63520E-01   -1.0718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22055e-08
Minuit parameter uncertainties:
  1  1.96608e-05
  2  14.1767
  3  8.51147
  4  3.69523
  5  0.001764
  6  7.18547
  7  2.75785
  8  0.00199326
  9  7.34544e-06
  10  3.61914
  11  7.32289
  12  4.66093e-06
  13  1.50979
  14  12.9311
  15  3.06373
  16  1.20984
  17  0.178269
  18  1.60999e-05
  19  0.000743357
  20  0.136145
  21  0.154674
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.004e-04  1.993e-03  1.000e-04  1.000e+04 ( 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:  6.096e-01  1.547e-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.045e+00  1.361e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/336481/likelihoodResults_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.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) = 6451.99808198
delta logL = -0.000178275668986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6451.99790332
delta logL = 3.85987732443e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5071       1.0000          .0000       10.000    
     3 'Normalizat'    1.0448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60961       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=   6451.998     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      240 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1288        .52711E-01** at limit **
   2  Index         2.4295        7.1922        .50000        .10532E-04
   3  Normalizat    1.0448        .16817E-02    .40918E-01    .35333E-03
   4  Prefactor     .60962        .19603E-02    .63520E-01    .31479E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.42952
  Normalizat = 1.04478
  Prefactor  = 0.609619
 **********
 **   18 **HESSE 
 **********

 FCN=   6451.998     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      275 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    200.54        .32582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4295        7.5329        .50000       -.53995    
   3  Normalizat    1.0448        .71277E-02    .18950E-03   -.91545    
   4  Prefactor     .60962        .82962E-02    .28104E-03   -1.0718    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.8148e-07
Minuit parameter uncertainties:
  1  0.00112206
  2  211.015
  3  0.00712774
  4  0.00829622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/336481': 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) = 6451.99790295
delta logL = 7.56129338697e-07

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.122e-03  1.000e-04  1.000e+04 ( 1.000e-12)
227        Index:  2.430e+00  2.110e+02  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:  6.096e-01  8.296e-03  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.045e+00  7.128e-03  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/336481/cmap_HighResolution_643420801_643680001_4FGL_J0104.8-2416_daily_bin1559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-08-13 12:09:44.483551', job_id='336481', GAL2='0.61', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1628881784.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='7.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1559' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 12:09:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 336481: <4FGL_J0104.8-2416_daily_bin1559> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1559> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 11:55:30 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 11:55:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 11:55:40 2021
Terminated at Fri Aug 13 12:09:46 2021
Results reported at Fri Aug 13 12:09:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1559 16.2146 -24.2808 643420801 643680001 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 :                                   758.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            856 sec.

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

