/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 9 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1308.5+3547_daily_bin1363
RA = 197.129, Dec = 35.7918
tmin = 592617601, tmax = 592876801
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='272605', job_status='RUN', time_executed='2021-09-07 00:36:33.141544', time_epoch_executed='1631000193.14' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272605/ft1_4FGL_J1308.5+3547_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272605/ft1_4FGL_J1308.5+3547_daily_bin1363.fits outfile=/scratch/kocevski/272605/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1363.fits ra=197.129 dec=35.7918 rad=12.0 tmin=592617601.0 tmax=592876801.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.48
user 3.28
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.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/272605/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1363.fits evtable="EVENTS" outfile="/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/272605/ltcube_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.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/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits
.....................!
real 13.76
user 13.35
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/272605/ltcube_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits outfile=/scratch/kocevski/272605/expmap_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.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/272605/ltcube_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits
.....................!
real 190.67
user 186.30
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1308.5+3547 @ 197.129 35.7918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits outfile=/scratch/kocevski/272605/cmap_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=197.129 yref=35.7918 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits outfile=/scratch/kocevski/272605/cmap_HighResolution_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=197.129 yref=35.7918 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272605/Model_4FGL_J1308.5+3547_daily_bin1363.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/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits.....................!
real 51.14
user 49.77
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits', '/scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits', expMap='/scratch/kocevski/272605/expmap_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits', expCube='/scratch/kocevski/272605/ltcube_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/272605/Model_4FGL_J1308.5+3547_daily_bin1363.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1308.5+3547'

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.918e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/272605/ft1_filtered_4FGL_J1308.5+3547_daily_bin1363.fits
Spacecraft file(s): /scratch/kocevski/272605/ft2_4FGL_J1308.5+3547_daily_bin1363.fits
Exposure map: /scratch/kocevski/272605/expmap_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits
Exposure cube: /scratch/kocevski/272605/ltcube_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/272605/Model_4FGL_J1308.5+3547_daily_bin1363.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) = 5845.39315888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15339E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5564       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .20184E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.326       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .53563E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.653       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.352       1.0000         .10000E-03   10000.    
    14 'norm      '    18.030       1.0000         .10000E-03   10000.    
    15 'norm      '    15.243       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0212       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.621       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.237       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2912       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9820       1.0000         .10000E-03   10000.    
    22 'norm      '    4.9123       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3524       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .61118       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5845.371     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3180 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    3.8937       -.72719E-06** at limit **
   2  Prefactor     1.5564        1.5039        .91297E-07    .29931E-03
   3  Prefactor     6.9342        9.5352        .74567E-07   -.76144E-04
   4  Prefactor     .10000E-03    5.4436       -.49426E-07** at limit **
   5  Prefactor     .10000E-03    265.48        .44493E-04** at limit **
   6  Prefactor     .10000E-03    2.0587       -.13857E-06** at limit **
   7  norm          .10000E-03    3.5568       -.11508E-06** at limit **
   8  Prefactor     15.306        42.678       -.80436E-05   -.77113E-05
   9  Prefactor     .10000E-03    14.321        .11123E-05** at limit **
  10  norm          .10001E-03    2.5669        .27017E-06** at limit **
  11  Prefactor     32.643        19.620        .74385E-05    .47507E-04
  12  norm          .10000E-03    4.1668       -.28652E-06** at limit **
  13  norm          10.350        12.970       -.14049E-05   -.24746E-04
  14  norm          18.024        8.0457        .83122E-07   -.14206E-04
  15  norm          15.242        13.121        .92810E-06   -.18616E-04
  16  Prefactor     4.0190        5.2826       -.86183E-05   -.10230E-02
  17  Prefactor     15.614        20.221        .54832E-05   -.29603E-04
  18  Prefactor     16.338        53.990        .10927E-03    .31733E-04
  19  Prefactor     2.2891        11.682       -.26157E-05   -.21994E-03
  20  Prefactor     .10000E-03    6.5591       -.42900E-07** at limit **
  21  Prefactor     7.9800        73.475       -.69992E-05   -.12611E-04
  22  norm          4.9118        2.0653        .10301E-06   -.14325E-03
  23  Prefactor     .10000E-03    1.4204        .86833E-08** at limit **
  24  norm          .10000E-03    11.020        .22378E-05** at limit **
  25  Normalizat    1.3525        .18031       -.24115E-05    .11418E-03
  26  Prefactor     .61135        .21533       -.36366E-06   -.15660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Prefactor  = 1.55642
  Prefactor  = 6.93421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3062
  Prefactor  = 0.0001
  norm       = 0.000100014
  Prefactor  = 32.6428
  norm       = 0.0001
  norm       = 10.3497
  norm       = 18.0239
  norm       = 15.2425
  Prefactor  = 4.019
  Prefactor  = 15.6145
  Prefactor  = 16.3381
  Prefactor  = 2.28905
  Prefactor  = 0.0001
  Prefactor  = 7.98
  norm       = 4.91183
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.35248
  Prefactor  = 0.611349
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.371     FROM HESSE     STATUS=OK           466 CALLS     3646 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    11.866        .29298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5564        1.5250        .89827E-04   -1.5458    
   3  Prefactor     6.9342        9.5262        .15236E-03   -1.5181    
   4  Prefactor     .10000E-03    5.4447        .17422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    267.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0609        .10709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.2358        .27502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.306        42.671        .10231E-03   -1.4925    
   9  Prefactor     .10000E-03    14.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10001E-03    51.004        .23600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.643        19.608        .70123E-04   -1.4565    
  12  norm          .10000E-03    4.2237        .15208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.350        12.959        .12453E-03   -1.5064    
  14  norm          18.024        8.0535        .94325E-04   -1.4859    
  15  norm          15.242        13.257        .10259E-03   -1.4927    
  16  Prefactor     4.0190        5.2613        .14957E-03   -1.5307    
  17  Prefactor     15.614        20.084        .10134E-03   -1.4917    
  18  Prefactor     16.338        53.937        .99396E-04   -1.4899    
  19  Prefactor     2.2891        11.677        .27118E-03   -1.5405    
  20  Prefactor     .10000E-03    6.5633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.9800        73.560        .14192E-03   -1.5143    
  22  norm          4.9118        2.0649        .68780E-04   -1.5265    
  23  Prefactor     .10000E-03    1.4328        .88972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    11.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3525        .21028        .21047E-03   -.82013    
  26  Prefactor     .61135        .24699        .36566E-03   -1.0711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09156e-09
Minuit parameter uncertainties:
  1  0.000819035
  2  1.52504
  3  9.52827
  4  6.56908e-06
  5  0.000166184
  6  1.92403e-05
  7  4.9979e-05
  8  42.7566
  9  5.48814e-06
  10  0.00166697
  11  19.6122
  12  5.79439e-05
  13  12.9627
  14  8.05394
  15  13.2593
  16  5.26186
  17  20.0923
  18  54.0985
  19  10.3429
  20  8.76975e-06
  21  48.5354
  22  2.06493
  23  2.28589e-06
  24  2.112e-05
  25  0.210412
  26  0.247434
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.000e-04  5.794e-05  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  6.113e-01  2.474e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.352e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 5.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272605/likelihoodResults_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.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) = 5845.37193902
delta logL = -0.00112540873943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5845.10774534
delta logL = 0.263068271479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14314       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5845.108     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      403 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14312        8.2491        .89782E-02    .23926E-02
   2  alpha         5.0000        5.0000        .46342    ** at limit **
   3  Normalizat    1.3106        .64489E-01    .48158E-01   -.25733E-04
   4  Prefactor     .64306        .71039E-01    .80638E-01    .16384E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.143116
  alpha      = 5
  Normalizat = 1.31063
  Prefactor  = 0.64306
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.108     FROM HESSE     STATUS=OK            33 CALLS      436 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14312        .23379        .39538E-04   -1.5632    
   2  alpha         5.0000        3.8254        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3106        .21115        .21289E-03   -.83250    
   4  Prefactor     .64306        .25067        .35710E-03   -1.0580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62215e-12
Minuit parameter uncertainties:
  1  0.23379
  2  2.91717e-07
  3  0.211293
  4  0.251106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272605': 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) = 5845.10774514
delta logL = 0.263068475096

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.431e-01  2.338e-01  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  5.000e+00  2.917e-07  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  6.431e-01  2.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.311e+00  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 197.129 35.792

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/272605/cmap_HighResolution_592617601_592876801_4FGL_J1308.5+3547_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-05', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2021-09-07 00:49:28.183357', job_id='272605', GAL2='0.64', fit_tolerance='1e-08', EG2='1.31', EG='1.35', time_epoch_completed='1631000968.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='2.63e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1363' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 00:49:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 272605: <4FGL_J1308.5+3547_daily_bin1363> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin1363> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 00:35:45 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 00:36:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 00:36:15 2021
Terminated at Tue Sep  7 00:49:28 2021
Results reported at Tue Sep  7 00:49:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin1363 197.129 35.7918 592617601 592876801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1308.5+3547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            823 sec.

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

