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


Performing analysis on: 4FGL_J1312.4-2156_daily_bin1771
RA = 198.111, Dec = -21.938
tmin = 698371201, tmax = 698630401
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='548822', job_status='RUN', time_executed='2023-02-21 00:56:19.790064', time_epoch_executed='1676969779.79' WHERE source_name='4FGL J1312.4-2156' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548822

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548822/ft1_4FGL_J1312.4-2156_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548822/ft1_4FGL_J1312.4-2156_daily_bin1771.fits outfile=/scratch/kocevski/548822/ft1_filteredMKT_4FGL_J1312.4-2156_daily_bin1771.fits ra=198.111 dec=-21.938 rad=12.0 tmin=698371201.0 tmax=698630401.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.14
user 2.85
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.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/548822/ft1_filteredMKT_4FGL_J1312.4-2156_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.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.59
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 681

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/548822/ltcube_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.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/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits
.....................!
real 13.51
user 13.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/548822/ltcube_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits outfile=/scratch/kocevski/548822/expmap_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.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/548822/ltcube_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits
.....................!
real 190.09
user 184.99
sys 4.58

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 186 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1312.4-2156 @ 198.111 -21.938

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits outfile=/scratch/kocevski/548822/cmap_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.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.111 yref=-21.938 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.59
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits outfile=/scratch/kocevski/548822/cmap_HighResolution_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.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.111 yref=-21.938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/548822/Model_4FGL_J1312.4-2156_daily_bin1771.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits.....................!
real 122.43
user 120.73
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits', '/scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits', expMap='/scratch/kocevski/548822/expmap_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits', expCube='/scratch/kocevski/548822/ltcube_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/548822/Model_4FGL_J1312.4-2156_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.4-2156'

4FGL J1312.4-2156
   Spectrum: LogParabola
269         norm:  1.303e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        alpha:  1.827e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.515e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.405e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/548822/ft1_filtered_4FGL_J1312.4-2156_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/548822/ft2_4FGL_J1312.4-2156_daily_bin1771.fits
Exposure map: /scratch/kocevski/548822/expmap_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits
Exposure cube: /scratch/kocevski/548822/ltcube_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/548822/Model_4FGL_J1312.4-2156_daily_bin1771.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) = 7441.47329156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11380E-07   1.0000          .0000       .10000E+07
     2 'norm      '    1.6480       1.0000          .0000       .10000E+07
     3 'Prefactor '    .35505E-06   1.0000          .0000       .10000E+07
     4 'norm      '    4.4133       1.0000          .0000       .10000E+07
     5 'norm      '    8.7672       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10048E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73628       1.0000          .0000       .10000E+07
     8 'norm      '    .74358       1.0000          .0000       .10000E+07
     9 'norm      '    14.522       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.2008       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12415E-04   1.0000          .0000       .10000E+07
    12 'norm      '    9.3432       1.0000          .0000       .10000E+07
    13 'norm      '    11.135       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.339       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.217       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.8782       1.0000          .0000       .10000E+07
    17 'Prefactor '    .32180E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .19706E-07   1.0000          .0000       .10000E+07
    19 'norm      '    .19484E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .93331E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.7190       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4512       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85978       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7441.386     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1836 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    5.5128       -.99496E-06** at limit **
   2  norm          1.6480        .93222        .44194E-06    .39927E-04
   3  Prefactor     .53291E-08    52.997       -.43515E-05** at limit **
   4  norm          4.4134        6.7112        .27860E-06    .15114E-02
   5  norm          8.7678        6.6832        .11650E-05    .44777E-02
   6  Prefactor     .11102E-09    2.7870       -.48158E-06** at limit **
   7  norm          .73777        1.8761        .27413E-05    .54336E-01
   8  norm          .74341        2.4090       -.39563E-06    .11542E-02
   9  norm          14.522        8.1087        .70224E-06   -.31699E-01
  10  Prefactor     5.2025        2.1635       -.85374E-06    .37166E-02
  11  Prefactor     .19817E-07    40.655        .81000E-05** at limit **
  12  norm          9.3414        4.7688       -.11679E-06   -.96695E-02
  13  norm          11.137        2.7082        .78553E-06    .43314E-01
  14  Prefactor     11.335        12.221        .45540E-05   -.31386E-01
  15  Prefactor     17.213        1.0812        .86814E-07    .10008E-02
  16  Prefactor     5.8782        5.6705       -.93133E-06   -.27526E-03
  17  Prefactor      .0000        4.3949        .14646E-05** at limit **
  18  norm          .55511E-10    1.5892        .19117E-06** at limit **
  19  norm          .41633E-08    11.665        .87559E-06** at limit **
  20  norm          .23870E-08    14.286       -.13089E-05** at limit **
  21  Prefactor     9.7181        4.8053        .66753E-06    .32613E-02
  22  Normalizat    1.4509        .31848       -.33679E-04    .78007E-04
  23  Prefactor     .85991        .13982        .15761E-04    .99515E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 1.64802
  Prefactor  = 5.32907e-09
  norm       = 4.41341
  norm       = 8.76776
  Prefactor  = 1.11022e-10
  norm       = 0.73777
  norm       = 0.743409
  norm       = 14.5217
  Prefactor  = 5.20246
  Prefactor  = 1.98175e-08
  norm       = 9.34137
  norm       = 11.1366
  Prefactor  = 11.3355
  Prefactor  = 17.2128
  Prefactor  = 5.87821
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.16334e-09
  norm       = 2.38698e-09
  Prefactor  = 9.71805
  Normalizat = 1.45094
  Prefactor  = 0.859907
 **********
 **   18 **HESSE 
 **********

 FCN=   7441.386     FROM HESSE     STATUS=OK           420 CALLS     2256 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    5.5198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6480        .93496        .82228E-03   -1.5682    
   3  Prefactor     .53291E-08    53.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.4134        6.7252        .47914E-03   -1.5666    
   5  norm          8.7678        6.6982        .33828E-03   -1.5649    
   6  Prefactor     .11102E-09    2.7807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .73777        7.4318        .57811E-03   -1.5691    
   8  norm          .74341        2.4208        .57238E-03   -1.5691    
   9  norm          14.522        8.6170        .26257E-03   -1.5632    
  10  Prefactor     5.2025        16.123        .44056E-03   -1.5662    
  11  Prefactor     .19817E-07    40.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.3414        6.0417        .32763E-03   -1.5647    
  13  norm          11.137        10.467        .29998E-03   -1.5641    
  14  Prefactor     11.335        13.029        .29725E-03   -1.5641    
  15  Prefactor     17.213        21.684        .24111E-03   -1.5625    
  16  Prefactor     5.8782        5.6785        .41397E-03   -1.5659    
  17  Prefactor      .0000        4.3834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    1.5877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .41633E-08    11.741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .23870E-08    14.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.7181        4.8087        .32119E-03   -1.5646    
  22  Normalizat    1.4509        .26738        .79482E-01   -.79166    
  23  Prefactor     .85991        .11628        .44490E-01   -.97556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54572e-07
Minuit parameter uncertainties:
  1  8.9316e-05
  2  0.934961
  3  0.0010634
  4  6.72523
  5  6.69824
  6  3.55165e-05
  7  4.68315
  8  2.42077
  9  8.617
  10  16.1232
  11  0.00179694
  12  6.04166
  13  10.4671
  14  13.0291
  15  21.6836
  16  5.67854
  17  1.70022e-05
  18  1.90635e-05
  19  0.000442655
  20  0.000370254
  21  4.80867
  22  0.26764
  23  0.116312
Done.

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

Extracting fit parameters...

4FGL J1312.4-2156
   Spectrum: LogParabola
269         norm:  7.434e-01  2.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        alpha:  1.827e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.515e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.405e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  8.599e-01  1.163e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.451e+00  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 198.111 -21.938
Photon Flux Upper Limit: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/548822/likelihoodResults_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.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): 0
logL (Free Index) = 7441.07887886
delta logL = 0.307071458955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7441.06099029
delta logL = 0.324960026694

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7441.061     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      206 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0440        30.759        .12196E-03    .27988E-02
   2  alpha         2.7695        3.8743        .41457        .48577E-04
   3  Normalizat    1.4317        .70401E-01    .79899E-01    .11429E-04
   4  Prefactor     .85674        .28833E-01    .44451E-01    .45293E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.044
  alpha      = 2.7695
  Normalizat = 1.43171
  Prefactor  = 0.856737
 **********
 **   18 **HESSE 
 **********

 FCN=   7441.061     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0440        2.1249        .48785E-05   -1.5688    
   2  alpha         2.7695        1.1121        .14686E-01    .10801    
   3  Normalizat    1.4317        .31336        .35366E-03   -.79716    
   4  Prefactor     .85674        .13936        .19679E-03   -.97670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33456e-11
Minuit parameter uncertainties:
  1  2.12487
  2  1.15298
  3  0.313784
  4  0.139417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548822': 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) = 7441.06099015
delta logL = 0.3249601631

Extracting fit parameters...

4FGL J1312.4-2156
   Spectrum: LogParabola
269         norm:  1.044e+00  2.125e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        alpha:  2.770e+00  1.153e+00  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.515e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.405e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  8.567e-01  1.394e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.432e+00  3.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 198.111 -21.938

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/548822/cmap_HighResolution_698371201_698630401_4FGL_J1312.4-2156_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.75e-05', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2023-02-21 01:08:07.600840', job_id='548822', GAL2='0.86', fit_tolerance='1e-08', EG2='1.43', EG='1.45', time_epoch_completed='1676970487.6', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.25e-01', ts2='0.76', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1771' AND source_name='4FGL J1312.4-2156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:08:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 548822: <4FGL_J1312.4-2156_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1312.4-2156_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:55:16 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:55:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:55:16 2023
Terminated at Tue Feb 21 01:08:08 2023
Results reported at Tue Feb 21 01:08:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.4-2156_daily_bin1771 198.111 -21.938 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1312.4-2156 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   708.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            772 sec.

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

