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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin212
RA = 206.06, Dec = -17.3978
tmin = 294278401, tmax = 294537601
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='897016', job_status='RUN', time_executed='2021-09-08 09:42:00.249757', time_epoch_executed='1631119320.25' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/897016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/897016/ft1_4FGL_J1344.2-1723_daily_bin212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/897016/ft1_4FGL_J1344.2-1723_daily_bin212.fits outfile=/scratch/kocevski/897016/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin212.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=294278401.0 tmax=294537601.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.44
user 2.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits" evtable="EVENTS" scfile=/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits sctable="SC_DATA" outfile=/scratch/kocevski/897016/ltcube_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.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/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits
.....................!
real 15.40
user 14.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits evtable="EVENTS" scfile=/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits sctable="SC_DATA" expcube=/scratch/kocevski/897016/ltcube_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.fits outfile=/scratch/kocevski/897016/expmap_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.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/897016/ltcube_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.fits
.....................!
real 191.80
user 186.00
sys 4.09

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/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits scfile=/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits outfile=/scratch/kocevski/897016/cmap_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits scfile=/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits outfile=/scratch/kocevski/897016/cmap_HighResolution_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits evtable="EVENTS" scfile=/scratch/kocevski/897016/ft2_4FGL_J1344.2-1723_daily_bin212.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/897016/Model_4FGL_J1344.2-1723_daily_bin212.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/897016/ft1_filtered_4FGL_J1344.2-1723_daily_bin212.fits.....................!
real 65.59
user 63.67
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.8530       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6541       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0077       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.533       1.0000         .10000E-03   10000.    
     7 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.8043       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.473       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11920E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7767       1.0000         .10000E-03   10000.    
    13 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    24.465       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30780E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4233       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2967       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.251       1.0000         .10000E-03   10000.    
    21 'norm      '    .39663       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    26.096       1.0000         .10000E-03   10000.    
    24 'Prefactor '    23.693       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3820       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87142       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=   7794.611     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     2782 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2756        .31331E-06** at limit **
   2  norm          6.8526        5.3053        .57351E-07   -.75043E-05
   3  norm          1.6541        1.4366       -.67609E-08    .37871E-05
   4  Prefactor     .10000E-03    2.1010        .19473E-09** at limit **
   5  Prefactor     6.0068        6.8390        .11991E-05   -.29531E-03
   6  Prefactor     23.534        16.470        .46328E-07    .32806E-04
   7  norm          .10000E-03    1.4443        .10132E-06** at limit **
   8  norm          3.8046        5.1569        .73394E-07   -.55256E-04
   9  Prefactor     .10000E-03    11.387       -.73594E-06** at limit **
  10  Prefactor     15.462        22.308       -.19584E-05   -.17819E-03
  11  Prefactor     .10000E-03    28.435        .30551E-06** at limit **
  12  Prefactor     1.7769        8.6374        .11924E-05   -.50901E-04
  13  norm          .10000E-03    2.9228        .12466E-06** at limit **
  14  norm          24.465        20.341        .17241E-06    .16154E-04
  15  Prefactor     .10000E-03    2.1422       -.12529E-06** at limit **
  16  Prefactor     2.4339        152.27        .92695E-05    .33970E-04
  17  norm          .10000E-03    11.865        .42433E-06** at limit **
  18  Prefactor     5.2969        5.1964        .33104E-06   -.87745E-04
  19  norm          .10000E-03    2.1183       -.88029E-07** at limit **
  20  Prefactor     13.244        45.661       -.21390E-05   -.43155E-04
  21  norm          .39721        2.0226        .15005E-05   -.31364E-03
  22  Prefactor     .10000E-03    11.820        .25390E-06** at limit **
  23  Prefactor     26.093        21.527       -.47800E-06   -.79078E-04
  24  Prefactor     23.692        20.666       -.83424E-07   -.22348E-04
  25  norm          .10000E-03    5.2610       -.34253E-06** at limit **
  26  Normalizat    1.3822        .23306       -.51062E-06   -.48422E-04
  27  Prefactor     .87138        .10674       -.20148E-06   -.85924E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.85256
  norm       = 1.65408
  Prefactor  = 0.0001
  Prefactor  = 6.00683
  Prefactor  = 23.5343
  norm       = 0.0001
  norm       = 3.80458
  Prefactor  = 0.0001
  Prefactor  = 15.462
  Prefactor  = 0.0001
  Prefactor  = 1.77687
  norm       = 0.0001
  norm       = 24.4655
  Prefactor  = 0.0001
  Prefactor  = 2.43389
  norm       = 0.0001
  Prefactor  = 5.29686
  norm       = 0.0001
  Prefactor  = 13.2439
  norm       = 0.397207
  Prefactor  = 0.0001
  Prefactor  = 26.0928
  Prefactor  = 23.6916
  norm       = 0.0001
  Normalizat = 1.38215
  Prefactor  = 0.871383
 **********
 **   18 **HESSE 
 **********

 FCN=   7794.611     FROM HESSE     STATUS=OK           492 CALLS     3274 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.8526        5.3043        .15326E-03   -1.5184    
   3  norm          1.6541        1.4434        .96070E-04   -1.5451    
   4  Prefactor     .10000E-03    2.1027        .12497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0068        6.9866        .81909E-03   -1.5218    
   6  Prefactor     23.534        16.458        .82572E-04   -1.4737    
   7  norm          .10000E-03    1.4482        .10315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8046        5.1191        .20695E-03   -1.5318    
   9  Prefactor     .10000E-03    11.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.462        22.947        .10182E-03   -1.4921    
  11  Prefactor     .10000E-03    29.522        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7769        8.6530        .31405E-03   -1.5441    
  13  norm          .10000E-03    2.9583        .14729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.465        20.347        .80987E-04   -1.4718    
  15  Prefactor     .10000E-03    10.247        .24539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4339        157.41        .26291E-03   -1.5396    
  17  norm          .10000E-03    11.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2969        5.1862        .17464E-03   -1.5248    
  19  norm          .10000E-03    2.1247        .12547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.244        46.044        .11004E-03   -1.4980    
  21  norm          .39721        2.1187        .24924E-03   -1.5582    
  22  Prefactor     .10000E-03    11.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     26.093        21.589        .78419E-04   -1.4686    
  24  Prefactor     23.692        20.685        .82294E-04   -1.4734    
  25  norm          .10000E-03    5.2804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3822        .27545        .32755E-03   -.81146    
  27  Prefactor     .87138        .12714        .19011E-03   -.97148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13852e-10
Minuit parameter uncertainties:
  1  1.68736e-05
  2  5.30469
  3  1.44347
  4  9.75884e-07
  5  6.98755
  6  16.4609
  7  8.39633e-07
  8  5.11968
  9  6.42729e-05
  10  22.96
  11  0.00021725
  12  7.84386
  13  6.68285e-06
  14  20.3528
  15  3.40114e-06
  16  39.2545
  17  3.72253e-05
  18  5.18663
  19  3.99601e-06
  20  46.1677
  21  1.83461
  22  3.3282e-05
  23  21.595
  24  20.6909
  25  1.94589e-05
  26  0.275747
  27  0.127185
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  6.683e-06  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.714e-01  1.272e-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.382e+00  2.757e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/897016/likelihoodResults_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.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) = 7794.61235738
delta logL = -0.00161079101417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7794.30197128
delta logL = 0.3087753097

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64776E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88856       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=   7794.302     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      438 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64788E-01    3.1765        .64579E-02    .25644E-02
   2  alpha         5.0000        3.0381        .46267    ** at limit **
   3  Normalizat    1.3166        .86534E-01    .75555E-01   -.33059E-04
   4  Prefactor     .88847        .36869E-01    .44859E-01   -.17202E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0647878
  alpha      = 5
  Normalizat = 1.31661
  Prefactor  = 0.888472
 **********
 **   18 **HESSE 
 **********

 FCN=   7794.302     FROM HESSE     STATUS=OK            35 CALLS      473 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64788E-01    .99070E-01    .29034E-04   -1.5657    
   2  alpha         5.0000        3.6044        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3166        .27727        .33438E-03   -.83072    
   4  Prefactor     .88847        .12711        .18845E-03   -.96545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20635e-10
Minuit parameter uncertainties:
  1  0.0990699
  2  1.08812e-05
  3  0.277581
  4  0.12715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/897016': 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) = 7794.30196917
delta logL = 0.308777419993

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  6.479e-02  9.907e-02  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  5.000e+00  1.088e-05  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.885e-01  1.271e-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  2.776e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/897016/cmap_HighResolution_294278401_294537601_4FGL_J1344.2-1723_daily_bin212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-08 09:55:24.113962', job_id='897016', GAL2='0.89', fit_tolerance='1e-08', EG2='1.32', EG='1.38', time_epoch_completed='1631120124.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.09e-01', ts2='0.66', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='212' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 09:55:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 897016: <4FGL_J1344.2-1723_daily_bin212> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin212> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 09:40:36 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 09:41:47 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:41:47 2021
Terminated at Wed Sep  8 09:55:24 2021
Results reported at Wed Sep  8 09:55:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin212 206.06 -17.3978 294278401 294537601 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 :                                   793.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            888 sec.

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

