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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1752
RA = 198.688, Dec = 23.8124
tmin = 693446401, tmax = 693705601
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='263425', job_status='RUN', time_executed='2022-12-26 00:58:01.468999', time_epoch_executed='1672045081.47' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263425/ft1_4FGL_J1314.7+2348_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263425/ft1_4FGL_J1314.7+2348_daily_bin1752.fits outfile=/scratch/kocevski/263425/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1752.fits ra=198.688 dec=23.8124 rad=12.0 tmin=693446401.0 tmax=693705601.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.47
user 3.26
sys 0.20

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

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

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/263425/ltcube_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.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/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits
.....................!
real 14.60
user 14.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/263425/ltcube_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits outfile=/scratch/kocevski/263425/expmap_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.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/263425/ltcube_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits
.....................!
real 192.69
user 185.94
sys 5.33

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/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits scfile=/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits outfile=/scratch/kocevski/263425/cmap_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits scfile=/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits outfile=/scratch/kocevski/263425/cmap_HighResolution_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263425/Model_4FGL_J1314.7+2348_daily_bin1752.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/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits.....................!
real 52.22
user 50.40
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits', '/scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits', expMap='/scratch/kocevski/263425/expmap_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits', expCube='/scratch/kocevski/263425/ltcube_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/263425/Model_4FGL_J1314.7+2348_daily_bin1752.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/263425/ft1_filtered_4FGL_J1314.7+2348_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/263425/ft2_4FGL_J1314.7+2348_daily_bin1752.fits
Exposure map: /scratch/kocevski/263425/expmap_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits
Exposure cube: /scratch/kocevski/263425/ltcube_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/263425/Model_4FGL_J1314.7+2348_daily_bin1752.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) = 6121.19750485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25482E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .32752E-08   1.0000          .0000       .10000E+07
     3 'norm      '    14.943       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45575E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1692       1.0000          .0000       .10000E+07
     6 'norm      '    .44992E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13417E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    28.866       1.0000          .0000       .10000E+07
     9 'norm      '    .23326E-06   1.0000          .0000       .10000E+07
    10 'norm      '    28.628       1.0000          .0000       .10000E+07
    11 'norm      '    .20099E-04   1.0000          .0000       .10000E+07
    12 'norm      '    12.612       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3752       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14527E-03   1.0000          .0000       .10000E+07
    15 'norm      '    11.161       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14748E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    75.109       1.0000          .0000       .10000E+07
    18 'norm      '    1.8291       1.0000          .0000       .10000E+07
    19 'Prefactor '    .52131E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46022E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.6083       1.0000          .0000       .10000E+07
    22 'Prefactor '    8.6102       1.0000          .0000       .10000E+07
    23 'Normalizat'    .97499       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1160       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=   6121.172     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2015 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21261E-07    3.1788        .82138E-07** at limit **
   2  norm           .0000        .99365E-01   -.67038E-08** at limit **
   3  norm          14.944        5.3833       -.46281E-07   -.27486E-03
   4  Prefactor      .0000        5.9046        .87695E-07** at limit **
   5  Prefactor     4.2068        4.1394       -.79547E-07    .63994E-04
   6  norm           .0000        1.5289       -.82517E-07** at limit **
   7  Prefactor     .22204E-09    7.6229        .17926E-06** at limit **
   8  Prefactor     28.500        26.889       -.13629E-06   -.22207E-03
   9  norm           .0000        1.0310        .20788E-06** at limit **
  10  norm          28.698        6.3687        .30220E-07   -.95453E-03
  11  norm          .55511E-10    18.849       -.14618E-05** at limit **
  12  norm          12.606        1.0674       -.45054E-08    .33768E-02
  13  Prefactor     2.3824        3.8869       -.15787E-06    .19710E-03
  14  Prefactor     .11102E-09    5.3746       -.23111E-06** at limit **
  15  norm          11.142        6.8155       -.88338E-07   -.34292E-03
  16  Prefactor     .61062E-09    10.849        .15703E-07** at limit **
  17  Prefactor     73.978        69.643       -.10325E-06    .32119E-03
  18  norm          1.8487        7.3730        .40837E-07   -.95969E-04
  19  Prefactor     .99920E-09    6.5805        .26945E-06** at limit **
  20  Prefactor     .13212E-07    6.4512        .30598E-07** at limit **
  21  Prefactor     1.5930        3.6703        .87286E-07   -.25315E-03
  22  Prefactor     8.6080        2.2116        .32003E-07   -.22531E-01
  23  Normalizat    .97518        .21617        .37831E-05   -.22057E-04
  24  Prefactor     1.1159        .22282       -.11439E-05   -.18966E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12608e-08
  norm       = 0
  norm       = 14.9437
  Prefactor  = 0
  Prefactor  = 4.20684
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 28.5002
  norm       = 0
  norm       = 28.6978
  norm       = 5.55112e-11
  norm       = 12.6063
  Prefactor  = 2.38244
  Prefactor  = 1.11022e-10
  norm       = 11.1422
  Prefactor  = 6.10623e-10
  Prefactor  = 73.9781
  norm       = 1.84869
  Prefactor  = 9.99201e-10
  Prefactor  = 1.32117e-08
  Prefactor  = 1.59298
  Prefactor  = 8.60802
  Normalizat = 0.975179
  Prefactor  = 1.11591
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.172     FROM HESSE     STATUS=OK           447 CALLS     2462 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21261E-07    9.1671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .95428E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.944        5.3875        .25884E-03   -1.5631    
   4  Prefactor      .0000        5.9067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2068        4.1350        .49336E-03   -1.5667    
   6  norm           .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    7.9487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.500        26.865        .18616E-03   -1.5601    
   9  norm           .0000        1.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          28.698        6.3869        .18693E-03   -1.5601    
  11  norm          .55511E-10    18.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.606        12.031        .28180E-03   -1.5637    
  13  Prefactor     2.3824        3.9179        .66449E-03   -1.5677    
  14  Prefactor     .11102E-09    5.4133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.142        6.8970        .29963E-03   -1.5641    
  16  Prefactor     .61062E-09    10.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     73.978        69.901        .11539E-03   -1.5536    
  18  norm          1.8487        7.5242        .77145E-03   -1.5681    
  19  Prefactor     .99920E-09    6.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13212E-07    9.1209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5930        3.6873        .83510E-03   -1.5683    
  22  Prefactor     8.6080        11.566        .34137E-03   -1.5649    
  23  Normalizat    .97518        .18085        .45853E-01   -.93867    
  24  Prefactor     1.1159        .18647        .57504E-01   -.88960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03377e-07
Minuit parameter uncertainties:
  1  0.000883356
  2  9.73047e-09
  3  5.38754
  4  7.6667e-06
  5  4.13504
  6  1.43737e-06
  7  8.35962e-05
  8  26.8649
  9  2.16455e-06
  10  6.38686
  11  6.86057e-05
  12  12.0312
  13  3.91792
  14  4.44325e-05
  15  6.89703
  16  0.000162291
  17  69.9018
  18  7.4592
  19  0.000161737
  20  0.000694272
  21  3.68735
  22  11.566
  23  0.180966
  24  0.18658
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.261e+01  1.203e+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:  1.116e+00  1.866e-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:  9.752e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.49
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 9.35e-06 +/- 8.93e-06

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) = 6120.95812276
delta logL = 0.214129964752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6120.95730032
delta logL = 0.214952401589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.113       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4011       1.0000          .0000       5.0000    
     3 'Normalizat'    .97956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1145       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6120.957     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      254 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.111        12.574        .11503E-04   -.11889E-02
   2  alpha         1.4007        .71870        .19998E-01    .10984E-04
   3  Normalizat    .97930        .20719        .25411E-03    .24804E-03
   4  Prefactor     1.1146        .22073        .25443E-03    .20624E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.1106
  alpha      = 1.4007
  Normalizat = 0.979305
  Prefactor  = 1.11458
 **********
 **   18 **HESSE 
 **********

 FCN=   6120.957     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.111        12.724        .46012E-06   -1.5638    
   2  alpha         1.4007        .72721        .79991E-03   -.45528    
   3  Normalizat    .97930        .20738        .50822E-04   -.93727    
   4  Prefactor     1.1146        .22093        .50887E-04   -.89002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30635e-11
Minuit parameter uncertainties:
  1  12.7238
  2  0.74056
  3  0.207552
  4  0.221117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263425': 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) = 6120.95729777
delta logL = 0.214954952504

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.211e+01  1.272e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.401e+00  7.406e-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:  1.115e+00  2.211e-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:  9.793e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.40 +/- 0.74
Photon Flux (Free Index): 7.23e-09 +/- 9.06e-09
Energy Flux (Free Index): 1.82e-05 +/- 2.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/263425/cmap_HighResolution_693446401_693705601_4FGL_J1314.7+2348_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='1.82e-05', photon_flux_error='1.15e-08', dlogl='2.15e-01', energy_flux='9.35e-06', photon_flux2='7.23e-09', job_status='DONE', time_completed='2022-12-26 01:07:33.651212', photon_index_error2='0.74', photon_index2='1.40', ts='5.49', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='0.98', time_epoch_completed='1672045653.65', return_code='0', job_id='263425', GAL2='1.11', EG2='0.98', return_code2='0', energy_flux_error='8.93e-06', photon_flux_error2='9.06e-09', ts2='5.92', photon_index='1.90' WHERE bin_id='1752' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:07:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 263425: <4FGL_J1314.7+2348_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:55:19 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:55:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:55:59 2022
Terminated at Mon Dec 26 01:07:34 2022
Results reported at Mon Dec 26 01:07:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1752 198.688 23.8124 693446401 693705601 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 :                                   570.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            735 sec.

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

