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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1024
RA = 206.06, Dec = -17.3978
tmin = 504748801, tmax = 505008001
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='902861', job_status='RUN', time_executed='2021-09-08 10:00:39.295105', time_epoch_executed='1631120439.3' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902861

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902861/ft1_4FGL_J1344.2-1723_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902861/ft1_4FGL_J1344.2-1723_daily_bin1024.fits outfile=/scratch/kocevski/902861/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1024.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.39
user 8.02
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/902861/ltcube_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.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/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits
.....................!
real 15.39
user 14.70
sys 0.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/902861/ltcube_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.fits outfile=/scratch/kocevski/902861/expmap_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.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/902861/ltcube_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.fits
.....................!
real 193.22
user 187.11
sys 5.20

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/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits scfile=/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits outfile=/scratch/kocevski/902861/cmap_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.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.62
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits scfile=/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits outfile=/scratch/kocevski/902861/cmap_HighResolution_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/902861/ft2_4FGL_J1344.2-1723_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902861/Model_4FGL_J1344.2-1723_daily_bin1024.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/902861/ft1_filtered_4FGL_J1344.2-1723_daily_bin1024.fits.....................!
real 49.43
user 47.88
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.6956       1.0000         .10000E-03   10000.    
     3 'norm      '    1.9721       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0626       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.406       1.0000         .10000E-03   10000.    
     7 'norm      '    4.8748       1.0000         .10000E-03   10000.    
     8 'norm      '    24.309       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.859       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.462       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40982E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10849E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.8911       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .98390       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   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      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    65.144       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    52.414       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.6970       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .68251       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=   5457.094     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     3239 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.4101        .22675E-05** at limit **
   2  norm          6.6957        5.5726       -.70095E-07   -.19467E-03
   3  norm          1.9722        1.8103        .16157E-07    .10518E-04
   4  Prefactor     8.0631        9.4414       -.20607E-06   -.11228E-03
   5  Prefactor     .10000E-03    7.6950        .62889E-05** at limit **
   6  Prefactor     27.408        22.573        .16238E-05   -.45761E-04
   7  norm          4.8749        5.8444       -.60382E-06   -.35328E-03
   8  norm          24.310        11.178        .61508E-07    .32981E-05
   9  Prefactor     17.862        14.988        .11735E-05   -.21100E-03
  10  Prefactor     31.453        22.727       -.67357E-05   -.22904E-03
  11  Prefactor     .10007E-03    6.7338        .28535E-05** at limit **
  12  Prefactor     .10000E-03    7.1474        .38715E-05** at limit **
  13  norm          .10000E-03    2.5565        .86813E-06** at limit **
  14  norm          8.8895        18.108       -.14045E-05   -.51215E-04
  15  Prefactor     .98381        5.6825       -.13152E-05   -.92945E-03
  16  Prefactor     .10000E-03    31.459       -.90106E-05** at limit **
  17  norm          .10000E-03    4.1865       -.38483E-06** at limit **
  18  Prefactor     .10000E-03    1.1710        .72131E-08** at limit **
  19  norm          .10000E-03    6.2885       -.74161E-05** at limit **
  20  Prefactor     65.143        57.896       -.11218E-05   -.78991E-05
  21  norm          .10000E-03    .84846       -.35134E-07** at limit **
  22  Prefactor     .10000E-03    9.6674       -.57774E-05** at limit **
  23  Prefactor     52.418        35.205        .35181E-05    .12462E-04
  24  Prefactor     .10000E-03    16.832        .17398E-04** at limit **
  25  norm          .10000E-03    13.108       -.12785E-04** at limit **
  26  Normalizat    1.6970        .27137       -.72623E-06   -.23873E-03
  27  Prefactor     .68246        .12605        .37815E-06   -.38718E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.69566
  norm       = 1.97216
  Prefactor  = 8.06311
  Prefactor  = 0.0001
  Prefactor  = 27.4076
  norm       = 4.87487
  norm       = 24.3101
  Prefactor  = 17.8622
  Prefactor  = 31.4535
  Prefactor  = 0.000100069
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 8.88949
  Prefactor  = 0.983812
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 65.1429
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.4181
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.69697
  Prefactor  = 0.682464
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.094     FROM HESSE     STATUS=OK           484 CALLS     3723 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.7294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.6957        5.5736        .77311E-03   -1.5190    
   3  norm          1.9722        1.8089        .92722E-04   -1.5427    
   4  Prefactor     8.0631        9.4396        .14120E-03   -1.5140    
   5  Prefactor     .10000E-03    7.7513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.408        22.554        .76526E-04   -1.4660    
   7  norm          4.8749        5.8146        .15749E-03   -1.5266    
   8  norm          24.310        11.142        .81246E-04   -1.4721    
   9  Prefactor     17.862        14.938        .94776E-04   -1.4862    
  10  Prefactor     31.453        22.647        .71435E-04   -1.4586    
  11  Prefactor     .10007E-03    32.803        .36346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.9363        .22911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8895        18.101        .13442E-03   -1.5112    
  15  Prefactor     .98381        5.7640        .33602E-03   -1.5510    
  16  Prefactor     .10000E-03    31.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.1867        .14762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1828        .78054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.2989        .17976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     65.143        57.909        .49723E-04   -1.4092    
  21  norm          .10000E-03    .85103        .66449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.6614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     52.418        35.240        .55398E-04   -1.4259    
  24  Prefactor     .10000E-03    16.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    13.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.6970        .31589        .29720E-03   -.72384    
  27  Prefactor     .68246        .14722        .21102E-03   -1.0422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70825e-09
Minuit parameter uncertainties:
  1  2.63008e-05
  2  5.57408
  3  1.80897
  4  9.44133
  5  1.5351e-05
  6  22.5612
  7  5.81527
  8  11.1428
  9  14.9415
  10  22.6532
  11  0.00301
  12  2.0798e-05
  13  0.000207526
  14  18.1123
  15  4.76311
  16  7.04666e-06
  17  2.2289e-07
  18  7.47397e-07
  19  3.97059e-05
  20  57.959
  21  4.2917e-07
  22  2.85824e-06
  23  35.2536
  24  1.00391e-05
  25  1.86202e-05
  26  0.316271
  27  0.147302
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  2.075e-04  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.825e-01  1.473e-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.697e+00  3.163e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902861/likelihoodResults_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.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) = 5457.09514585
delta logL = -0.00096391612351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5457.09418203
delta logL = -1.01874320535e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10301E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1301       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68249       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=   5457.042     FROM MIGRAD    STATUS=CONVERGED    185 CALLS      341 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24373E-01    .76982E-01    .22916E-02   -.69554E-02
   2  alpha         5.0000        4.4391        .16694    ** at limit **
   3  Normalizat    1.6714        .30983        .29720E-03    .76887E-05
   4  Prefactor     .68929        .14667        .21102E-03    .12445E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0243734
  alpha      = 5
  Normalizat = 1.67138
  Prefactor  = 0.689286
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.042     FROM HESSE     STATUS=OK            25 CALLS      366 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24373E-01    .79407E-01    .34879E-04   -1.5739    
   2  alpha         5.0000        4.4414        .33388E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.6714        .31456        .11888E-04   -.73070    
   4  Prefactor     .68929        .14743        .84407E-05   -1.0395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90405e-12
Minuit parameter uncertainties:
  1  0.0794078
  2  2.96131e-06
  3  0.314938
  4  0.147513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902861': 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) = 5457.04215316
delta logL = 0.0520287686941

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  2.437e-02  7.941e-02  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  5.000e+00  2.961e-06  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:  6.893e-01  1.475e-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.671e+00  3.149e-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/902861/cmap_HighResolution_504748801_505008001_4FGL_J1344.2-1723_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='7.18e-08', time_completed='2021-09-08 10:12:47.125654', job_id='902861', GAL2='0.69', fit_tolerance='1e-08', EG2='1.67', EG='1.70', time_epoch_completed='1631121167.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='5.20e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1024' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:12:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 902861: <4FGL_J1344.2-1723_daily_bin1024> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1024 206.06 -17.3978 504748801 505008001 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 :                                   721.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            745 sec.

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

