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


Performing analysis on: 4FGL_J1310.5+3221_daily_bin1770
RA = 197.632, Dec = 32.3547
tmin = 698112001, tmax = 698371201
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='486551', job_status='RUN', time_executed='2023-02-18 00:53:26.088852', time_epoch_executed='1676710406.09' WHERE source_name='4FGL J1310.5+3221' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486551/ft1_4FGL_J1310.5+3221_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486551/ft1_4FGL_J1310.5+3221_daily_bin1770.fits outfile=/scratch/kocevski/486551/ft1_filteredMKT_4FGL_J1310.5+3221_daily_bin1770.fits ra=197.632 dec=32.3547 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.29
user 4.08
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.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/486551/ft1_filteredMKT_4FGL_J1310.5+3221_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.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.14

Number of photons that the gtmktime cut: 392

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/486551/ltcube_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.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/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits
.....................!
real 12.12
user 11.80
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/486551/ltcube_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits outfile=/scratch/kocevski/486551/expmap_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.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/486551/ltcube_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits
.....................!
real 190.14
user 185.86
sys 3.97

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

Setting source of interest to:
4FGL J1310.5+3221 @ 197.632 32.3547

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits outfile=/scratch/kocevski/486551/cmap_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.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=197.632 yref=32.3547 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits outfile=/scratch/kocevski/486551/cmap_HighResolution_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.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=197.632 yref=32.3547 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486551/Model_4FGL_J1310.5+3221_daily_bin1770.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/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits.....................!
real 39.66
user 38.46
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits', '/scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits', expMap='/scratch/kocevski/486551/expmap_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits', expCube='/scratch/kocevski/486551/ltcube_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/486551/Model_4FGL_J1310.5+3221_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1310.5+3221'

4FGL J1310.5+3221
   Spectrum: LogParabola
331         norm:  5.555e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        alpha:  2.425e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
333         beta:  5.326e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
334           Eb:  2.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/486551/ft1_filtered_4FGL_J1310.5+3221_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/486551/ft2_4FGL_J1310.5+3221_daily_bin1770.fits
Exposure map: /scratch/kocevski/486551/expmap_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits
Exposure cube: /scratch/kocevski/486551/ltcube_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/486551/Model_4FGL_J1310.5+3221_daily_bin1770.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) = 4173.60243366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11901E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .97152E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5730       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6993       1.0000          .0000       .10000E+07
     5 'norm      '    2.2098       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9028       1.0000          .0000       .10000E+07
     7 'Prefactor '    .42724E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89637E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58464E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .21023E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12821E-01   1.0000          .0000       .10000E+07
    12 'norm      '    1.3797       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17234E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .25914E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .10298E-03   1.0000          .0000       .10000E+07
    16 'norm      '    38.951       1.0000          .0000       .10000E+07
    17 'norm      '    12.214       1.0000          .0000       .10000E+07
    18 'norm      '    14.646       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21718E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .40046E-02   1.0000          .0000       .10000E+07
    21 'norm      '    56.135       1.0000          .0000       .10000E+07
    22 'Prefactor '    .87864E-02   1.0000          .0000       .10000E+07
    23 'norm      '    1.2960       1.0000          .0000       .10000E+07
    24 'Prefactor '    .16736E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    41.441       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.9334       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.3492       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .51592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4173.584     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     2482 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.9019        .64917E-07** at limit **
   2  Prefactor     .10192E-06    7.4976        .19965E-06** at limit **
   3  Prefactor     4.5685        3.6167        .53707E-07    .29798E-02
   4  Prefactor     1.6981        2.1893        .11902E-06    .61335E-04
   5  norm          2.2102        4.1741       -.51580E-06   -.23424E-02
   6  Prefactor     1.8940        1.2227        .12377E-06    .26482E-02
   7  Prefactor     .15543E-08    7.1915       -.14663E-05** at limit **
   8  Prefactor     .32196E-08    6.2977       -.17843E-05** at limit **
   9  Prefactor      .0000        4.4530       -.67451E-06** at limit **
  10  norm          .66613E-09    2.2819        .91322E-06** at limit **
  11  Prefactor     .14433E-08    10.016       -.42615E-06** at limit **
  12  norm          1.3761        2.3257        .44161E-06   -.15010E-03
  13  Prefactor     .43854E-07    8.8794        .20992E-05** at limit **
  14  norm          .47994E-05    4.8959       -.16078E-05** at limit **
  15  norm          .35488E-06    16.001        .27797E-05** at limit **
  16  norm          38.941        5.4884        .95651E-07    .74486E-01
  17  norm          12.205        3.5890        .80046E-07    .21723E-01
  18  norm          14.635        1.0241       -.11557E-07   -.15631E-02
  19  Prefactor     .11102E-09    1.8136       -.59559E-06** at limit **
  20  Prefactor     .20683E-06    5.1231       -.76297E-06** at limit **
  21  norm          56.130        1.7198       -.48679E-07   -.41849E-01
  22  Prefactor     .75129E-06    7.4922        .14201E-05** at limit **
  23  norm          1.3027        6.0059       -.10380E-05   -.17214E-01
  24  Prefactor     .22204E-09    5.4207        .66417E-06** at limit **
  25  Prefactor     41.407        6.6414       -.59204E-06    .83106E-01
  26  Prefactor     6.9325        5.0979       -.18474E-06   -.92514E-03
  27  Normalizat    1.3492        .24428       -.45276E-05   -.56491E-04
  28  Prefactor     .51585        .28039        .20384E-04    .93428E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.01918e-07
  Prefactor  = 4.56853
  Prefactor  = 1.69806
  norm       = 2.21025
  Prefactor  = 1.89403
  Prefactor  = 1.55431e-09
  Prefactor  = 3.21965e-09
  Prefactor  = 0
  norm       = 6.66134e-10
  Prefactor  = 1.44329e-09
  norm       = 1.3761
  Prefactor  = 4.38538e-08
  norm       = 4.79944e-06
  norm       = 3.54883e-07
  norm       = 38.9411
  norm       = 12.2051
  norm       = 14.6346
  Prefactor  = 1.11022e-10
  Prefactor  = 2.06835e-07
  norm       = 56.1296
  Prefactor  = 7.51288e-07
  norm       = 1.3027
  Prefactor  = 2.22045e-10
  Prefactor  = 41.4069
  Prefactor  = 6.9325
  Normalizat = 1.34921
  Prefactor  = 0.515846
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.584     FROM HESSE     STATUS=OK           583 CALLS     3065 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.8866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10192E-06    25.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5685        3.6397        .47048E-03   -1.5665    
   4  Prefactor     1.6981        2.2160        .80670E-03   -1.5682    
   5  norm          2.2102        4.2011        .69169E-03   -1.5678    
   6  Prefactor     1.8940        13.579        .75360E-03   -1.5680    
   7  Prefactor     .15543E-08    12.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .32196E-08    6.4406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .66613E-09    2.2913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    25.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3761        2.3626        .92641E-03   -1.5685    
  13  Prefactor     .43854E-07    9.4690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .47994E-05    4.8765        .54603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35488E-06    18.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          38.941        10.234        .16025E-03   -1.5583    
  17  norm          12.205        13.000        .28637E-03   -1.5638    
  18  norm          14.635        17.369        .26146E-03   -1.5631    
  19  Prefactor     .11102E-09    1.8172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20683E-06    11.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          56.130        14.481        .13348E-03   -1.5558    
  22  Prefactor     .75129E-06    24.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.3027        17.574        .97122E-03   -1.5685    
  24  Prefactor     .22204E-09    5.4630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     41.407        30.413        .15535E-03   -1.5579    
  26  Prefactor     6.9325        5.0995        .38077E-03   -1.5655    
  27  Normalizat    1.3492        .21805        .49504E-01   -.82109    
  28  Prefactor     .51585        .25172        .89014E-01   -1.1126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17689e-07
Minuit parameter uncertainties:
  1  8.24966e-06
  2  0.00325215
  3  3.63973
  4  2.21601
  5  4.20106
  6  10.1428
  7  0.000278803
  8  0.000286762
  9  2.95022e-06
  10  7.65307e-05
  11  0.000385007
  12  2.36265
  13  0.00128864
  14  0.0096756
  15  0.00507134
  16  10.2339
  17  12.9998
  18  17.3691
  19  3.02433e-05
  20  0.0030897
  21  14.4814
  22  0.00853657
  23  9.56938
  24  6.62428e-05
  25  30.4133
  26  5.09955
  27  0.218196
  28  0.252271
Done.

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

Extracting fit parameters...

4FGL J1310.5+3221
   Spectrum: LogParabola
331         norm:  3.894e+01  1.023e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        alpha:  2.425e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
333         beta:  5.326e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
334           Eb:  2.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  5.158e-01  2.523e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.349e+00  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.32
Ra Dec: 197.632 32.355
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 3.41e-07 +/- 8.96e-08
Energy Flux (Fixed Index): 1.22e-04 +/- 3.21e-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) = 4173.3708701
delta logL = 0.213460654219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4173.36676462
delta logL = 0.217566140947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.239       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6030       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+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=   4173.367     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      285 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.242        16.429        .72440E-05   -.40791E-02
   2  alpha         2.6030        .28066        .25699E-03   -.14121E-03
   3  Normalizat    1.3097        .25187        .22121E-03   -.42018E-04
   4  Prefactor     .54751        .28564        .38367E-03    .30283E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.2421
  alpha      = 2.60298
  Normalizat = 1.3097
  Prefactor  = 0.547506
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.367     FROM HESSE     STATUS=OK            23 CALLS      308 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.242        16.230        .14488E-05   -1.5602    
   2  alpha         2.6030        .27726        .10280E-04    .41204E-01
   3  Normalizat    1.3097        .25191        .44243E-04   -.83277    
   4  Prefactor     .54751        .28573        .15347E-04   -1.0984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56385e-11
Minuit parameter uncertainties:
  1  16.2297
  2  0.277835
  3  0.252146
  4  0.28649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486551': 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) = 4173.36676428
delta logL = 0.217566480646

Extracting fit parameters...

4FGL J1310.5+3221
   Spectrum: LogParabola
331         norm:  2.824e+01  1.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        alpha:  2.603e+00  2.778e-01  0.000e+00  5.000e+00 ( 1.000e+00)
333         beta:  5.326e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
334           Eb:  2.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  5.475e-01  2.865e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.310e+00  2.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.39
Ra Dec: 197.632 32.355
Photon Index (Free Index): 2.60 +/- 0.28
Photon Flux (Free Index): 3.74e-07 +/- 9.66e-08
Energy Flux (Free Index): 1.10e-04 +/- 2.92e-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/486551/cmap_HighResolution_698112001_698371201_4FGL_J1310.5+3221_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.41e-07', energy_flux2='1.10e-04', photon_flux_error='8.96e-08', dlogl='2.18e-01', energy_flux='1.22e-04', photon_flux2='3.74e-07', job_status='DONE', time_completed='2023-02-18 01:02:20.162528', photon_index_error2='0.28', photon_index2='2.60', ts='43.32', fit_tolerance='1e-08', GAL='0.52', photon_index_error='0.00', energy_flux_error2='2.92e-05', EG='1.35', time_epoch_completed='1676710940.16', return_code='0', job_id='486551', GAL2='0.55', EG2='1.31', return_code2='0', energy_flux_error='3.21e-05', photon_flux_error2='9.66e-08', ts2='45.39', photon_index='2.42' WHERE bin_id='1770' AND source_name='4FGL J1310.5+3221' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:02:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 486551: <4FGL_J1310.5+3221_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1310.5+3221_daily_bin1770> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Feb 18 00:50:15 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:50:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:50:16 2023
Terminated at Sat Feb 18 01:02:20 2023
Results reported at Sat Feb 18 01:02:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1310.5+3221_daily_bin1770 197.632 32.3547 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1310.5+3221 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   535.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

