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


Performing analysis on: 4FGL_J2025.2+0317_daily_bin1731
RA = 306.309, Dec = 3.2893
tmin = 688003201, tmax = 688262401
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='549899', job_status='RUN', time_executed='2022-10-24 00:35:59.721639', time_epoch_executed='1666596959.72' WHERE source_name='4FGL J2025.2+0317' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549899/ft1_4FGL_J2025.2+0317_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549899/ft1_4FGL_J2025.2+0317_daily_bin1731.fits outfile=/scratch/kocevski/549899/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1731.fits ra=306.309 dec=3.2893 rad=12.0 tmin=688003201.0 tmax=688262401.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.55
user 3.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.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/549899/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.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: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/549899/ltcube_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.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/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits
.....................!
real 12.24
user 11.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/549899/ltcube_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits outfile=/scratch/kocevski/549899/expmap_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.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/549899/ltcube_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits
.....................!
real 190.96
user 184.95
sys 5.64

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/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits outfile=/scratch/kocevski/549899/cmap_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits outfile=/scratch/kocevski/549899/cmap_HighResolution_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549899/Model_4FGL_J2025.2+0317_daily_bin1731.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/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits.....................!
real 161.88
user 160.30
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits', '/scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits', expMap='/scratch/kocevski/549899/expmap_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits', expCube='/scratch/kocevski/549899/ltcube_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549899/Model_4FGL_J2025.2+0317_daily_bin1731.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/549899/ft1_filtered_4FGL_J2025.2+0317_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/549899/ft2_4FGL_J2025.2+0317_daily_bin1731.fits
Exposure map: /scratch/kocevski/549899/expmap_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits
Exposure cube: /scratch/kocevski/549899/ltcube_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549899/Model_4FGL_J2025.2+0317_daily_bin1731.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) = 9371.4677804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.666       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.342       1.0000          .0000       .10000E+07
     3 'Prefactor '    28.293       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9439       1.0000          .0000       .10000E+07
     5 'norm      '    1.2465       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61651E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23292E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .41039E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .36523       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45363       1.0000          .0000       .10000E+07
    11 'norm      '    .81361E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .88817E-03   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1835       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .93727       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=   9371.446     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      946 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.652        1.0413        .43170E-09   -.42582E-02
   2  Prefactor     25.283        1.6481        .41117E-08   -.88387E-01
   3  Prefactor     28.260        1.6518       -.37770E-08    .70903E-01
   4  Prefactor     2.9411        12.494       -.26029E-07    .20842E-02
   5  norm          1.2469        1.2454       -.12766E-07   -.18960E-02
   6  Prefactor     .13323E-08    66.243        .40340E-07** at limit **
   7  Prefactor      .0000        4.3253       -.87519E-08** at limit **
   8  Prefactor      .0000        5.2920       -.28247E-07** at limit **
   9  norm          .36630        .42107        .40555E-08   -.18822E-04
  10  Prefactor     .29976E-08    40.997       -.25087E-07** at limit **
  11  norm           .0000        3.7715       -.27603E-07** at limit **
  12  Prefactor     .10547E-08    23.765        .18080E-06** at limit **
  13  Normalizat    1.1838        .30325       -.34398E-05   -.16606E-03
  14  Prefactor     .93728        .85021E-01    .18698E-06   -.42232E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6522
  Prefactor  = 25.2831
  Prefactor  = 28.2596
  Prefactor  = 2.94113
  norm       = 1.24694
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.366303
  Prefactor  = 2.9976e-09
  norm       = 0
  Prefactor  = 1.05471e-09
  Normalizat = 1.18378
  Prefactor  = 0.937277
 **********
 **   18 **HESSE 
 **********

 FCN=   9371.446     FROM HESSE     STATUS=OK           196 CALLS     1142 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.652        27.605        .30653E-03   -1.5643    
   2  Prefactor     25.283        26.078        .19869E-03   -1.5607    
   3  Prefactor     28.260        41.191        .18803E-03   -1.5602    
   4  Prefactor     2.9411        12.404        .59168E-03   -1.5674    
   5  norm          1.2469        1.2657        .10024E-02   -1.5686    
   6  Prefactor     .13323E-08    65.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.3432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.2987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .36630        .49825        .15765E-02   -1.5696    
  10  Prefactor     .29976E-08    41.018        .83518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.7717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10547E-08    23.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1838        .26974        .10291       -.87105    
  14  Prefactor     .93728        .75704E-01    .32064E-01   -.94850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13504e-07
Minuit parameter uncertainties:
  1  27.6048
  2  26.0778
  3  41.1914
  4  12.0801
  5  1.26571
  6  0.000585528
  7  4.12315e-07
  8  1.01933e-05
  9  0.498253
  10  0.000698523
  11  9.66048e-06
  12  0.000312284
  13  0.270061
  14  0.0757123
Done.

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

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  2.941e+00  1.208e+01  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:  9.373e-01  7.571e-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:  1.184e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/549899/likelihoodResults_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.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) = 9371.43986966
delta logL = 0.00620378538406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9371.43926991
delta logL = 0.0068035300701

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5643       1.0000          .0000       .10000E+07
     2 'Index     '    2.3531       1.0000          .0000       10.000    
     3 'Normalizat'    1.1815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93752       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9371.439     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      272 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5643        14.597        .12744E-03   -.18963E-02
   2  Index         2.3533        1.6578        .61128E-02    .21797E-05
   3  Normalizat    1.1815        .30190        .45646E-03    .69737E-06
   4  Prefactor     .93755        .84976E-01    .14166E-03   -.16051E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56432
  Index      = 2.35327
  Normalizat = 1.18146
  Prefactor  = 0.937551
 **********
 **   18 **HESSE 
 **********

 FCN=   9371.439     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5643        12.115        .50977E-05   -1.5676    
   2  Index         2.3533        1.5181        .24451E-03   -.55783    
   3  Normalizat    1.1815        .30214        .18259E-04   -.87178    
   4  Prefactor     .93755        .85013E-01    .56664E-05   -.94841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95149e-10
Minuit parameter uncertainties:
  1  11.1476
  2  1.55248
  3  0.30259
  4  0.0850247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549899': 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) = 9371.43926985
delta logL = 0.00680359026046

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  2.564e+00  1.115e+01  0.000e+00  1.000e+06 ( 1.000e-13)
517        Index:  2.353e+00  1.552e+00  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:  9.376e-01  8.502e-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:  1.181e+00  3.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/549899/cmap_HighResolution_688003201_688262401_4FGL_J2025.2+0317_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.45e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2022-10-24 00:49:19.950404', job_id='549899', GAL2='0.94', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1666597759.95', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='6.80e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1731' AND source_name='4FGL J2025.2+0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:49:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 549899: <4FGL_J2025.2+0317_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2025.2+0317_daily_bin1731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Oct 24 00:35:46 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:35:47 2022
Terminated at Mon Oct 24 00:49:20 2022
Results reported at Mon Oct 24 00:49:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.2+0317_daily_bin1731 306.309 3.2893 688003201 688262401 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 :                                   801.43 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             374.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            814 sec.

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

