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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin288
RA = 206.06, Dec = -17.3978
tmin = 313977601, tmax = 314236801
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='898491', job_status='RUN', time_executed='2021-09-08 09:46:02.775680', time_epoch_executed='1631119562.78' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898491

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898491/ft1_4FGL_J1344.2-1723_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898491/ft1_4FGL_J1344.2-1723_daily_bin288.fits outfile=/scratch/kocevski/898491/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin288.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=313977601.0 tmax=314236801.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 2.83
user 2.64
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/898491/ltcube_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.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/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits
.....................!
real 16.48
user 16.09
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/898491/ltcube_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.fits outfile=/scratch/kocevski/898491/expmap_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.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/898491/ltcube_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.fits
.....................!
real 156.16
user 151.83
sys 3.93

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/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits scfile=/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits outfile=/scratch/kocevski/898491/cmap_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits scfile=/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits outfile=/scratch/kocevski/898491/cmap_HighResolution_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/898491/ft2_4FGL_J1344.2-1723_daily_bin288.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898491/Model_4FGL_J1344.2-1723_daily_bin288.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/898491/ft1_filtered_4FGL_J1344.2-1723_daily_bin288.fits.....................!
real 43.49
user 42.31
sys 0.94

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2901       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10855E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1470       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9870       1.0000         .10000E-03   10000.    
     7 'norm      '    .11834E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.027       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7331       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25568       1.0000         .10000E-03   10000.    
    13 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.707       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.4124       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.055       1.0000         .10000E-03   10000.    
    17 'norm      '    20.126       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.5139       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    44.681       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.5897       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87445       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=   6347.096     FROM MIGRAD    STATUS=CONVERGED   1161 CALLS     3834 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2885        9.9554        .13924E-03   -.97980E-06
   2  norm          .10000E-03    4.9551        .17231E-02** at limit **
   3  norm          .10000E-03    4.0418        .21504E-02** at limit **
   4  Prefactor     7.1401        13.644        .15005E-03   -.12577E-04
   5  Prefactor     .10000E-03    4.1995        .15920E-02** at limit **
   6  Prefactor     9.9846        11.976        .12680E-03   -.14794E-04
   7  norm          .10070E-03    4.4376        .37908E-01** at limit **
   8  norm          .10000E-03    3.2246        .13936E-02** at limit **
   9  Prefactor     .10000E-03    5.2738        .17858E-02** at limit **
  10  Prefactor     20.049        36.324        .89499E-04    .36583E-04
  11  Prefactor     9.7316        14.345        .12845E-03   -.18764E-04
  12  Prefactor     .17720        15.042        .70051E-01    .32751E-04
  13  norm          .10000E-03    5.1796        .34879E-03** at limit **
  14  norm          13.703        28.424        .10819E-03   -.61999E-05
  15  Prefactor     8.4100        6.3055        .69108E-03   -.63993E-05
  16  Prefactor     22.036        47.640        .85290E-04    .10664E-05
  17  norm          20.123        21.772        .89281E-04   -.24576E-04
  18  Prefactor     .10000E-03    4.2730        .15908E-02** at limit **
  19  norm          .10000E-03    2.1296        .11348E-02** at limit **
  20  Prefactor     .10000E-03    80.004        .18142E-02** at limit **
  21  norm          2.5136        2.7634        .13474E-03    .49699E-04
  22  Prefactor     .10000E-03    8.5019        .18142E-02** at limit **
  23  Prefactor     44.671        34.324        .59979E-04    .15922E-04
  24  Prefactor     .10000E-03    7.2302        .18142E-02** at limit **
  25  norm          .10000E-03    5.3652        .18017E-02** at limit **
  26  Normalizat    1.5898        .32746        .33500E-03   -.15723E-03
  27  Prefactor     .87451        .14587        .20137E-03    .98233E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.28847
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.14014
  Prefactor  = 0.0001
  Prefactor  = 9.98457
  norm       = 0.000100704
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.0489
  Prefactor  = 9.73157
  Prefactor  = 0.177195
  norm       = 0.0001
  norm       = 13.7025
  Prefactor  = 8.41002
  Prefactor  = 22.0358
  norm       = 20.123
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.51356
  Prefactor  = 0.0001
  Prefactor  = 44.6706
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.58985
  Prefactor  = 0.874514
 **********
 **   18 **HESSE 
 **********

 FCN=   6347.096     FROM HESSE     STATUS=OK           482 CALLS     4316 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2885        9.9551        .55695E-05   -1.5132    
   2  norm          .10000E-03    4.9569        .34462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0596        .43008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1401        13.645        .60019E-05   -1.5173    
   5  Prefactor     .10000E-03    4.1998        .31839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9846        11.972        .50719E-05   -1.5076    
   7  norm          .10070E-03    3.5891        .43939E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2249        .27872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.2740        .35716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.049        36.307        .35800E-05   -1.4812    
  11  Prefactor     9.7316        14.343        .51379E-05   -1.5084    
  12  Prefactor     .17720        12.811        .78014E-01   -1.5624    
  13  norm          .10000E-03    5.1798        .69757E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.703        28.417        .43275E-05   -1.4967    
  15  Prefactor     8.4100        6.3049        .27643E-04   -1.5128    
  16  Prefactor     22.036        47.635        .34116E-05   -1.4769    
  17  norm          20.123        21.768        .35712E-05   -1.4810    
  18  Prefactor     .10000E-03    4.2751        .31816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.1296        .22695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    80.032        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5136        2.7634        .53894E-05   -1.5391    
  22  Prefactor     .10000E-03    8.5021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     44.671        34.318        .23991E-05   -1.4370    
  24  Prefactor     .10000E-03    7.2303        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.3654        .36034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.5898        .32785        .67001E-04   -.75284    
  27  Prefactor     .87451        .14597        .80549E-05   -.97037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49263e-07
Minuit parameter uncertainties:
  1  9.95712
  2  2.48125e-06
  3  4.64515e-05
  4  13.6506
  5  4.94184e-06
  6  11.9753
  7  0.00318044
  8  1.5894e-05
  9  8.93323e-06
  10  36.3469
  11  14.3481
  12  3.01315
  13  4.12222e-05
  14  28.445
  15  6.30536
  16  47.7176
  17  21.7764
  18  1.82993e-06
  19  4.31754e-06
  20  0.000339537
  21  2.7635
  22  9.75607e-07
  23  34.3329
  24  2.52624e-06
  25  1.24073e-06
  26  0.328289
  27  0.146031
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  4.122e-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:  8.745e-01  1.460e-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.590e+00  3.283e-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: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898491/likelihoodResults_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.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) = 6347.09689897
delta logL = -0.000921263060263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6347.09597789
delta logL = -1.81809809874e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0913       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87449       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6347.096     FROM MIGRAD    STATUS=FAILED        97 CALLS      243 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    483.36        .35157E-02** at limit **
   2  alpha         1.9105        2.9247        .16747        .21573E-06
   3  Normalizat    1.5899        .74523E-01    .33500E-03    .48393E-04
   4  Prefactor     .87451        .34776E-01    .20137E-03    .77176E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6347.096     FROM SIMPLEX   STATUS=UNCHANGED    195 CALLS      438 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    483.36        .47641E-03** at limit **
   2  alpha         1.9105        2.9247        .42091E-07    .21573E-06
   3  Normalizat    1.5899        .74523E-01    .14375E-08    .48393E-04
   4  Prefactor     .87451        .34776E-01    .10688E-08    .77176E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6347.096     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      466 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5156        .70314E-03** at limit **
   2  alpha         1.9089        2.7926        .66990E-02    .10386E-06
   3  Normalizat    1.5899        .30886        .13400E-04    .47341E-04
   4  Prefactor     .87451        .14411        .80549E-05    .75651E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90893
  Normalizat = 1.58985
  Prefactor  = 0.874511
 **********
 **   18 **HESSE 
 **********

 FCN=   6347.096     FROM HESSE     STATUS=OK            23 CALLS      489 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5064        .14063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9089        2.6536        .13398E-02   -.23869    
   3  Normalizat    1.5899        .30831        .26800E-05   -.75284    
   4  Prefactor     .87451        .14387        .16110E-05   -.97038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.264e-10
Minuit parameter uncertainties:
  1  8.48328e-05
  2  183.465
  3  0.308681
  4  0.143936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898491': 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) = 6347.09597713
delta logL = 5.72644239583e-07

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  8.483e-05  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  1.909e+00  1.835e+02  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:  8.745e-01  1.439e-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.590e+00  3.087e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/898491/cmap_HighResolution_313977601_314236801_4FGL_J1344.2-1723_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-05', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-08 09:57:02.101410', job_id='898491', GAL2='0.87', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1631120222.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='5.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='288' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 09:57:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 898491: <4FGL_J1344.2-1723_daily_bin288> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin288> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 09:45:54 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 09:45:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 09:45:56 2021
Terminated at Wed Sep  8 09:57:02 2021
Results reported at Wed Sep  8 09:57:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin288 206.06 -17.3978 313977601 314236801 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 :                                   646.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            668 sec.

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

