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


Performing analysis on: 4FGL_J2025.2+0317_daily_bin1767
RA = 306.309, Dec = 3.2893
tmin = 697334401, tmax = 697593601
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='87418', job_status='RUN', time_executed='2023-02-09 01:46:35.771282', time_epoch_executed='1675935995.77' WHERE source_name='4FGL J2025.2+0317' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87418/ft1_4FGL_J2025.2+0317_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87418/ft1_4FGL_J2025.2+0317_daily_bin1767.fits outfile=/scratch/kocevski/87418/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1767.fits ra=306.309 dec=3.2893 rad=12.0 tmin=697334401.0 tmax=697593601.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.59
user 3.37
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.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/87418/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 904

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/87418/ltcube_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.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/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits
.....................!
real 15.46
user 15.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/87418/ltcube_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits outfile=/scratch/kocevski/87418/expmap_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.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/87418/ltcube_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits
.....................!
real 192.53
user 186.59
sys 5.56

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
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Added 243 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2025.2+0317 @ 306.309 3.2893

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits outfile=/scratch/kocevski/87418/cmap_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.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=306.309 yref=3.2893 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits outfile=/scratch/kocevski/87418/cmap_HighResolution_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.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=306.309 yref=3.2893 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87418/Model_4FGL_J2025.2+0317_daily_bin1767.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source W 51C
Working on...
/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits.....................!
real 160.59
user 158.94
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits', '/scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits', expMap='/scratch/kocevski/87418/expmap_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits', expCube='/scratch/kocevski/87418/ltcube_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87418/Model_4FGL_J2025.2+0317_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2025.2+0317'

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  4.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
517        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/87418/ft1_filtered_4FGL_J2025.2+0317_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/87418/ft2_4FGL_J2025.2+0317_daily_bin1767.fits
Exposure map: /scratch/kocevski/87418/expmap_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits
Exposure cube: /scratch/kocevski/87418/ltcube_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87418/Model_4FGL_J2025.2+0317_daily_bin1767.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) = 9566.61777251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.413       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18703E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18555E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .27645E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.470       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11141E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23490E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .14766E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.530       1.0000          .0000       .10000E+07
    11 'norm      '    .13848       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0729       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97852       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0207       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9566.607     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      988 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.472        1.9949       -.15032E-07   -.35502E-01
   2  Prefactor     5.9912        1.2520       -.55220E-08   -.14517E-01
   3  Prefactor     .72164E-09    22.795        .10552E-06** at limit **
   4  Prefactor      .0000        40.295       -.36911E-08** at limit **
   5  norm           .0000        1.7995        .17074E-07** at limit **
   6  Prefactor     13.415        17.933       -.91531E-07    .53000E-02
   7  Prefactor      .0000        2.6241        .12892E-08** at limit **
   8  Prefactor      .0000        6.9381       -.52247E-07** at limit **
   9  norm           .0000        .26137       -.21042E-07** at limit **
  10  Prefactor     15.090        35.898        .44322E-06    .55833E-02
  11  norm          .10591E-04    88.360       -.86080E-06** at limit **
  12  Prefactor     1.0667        7.0666        .21853E-07   -.15519E-04
  13  Normalizat    .97937        .30619        .17364E-05    .10482E-04
  14  Prefactor     1.0206        .84983E-01    .11474E-06    .47177E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4719
  Prefactor  = 5.9912
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.4152
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 15.0897
  norm       = 1.05912e-05
  Prefactor  = 1.06672
  Normalizat = 0.979367
  Prefactor  = 1.02057
 **********
 **   18 **HESSE 
 **********

 FCN=   9566.607     FROM HESSE     STATUS=OK           206 CALLS     1194 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.472        19.445        .29629E-03   -1.5640    
   2  Prefactor     5.9912        19.647        .41129E-03   -1.5659    
   3  Prefactor     .72164E-09    22.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        10.202        .97398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.7502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.415        17.984        .27266E-03   -1.5635    
   7  Prefactor      .0000        2.6190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.9032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .25488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.090        40.655        .26250E-03   -1.5630    
  11  norm          .10591E-04    7.1032        .78818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0667        7.0340        .11697E-02   -1.5687    
  13  Normalizat    .97937        .28619        .11369       -.93725    
  14  Prefactor     1.0206        .77330E-01    .31674E-01   -.92047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09869e-06
Minuit parameter uncertainties:
  1  19.4455
  2  19.6474
  3  0.000259872
  4  5.86403e-06
  5  9.32684e-07
  6  17.984
  7  2.69986e-06
  8  2.66483e-05
  9  1.12355e-07
  10  40.6557
  11  0.0173472
  12  5.47846
  13  0.286643
  14  0.0773383
Done.

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

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  0.000e+00  5.864e-06  0.000e+00  1.000e+06 ( 1.000e-13)
517        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
847    Prefactor:  1.021e+00  7.734e-02  0.000e+00  1.000e+01 ( 1.000e+00)
848        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
849        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
843   Normalization:  9.794e-01  2.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 306.309 3.289
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87418/likelihoodResults_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.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) = 9566.62102689
delta logL = -0.0136693857166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 9566.00706539
delta logL = 0.600292108818

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9566.607     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      681 TOTAL
                     EDM=   .60E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    .71145E-01    .42118E-03** at limit **
   2  Index         1.4675        7.7235        .50000        .13642E-09
   3  Normalizat    .97937        .68502E-03    .11369        .88953E-04
   4  Prefactor     1.0206        .19473E-03    .41044E-01   -.11417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 1.46752
  Normalizat = 0.979368
  Prefactor  = 1.02057
 **********
 **   18 **HESSE 
 **********

 FCN=   9566.607     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      714 TOTAL
                     EDM=   .81E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    .97910E-02    .30399E-02   -12750.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4675        9.2644        .50000        .23063E+06
   3  Normalizat    .97937        .25474E-03    .50409E-03   -214.57    
   4  Prefactor     1.0206        .72686E-04    .13998E-03    136.01    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.05411e-15
Minuit parameter uncertainties:
  1  3.94724e-06
  2  4810.65
  3  0.000254744
  4  7.26864e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87418': 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) = 9566.6073575
delta logL = -2.91038304567e-11

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  3.886e-10  3.947e-06  0.000e+00  1.000e+06 ( 1.000e-13)
517        Index:  1.468e+00  4.811e+03  0.000e+00  1.000e+01 (-1.000e+00)
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
847    Prefactor:  1.021e+00  7.269e-05  0.000e+00  1.000e+01 ( 1.000e+00)
848        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
849        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
843   Normalization:  9.794e-01  2.547e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 306.309 3.289

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/87418/cmap_HighResolution_697334401_697593601_4FGL_J2025.2+0317_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.87e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2023-02-09 02:00:57.324162', job_id='87418', GAL2='1.02', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1675936857.32', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-2.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1767' AND source_name='4FGL J2025.2+0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:00:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 87418: <4FGL_J2025.2+0317_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2025.2+0317_daily_bin1767> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Feb  9 01:45:15 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:46:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:46:10 2023
Terminated at Thu Feb  9 02:00:57 2023
Results reported at Thu Feb  9 02:00:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.2+0317_daily_bin1767 306.309 3.2893 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2025.2+0317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   863.19 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             333.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            942 sec.

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

