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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1098
RA = 206.06, Dec = -17.3978
tmin = 523929601, tmax = 524188801
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='902969', job_status='RUN', time_executed='2021-09-08 10:01:09.932816', time_epoch_executed='1631120469.93' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902969

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902969/ft1_4FGL_J1344.2-1723_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902969/ft1_4FGL_J1344.2-1723_daily_bin1098.fits outfile=/scratch/kocevski/902969/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1098.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=523929601.0 tmax=524188801.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.73
user 2.52
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.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/902969/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/902969/ft1_filtered_4FGL_J1344.2-1723_daily_bin1098.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.48
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902969/ft1_filtered_4FGL_J1344.2-1723_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/902969/ltcube_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.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/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits
.....................!
real 9.72
user 9.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902969/ft1_filtered_4FGL_J1344.2-1723_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/902969/ltcube_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.fits outfile=/scratch/kocevski/902969/expmap_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.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/902969/ltcube_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.fits
.....................!
real 153.70
user 149.05
sys 4.18

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/902969/ft1_filtered_4FGL_J1344.2-1723_daily_bin1098.fits scfile=/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits outfile=/scratch/kocevski/902969/cmap_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.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.48
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902969/ft1_filtered_4FGL_J1344.2-1723_daily_bin1098.fits scfile=/scratch/kocevski/902969/ft2_4FGL_J1344.2-1723_daily_bin1098.fits outfile=/scratch/kocevski/902969/cmap_HighResolution_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.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.48
user 0.33
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6102       1.0000         .10000E-03   10000.    
     2 'norm      '    17.170       1.0000         .10000E-03   10000.    
     3 'norm      '    5.8502       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.749       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22421E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.799       1.0000         .10000E-03   10000.    
     8 'norm      '    6.5428       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .42703E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.325       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6823       1.0000         .10000E-03   10000.    
    19 'norm      '    .17293       1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.746       1.0000         .10000E-03   10000.    
    21 'norm      '    4.0686       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.9494       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.4538       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89571       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=   6933.471     FROM MIGRAD    STATUS=CONVERGED    634 CALLS     3301 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6097        6.5050        .42723E-05   -.12476E-02
   2  norm          17.169        10.174       -.22676E-06   -.22941E-04
   3  norm          5.8505        3.8657       -.25175E-07   -.98465E-04
   4  Prefactor     .10000E-03    11.048        .33261E-06** at limit **
   5  Prefactor     14.748        11.904       -.28638E-07   -.84257E-04
   6  Prefactor     .10000E-03    54.011       -.20074E-05** at limit **
   7  norm          18.790        6.6371       -.45585E-06   -.97496E-03
   8  norm          6.5453        8.0796       -.37325E-06   -.37836E-03
   9  Prefactor     .10000E-03    26.385       -.22770E-05** at limit **
  10  Prefactor     .10000E-03    12.378        .12318E-05** at limit **
  11  Prefactor     .10000E-03    10.868       -.76475E-07** at limit **
  12  Prefactor     .10000E-03    10.372       -.59295E-06** at limit **
  13  norm          .10000E-03    2.7658        .29065E-07** at limit **
  14  norm          .10000E-03    9.4085       -.62772E-06** at limit **
  15  Prefactor     .10000E-03    3.0884        .35685E-06** at limit **
  16  Prefactor     .10000E-03    29.997        .35439E-05** at limit **
  17  norm          14.315        22.218       -.20141E-05   -.19718E-03
  18  Prefactor     1.6847        5.3557        .11720E-05   -.27135E-03
  19  norm          .20150        5.0264       -.16795E-06   -.20667E-04
  20  Prefactor     48.720        51.423       -.80761E-05   -.47927E-03
  21  norm          4.0685        3.0396       -.33355E-08   -.61792E-04
  22  Prefactor     .10000E-03    14.798       -.13401E-05** at limit **
  23  Prefactor     9.9503        18.257        .10966E-06    .46920E-05
  24  Prefactor     .10000E-03    11.655        .81521E-06** at limit **
  25  norm          .10000E-03    7.4093        .33150E-06** at limit **
  26  Normalizat    1.4540        .27172        .20862E-06   -.30398E-04
  27  Prefactor     .89561        .12160       -.57089E-07   -.19385E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60974
  norm       = 17.1692
  norm       = 5.85053
  Prefactor  = 0.0001
  Prefactor  = 14.7479
  Prefactor  = 0.0001
  norm       = 18.7901
  norm       = 6.54533
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 14.3152
  Prefactor  = 1.68465
  norm       = 0.201501
  Prefactor  = 48.7203
  norm       = 4.06848
  Prefactor  = 0.0001
  Prefactor  = 9.95026
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.45401
  Prefactor  = 0.895613
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.471     FROM HESSE     STATUS=OK           490 CALLS     3791 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6097        7.2478        .10633E-02   -1.5328    
   2  norm          17.169        10.169        .96658E-04   -1.4879    
   3  norm          5.8505        3.8723        .12692E-03   -1.5224    
   4  Prefactor     .10000E-03    11.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.748        11.988        .10429E-03   -1.4940    
   6  Prefactor     .10000E-03    54.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.790        6.6395        .92375E-04   -1.4841    
   8  norm          6.5453        8.0534        .15689E-03   -1.5196    
   9  Prefactor     .10000E-03    26.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.8018        .13521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.4216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.642        .27193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.315        21.911        .10583E-03   -1.4951    
  18  Prefactor     1.6847        5.2743        .29445E-03   -1.5448    
  19  norm          .20150        31.968        .35119E-02   -1.5618    
  20  Prefactor     48.720        54.737        .28717E-03   -1.4311    
  21  norm          4.0685        3.0430        .12111E-03   -1.5305    
  22  Prefactor     .10000E-03    14.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.9503        18.256        .12704E-03   -1.5077    
  24  Prefactor     .10000E-03    11.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    7.4223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.4540        .32261        .34974E-03   -.79079    
  27  Prefactor     .89561        .14583        .20094E-03   -.96295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67424e-08
Minuit parameter uncertainties:
  1  7.24953
  2  10.1701
  3  3.87242
  4  5.15173e-05
  5  11.99
  6  0.000211451
  7  6.63979
  8  8.05474
  9  0.000443022
  10  0.000157144
  11  1.17196e-05
  12  7.31173e-05
  13  5.58308e-07
  14  6.9555e-05
  15  8.39839e-05
  16  0.000708747
  17  21.9228
  18  5.27572
  19  5.07759
  20  54.7937
  21  3.04314
  22  0.000162099
  23  18.2666
  24  9.58494e-05
  25  2.85786e-05
  26  0.32306
  27  0.145896
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  5.583e-07  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.956e-01  1.459e-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.454e+00  3.231e-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: 7.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902969/likelihoodResults_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.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) = 6933.47295191
delta logL = -0.00169914571961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6933.47125281
delta logL = -4.22569428338e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1133       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4541       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89561       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=   6933.471     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      229 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    672.51        .13544E-02** at limit **
   2  alpha         2.3701        2.7937        .16717       -.54407E-08
   3  Normalizat    1.4540        .22589        .34974E-03   -.13029E-03
   4  Prefactor     .89561        .10570        .20094E-03   -.23377E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.37005
  Normalizat = 1.45401
  Prefactor  = 0.895613
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.471     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9107        .27089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3701        3.7094        .66866E-02   -.52003E-01
   3  Normalizat    1.4540        .30274        .13989E-04   -.79079    
   4  Prefactor     .89561        .14166        .40188E-04   -.96295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55374e-11
Minuit parameter uncertainties:
  1  4.02846e-06
  2  230.216
  3  0.303118
  4  0.141718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902969': 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) = 6933.47125211
delta logL = 6.61158082949e-07

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  4.028e-06  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.370e+00  2.302e+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.956e-01  1.417e-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.454e+00  3.031e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/902969/cmap_HighResolution_523929601_524188801_4FGL_J1344.2-1723_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-09-08 10:11:39.830922', job_id='902969', GAL2='0.90', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1631121099.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='6.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1098' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:11:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 902969: <4FGL_J1344.2-1723_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin1098> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 10:00:30 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 10:00:59 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:00:59 2021
Terminated at Wed Sep  8 10:11:42 2021
Results reported at Wed Sep  8 10:11:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1098 206.06 -17.3978 523929601 524188801 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 :                                   627.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            672 sec.

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

