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


Performing analysis on: 4FGL_J1312.6+4828_daily_bin1718
RA = 198.169, Dec = 48.4701
tmin = 684633601, tmax = 684892801
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='130028', job_status='RUN', time_executed='2022-09-16 17:27:53.240481', time_epoch_executed='1663374473.24' WHERE source_name='4FGL J1312.6+4828' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130028

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130028/ft1_4FGL_J1312.6+4828_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130028/ft1_4FGL_J1312.6+4828_daily_bin1718.fits outfile=/scratch/kocevski/130028/ft1_filteredMKT_4FGL_J1312.6+4828_daily_bin1718.fits ra=198.169 dec=48.4701 rad=12.0 tmin=684633601.0 tmax=684892801.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.22
user 2.98
sys 0.20

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

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

Number of photons that the gtmktime cut: 151

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130028/ft1_filtered_4FGL_J1312.6+4828_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/130028/ltcube_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.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/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits
.....................!
real 13.21
user 12.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130028/ft1_filtered_4FGL_J1312.6+4828_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/130028/ltcube_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.fits outfile=/scratch/kocevski/130028/expmap_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.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/130028/ltcube_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.fits
.....................!
real 191.01
user 185.42
sys 5.25

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/130028/ft1_filtered_4FGL_J1312.6+4828_daily_bin1718.fits scfile=/scratch/kocevski/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits outfile=/scratch/kocevski/130028/cmap_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=198.169 yref=48.4701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130028/ft1_filtered_4FGL_J1312.6+4828_daily_bin1718.fits scfile=/scratch/kocevski/130028/ft2_4FGL_J1312.6+4828_daily_bin1718.fits outfile=/scratch/kocevski/130028/cmap_HighResolution_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19984E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .55248E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    42365.       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99754E-07   1.0000          .0000       .10000E+07
     5 'norm      '    15.378       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13208E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .12850E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7998       1.0000          .0000       .10000E+07
     9 'Prefactor '    .93874E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .21266E-05   1.0000          .0000       .10000E+07
    11 'norm      '    6.5467       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71948E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    95.252       1.0000          .0000       .10000E+07
    14 'norm      '    2.3817       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15188E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .29199E-07   1.0000          .0000       .10000E+07
    17 'norm      '    8.3900       1.0000          .0000       .10000E+07
    18 'norm      '    93.668       1.0000          .0000       .10000E+07
    19 'Prefactor '    .54777E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.098       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.0783       1.0000          .0000       .10000E+07
    22 'Prefactor '    31.002       1.0000          .0000       .10000E+07
    23 'Prefactor '    13.739       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0005       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=   1619.922     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     3150 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.5562        .29604E-06** at limit **
   2  norm          .57176E-08    200.77       -.82831E-06** at limit **
   3  Prefactor     42365.        1.0000        .17263E-12   -.92705E-03
   4  Prefactor     .55511E-10    20.152        .78166E-07** at limit **
   5  norm          15.380        13.726        .10115E-07   -.80009E-04
   6  Prefactor     .43987E-06    44.169        .30590E-06** at limit **
   7  norm           .0000        6.0366        .13246E-06** at limit **
   8  Prefactor     9.8061        2.6045       -.40142E-08   -.34175E-03
   9  Prefactor     .16503E-06    14.667       -.32999E-06** at limit **
  10  norm           .0000        14.036        .12601E-06** at limit **
  11  norm          6.5452        7.9790       -.12849E-06    .45699E-04
  12  Prefactor     .81340E-06    15.161       -.35353E-06** at limit **
  13  Prefactor     95.216        1.2073        .16625E-08   -.38611E-02
  14  norm          2.3788        5.3173        .17702E-06   -.83797E-05
  15  Prefactor     .26479E-07    29.565       -.24811E-06** at limit **
  16  norm           .0000        1.2115       -.13896E-06** at limit **
  17  norm          8.3919        5.3049        .21680E-06   -.30790E-03
  18  norm          93.672        1.0240        .53058E-11   -.26564E-02
  19  Prefactor     .32362E-05    12.193       -.14542E-06** at limit **
  20  Prefactor     17.102        1.1331       -.34882E-08    .11174E-02
  21  Prefactor     4.0786        3.9640        .13947E-06   -.55456E-04
  22  Prefactor     31.016        1.0802       -.28116E-09    .70966E-03
  23  Prefactor     13.740        5.6977        .93445E-07   -.28794E-03
  24  Normalizat    .10000E-01    .35357        .24079E-04** at limit **
  25  Prefactor     1.0003        .19075       -.28880E-05   -.11871E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.71765e-09
  Prefactor  = 42365.5
  Prefactor  = 5.55112e-11
  norm       = 15.3797
  Prefactor  = 4.3987e-07
  norm       = 0
  Prefactor  = 9.80605
  Prefactor  = 1.65035e-07
  norm       = 0
  norm       = 6.54516
  Prefactor  = 8.13405e-07
  Prefactor  = 95.2164
  norm       = 2.37876
  Prefactor  = 2.64788e-08
  norm       = 0
  norm       = 8.39188
  norm       = 93.672
  Prefactor  = 3.23619e-06
  Prefactor  = 17.102
  Prefactor  = 4.0786
  Prefactor  = 31.0165
  Prefactor  = 13.7401
  Normalizat = 0.01
  Prefactor  = 1.00025
 **********
 **   18 **HESSE 
 **********

 FCN=   1619.922     FROM HESSE     STATUS=OK           479 CALLS     3629 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.5672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .57176E-08    200.83        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42365.        10393.        .55131E-05   -1.1562    
   4  Prefactor     .55511E-10    20.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          15.380        14.734        .25514E-03   -1.5630    
   6  Prefactor     .43987E-06    48.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        6.0321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.8061        31.247        .31986E-03   -1.5645    
   9  Prefactor     .16503E-06    37.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        14.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.5452        8.0343        .39198E-03   -1.5657    
  12  Prefactor     .81340E-06    37.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     95.216        69.481        .10247E-03   -1.5513    
  14  norm          2.3788        5.4340        .66348E-03   -1.5677    
  15  Prefactor     .26479E-07    29.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.2091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.3919        5.3375        .34586E-03   -1.5650    
  18  norm          93.672        42.467        .10333E-03   -1.5514    
  19  Prefactor     .32362E-05    41.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.102        32.987        .24194E-03   -1.5625    
  21  Prefactor     4.0786        4.0080        .49900E-03   -1.5668    
  22  Prefactor     31.016        28.129        .17962E-03   -1.5597    
  23  Prefactor     13.740        5.7417        .26997E-03   -1.5634    
  24  Normalizat    .10000E-01    .21348        .23975       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0003        .25189        .45644E-01   -.92721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17641e-07
Minuit parameter uncertainties:
  1  2.08727e-06
  2  0.0021384
  3  10397.6
  4  7.82714e-05
  5  14.7341
  6  0.00919408
  7  1.20787e-06
  8  31.2478
  9  0.00499802
  10  5.27355e-06
  11  8.03428
  12  0.0110054
  13  69.4815
  14  5.43397
  15  0.00177742
  16  5.59489e-07
  17  5.33747
  18  42.4673
  19  0.0231337
  20  32.9875
  21  4.00801
  22  28.129
  23  5.74169
  24  7.32144e-08
  25  0.25219
Done.

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

Extracting fit parameters...

4FGL J1312.6+4828
   Spectrum: LogParabola
360         norm:  6.545e+00  8.034e+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.000e+00  2.522e-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:  1.000e-02  7.321e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 198.169 48.470
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 3.88e-08 +/- 4.76e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 2.47e-05

TS (Fixed Index): 1.18
Ra Dec: 198.169 48.470
Photon Flux Upper Limit: 1.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/130028/likelihoodResults_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.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) = 1619.91197448
delta logL = 0.0096584239152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1619.9098318
delta logL = 0.0118010999342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9883       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2045       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99976       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=   1619.910     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      249 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9879        8.5908        .11601E-04    .59013E-02
   2  alpha         2.2046        .91908        .11694E-01    .55660E-04
   3  Normalizat    .10000E-01    .35018        .82313E-02** at limit **
   4  Prefactor     .99981        .17877        .23338E-03    .30848E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.98787
  alpha      = 2.20463
  Normalizat = 0.01
  Prefactor  = 0.999806
 **********
 **   18 **HESSE 
 **********

 FCN=   1619.910     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9879        8.4144        .46405E-06   -1.5659    
   2  alpha         2.2046        .90118        .46776E-03   -.11842    
   3  Normalizat    .10000E-01    .35038        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99981        .17858        .46677E-04   -.92736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86315e-10
Minuit parameter uncertainties:
  1  8.41446
  2  0.922252
  3  1.5109e-06
  4  0.178685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130028': 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) = 1619.90983165
delta logL = 0.0118012486182

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
675    Prefactor:  9.998e-01  1.787e-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:  1.000e-02  1.511e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 198.169 48.470
Photon Index (Free Index): 2.20 +/- 0.92
Photon Flux (Free Index): 4.16e-08 +/- 5.29e-08
Energy Flux (Free Index): 1.73e-05 +/- 2.65e-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/130028/cmap_HighResolution_684633601_684892801_4FGL_J1312.6+4828_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.18e-05', comment='SUCCESS', photon_flux='3.88e-08', energy_flux2='1.73e-05', photon_flux_error='4.76e-08', dlogl='1.18e-02', energy_flux='2.01e-05', photon_flux2='4.16e-08', job_status='DONE', time_completed='2022-09-16 17:35:30.328317', photon_index_error2='0.92', photon_index2='2.20', ts='1.18', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.77e-07', energy_flux_error2='2.65e-05', EG='0.01', time_epoch_completed='1663374930.33', return_code='0', job_id='130028', GAL2='1.00', EG2='0.01', return_code2='0', energy_flux_error='2.47e-05', photon_flux_error2='5.29e-08', ts2='1.21', photon_index='2.07' WHERE bin_id='1718' AND source_name='4FGL J1312.6+4828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:35:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 130028: <4FGL_J1312.6+4828_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1312.6+4828_daily_bin1718> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Sep 16 17:20:19 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:26:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:26:10 2022
Terminated at Fri Sep 16 17:35:30 2022
Results reported at Fri Sep 16 17:35:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.6+4828_daily_bin1718 198.169 48.4701 684633601 684892801 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 :                                   459.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            911 sec.

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

