/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 = 7409
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1308.5+3547_daily_bin326
RA = 197.129, Dec = 35.7918
tmin = 323827201, tmax = 324086401
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='262446', job_status='RUN', time_executed='2021-09-07 00:06:29.460506', time_epoch_executed='1630998389.46' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/262446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/262446/ft1_4FGL_J1308.5+3547_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/262446/ft1_4FGL_J1308.5+3547_daily_bin326.fits outfile=/scratch/kocevski/262446/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin326.fits ra=197.129 dec=35.7918 rad=12.0 tmin=323827201.0 tmax=324086401.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.50
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/262446/ltcube_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.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/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits
.....................!
real 16.57
user 16.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/262446/ltcube_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits outfile=/scratch/kocevski/262446/expmap_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.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/262446/ltcube_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits
.....................!
real 194.03
user 186.99
sys 4.73

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/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits scfile=/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits outfile=/scratch/kocevski/262446/cmap_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.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.62
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits scfile=/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits outfile=/scratch/kocevski/262446/cmap_HighResolution_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits', '/scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits', expMap='/scratch/kocevski/262446/expmap_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits', expCube='/scratch/kocevski/262446/ltcube_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/262446/Model_4FGL_J1308.5+3547_daily_bin326.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/262446/ft1_filtered_4FGL_J1308.5+3547_daily_bin326.fits
Spacecraft file(s): /scratch/kocevski/262446/ft2_4FGL_J1308.5+3547_daily_bin326.fits
Exposure map: /scratch/kocevski/262446/expmap_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits
Exposure cube: /scratch/kocevski/262446/ltcube_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/262446/Model_4FGL_J1308.5+3547_daily_bin326.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) = 5902.31317052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93062       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49803       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.081       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6237       1.0000         .10000E-03   10000.    
     7 'norm      '    .10546E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.807       1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7744       1.0000         .10000E-03   10000.    
    13 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.8631       1.0000         .10000E-03   10000.    
    15 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.7228       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2327       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.396       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.6295       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.1332       1.0000         .10000E-03   10000.    
    24 'norm      '    7.0102       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .79178       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3115       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=   5902.302     FROM MIGRAD    STATUS=CONVERGED    613 CALLS     3085 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94020        4.7471        .71103E-06   -.82390E-03
   2  Prefactor     .10000E-03    1.2503        .29803E-07** at limit **
   3  Prefactor     .54056        5.9864       -.13808E-05   -.84385E-04
   4  Prefactor     .10000E-03    25.991       -.60548E-05** at limit **
   5  Prefactor     35.035        57.438       -.63021E-04    .37217E-05
   6  Prefactor     6.6248        6.4492       -.10552E-05   -.40419E-04
   7  norm          .10000E-03    2.8776        .88431E-06** at limit **
   8  Prefactor     .10000E-03    36.277        .22988E-04** at limit **
   9  Prefactor     49.800        29.193       -.30915E-05   -.10431E-04
  10  norm          .10000E-03    3.3946       -.66934E-07** at limit **
  11  Prefactor     .10000E-03    5.5002        .90089E-07** at limit **
  12  norm          5.7754        4.9511        .15275E-06   -.73701E-04
  13  norm          .10000E-03    17.433        .16176E-05** at limit **
  14  norm          1.8630        2.4715        .45990E-06    .46008E-04
  15  norm          .10000E-03    2.7886       -.11392E-06** at limit **
  16  Prefactor     .10000E-03    1.4745        .47011E-08** at limit **
  17  Prefactor     9.7223        10.088       -.42251E-07    .31542E-04
  18  Prefactor     .10000E-03    26.664       -.62216E-05** at limit **
  19  Prefactor     9.2333        10.201       -.21288E-06    .19750E-04
  20  Prefactor     13.397        16.106       -.47863E-06    .66694E-05
  21  Prefactor     .10000E-03    49.091       -.12452E-04** at limit **
  22  norm          3.6296        1.6748       -.13692E-06   -.19968E-04
  23  Prefactor     2.1335        3.7216       -.21232E-05   -.63175E-03
  24  norm          7.0092        14.990       -.15257E-05   -.36833E-04
  25  Normalizat    .79189        .16719        .27255E-05    .16193E-04
  26  Prefactor     1.3113        .21298        .22452E-05    .42342E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.9402
  Prefactor  = 0.0001
  Prefactor  = 0.540557
  Prefactor  = 0.0001
  Prefactor  = 35.0352
  Prefactor  = 6.62478
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 49.7995
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.77536
  norm       = 0.0001
  norm       = 1.86298
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.7223
  Prefactor  = 0.0001
  Prefactor  = 9.23328
  Prefactor  = 13.3967
  Prefactor  = 0.0001
  norm       = 3.62963
  Prefactor  = 2.13352
  norm       = 7.00919
  Normalizat = 0.791889
  Prefactor  = 1.31132
 **********
 **   18 **HESSE 
 **********

 FCN=   5902.302     FROM HESSE     STATUS=OK           464 CALLS     3549 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94020        16.973        .31668E-02   -1.5514    
   2  Prefactor     .10000E-03    1.2753        .83874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .54056        16.525        .36400E-02   -1.5561    
   4  Prefactor     .10000E-03    26.664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.035        57.376        .67660E-04   -1.4523    
   6  Prefactor     6.6248        6.4398        .15592E-03   -1.5193    
   7  norm          .10000E-03    2.9222        .12716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    36.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.800        29.117        .56823E-04   -1.4295    
  10  norm          .10000E-03    3.4888        .27635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5090        .17593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7754        4.9424        .15084E-03   -1.5227    
  13  norm          .10000E-03    17.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8630        2.4343        .13075E-03   -1.5435    
  15  norm          .10000E-03    2.8067        .12466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.4866        .90943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.7223        10.085        .12851E-03   -1.5084    
  18  Prefactor     .10000E-03    26.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.2333        10.197        .13190E-03   -1.5100    
  20  Prefactor     13.397        16.100        .10944E-03   -1.4976    
  21  Prefactor     .10000E-03    49.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.6296        1.6738        .65306E-04   -1.5327    
  23  Prefactor     2.1335        3.7139        .18833E-03   -1.5416    
  24  norm          7.0092        14.994        .15152E-03   -1.5178    
  25  Normalizat    .79189        .19959        .24942E-03   -1.0037    
  26  Prefactor     1.3113        .25584        .25956E-03   -.82971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2096e-08
Minuit parameter uncertainties:
  1  7.99167
  2  9.00756e-07
  3  5.97872
  4  0.000133231
  5  57.4663
  6  6.44043
  7  0.000136051
  8  0.000123063
  9  29.1253
  10  1.42243e-05
  11  8.53769e-06
  12  4.94276
  13  0.0001068
  14  2.43441
  15  4.8475e-06
  16  3.74427e-06
  17  10.0866
  18  1.9606e-05
  19  10.1988
  20  16.1052
  21  9.52149e-05
  22  1.67386
  23  3.71435
  24  15.0022
  25  0.199776
  26  0.256086
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  5.775e+00  4.943e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.311e+00  2.561e-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:  7.919e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 197.129 35.792
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 2.15e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 8.90e-06

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

Saving results to:
/scratch/kocevski/262446/likelihoodResults_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.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) = 5902.2903509
delta logL = 0.0120744296573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5902.28868148
delta logL = 0.013743840851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0270       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9856       1.0000          .0000       5.0000    
     3 'Normalizat'    .79739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3062       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=   5902.289     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0219        206.16        .40888E-02    .96846E-04
   2  alpha         1.9841        3.6368        .42310        .15195E-06
   3  Normalizat    .79746        .21060        .43576E-01   -.21933E-03
   4  Prefactor     1.3061        .15165        .58793E-01   -.18535E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.02193
  alpha      = 1.98408
  Normalizat = 0.797456
  Prefactor  = 1.30614
 **********
 **   18 **HESSE 
 **********

 FCN=   5902.289     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0219        5.2260        .15519E-03   -1.5217    
   2  alpha         1.9841        1.1154        .28072E-01   -.20786    
   3  Normalizat    .79746        .19486        .24865E-03   -1.0016    
   4  Prefactor     1.3061        .25354        .25999E-03   -.83125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74623e-11
Minuit parameter uncertainties:
  1  5.22637
  2  1.15822
  3  0.195027
  4  0.253783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/262446': 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) = 5902.28867983
delta logL = 0.0137454927099

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  6.022e+00  5.226e+00  1.000e-04  1.000e+04 ( 1.000e-12)
318        alpha:  1.984e+00  1.158e+00  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:  1.306e+00  2.538e-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:  7.975e-01  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.78
Ra Dec: 197.129 35.792
Photon Index (Free Index): 1.98 +/- 1.16
Photon Flux (Free Index): 2.18e-08 +/- 2.57e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.10e-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/262446/cmap_HighResolution_323827201_324086401_4FGL_J1308.5+3547_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-05', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='1.11e-05', photon_flux_error='2.15e-08', dlogl='1.37e-02', energy_flux='1.04e-05', photon_flux2='2.18e-08', job_status='DONE', time_completed='2021-09-07 00:18:58.486025', photon_index_error2='1.16', photon_index2='1.98', ts='2.74', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='7.71e-08', energy_flux_error2='1.10e-05', EG='0.79', time_epoch_completed='1630999138.49', return_code='0', job_id='262446', GAL2='1.31', EG2='0.80', return_code2='0', energy_flux_error='8.90e-06', photon_flux_error2='2.57e-08', ts2='2.78', photon_index='2.18' WHERE bin_id='326' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 00:18:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 262446: <4FGL_J1308.5+3547_daily_bin326> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin326> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 00:05:39 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 00:06:06 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:06:06 2021
Terminated at Tue Sep  7 00:19:01 2021
Results reported at Tue Sep  7 00:19:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin326 197.129 35.7918 323827201 324086401 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 :                                   738.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            802 sec.

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

