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


Performing analysis on: 4FGL_J1314.7+2348_weekly_bin760
RA = 198.688, Dec = 23.8124
tmin = 698630401, tmax = 699235201
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='23611', job_status='RUN', time_executed='2023-02-28 01:16:52.052738', time_epoch_executed='1677575812.05' WHERE source_name='4FGL J1314.7+2348' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23611

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23611/ft1_4FGL_J1314.7+2348_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23611/ft1_4FGL_J1314.7+2348_weekly_bin760.fits outfile=/scratch/kocevski/23611/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin760.fits ra=198.688 dec=23.8124 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.22
user 5.92
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.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/23611/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.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.54
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 736

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/23611/ltcube_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.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/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits
.....................!
real 30.11
user 29.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/23611/ltcube_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.fits outfile=/scratch/kocevski/23611/expmap_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.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/23611/ltcube_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.fits
.....................!
real 193.47
user 187.76
sys 4.80

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/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits outfile=/scratch/kocevski/23611/cmap_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.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.42
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits outfile=/scratch/kocevski/23611/cmap_HighResolution_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/23611/ft2_4FGL_J1314.7+2348_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23611/Model_4FGL_J1314.7+2348_weekly_bin760.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/23611/ft1_filtered_4FGL_J1314.7+2348_weekly_bin760.fits.....................!
real 63.50
user 62.04
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68965E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .95554E-01   1.0000          .0000       .10000E+07
     3 'norm      '    24.436       1.0000          .0000       .10000E+07
     4 'Prefactor '    47.486       1.0000          .0000       .10000E+07
     5 'Prefactor '    .35598E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .17479E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17686E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32039E-05   1.0000          .0000       .10000E+07
    10 'norm      '    46.511       1.0000          .0000       .10000E+07
    11 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    12 'norm      '    .47913       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38190E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13788E-03   1.0000          .0000       .10000E+07
    15 'norm      '    21.576       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15546E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .51620E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.8811       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17434E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .25673E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23408E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15018E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .69982       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4699       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=   8293.724     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     1651 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56805E-06    12.161        .35424E-06** at limit **
   2  norm          .96473E-01    1.3038        .28478E-06** at limit **
   3  norm          24.362        11.191       -.91573E-08    .16811E-02
   4  Prefactor     48.279        4.1317        .22163E-06   -.19220E-01
   5  Prefactor     .22204E-09    8.2759       -.14748E-06** at limit **
   6  norm           .0000        1.6545       -.47571E-06** at limit **
   7  Prefactor     .29532E-07    22.415       -.16620E-05** at limit **
   8  Prefactor     .22066E-06    8.9678        .39520E-05** at limit **
   9  norm           .0000        2.7308        .22090E-06** at limit **
  10  norm          46.453        6.5508        .13804E-06   -.25230E-02
  11  norm           .0000        5.8008        .81714E-06** at limit **
  12  norm          .26020        5.6220       -.92187E-06    .82295E-02
  13  Prefactor      .0000        1.6136       -.58129E-07** at limit **
  14  Prefactor     .35977E-06    63.880        .15873E-05** at limit **
  15  norm          21.604        5.4139       -.10940E-06   -.13698E-01
  16  Prefactor     .23437E-06    7.3768       -.25859E-05** at limit **
  17  Prefactor     .90872E-07    83.394       -.48851E-05** at limit **
  18  norm          5.9138        4.8486        .96631E-07    .55610E-02
  19  Prefactor     .87363E-06    10.345        .49532E-05** at limit **
  20  Prefactor      .0000        32.306       -.67386E-06** at limit **
  21  Prefactor     .16653E-09    3.4601       -.21880E-05** at limit **
  22  Prefactor     .55511E-10    5.2407        .13163E-05** at limit **
  23  Normalizat    .69973        .19708        .38001E-05   -.14206E-03
  24  Prefactor     1.4697        .20290       -.10643E-04   -.18534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.68046e-07
  norm       = 0.0964728
  norm       = 24.3624
  Prefactor  = 48.279
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 2.95319e-08
  Prefactor  = 2.20657e-07
  norm       = 0
  norm       = 46.4534
  norm       = 0
  norm       = 0.260197
  Prefactor  = 0
  Prefactor  = 3.59768e-07
  norm       = 21.6039
  Prefactor  = 2.34368e-07
  Prefactor  = 9.08718e-08
  norm       = 5.9138
  Prefactor  = 8.73634e-07
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Normalizat = 0.699728
  Prefactor  = 1.46975
 **********
 **   18 **HESSE 
 **********

 FCN=   8293.724     FROM HESSE     STATUS=OK           461 CALLS     2112 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56805E-06    16.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .96473E-01    .51429        .21735E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          24.362        11.723        .20234E-03   -1.5609    
   4  Prefactor     48.279        24.033        .14513E-03   -1.5569    
   5  Prefactor     .22204E-09    8.3674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.6520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .29532E-07    23.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22066E-06    10.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.7294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          46.453        6.5495        .14664E-03   -1.5572    
  11  norm           .0000        5.8343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26020        11.491        .11321E-01   -1.5698    
  13  Prefactor      .0000        1.6098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35977E-06    64.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          21.604        9.3723        .21535E-03   -1.5615    
  16  Prefactor     .23437E-06    10.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .90872E-07    83.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9138        9.8564        .41387E-03   -1.5659    
  19  Prefactor     .87363E-06    18.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        10.179        .96405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16653E-09    2.1995        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    5.2571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .69973        .17069        .72748E-01   -1.0390    
  24  Prefactor     1.4697        .17018        .54512E-01   -.78391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44684e-07
Minuit parameter uncertainties:
  1  0.00616447
  2  0.445487
  3  11.7228
  4  24.0333
  5  8.71371e-05
  6  4.86543e-06
  7  0.00166615
  8  0.00304935
  9  1.62037e-05
  10  6.54954
  11  8.85703e-06
  12  3.4583
  13  1.2138e-06
  14  0.00963665
  15  9.37231
  16  0.00319671
  17  0.00552065
  18  9.85645
  19  0.00804488
  20  2.26632e-05
  21  4.0304e-05
  22  2.87527e-05
  23  0.17082
  24  0.170247
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  2.602e-01  3.458e+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

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.470e+00  1.702e-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:  6.997e-01  1.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 4.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23611/likelihoodResults_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8293.71901291
delta logL = 0.00504460044613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8293.70358929
delta logL = 0.0204682191888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9949       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4189       1.0000          .0000       5.0000    
     3 'Normalizat'    .69782       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4690       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8293.704     FROM MIGRAD    STATUS=FAILED       102 CALLS      285 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0057        19.964        .14663E-03   -.68324E-03
   2  alpha         2.4204        2.0175        .54925E-01    .15438E-03
   3  Normalizat    .69780        .19291        .32238E-03   -.20383E-04
   4  Prefactor     1.4691        .20201        .24101E-03   -.21604E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8293.704     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      369 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0057        19.964        .24726E-04   -1.5680    
   2  alpha         2.4204        2.0175        .49059E-02   -.31846E-01
   3  Normalizat    .69780        .19291        .28907E-03   -1.0398    
   4  Prefactor     1.4691        .20201        .16793E-03   -.78410    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8293.704     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      406 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0058        15.063        .58651E-05   -.15895E-03
   2  alpha         2.4204        1.8255        .10985E-01   -.10142E-05
   3  Normalizat    .69780        .19310        .12895E-04   -.14106E-05
   4  Prefactor     1.4691        .20211        .96404E-05   -.14151E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.00576
  alpha      = 2.42041
  Normalizat = 0.697801
  Prefactor  = 1.46906
 **********
 **   18 **HESSE 
 **********

 FCN=   8293.704     FROM HESSE     STATUS=OK            25 CALLS      431 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0058        14.561        .23460E-06   -1.5680    
   2  alpha         2.4204        1.8040        .43940E-03   -.31843E-01
   3  Normalizat    .69780        .19339        .25790E-05   -1.0398    
   4  Prefactor     1.4691        .20240        .19281E-05   -.78410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84e-12
Minuit parameter uncertainties:
  1  10.8085
  2  2.0155
  3  0.193576
  4  0.202514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23611': 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) = 8293.70358811
delta logL = 0.0204693945725

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  2.006e+00  1.081e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  2.420e+00  2.016e+00  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.469e+00  2.025e-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:  6.978e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 198.688 23.812

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/23611/cmap_HighResolution_698630401_699235201_4FGL_J1314.7+2348_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-05', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2023-02-28 01:28:34.037533', job_id='23611', GAL2='1.47', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1677576514.04', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='2.05e-02', ts2='0.04', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='760' AND source_name='4FGL J1314.7+2348' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:28:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 23611: <4FGL_J1314.7+2348_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1314.7+2348_weekly_bin760> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Feb 28 01:15:27 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:15:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:15:28 2023
Terminated at Tue Feb 28 01:28:34 2023
Results reported at Tue Feb 28 01:28:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_weekly_bin760 198.688 23.8124 698630401 699235201 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 :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            787 sec.

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

