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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1239
RA = 206.06, Dec = -17.3978
tmin = 560476801, tmax = 560736001
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='903174', job_status='RUN', time_executed='2021-09-08 10:02:45.975060', time_epoch_executed='1631120565.98' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903174

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903174/ft1_4FGL_J1344.2-1723_daily_bin1239.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903174/ft1_4FGL_J1344.2-1723_daily_bin1239.fits outfile=/scratch/kocevski/903174/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1239.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=560476801.0 tmax=560736001.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.81
user 3.55
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.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/903174/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1239.fits evtable="EVENTS" outfile="/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits" evtable="EVENTS" scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits sctable="SC_DATA" outfile=/scratch/kocevski/903174/ltcube_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.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/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits
.....................!
real 17.23
user 16.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits sctable="SC_DATA" expcube=/scratch/kocevski/903174/ltcube_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits outfile=/scratch/kocevski/903174/expmap_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.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/903174/ltcube_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits
.....................!
real 193.37
user 187.80
sys 5.05

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/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits outfile=/scratch/kocevski/903174/cmap_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits outfile=/scratch/kocevski/903174/cmap_HighResolution_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.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 1.00
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/903174/Model_4FGL_J1344.2-1723_daily_bin1239.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/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits.....................!
real 57.84
user 56.35
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits', '/scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits', expMap='/scratch/kocevski/903174/expmap_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits', expCube='/scratch/kocevski/903174/ltcube_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/903174/Model_4FGL_J1344.2-1723_daily_bin1239.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/903174/ft1_filtered_4FGL_J1344.2-1723_daily_bin1239.fits
Spacecraft file(s): /scratch/kocevski/903174/ft2_4FGL_J1344.2-1723_daily_bin1239.fits
Exposure map: /scratch/kocevski/903174/expmap_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits
Exposure cube: /scratch/kocevski/903174/ltcube_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/903174/Model_4FGL_J1344.2-1723_daily_bin1239.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) = 6744.37851453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8112       1.0000         .10000E-03   10000.    
     2 'norm      '    16.527       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.458       1.0000         .10000E-03   10000.    
     7 'norm      '    .13629       1.0000         .10000E-03   10000.    
     8 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3782       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14971E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .84384       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14566E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.1073       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8460       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10951E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.6297       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.908       1.0000         .10000E-03   10000.    
    21 'norm      '    6.2504       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3181       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .92254       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=   6744.332     FROM MIGRAD    STATUS=CONVERGED    724 CALLS     3412 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8106        1.9029        .50063E-06   -.20420E-02
   2  norm          16.527        7.6851        .29189E-07    .16730E-04
   3  norm          1.0690        2.0242        .15986E-07   -.86971E-04
   4  Prefactor     .10000E-03    21.847       -.80374E-05** at limit **
   5  Prefactor     .10000E-03    3.4286        .83271E-07** at limit **
   6  Prefactor     20.980        23.513       -.21132E-05   -.34971E-03
   7  norm          .16198E-03    2.7959        .84746E-06** at limit **
   8  norm          .10000E-03    4.8017        .22268E-07** at limit **
   9  Prefactor     9.3673        15.127       -.70725E-06    .76353E-04
  10  Prefactor     .10000E-03    173.06       -.16434E-04** at limit **
  11  Prefactor     .84479        14.025       -.23076E-05   -.73905E-04
  12  Prefactor     .10000E-03    16.904       -.27293E-05** at limit **
  13  norm          6.1033        5.7656       -.46826E-06   -.34310E-04
  14  norm          .10000E-03    8.0681        .50564E-07** at limit **
  15  Prefactor     5.8452        7.5306       -.24743E-05   -.17773E-03
  16  Prefactor     .10000E-03    27.331        .48697E-05** at limit **
  17  norm          .10000E-03    4.3191        .12193E-06** at limit **
  18  Prefactor     .10000E-03    4.4025       -.38330E-07** at limit **
  19  norm          8.6307        10.648        .74362E-06   -.20498E-03
  20  Prefactor     39.912        45.857        .33919E-06    .11228E-04
  21  norm          6.2513        4.7203        .29820E-05    .82666E-04
  22  Prefactor     .10000E-03    42.391       -.16630E-05** at limit **
  23  Prefactor     .10000E-03    19.868        .73053E-05** at limit **
  24  Prefactor     .10000E-03    17.805        .15417E-05** at limit **
  25  norm          .10000E-03    11.242        .21356E-06** at limit **
  26  Normalizat    1.3173        .25906        .43923E-06    .68619E-04
  27  Prefactor     .92283        .11862        .18463E-06    .14950E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81064
  norm       = 16.5274
  norm       = 1.06901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9803
  norm       = 0.000161978
  norm       = 0.0001
  Prefactor  = 9.36728
  Prefactor  = 0.000100002
  Prefactor  = 0.844792
  Prefactor  = 0.0001
  norm       = 6.10332
  norm       = 0.0001
  Prefactor  = 5.84521
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.63067
  Prefactor  = 39.9118
  norm       = 6.25131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.31734
  Prefactor  = 0.922835
 **********
 **   18 **HESSE 
 **********

 FCN=   6744.332     FROM HESSE     STATUS=OK           494 CALLS     3906 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8106        5.2036        .15508E-02   -1.5439    
   2  norm          16.527        7.6777        .98519E-04   -1.4895    
   3  norm          1.0690        1.7250        .15478E-02   -1.5501    
   4  Prefactor     .10000E-03    22.273        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4368        .14850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.980        28.732        .88553E-04   -1.4792    
   7  norm          .16198E-03    10.088        .37700E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.8390        .17551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3673        15.086        .13087E-03   -1.5096    
  10  Prefactor     .10000E-03    178.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .84479        14.730        .50409E-03   -1.5524    
  12  Prefactor     .10000E-03    17.331        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.1033        5.7655        .16246E-03   -1.5214    
  14  norm          .10000E-03    8.0693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8452        7.5269        .16610E-03   -1.5224    
  16  Prefactor     .10000E-03    27.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.3206        .16669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5800        .33587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.6307        10.632        .68227E-03   -1.5120    
  20  Prefactor     39.912        45.871        .63450E-04   -1.4444    
  21  norm          6.2513        4.6979        .14868E-03   -1.5208    
  22  Prefactor     .10000E-03    42.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    17.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    11.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3173        .31066        .34820E-03   -.83050    
  27  Prefactor     .92283        .14253        .18896E-03   -.95348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13367e-08
Minuit parameter uncertainties:
  1  5.20489
  2  7.67818
  3  1.72511
  4  0.000109734
  5  2.71314e-06
  6  28.7507
  7  0.0500185
  8  2.47571e-05
  9  15.092
  10  0.00117151
  11  7.05685
  12  8.91351e-05
  13  5.76603
  14  6.19168e-06
  15  7.52809
  16  5.00828e-05
  17  9.53329e-07
  18  5.45559e-06
  19  10.6347
  20  45.9112
  21  4.69813
  22  3.05552e-05
  23  8.34966e-06
  24  1.1452e-06
  25  4.7405e-06
  26  0.311106
  27  0.142587
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  6.103e+00  5.766e+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

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.228e-01  1.426e-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.317e+00  3.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.23
Ra Dec: 206.060 -17.398
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.20e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.92e-05

TS (Fixed Index): 2.23
Ra Dec: 206.060 -17.398
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/903174/likelihoodResults_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.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) = 6744.31062152
delta logL = 0.0215877972505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6744.31019719
delta logL = 0.02201212816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2283       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9357       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92104       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.

 FCN=   6744.310     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2255        261.26        .40213E-02    .11798E-03
   2  alpha         1.9355        3.5916        .42561       -.17211E-05
   3  Normalizat    1.3242        .26531        .78499E-01    .12937E-04
   4  Prefactor     .92130        .91028E-01    .45273E-01    .65507E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.22553
  alpha      = 1.93548
  Normalizat = 1.32415
  Prefactor  = 0.921298
 **********
 **   18 **HESSE 
 **********

 FCN=   6744.310     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .16E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2255        5.8815        .16085E-03   -1.5209    
   2  alpha         1.9355        .79049        .20636E-01   -.22777    
   3  Normalizat    1.3242        .30070        .34745E-03   -.82848    
   4  Prefactor     .92130        .14058        .18910E-03   -.95401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56578e-14
Minuit parameter uncertainties:
  1  5.88203
  2  0.80507
  3  0.301095
  4  0.140631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903174': 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) = 6744.31019499
delta logL = 0.0220143234301

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  6.226e+00  5.882e+00  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  1.935e+00  8.051e-01  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.213e-01  1.406e-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.324e+00  3.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 206.060 -17.398
Photon Index (Free Index): 1.94 +/- 0.81
Photon Flux (Free Index): 3.54e-08 +/- 4.47e-08
Energy Flux (Free Index): 2.23e-05 +/- 2.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/903174/cmap_HighResolution_560476801_560736001_4FGL_J1344.2-1723_daily_bin1239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-05', comment='SUCCESS', photon_flux='4.20e-08', energy_flux2='2.23e-05', photon_flux_error='3.97e-08', dlogl='2.20e-02', energy_flux='2.03e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-09-08 10:15:49.364855', photon_index_error2='0.81', photon_index2='1.94', ts='2.23', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='2.39e-05', EG='1.32', time_epoch_completed='1631121349.36', return_code='0', job_id='903174', GAL2='0.92', EG2='1.32', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='4.47e-08', ts2='2.27', photon_index='2.11' WHERE bin_id='1239' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:15:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 903174: <4FGL_J1344.2-1723_daily_bin1239> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin1239> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 10:00:47 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 10:01:48 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:01:48 2021
Terminated at Wed Sep  8 10:15:49 2021
Results reported at Wed Sep  8 10:15:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1239 206.06 -17.3978 560476801 560736001 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 :                                   779.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            902 sec.

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

