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 25 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_J1312.6+4828_daily_bin1770
RA = 198.169, Dec = 48.4701
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='486558', job_status='RUN', time_executed='2023-02-18 00:50:50.589411', time_epoch_executed='1676710250.59' WHERE source_name='4FGL J1312.6+4828' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486558

Creating custom pfile directory:
/scratch/kocevski/486558/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/486558/ft1_4FGL_J1312.6+4828_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/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486558/ft1_4FGL_J1312.6+4828_daily_bin1770.fits outfile=/scratch/kocevski/486558/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin1770.fits ra=198.169 dec=48.4701 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.32
user 4.11
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_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/486558/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_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.49
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 312

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/486558/ltcube_698112001_698371201_4FGL_J1312.6+4828_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/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits
.....................!
real 11.80
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/486558/ltcube_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits outfile=/scratch/kocevski/486558/expmap_698112001_698371201_4FGL_J1312.6+4828_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/486558/ltcube_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits
.....................!
real 190.83
user 184.87
sys 5.62

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/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits outfile=/scratch/kocevski/486558/cmap_698112001_698371201_4FGL_J1312.6+4828_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=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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits outfile=/scratch/kocevski/486558/cmap_HighResolution_698112001_698371201_4FGL_J1312.6+4828_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=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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486558/Model_4FGL_J1312.6+4828_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/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits.....................!
real 33.71
user 32.46
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits', '/scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits', expMap='/scratch/kocevski/486558/expmap_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits', expCube='/scratch/kocevski/486558/ltcube_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/486558/Model_4FGL_J1312.6+4828_daily_bin1770.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/486558/ft1_filtered_4FGL_J1312.6+4828_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/486558/ft2_4FGL_J1312.6+4828_daily_bin1770.fits
Exposure map: /scratch/kocevski/486558/expmap_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits
Exposure cube: /scratch/kocevski/486558/ltcube_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/486558/Model_4FGL_J1312.6+4828_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) = 3467.73454429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92537E-06   1.0000          .0000       .10000E+07
     2 'norm      '    5.4836       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1374       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61925E-03   1.0000          .0000       .10000E+07
     5 'norm      '    5.8718       1.0000          .0000       .10000E+07
     6 'Prefactor '    42.897       1.0000          .0000       .10000E+07
     7 'norm      '    .10162E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2707       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65368E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .21210E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.5257       1.0000          .0000       .10000E+07
    12 'Prefactor '    90.829       1.0000          .0000       .10000E+07
    13 'Prefactor '    .72429E-01   1.0000          .0000       .10000E+07
    14 'norm      '    1.8856       1.0000          .0000       .10000E+07
    15 'Prefactor '    84.971       1.0000          .0000       .10000E+07
    16 'norm      '    1.0164       1.0000          .0000       .10000E+07
    17 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    18 'norm      '    17.826       1.0000          .0000       .10000E+07
    19 'Prefactor '    .13228       1.0000          .0000       .10000E+07
    20 'Prefactor '    32.027       1.0000          .0000       .10000E+07
    21 'Prefactor '    8.0091       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10963E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.5960       1.0000          .0000       .10000E+07
    24 'Normalizat'    .57558       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3010       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=   3467.605     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2158 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0990       -.18812E-08** at limit **
   2  norm          5.4048        8.5861       -.25715E-07   -.38702E-02
   3  Prefactor     7.4588        17.350       -.62789E-07    .23280E-01
   4  Prefactor      .0000        4.5218       -.33743E-07** at limit **
   5  norm          5.8882        3.4790       -.99647E-08   -.94501E-04
   6  Prefactor     43.243        22.667       -.28360E-07   -.12671E-01
   7  norm           .0000        3.5446        .22371E-07** at limit **
   8  Prefactor     5.9499        14.344       -.43121E-07   -.78243E-02
   9  Prefactor     .38858E-09    10.580        .94454E-07** at limit **
  10  norm           .0000        18.575       -.64933E-08** at limit **
  11  norm          1.5033        5.0649        .33616E-07   -.61405E-05
  12  Prefactor     91.827        30.970       -.12412E-06    .19452    
  13  Prefactor     .22204E-09    40.644        .22698E-06** at limit **
  14  norm          1.8410        6.3455       -.25158E-07   -.54698E-03
  15  Prefactor     94.150        101.26       -.34375E-06   -.10618E-01
  16  norm          1.0184        1.1701       -.20343E-07   -.17470E-02
  17  norm          .16653E-09    3.5635        .14010E-06** at limit **
  18  norm          17.828        20.455       -.34330E-07    .19719E-01
  19  Prefactor     .94369E-09    82.816       -.22325E-06** at limit **
  20  Prefactor     31.348        35.122        .21490E-06    .98715E-01
  21  Prefactor     7.9727        5.5993       -.51690E-08   -.59920E-03
  22  Prefactor     .55511E-10    14.707        .41519E-07** at limit **
  23  Prefactor     1.5697        4.6967        .21903E-07    .58301E-03
  24  Normalizat    .57046        .24679        .33253E-05    .87439E-04
  25  Prefactor     1.3040        .30235       -.99993E-06    .71796E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.40476
  Prefactor  = 7.45878
  Prefactor  = 0
  norm       = 5.88817
  Prefactor  = 43.2433
  norm       = 0
  Prefactor  = 5.9499
  Prefactor  = 3.88578e-10
  norm       = 0
  norm       = 1.50326
  Prefactor  = 91.8273
  Prefactor  = 2.22045e-10
  norm       = 1.84099
  Prefactor  = 94.15
  norm       = 1.01841
  norm       = 1.66533e-10
  norm       = 17.8279
  Prefactor  = 9.4369e-10
  Prefactor  = 31.348
  Prefactor  = 7.97268
  Prefactor  = 5.55112e-11
  Prefactor  = 1.56973
  Normalizat = 0.570464
  Prefactor  = 1.304
 **********
 **   18 **HESSE 
 **********

 FCN=   3467.605     FROM HESSE     STATUS=OK           481 CALLS     2639 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4048        9.7296        .42884E-03   -1.5661    
   3  Prefactor     7.4588        30.595        .37524E-03   -1.5653    
   4  Prefactor      .0000        4.5256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.8882        3.4814        .41420E-03   -1.5659    
   6  Prefactor     43.243        29.914        .15270E-03   -1.5576    
   7  norm           .0000        3.5110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9499        14.378        .40062E-03   -1.5659    
   9  Prefactor     .38858E-09    10.600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        18.235        .16958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5033        5.1285        .86419E-03   -1.5683    
  12  Prefactor     91.827        49.226        .10493E-03   -1.5516    
  13  Prefactor     .22204E-09    40.542        .14739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8410        6.4273        .75764E-03   -1.5681    
  15  Prefactor     94.150        100.84        .10849E-03   -1.5514    
  16  norm          1.0184        1.2162        .12918E-02   -1.5688    
  17  norm          .16653E-09    3.5430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.828        20.501        .23694E-03   -1.5624    
  19  Prefactor     .94369E-09    81.951        .13132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     31.348        44.966        .17673E-03   -1.5596    
  21  Prefactor     7.9727        5.6315        .35405E-03   -1.5651    
  22  Prefactor     .55511E-10    14.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.5697        4.7402        .83920E-03   -1.5683    
  24  Normalizat    .57046        .21188        .61257E-01   -1.0925    
  25  Prefactor     1.3040        .25486        .54544E-01   -.83188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72342e-06
Minuit parameter uncertainties:
  1  9.65329e-08
  2  9.72965
  3  30.2128
  4  5.84984e-06
  5  3.48142
  6  29.9143
  7  1.15123e-05
  8  14.3777
  9  0.000130433
  10  1.03184e-06
  11  5.12854
  12  49.2267
  13  0.000198524
  14  6.42733
  15  100.838
  16  1.21618
  17  4.69145e-05
  18  20.5013
  19  0.000560814
  20  44.9667
  21  5.63151
  22  6.76805e-05
  23  4.74018
  24  0.212177
  25  0.255101
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  1.503e+00  5.129e+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:  1.304e+00  2.551e-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:  5.705e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 9.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/486558/likelihoodResults_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.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) = 3467.47899241
delta logL = 0.126165313678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3467.4756134
delta logL = 0.129544327447

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3467.476     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      242 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7871        3.9433        .13730E-04   -.22189E-01
   2  alpha         2.7556        1.2416        .16571E-02   -.12036E-03
   3  Normalizat    .55695        .22963        .27392E-03   -.53124E-05
   4  Prefactor     1.3097        .29672        .24055E-03    .69238E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78708
  alpha      = 2.75565
  Normalizat = 0.556945
  Prefactor  = 1.30974
 **********
 **   18 **HESSE 
 **********

 FCN=   3467.476     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7871        3.9058        .54920E-06   -1.5681    
   2  alpha         2.7556        1.2309        .66283E-04    .10244    
   3  Normalizat    .55695        .22985        .10957E-04   -1.0984    
   4  Prefactor     1.3097        .29698        .96219E-05   -.83018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65112e-09
Minuit parameter uncertainties:
  1  3.90577
  2  1.28764
  3  0.230242
  4  0.297366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486558': 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) = 3467.4756134
delta logL = 0.12954433036

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  1.787e+00  3.906e+00  0.000e+00  1.000e+06 ( 1.000e-12)
361        alpha:  2.756e+00  1.288e+00  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:  1.310e+00  2.974e-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:  5.569e-01  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 198.169 48.470

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/486558/cmap_HighResolution_698112001_698371201_4FGL_J1312.6+4828_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-05', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2023-02-18 00:59:31.298388', job_id='486558', GAL2='1.31', fit_tolerance='1e-08', EG2='0.56', EG='0.57', time_epoch_completed='1676710771.3', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.30e-01', ts2='0.37', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1770' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:59:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 486558: <4FGL_J1312.6+4828_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1312.6+4828_daily_bin1770> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Feb 18 00:50:16 2023
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:50:18 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:18 2023
Terminated at Sat Feb 18 00:59:31 2023
Results reported at Sat Feb 18 00:59:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.6+4828_daily_bin1770 198.169 48.4701 698112001 698371201 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 :                                   523.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            555 sec.

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

