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


Performing analysis on: 4FGL_J1312.6+4828_daily_bin1751
RA = 198.169, Dec = 48.4701
tmin = 693187201, tmax = 693446401
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='79019', job_status='RUN', time_executed='2022-12-23 00:47:37.510062', time_epoch_executed='1671785257.51' WHERE source_name='4FGL J1312.6+4828' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79019

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79019/ft1_4FGL_J1312.6+4828_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79019/ft1_4FGL_J1312.6+4828_daily_bin1751.fits outfile=/scratch/kocevski/79019/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin1751.fits ra=198.169 dec=48.4701 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.40
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.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/79019/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.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.34
sys 0.15

Number of photons that the gtmktime cut: 526

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79019/ltcube_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.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/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits
.....................!
real 12.05
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79019/ltcube_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits outfile=/scratch/kocevski/79019/expmap_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.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/79019/ltcube_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits
.....................!
real 189.63
user 184.94
sys 4.37

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

Setting source of interest to:
4FGL J1312.6+4828 @ 198.169 48.4701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits outfile=/scratch/kocevski/79019/cmap_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.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.169 yref=48.4701 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits outfile=/scratch/kocevski/79019/cmap_HighResolution_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.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.169 yref=48.4701 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79019/Model_4FGL_J1312.6+4828_daily_bin1751.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/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits.....................!
real 49.03
user 47.71
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits', '/scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits', expMap='/scratch/kocevski/79019/expmap_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits', expCube='/scratch/kocevski/79019/ltcube_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79019/Model_4FGL_J1312.6+4828_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.6+4828'

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.452e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79019/ft1_filtered_4FGL_J1312.6+4828_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/79019/ft2_4FGL_J1312.6+4828_daily_bin1751.fits
Exposure map: /scratch/kocevski/79019/expmap_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits
Exposure cube: /scratch/kocevski/79019/ltcube_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79019/Model_4FGL_J1312.6+4828_daily_bin1751.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) = 5744.50158718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74662       1.0000          .0000       .10000E+07
     2 'norm      '    4.7485       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.4754       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32752E-08   1.0000          .0000       .10000E+07
     5 'norm      '    3.1190       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.7817       1.0000          .0000       .10000E+07
     7 'norm      '    .26601E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .87050E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56842E-02   1.0000          .0000       .10000E+07
    10 'norm      '    2.5320       1.0000          .0000       .10000E+07
    11 'norm      '    5.2865       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.387       1.0000          .0000       .10000E+07
    13 'Prefactor '    .80201E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .19285E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .74396E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .12038E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .65311E-05   1.0000          .0000       .10000E+07
    18 'norm      '    10.176       1.0000          .0000       .10000E+07
    19 'Prefactor '    82.144       1.0000          .0000       .10000E+07
    20 'Prefactor '    18.221       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14289E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.5493       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.1993       1.0000          .0000       .10000E+07
    24 'Normalizat'    .99914       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85925       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5744.474     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2101 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75581        2.3124       -.80187E-06    .41681E-03
   2  norm          4.7430        5.4698       -.22837E-06   -.11712E-02
   3  Prefactor     8.5562        4.0995        .14651E-05    .16684E-01
   4  Prefactor      .0000        3.0601        .84620E-06** at limit **
   5  norm          3.1195        1.7527       -.44503E-07    .66197E-03
   6  Prefactor     2.8201        3.4458        .27172E-05    .23167E-01
   7  norm           .0000        .75044       -.56665E-06** at limit **
   8  Prefactor     .72164E-09    8.6966        .10414E-05** at limit **
   9  Prefactor     .13156E-04    103.01        .97996E-05** at limit **
  10  norm          2.4882        12.068        .34248E-05   -.12099E-03
  11  norm          5.2340        3.7742       -.24603E-06   -.74334E-03
  12  Prefactor     18.058        22.180        .52850E-05    .13929    
  13  Prefactor     .21677E-04    185.76        .22582E-04** at limit **
  14  norm           .0000        1.0322        .30228E-07** at limit **
  15  Prefactor     .11102E-08    15.174       -.61924E-06** at limit **
  16  norm           .0000        .45144       -.31262E-07** at limit **
  17  norm           .0000        .84755        .73121E-06** at limit **
  18  norm          10.150        12.731       -.29420E-06   -.31452E-02
  19  Prefactor     83.242        42.686        .52177E-05   -.17961    
  20  Prefactor     19.442        30.598       -.29282E-06   -.76877E-01
  21  Prefactor     .55511E-09    10.381        .85486E-06** at limit **
  22  Prefactor     9.4913        2.4861        .27863E-06    .53461E-03
  23  Prefactor     3.2037        3.1766       -.43760E-07    .76066E-03
  24  Normalizat    .99866        .17886       -.17858E-04   -.14105E-03
  25  Prefactor     .85887        .22086        .22674E-04   -.90122E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.755815
  norm       = 4.74304
  Prefactor  = 8.55615
  Prefactor  = 0
  norm       = 3.11952
  Prefactor  = 2.82006
  norm       = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 1.31556e-05
  norm       = 2.48817
  norm       = 5.23403
  Prefactor  = 18.0585
  Prefactor  = 2.16767e-05
  norm       = 0
  Prefactor  = 1.11022e-09
  norm       = 0
  norm       = 0
  norm       = 10.15
  Prefactor  = 83.2421
  Prefactor  = 19.442
  Prefactor  = 5.55112e-10
  Prefactor  = 9.49126
  Prefactor  = 3.20373
  Normalizat = 0.998664
  Prefactor  = 0.858866
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.474     FROM HESSE     STATUS=OK           479 CALLS     2580 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75581        2.3189        .57001E-03   -1.5691    
   2  norm          4.7430        6.0007        .46150E-03   -1.5664    
   3  Prefactor     8.5562        20.516        .34410E-03   -1.5649    
   4  Prefactor      .0000        3.0551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1195        1.7499        .57386E-03   -1.5673    
   6  Prefactor     2.8201        29.413        .60986E-03   -1.5674    
   7  norm           .0000        .74848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    8.6884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13156E-04    106.73        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4882        12.154        .64162E-03   -1.5676    
  11  norm          5.2340        3.8080        .43690E-03   -1.5662    
  12  Prefactor     18.058        27.780        .23992E-03   -1.5623    
  13  Prefactor     .21677E-04    12.724        .14495E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.0310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-08    15.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .44726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .84700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.150        12.734        .31386E-03   -1.5644    
  19  Prefactor     83.242        58.059        .11034E-03   -1.5525    
  20  Prefactor     19.442        31.917        .23436E-03   -1.5620    
  21  Prefactor     .55511E-09    10.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.4913        18.721        .32405E-03   -1.5646    
  23  Prefactor     3.2037        3.2491        .56621E-03   -1.5672    
  24  Normalizat    .99866        .15501        .46156E-01   -.93075    
  25  Prefactor     .85887        .18772        .44484E-01   -.97594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49297e-06
Minuit parameter uncertainties:
  1  2.31886
  2  6.00072
  3  20.5166
  4  9.28412e-06
  5  1.74988
  6  18.2151
  7  2.24118e-06
  8  0.000159867
  9  0.0749448
  10  10.9984
  11  3.808
  12  27.78
  13  0.0332147
  14  1.51096e-06
  15  0.000261426
  16  3.28951e-07
  17  5.48925e-06
  18  12.7341
  19  58.0597
  20  31.9168
  21  0.000151964
  22  18.7214
  23  3.24912
  24  0.155084
  25  0.187857
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  5.234e+00  3.808e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  8.589e-01  1.879e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.987e-01  1.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.89
Ra Dec: 198.169 48.470
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.17e-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) = 5744.20494526
delta logL = 0.269262502098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5744.19856259
delta logL = 0.275645178565

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5744.199     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      254 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6167        61.943        .46814E-03    .85119E-02
   2  alpha         2.5140        3.6454        .32425        .10697E-03
   3  Normalizat    .97912        .70729E-01    .45905E-01   -.31931E-04
   4  Prefactor     .87197        .73841E-01    .44647E-01   -.49552E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.61674
  alpha      = 2.51397
  Normalizat = 0.979122
  Prefactor  = 0.871968
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.199     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6167        3.5260        .95869E-05   -1.5665    
   2  alpha         2.5140        .61508        .12143E-01    .55871E-02
   3  Normalizat    .97912        .17656        .20555E-03   -.93733    
   4  Prefactor     .87197        .21966        .27167E-03   -.97128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09432e-10
Minuit parameter uncertainties:
  1  3.52604
  2  0.621464
  3  0.176669
  4  0.219882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79019': 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) = 5744.1985617
delta logL = 0.275646068364

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  4.617e+00  3.526e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.514e+00  6.215e-01  0.000e+00  5.000e+00 ( 1.000e+00)
362         beta:  6.200e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
363           Eb:  7.916e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  8.720e-01  2.199e-01  0.000e+00  1.000e+01 ( 1.000e+00)
676        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
677        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
674   Normalization:  9.791e-01  1.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.45
Ra Dec: 198.169 48.470
Photon Index (Free Index): 2.51 +/- 0.62
Photon Flux (Free Index): 4.78e-08 +/- 3.49e-08
Energy Flux (Free Index): 1.38e-05 +/- 8.87e-06

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/79019/cmap_HighResolution_693187201_693446401_4FGL_J1312.6+4828_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.38e-05', photon_flux_error='2.26e-08', dlogl='2.76e-01', energy_flux='1.61e-05', photon_flux2='4.78e-08', job_status='DONE', time_completed='2022-12-23 00:57:38.919191', photon_index_error2='0.62', photon_index2='2.51', ts='5.89', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='8.87e-06', EG='1.00', time_epoch_completed='1671785858.92', return_code='0', job_id='79019', GAL2='0.87', EG2='0.98', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.49e-08', ts2='6.45', photon_index='2.07' WHERE bin_id='1751' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:57:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 79019: <4FGL_J1312.6+4828_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1312.6+4828_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:20 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:21 2022
Terminated at Fri Dec 23 00:57:39 2022
Results reported at Fri Dec 23 00:57:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.6+4828_daily_bin1751 198.169 48.4701 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1312.6+4828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

