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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1762
RA = 198.688, Dec = 23.8124
tmin = 696038401, tmax = 696297601
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='109192', job_status='RUN', time_executed='2023-01-25 00:58:32.068637', time_epoch_executed='1674637112.07' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109192/ft1_4FGL_J1314.7+2348_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109192/ft1_4FGL_J1314.7+2348_daily_bin1762.fits outfile=/scratch/kocevski/109192/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1762.fits ra=198.688 dec=23.8124 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.45
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.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/109192/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/109192/ltcube_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.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/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits
.....................!
real 13.61
user 13.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/109192/ltcube_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits outfile=/scratch/kocevski/109192/expmap_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.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/109192/ltcube_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits
.....................!
real 191.18
user 185.36
sys 4.86

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

Setting source of interest to:
4FGL J1314.7+2348 @ 198.688 23.8124

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits outfile=/scratch/kocevski/109192/cmap_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.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=198.688 yref=23.8124 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits outfile=/scratch/kocevski/109192/cmap_HighResolution_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.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=198.688 yref=23.8124 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/109192/Model_4FGL_J1314.7+2348_daily_bin1762.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/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits.....................!
real 57.95
user 56.54
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits', '/scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits', expMap='/scratch/kocevski/109192/expmap_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits', expCube='/scratch/kocevski/109192/ltcube_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/109192/Model_4FGL_J1314.7+2348_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1314.7+2348'

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  9.277e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/109192/ft1_filtered_4FGL_J1314.7+2348_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/109192/ft2_4FGL_J1314.7+2348_daily_bin1762.fits
Exposure map: /scratch/kocevski/109192/expmap_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits
Exposure cube: /scratch/kocevski/109192/ltcube_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/109192/Model_4FGL_J1314.7+2348_daily_bin1762.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) = 6925.68150438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6351       1.0000          .0000       .10000E+07
     2 'norm      '    .14044E-07   1.0000          .0000       .10000E+07
     3 'norm      '    12.645       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4517       1.0000          .0000       .10000E+07
     6 'norm      '    11.173       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12393E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.659       1.0000          .0000       .10000E+07
     9 'norm      '    5.4097       1.0000          .0000       .10000E+07
    10 'norm      '    37.236       1.0000          .0000       .10000E+07
    11 'norm      '    23.739       1.0000          .0000       .10000E+07
    12 'norm      '    38.725       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21912E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17873E-01   1.0000          .0000       .10000E+07
    15 'norm      '    64.223       1.0000          .0000       .10000E+07
    16 'Prefactor '    .67381E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.5419       1.0000          .0000       .10000E+07
    18 'norm      '    .51806E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    14.058       1.0000          .0000       .10000E+07
    20 'Prefactor '    .65796E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.7986       1.0000          .0000       .10000E+07
    22 'Prefactor '    .55317E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3355       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6925.591     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2056 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6328        3.7351       -.99514E-07   -.46478E-04
   2  norm           .0000        .19508        .42340E-07** at limit **
   3  norm          12.619        5.7809        .62528E-08    .87734E-05
   4  Prefactor     .11102E-08    5.6989        .29901E-07** at limit **
   5  Prefactor     2.4349        5.3205        .15413E-07   -.30449E-04
   6  norm          11.209        10.180        .28068E-06   -.24544E-02
   7  Prefactor     .11102E-08    5.6249        .81198E-07** at limit **
   8  Prefactor     37.780        52.789       -.13640E-05    .38457E-02
   9  norm          5.4071        4.2878       -.39730E-07   -.12712E-03
  10  norm          37.329        7.5198        .27058E-07    .27689E-01
  11  norm          23.735        5.2602       -.13732E-06   -.37033E-01
  12  norm          38.796        1.5110        .52955E-08    .12676E-01
  13  Prefactor      .0000        3.1289       -.13445E-07** at limit **
  14  Prefactor      .0000        30.672       -.22534E-06** at limit **
  15  norm          64.371        12.652       -.19551E-07    .45386E-03
  16  Prefactor     .27756E-09    56.899        .70562E-06** at limit **
  17  Prefactor     3.4849        2.3583        .18116E-06   -.19919E-02
  18  norm          .11102E-09    13.641        .35460E-06** at limit **
  19  Prefactor     14.080        1.9098       -.30989E-07   -.14490E-01
  20  Prefactor      .0000        21.144        .19822E-06** at limit **
  21  Prefactor     6.7550        5.5149        .86146E-07    .29907E-03
  22  Prefactor      .0000        5.0249       -.10248E-06** at limit **
  23  Normalizat    1.3357        .22736       -.43433E-05   -.29699E-05
  24  Prefactor     .69210        .20761        .52781E-05    .10702E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63278
  norm       = 0
  norm       = 12.6186
  Prefactor  = 1.11022e-09
  Prefactor  = 2.43493
  norm       = 11.2086
  Prefactor  = 1.11022e-09
  Prefactor  = 37.7801
  norm       = 5.40706
  norm       = 37.329
  norm       = 23.7354
  norm       = 38.7961
  Prefactor  = 0
  Prefactor  = 0
  norm       = 64.3712
  Prefactor  = 2.77556e-10
  Prefactor  = 3.48488
  norm       = 1.11022e-10
  Prefactor  = 14.0797
  Prefactor  = 0
  Prefactor  = 6.75498
  Prefactor  = 0
  Normalizat = 1.33574
  Prefactor  = 0.692099
 **********
 **   18 **HESSE 
 **********

 FCN=   6925.591     FROM HESSE     STATUS=OK           463 CALLS     2519 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6328        3.7469        .62788E-03   -1.5676    
   2  norm           .0000        .11941        .11773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.619        5.7797        .28144E-03   -1.5637    
   4  Prefactor     .11102E-08    5.7191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4349        5.3424        .65302E-03   -1.5677    
   6  norm          11.209        10.351        .29947E-03   -1.5641    
   7  Prefactor     .11102E-08    5.6479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.780        52.946        .16085E-03   -1.5585    
   9  norm          5.4071        4.3062        .43181E-03   -1.5661    
  10  norm          37.329        12.609        .16390E-03   -1.5586    
  11  norm          23.735        18.021        .20529E-03   -1.5611    
  12  norm          38.796        25.524        .16071E-03   -1.5583    
  13  Prefactor      .0000        3.1157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.884        .92935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          64.371        12.823        .12479E-03   -1.5547    
  16  Prefactor     .27756E-09    56.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.4849        251.74        .53684E-03   -1.5671    
  18  norm          .11102E-09    13.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.080        20.571        .26688E-03   -1.5633    
  20  Prefactor      .0000        21.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7550        5.5132        .38457E-03   -1.5656    
  22  Prefactor      .0000        5.0237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3357        .19470        .58632E-01   -.82506    
  24  Prefactor     .69210        .17688        .74707E-01   -1.0384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44428e-07
Minuit parameter uncertainties:
  1  3.74687
  2  3.29475e-08
  3  5.77973
  4  0.000158627
  5  5.34245
  6  10.3508
  7  0.000158038
  8  52.9465
  9  4.30619
  10  12.6094
  11  18.0214
  12  25.5244
  13  2.016e-06
  14  2.02272e-07
  15  12.8232
  16  0.000240252
  17  59.2411
  18  8.24114e-05
  19  20.5712
  20  8.83672e-06
  21  5.51321
  22  3.77517e-06
  23  0.194812
  24  0.177019
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  3.880e+01  2.552e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  6.921e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.336e+00  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 2.88e-05 +/- 1.89e-05

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) = 6925.51686847
delta logL = 0.0737689335228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6925.51575777
delta logL = 0.0748796333964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.347       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6829       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68818       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6925.516     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      227 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.347        62.575        .15944E-03    .81302E-03
   2  alpha         1.6830        1.0442        .41095       -.57286E-04
   3  Normalizat    1.3432        .19247        .58508E-01    .59037E-05
   4  Prefactor     .68811        .17945        .74907E-01    .23804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.3468
  alpha      = 1.68295
  Normalizat = 1.34317
  Prefactor  = 0.688106
 **********
 **   18 **HESSE 
 **********

 FCN=   6925.516     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.347        25.763        .63775E-05   -1.5583    
   2  alpha         1.6830        .52834        .15018E-01   -.33294    
   3  Normalizat    1.3432        .21591        .25873E-03   -.82287    
   4  Prefactor     .68811        .20537        .33160E-03   -1.0399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10809e-10
Minuit parameter uncertainties:
  1  25.7628
  2  0.532845
  3  0.216058
  4  0.205594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109192': 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) = 6925.51575771
delta logL = 0.074879691475

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  3.935e+01  2.576e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.683e+00  5.328e-01  0.000e+00  5.000e+00 ( 1.000e+00)
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  6.881e-01  2.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.343e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.97
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.68 +/- 0.53
Photon Flux (Free Index): 2.93e-08 +/- 2.59e-08
Energy Flux (Free Index): 3.64e-05 +/- 3.38e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/109192/cmap_HighResolution_696038401_696297601_4FGL_J1314.7+2348_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='3.64e-05', photon_flux_error='2.43e-08', dlogl='7.49e-02', energy_flux='2.88e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2023-01-25 01:08:21.675217', photon_index_error2='0.53', photon_index2='1.68', ts='4.79', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='3.38e-05', EG='1.34', time_epoch_completed='1674637701.68', return_code='0', job_id='109192', GAL2='0.69', EG2='1.34', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='2.59e-08', ts2='4.97', photon_index='1.90' WHERE bin_id='1762' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:08:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 109192: <4FGL_J1314.7+2348_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1762> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jan 25 00:55:26 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:56:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:56:58 2023
Terminated at Wed Jan 25 01:08:22 2023
Results reported at Wed Jan 25 01:08:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1762 198.688 23.8124 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1314.7+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   591.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            776 sec.

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

