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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1750
RA = 163.628, Dec = 22.1913
tmin = 692928001, tmax = 693187201
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='6725', job_status='RUN', time_executed='2022-12-20 00:38:36.795427', time_epoch_executed='1671525516.8' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6725/ft1_4FGL_J1054.5+2211_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6725/ft1_4FGL_J1054.5+2211_daily_bin1750.fits outfile=/scratch/kocevski/6725/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1750.fits ra=163.628 dec=22.1913 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.21
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.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/6725/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/6725/ltcube_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.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/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits
.....................!
real 11.79
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6725/ltcube_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits outfile=/scratch/kocevski/6725/expmap_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.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/6725/ltcube_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits
.....................!
real 192.29
user 186.35
sys 5.55

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

Setting source of interest to:
4FGL J1054.5+2211 @ 163.628 22.1913

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits outfile=/scratch/kocevski/6725/cmap_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.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=163.628 yref=22.1913 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.55
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits outfile=/scratch/kocevski/6725/cmap_HighResolution_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.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=163.628 yref=22.1913 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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6725/Model_4FGL_J1054.5+2211_daily_bin1750.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/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits.....................!
real 56.06
user 54.69
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits', '/scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits', expMap='/scratch/kocevski/6725/expmap_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits', expCube='/scratch/kocevski/6725/ltcube_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/6725/Model_4FGL_J1054.5+2211_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1054.5+2211'

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  5.931e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/6725/ft1_filtered_4FGL_J1054.5+2211_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/6725/ft2_4FGL_J1054.5+2211_daily_bin1750.fits
Exposure map: /scratch/kocevski/6725/expmap_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits
Exposure cube: /scratch/kocevski/6725/ltcube_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/6725/Model_4FGL_J1054.5+2211_daily_bin1750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6013.63524985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39335E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.0178       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66310E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8414       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6808       1.0000          .0000       .10000E+07
     6 'Prefactor '    22.183       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27128E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38457E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3352       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35318E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15366E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .12536E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12391E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .28311E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .78926       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22274E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .34447E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0060       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6013.521     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1124 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.3686        .18806E-06** at limit **
   2  Prefactor     9.1006        1.2202       -.84720E-08    .90122E-02
   3  Prefactor     .31808E-07    71.667        .15853E-05** at limit **
   4  Prefactor     3.9443        5.6475       -.68633E-07    .35641E-03
   5  Prefactor     2.6763        1.9920        .55274E-07    .40981E-03
   6  Prefactor     22.085        10.082        .13215E-06    .85915E-01
   7  Prefactor     .34751E-04    15.491       -.34078E-06** at limit **
   8  Prefactor     .12014E-05    9.3420       -.30868E-06** at limit **
   9  Prefactor     3.3589        10.412        .44081E-06    .12100E-01
  10  Prefactor     .19984E-08    6.6707       -.48455E-06** at limit **
  11  Prefactor     .13772E-05    11.389       -.11791E-05** at limit **
  12  norm           .0000        1.0106       -.12450E-07** at limit **
  13  Prefactor     .14361E-06    12.980        .47695E-06** at limit **
  14  Prefactor      .0000        1.6686        .22598E-06** at limit **
  15  norm          .93571        4.4023        .88826E-07    .35492E-01
  16  Prefactor     .55511E-10    2.4601       -.10283E-06** at limit **
  17  Prefactor     .40523E-08    10.441        .72316E-06** at limit **
  18  Normalizat    1.0061        .20686        .26856E-06   -.44498E-04
  19  Prefactor     1.1595        .22039       -.24847E-05   -.48628E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 9.10062
  Prefactor  = 3.18079e-08
  Prefactor  = 3.94426
  Prefactor  = 2.67633
  Prefactor  = 22.0852
  Prefactor  = 3.47513e-05
  Prefactor  = 1.20137e-06
  Prefactor  = 3.35895
  Prefactor  = 1.9984e-09
  Prefactor  = 1.37718e-06
  norm       = 0
  Prefactor  = 1.43607e-07
  Prefactor  = 0
  norm       = 0.935706
  Prefactor  = 5.55112e-11
  Prefactor  = 4.05231e-09
  Normalizat = 1.00605
  Prefactor  = 1.15951
 **********
 **   18 **HESSE 
 **********

 FCN=   6013.521     FROM HESSE     STATUS=OK           312 CALLS     1436 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.3733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1006        45.107        .33352E-03   -1.5648    
   3  Prefactor     .31808E-07    71.741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9443        5.6814        .51468E-03   -1.5668    
   5  Prefactor     2.6763        2.0031        .62209E-03   -1.5675    
   6  Prefactor     22.085        10.514        .21238E-03   -1.5614    
   7  Prefactor     .34751E-04    4.3393        .11066E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12014E-05    14.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3589        11.830        .55398E-03   -1.5671    
  10  Prefactor     .19984E-08    6.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13772E-05    15.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .99858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14361E-06    1.6107        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.6722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93571        46.394        .53739E-03   -1.5689    
  16  Prefactor     .55511E-10    2.4645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .40523E-08    10.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0061        .17813        .46242E-01   -.92828    
  19  Prefactor     1.1595        .18649        .56726E-01   -.87586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95354e-07
Minuit parameter uncertainties:
  1  1.63683e-05
  2  40.522
  3  0.00302045
  4  5.6814
  5  2.00307
  6  10.5141
  7  0.0245598
  8  0.00829432
  9  11.8297
  10  0.00023056
  11  0.00931033
  12  5.56254e-06
  13  0.000961915
  14  6.56356e-06
  15  13.1775
  16  2.43557e-05
  17  0.000411855
  18  0.17824
  19  0.186593
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  3.359e+00  1.183e+01  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.160e+00  1.866e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.006e+00  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 163.628 22.191
Photon Flux Upper Limit: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6725/likelihoodResults_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.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) = 6013.51346033
delta logL = 0.00775809921652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6013.51108799
delta logL = 0.0101304390373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6578       1.0000          .0000       .10000E+07
     2 'Index     '    2.3973       1.0000          .0000       10.000    
     3 'Normalizat'    1.0017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1628       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+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=   6013.511     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      259 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6539        32.677        .12500E-03    .38315E-02
   2  Index         2.3984        3.0971        .11176E-01    .16023E-03
   3  Normalizat    1.0018        .20612        .24600E-03    .32350E-06
   4  Prefactor     1.1627        .22406        .25054E-03   -.56720E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.65395
  Index      = 2.39843
  Normalizat = 1.00179
  Prefactor  = 1.16266
 **********
 **   18 **HESSE 
 **********

 FCN=   6013.511     FROM HESSE     STATUS=OK            27 CALLS      286 TOTAL
                     EDM=   .62E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6539        12.585        .24999E-04   -1.5675    
   2  Index         2.3984        2.0617        .22352E-02   -.54722    
   3  Normalizat    1.0018        .20460        .98399E-05   -.92970    
   4  Prefactor     1.1627        .22140        .10022E-04   -.87488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24853e-13
Minuit parameter uncertainties:
  1  11.5584
  2  2.15163
  3  0.204765
  4  0.221574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6725': 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) = 6013.51108759
delta logL = 0.0101308403237

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.654e+00  1.156e+01  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.398e+00  2.152e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.163e+00  2.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.002e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 163.628 22.191

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/6725/cmap_HighResolution_692928001_693187201_4FGL_J1054.5+2211_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.77e-08', time_completed='2022-12-20 00:47:36.258759', job_id='6725', GAL2='1.16', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1671526056.26', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.01e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1750' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:47:36 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 6725: <4FGL_J1054.5+2211_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:12 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:13 2022
Terminated at Tue Dec 20 00:47:37 2022
Results reported at Tue Dec 20 00:47:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1750 163.628 22.1913 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1054.5+2211 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             225.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            745 sec.

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

