/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 86 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 = 7375
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1035
RA = 206.06, Dec = -17.3978
tmin = 507600001, tmax = 507859201
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='904474', job_status='RUN', time_executed='2021-09-08 10:07:09.474645', time_epoch_executed='1631120829.47' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904474

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904474/ft1_4FGL_J1344.2-1723_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904474/ft1_4FGL_J1344.2-1723_daily_bin1035.fits outfile=/scratch/kocevski/904474/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1035.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=507600001.0 tmax=507859201.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.06
user 2.76
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.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/904474/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1035.fits evtable="EVENTS" outfile="/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.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.47
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/904474/ltcube_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.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/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits
.....................!
real 13.13
user 12.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/904474/ltcube_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits outfile=/scratch/kocevski/904474/expmap_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.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/904474/ltcube_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits
.....................!
real 157.17
user 152.36
sys 4.41

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J1344.2-1723 @ 206.06 -17.3978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits outfile=/scratch/kocevski/904474/cmap_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.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=206.06 yref=-17.3978 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.72
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits outfile=/scratch/kocevski/904474/cmap_HighResolution_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.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=206.06 yref=-17.3978 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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904474/Model_4FGL_J1344.2-1723_daily_bin1035.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/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits.....................!
real 52.27
user 50.99
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits', '/scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits', expMap='/scratch/kocevski/904474/expmap_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits', expCube='/scratch/kocevski/904474/ltcube_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904474/Model_4FGL_J1344.2-1723_daily_bin1035.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1344.2-1723'

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  2.763e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.106e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
279         beta:  1.218e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  8.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/904474/ft1_filtered_4FGL_J1344.2-1723_daily_bin1035.fits
Spacecraft file(s): /scratch/kocevski/904474/ft2_4FGL_J1344.2-1723_daily_bin1035.fits
Exposure map: /scratch/kocevski/904474/expmap_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits
Exposure cube: /scratch/kocevski/904474/ltcube_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904474/Model_4FGL_J1344.2-1723_daily_bin1035.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) = 7849.61333432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.451       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7313       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.439       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1479       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7600       1.0000         .10000E-03   10000.    
     8 'norm      '    .10210E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.788       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5373       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    23.979       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .33674E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.481       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .18672E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.260       1.0000         .10000E-03   10000.    
    21 'norm      '    .94616E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2296       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94983       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7849.607     FROM MIGRAD    STATUS=CONVERGED    654 CALLS     3296 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.8617       -.14928E-06** at limit **
   2  norm          10.452        7.5626        .69122E-07    .49325E-04
   3  norm          1.7312        1.7119        .83144E-08    .10078E-05
   4  Prefactor     10.435        9.5003        .39325E-08    .60162E-04
   5  Prefactor     6.1457        8.9005        .54714E-07    .67776E-04
   6  Prefactor     .10000E-03    38.469       -.35972E-07** at limit **
   7  norm          2.7464        3.6736        .37676E-06    .43521E-03
   8  norm          .10000E-03    5.2403       -.13548E-06** at limit **
   9  Prefactor     11.782        10.935        .44979E-07    .10107E-03
  10  Prefactor     1.5360        17.345        .15468E-04    .83889E-04
  11  Prefactor     .10000E-03    3.4457        .14824E-06** at limit **
  12  Prefactor     .10000E-03    2.2312        .37956E-08** at limit **
  13  norm          .10000E-03    3.4100       -.19200E-06** at limit **
  14  norm          23.996        21.312       -.68511E-06    .22750E-03
  15  Prefactor     .10000E-03    2.4891        .28599E-06** at limit **
  16  Prefactor     26.477        32.362        .72397E-06    .33990E-04
  17  norm          .10000E-03    4.3663        .44828E-07** at limit **
  18  Prefactor     .10000E-03    1.6542       -.13305E-05** at limit **
  19  norm          .10000E-03    5.0052       -.32359E-05** at limit **
  20  Prefactor     38.285        43.060       -.14212E-05    .27581E-03
  21  norm          .10000E-03    1.2162       -.28581E-06** at limit **
  22  Prefactor     .10000E-03    4.2803        .92369E-07** at limit **
  23  Prefactor     .10000E-03    18.336       -.36436E-06** at limit **
  24  Prefactor     .10000E-03    12.095        .14858E-07** at limit **
  25  norm          .10000E-03    11.318       -.13984E-06** at limit **
  26  Normalizat    1.2297        .22226        .11406E-05    .36038E-03
  27  Prefactor     .94985        .10487       -.89212E-06    .48673E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.4521
  norm       = 1.73122
  Prefactor  = 10.4351
  Prefactor  = 6.1457
  Prefactor  = 0.0001
  norm       = 2.74636
  norm       = 0.0001
  Prefactor  = 11.7818
  Prefactor  = 1.53599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 23.996
  Prefactor  = 0.000100002
  Prefactor  = 26.4772
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100003
  Prefactor  = 38.2851
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.22974
  Prefactor  = 0.949852
 **********
 **   18 **HESSE 
 **********

 FCN=   7849.607     FROM HESSE     STATUS=OK           484 CALLS     3780 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.0769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.452        7.5539        .12394E-03   -1.5061    
   3  norm          1.7312        1.7199        .11205E-03   -1.5445    
   4  Prefactor     10.435        9.4911        .12401E-03   -1.5062    
   5  Prefactor     6.1457        8.9036        .16191E-03   -1.5212    
   6  Prefactor     .10000E-03    38.763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7464        3.6011        .18244E-03   -1.5377    
   8  norm          .10000E-03    5.2857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.782        10.926        .11668E-03   -1.5021    
  10  Prefactor     1.5360        18.201        .17199E-02   -1.5460    
  11  Prefactor     .10000E-03    3.4556        .16064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2343        .12922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4879        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.996        21.365        .81802E-04   -1.4728    
  15  Prefactor     .10000E-03    11.072        .25715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.477        32.359        .77848E-04   -1.4678    
  17  norm          .10000E-03    4.3680        .18080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.4942        .21174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    15.132        .34660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.285        43.376        .64797E-04   -1.4470    
  21  norm          .10000E-03    8.6357        .18799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.2813        .17903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    11.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2297        .26009        .33262E-03   -.85689    
  27  Prefactor     .94985        .12480        .18029E-03   -.94420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4785e-09
Minuit parameter uncertainties:
  1  7.45401e-05
  2  7.55457
  3  1.7199
  4  9.49249
  5  8.90554
  6  0.000114289
  7  3.60135
  8  2.68858e-05
  9  10.9281
  10  10.5786
  11  2.23772e-05
  12  4.49933e-07
  13  2.23324e-05
  14  21.3718
  15  0.000323148
  16  32.38
  17  6.01278e-06
  18  0.00014904
  19  0.000401545
  20  43.4114
  21  0.000246577
  22  8.01165e-06
  23  0.000124739
  24  6.06159e-05
  25  1.85249e-05
  26  0.260362
  27  0.124835
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  2.233e-05  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.106e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
279         beta:  1.218e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  8.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.499e-01  1.248e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.230e+00  2.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 206.060 -17.398
Photon Flux Upper Limit: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904474/likelihoodResults_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.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) = 7849.6079473
delta logL = -0.00136687600661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7849.60658043
delta logL = -1.11294866656e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1167       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94988       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+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=   7849.607     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      243 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    146.47        .16028E-02** at limit **
   2  alpha         2.2444        3.8700        .50000        .21575E-06
   3  Normalizat    1.2297        .37579E-01    .33262E-03   -.10049E-04
   4  Prefactor     .94985        .18282E-01    .18029E-03   -.36385E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.24437
  Normalizat = 1.22974
  Prefactor  = 0.949852
 **********
 **   18 **HESSE 
 **********

 FCN=   7849.607     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    545.96        .32055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2444        3.8272        .50000       -.10243    
   3  Normalizat    1.2297        .91005E-01    .13305E-04   -.85689    
   4  Prefactor     .94985        .44275E-01    .72115E-05   -.94420    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05067e-08
Minuit parameter uncertainties:
  1  0.000543356
  2  1449.73
  3  0.0910171
  4  0.0442764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904474': 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): 102
logL (Free Index) = 7849.60658
delta logL = 4.18329364038e-07

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  5.434e-04  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.244e+00  1.450e+03  0.000e+00  5.000e+00 ( 1.000e+00)
279         beta:  1.218e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  8.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.499e-01  4.428e-02  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.230e+00  9.102e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 206.060 -17.398

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/904474/cmap_HighResolution_507600001_507859201_4FGL_J1344.2-1723_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-08 10:18:47.744189', job_id='904474', GAL2='0.95', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631121527.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1035' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:18:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 904474: <4FGL_J1344.2-1723_daily_bin1035> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin1035> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 10:05:28 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 10:05:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 10:05:30 2021
Terminated at Wed Sep  8 10:18:48 2021
Results reported at Wed Sep  8 10:18:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1035 206.06 -17.3978 507600001 507859201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1344.2-1723 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   694.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

