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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin566
RA = 206.06, Dec = -17.3978
tmin = 386035201, tmax = 386294401
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='899860', job_status='RUN', time_executed='2021-09-08 09:50:41.779769', time_epoch_executed='1631119841.78' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='566'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899860/ft1_4FGL_J1344.2-1723_daily_bin566.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899860/ft1_4FGL_J1344.2-1723_daily_bin566.fits outfile=/scratch/kocevski/899860/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin566.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=386035201.0 tmax=386294401.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 4.96
user 4.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits" evtable="EVENTS" scfile=/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits sctable="SC_DATA" outfile=/scratch/kocevski/899860/ltcube_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.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/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits
.....................!
real 13.12
user 12.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits evtable="EVENTS" scfile=/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits sctable="SC_DATA" expcube=/scratch/kocevski/899860/ltcube_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.fits outfile=/scratch/kocevski/899860/expmap_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.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/899860/ltcube_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.fits
.....................!
real 191.20
user 186.16
sys 4.64

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/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits scfile=/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits outfile=/scratch/kocevski/899860/cmap_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits scfile=/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits outfile=/scratch/kocevski/899860/cmap_HighResolution_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits evtable="EVENTS" scfile=/scratch/kocevski/899860/ft2_4FGL_J1344.2-1723_daily_bin566.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899860/Model_4FGL_J1344.2-1723_daily_bin566.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/899860/ft1_filtered_4FGL_J1344.2-1723_daily_bin566.fits.....................!
real 65.89
user 63.32
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4490       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1235       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4353       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.272       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.342       1.0000         .10000E-03   10000.    
     7 'norm      '    4.8026       1.0000         .10000E-03   10000.    
     8 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3563       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7266       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1477       1.0000         .10000E-03   10000.    
    13 'norm      '    7.6954       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3144       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.9536       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.789       1.0000         .10000E-03   10000.    
    21 'norm      '    .60598       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    65.391       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.8145       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .68196       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=   7939.573     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3291 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4489        6.4271        .35787E-07   -.86828E-05
   2  norm          7.1233        5.1127        .45405E-07   -.20898E-04
   3  norm          1.4349        2.2561        .22900E-06   -.15116E-03
   4  Prefactor     .10000E-03    4.5968        .34541E-06** at limit **
   5  Prefactor     12.274        9.5988       -.23858E-07   -.21091E-05
   6  Prefactor     38.365        34.275        .22410E-05    .11812E-03
   7  norm          4.7991        7.2218       -.94962E-06    .63266E-04
   8  norm          .10000E-03    9.8065       -.21586E-05** at limit **
   9  Prefactor     1.3496        54.091        .78553E-05   -.15931E-04
  10  Prefactor     6.7262        17.208        .36474E-06   -.16265E-04
  11  Prefactor     .10000E-03    7.3730        .10826E-06** at limit **
  12  Prefactor     6.1510        14.782       -.23396E-05   -.12950E-03
  13  norm          7.6952        6.1738       -.94411E-07   -.69210E-04
  14  norm          .10000E-03    6.3061        .14951E-06** at limit **
  15  Prefactor     .10000E-03    6.9044        .21703E-06** at limit **
  16  Prefactor     4.3127        131.39       -.18630E-06   -.15113E-05
  17  norm          .10000E-03    4.5390       -.81576E-07** at limit **
  18  Prefactor     .10000E-03    1.5153        .40316E-07** at limit **
  19  norm          3.9553        8.0753        .29062E-06   -.85658E-04
  20  Prefactor     23.792        28.684        .50298E-06   -.41044E-06
  21  norm          .60573        1.6421        .61460E-06    .71382E-04
  22  Prefactor     .10000E-03    5.5486       -.27791E-06** at limit **
  23  Prefactor     .10000E-03    36.805        .26746E-07** at limit **
  24  Prefactor     .10000E-03    10.896        .59445E-06** at limit **
  25  norm          65.390        26.083        .95109E-08   -.21598E-04
  26  Normalizat    1.8142        .24753       -.16405E-05    .38730E-04
  27  Prefactor     .68210        .11130        .41400E-06   -.17213E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.44894
  norm       = 7.12325
  norm       = 1.43493
  Prefactor  = 0.0001
  Prefactor  = 12.2736
  Prefactor  = 38.3649
  norm       = 4.79906
  norm       = 0.0001
  Prefactor  = 1.34961
  Prefactor  = 6.72615
  Prefactor  = 0.0001
  Prefactor  = 6.151
  norm       = 7.69523
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31266
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.95531
  Prefactor  = 23.7919
  norm       = 0.605726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 65.3896
  Normalizat = 1.81419
  Prefactor  = 0.682098
 **********
 **   18 **HESSE 
 **********

 FCN=   7939.573     FROM HESSE     STATUS=OK           494 CALLS     3785 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4489        6.4274        .13037E-03   -1.5093    
   2  norm          7.1233        5.1110        .15030E-03   -1.5174    
   3  norm          1.4349        2.2448        .16095E-03   -1.5468    
   4  Prefactor     .10000E-03    4.6113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.274        9.6200        .11435E-03   -1.5007    
   6  Prefactor     38.365        35.169        .64728E-04   -1.4468    
   7  norm          4.7991        7.2832        .17969E-03   -1.5270    
   8  norm          .10000E-03    9.6067        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3496        52.911        .37529E-03   -1.5476    
  10  Prefactor     6.7262        17.188        .15471E-03   -1.5189    
  11  Prefactor     .10000E-03    7.4646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.1510        14.348        .16192E-03   -1.5212    
  13  norm          7.6952        6.1410        .14456E-03   -1.5153    
  14  norm          .10000E-03    6.3065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.0460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.3127        130.50        .19394E-03   -1.5293    
  17  norm          .10000E-03    4.5417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.5376        .10709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9553        8.0006        .20287E-03   -1.5310    
  20  Prefactor     23.792        28.685        .82126E-04   -1.4732    
  21  norm          .60573        1.5076        .18530E-02   -1.5552    
  22  Prefactor     .10000E-03    5.5502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    37.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          65.390        26.096        .49629E-04   -1.4089    
  26  Normalizat    1.8142        .28768        .30580E-03   -.69294    
  27  Prefactor     .68210        .13003        .21657E-03   -1.0423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91276e-10
Minuit parameter uncertainties:
  1  6.42782
  2  5.11131
  3  2.24495
  4  3.02948e-06
  5  9.62125
  6  35.1881
  7  7.28457
  8  0.000130475
  9  16.9163
  10  17.2007
  11  8.75373e-06
  12  14.3561
  13  6.14153
  14  7.20978e-07
  15  3.87171e-06
  16  47.5604
  17  8.94615e-07
  18  2.46822e-06
  19  8.00274
  20  28.7015
  21  1.50765
  22  1.90788e-07
  23  4.05826e-05
  24  8.44978e-06
  25  26.1006
  26  0.287945
  27  0.13009
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  7.695e+00  6.142e+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:  6.821e-01  1.301e-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.814e+00  2.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 206.060 -17.398
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.30e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 2.56e-05 +/- 2.04e-05

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

Saving results to:
/scratch/kocevski/899860/likelihoodResults_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.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) = 7936.94808695
delta logL = 2.62458222489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7936.89190131
delta logL = 2.68076787325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1743       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7759       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73041       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=   7936.892     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      251 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1744        12.573        .69810E-02    .12918E-02
   2  alpha         3.7764        3.9901        .22688        .72105E-04
   3  Normalizat    1.6412        .92433E-01    .71701E-01    .31939E-05
   4  Prefactor     .73035        .41081E-01    .42805E-01    .14693E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.1744
  alpha      = 3.77643
  Normalizat = 1.64123
  Prefactor  = 0.73035
 **********
 **   18 **HESSE 
 **********

 FCN=   7936.892     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1744        18.714        .53491E-04   -1.5413    
   2  alpha         3.7764        4.2612        .96778E-02    .53585    
   3  Normalizat    1.6412        .34826        .31722E-03   -.73884    
   4  Prefactor     .73035        .16025        .20962E-03   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.00234e-07
Minuit parameter uncertainties:
  1  12.7631
  2  3.55084
  3  0.348773
  4  0.160354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899860': 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) = 7936.89189899
delta logL = 2.68077019262

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  2.174e+00  1.276e+01  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  3.776e+00  3.551e+00  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:  7.303e-01  1.604e-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.641e+00  3.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.99
Ra Dec: 206.060 -17.398
Photon Index (Free Index): 3.78 +/- 3.55
Photon Flux (Free Index): 2.03e-07 +/- 1.29e-07
Energy Flux (Free Index): 3.39e-05 +/- 1.97e-05

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/899860/cmap_HighResolution_386035201_386294401_4FGL_J1344.2-1723_daily_bin566.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.75e-05', comment='SUCCESS', photon_flux='5.30e-08', energy_flux2='3.39e-05', photon_flux_error='4.23e-08', dlogl='2.68e+00', energy_flux='2.56e-05', photon_flux2='2.03e-07', job_status='DONE', time_completed='2021-09-08 10:05:02.154806', photon_index_error2='3.55', photon_index2='3.78', ts='2.42', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.97e-05', EG='1.81', time_epoch_completed='1631120702.15', return_code='0', job_id='899860', GAL2='0.73', EG2='1.64', return_code2='102', energy_flux_error='2.04e-05', photon_flux_error2='1.29e-07', ts2='7.99', photon_index='2.11' WHERE bin_id='566' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:05:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 899860: <4FGL_J1344.2-1723_daily_bin566> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin566> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  8 09:50:19 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 09:50:29 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:50:29 2021
Terminated at Wed Sep  8 10:05:02 2021
Results reported at Wed Sep  8 10:05:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin566 206.06 -17.3978 386035201 386294401 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 :                                   857.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            883 sec.

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

