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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1724
RA = 2.8551, Dec = 0.9646
tmin = 686188801, tmax = 686448001
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='684554', job_status='RUN', time_executed='2022-10-03 00:05:39.227908', time_epoch_executed='1664780739.23' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684554/ft1_4FGL_J0011.4+0057_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684554/ft1_4FGL_J0011.4+0057_daily_bin1724.fits outfile=/scratch/kocevski/684554/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1724.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=686188801.0 tmax=686448001.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.70
user 4.38
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.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/684554/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.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.53
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/684554/ltcube_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.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/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits
.....................!
real 17.21
user 16.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/684554/ltcube_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits outfile=/scratch/kocevski/684554/expmap_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.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/684554/ltcube_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits
.....................!
real 193.90
user 186.96
sys 6.06

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

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits outfile=/scratch/kocevski/684554/cmap_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.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=2.8551 yref=0.9646 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.59
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits outfile=/scratch/kocevski/684554/cmap_HighResolution_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.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=2.8551 yref=0.9646 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.58
user 0.36
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/684554/Model_4FGL_J0011.4+0057_daily_bin1724.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/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits.....................!
real 64.10
user 61.00
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits', '/scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits', expMap='/scratch/kocevski/684554/expmap_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits', expCube='/scratch/kocevski/684554/ltcube_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/684554/Model_4FGL_J0011.4+0057_daily_bin1724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/684554/ft1_filtered_4FGL_J0011.4+0057_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/684554/ft2_4FGL_J0011.4+0057_daily_bin1724.fits
Exposure map: /scratch/kocevski/684554/expmap_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits
Exposure cube: /scratch/kocevski/684554/ltcube_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/684554/Model_4FGL_J0011.4+0057_daily_bin1724.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) = 5883.23998865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20575E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.256       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .40766E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     6 'norm      '    3.4297       1.0000          .0000       .10000E+07
     7 'norm      '    .12810E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    15.745       1.0000          .0000       .10000E+07
     9 'norm      '    6.1082       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.8133       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20430E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15553E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .87449E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .14866E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .41076E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.426       1.0000          .0000       .10000E+07
    17 'Prefactor '    .64051       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.6942       1.0000          .0000       .10000E+07
    19 'Normalizat'    .85444       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5883.167     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1254 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    3.8011       -.12783E-06** at limit **
   2  Prefactor     24.873        2.6280        .23835E-07    .10913E-01
   3  Prefactor     .56621E-08    7.0656       -.48887E-06** at limit **
   4  norm          .25973E-05    9.2043       -.79680E-06** at limit **
   5  Prefactor     10.502        17.238       -.40921E-06   -.11749    
   6  norm          3.3794        3.6424        .81053E-07    .49382E-02
   7  norm          .11102E-09    2.2179        .32956E-06** at limit **
   8  Prefactor     15.730        1.8235       -.10858E-08    .26553E-01
   9  norm          6.0748        7.9295        .31708E-06    .11080E-02
  10  Prefactor     1.7381        4.1600       -.84031E-08    .38112E-03
  11  Prefactor     .13182E-05    42.210       -.97959E-06** at limit **
  12  Prefactor     .36915E-06    22.937       -.56737E-06** at limit **
  13  Prefactor     .16820E-07    10.414        .16589E-06** at limit **
  14  norm          .66613E-09    9.0196       -.77050E-07** at limit **
  15  Prefactor     .17764E-08    4.5819       -.20093E-06** at limit **
  16  Prefactor     16.619        47.505        .19027E-06   -.56853E-01
  17  Prefactor     .12772        65.001       -.35430E-06** at limit **
  18  Prefactor     8.6847        11.219       -.56460E-07   -.87367E-02
  19  Normalizat    .85798        .25178        .83398E-05    .14421E-03
  20  Prefactor     1.3685        .18804        .27164E-05    .22469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Prefactor  = 24.8727
  Prefactor  = 5.66214e-09
  norm       = 2.59731e-06
  Prefactor  = 10.5021
  norm       = 3.3794
  norm       = 1.11022e-10
  Prefactor  = 15.7304
  norm       = 6.07477
  Prefactor  = 1.73813
  Prefactor  = 1.31822e-06
  Prefactor  = 3.69149e-07
  Prefactor  = 1.68199e-08
  norm       = 6.66134e-10
  Prefactor  = 1.77636e-09
  Prefactor  = 16.6194
  Prefactor  = 0.127718
  Prefactor  = 8.68466
  Normalizat = 0.857981
  Prefactor  = 1.36846
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.167     FROM HESSE     STATUS=OK           351 CALLS     1605 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    3.8034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.873        22.387        .19903E-03   -1.5608    
   3  Prefactor     .56621E-08    7.0485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .25973E-05    3.0459        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.502        19.191        .31060E-03   -1.5643    
   6  norm          3.3794        3.7044        .54594E-03   -1.5671    
   7  norm          .11102E-09    2.2207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.730        14.193        .25214E-03   -1.5629    
   9  norm          6.0748        7.9451        .40599E-03   -1.5659    
  10  Prefactor     1.7381        4.2167        .77546E-03   -1.5682    
  11  Prefactor     .13182E-05    3.7627        .52857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36915E-06    23.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16820E-07    10.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66613E-09    9.0620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .17764E-08    4.5783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.619        50.224        .22133E-03   -1.5626    
  17  Prefactor     .12772        48.837        .93629E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.6847        11.271        .33971E-03   -1.5649    
  19  Normalizat    .85798        .23319        .77229E-01   -.97953    
  20  Prefactor     1.3685        .16551        .48770E-01   -.81294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81469e-06
Minuit parameter uncertainties:
  1  0.000117378
  2  22.3875
  3  0.000398836
  4  0.00562534
  5  19.1907
  6  3.70439
  7  3.46115e-05
  8  14.1926
  9  7.9451
  10  4.21666
  11  0.00445426
  12  0.00588166
  13  0.000839176
  14  0.000152524
  15  0.00018079
  16  50.2251
  17  4.99499
  18  11.2712
  19  0.233461
  20  0.165572
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  2.487e+01  2.239e+01  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.368e+00  1.656e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.580e-01  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.27
Ra Dec: 2.855 0.965
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 5.95e-08 +/- 5.35e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.92e-05

TS (Fixed Index): 2.27
Ra Dec: 2.855 0.965
Photon Flux Upper Limit: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684554/likelihoodResults_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.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) = 5882.8701788
delta logL = 0.296864251603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5882.86165097
delta logL = 0.305392086187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.025       1.0000          .0000       .10000E+07
     2 'Index     '    3.0519       1.0000          .0000       10.000    
     3 'Normalizat'    .80366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3963       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5882.862     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      322 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.996        239.95        .60296E-04   -.15536E-02
   2  Index         3.0542        6.5265        .46621E-02   -.25465E-04
   3  Normalizat    .80272        .32778        .35227E-03   -.17944E-04
   4  Prefactor     1.3966        .23914        .21380E-03   -.49111E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9959
  Index      = 3.05423
  Normalizat = 0.802725
  Prefactor  = 1.39663
 **********
 **   18 **HESSE 
 **********

 FCN=   5882.862     FROM HESSE     STATUS=OK            25 CALLS      347 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.996        22.718        .24118E-05   -1.5642    
   2  Index         3.0542        1.1581        .18648E-03   -.39971    
   3  Normalizat    .80272        .25451        .14091E-04   -.99968    
   4  Prefactor     1.3966        .19242        .42761E-04   -.80477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75986e-11
Minuit parameter uncertainties:
  1  22.7184
  2  1.1707
  3  0.25489
  4  0.192519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684554': 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) = 5882.86163977
delta logL = 0.30540328197

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  1.100e+01  2.272e+01  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  3.054e+00  1.171e+00  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.397e+00  1.925e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.027e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 2.855 0.965
Photon Index (Free Index): 3.05 +/- 1.17
Photon Flux (Free Index): 1.01e-07 +/- 7.99e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.40e-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/684554/cmap_HighResolution_686188801_686448001_4FGL_J0011.4+0057_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='5.95e-08', energy_flux2='1.97e-05', photon_flux_error='5.35e-08', dlogl='3.05e-01', energy_flux='2.14e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2022-10-03 00:15:30.372005', photon_index_error2='1.17', photon_index2='3.05', ts='2.27', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='1.40e-05', EG='0.86', time_epoch_completed='1664781330.37', return_code='0', job_id='684554', GAL2='1.40', EG2='0.80', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='7.99e-08', ts2='3.00', photon_index='2.33' WHERE bin_id='1724' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 00:15:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 684554: <4FGL_J0011.4+0057_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1724> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:13 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:05:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:05:14 2022
Terminated at Mon Oct  3 00:15:30 2022
Results reported at Mon Oct  3 00:15:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1724 2.8551 0.9646 686188801 686448001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            617 sec.

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

