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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1116
RA = 206.06, Dec = -17.3978
tmin = 528595201, tmax = 528854401
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='902996', job_status='RUN', time_executed='2021-09-08 10:01:27.789794', time_epoch_executed='1631120487.79' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1116'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902996

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902996/ft1_4FGL_J1344.2-1723_daily_bin1116.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902996/ft1_4FGL_J1344.2-1723_daily_bin1116.fits outfile=/scratch/kocevski/902996/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1116.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=528595201.0 tmax=528854401.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 3.47
user 3.19
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits" evtable="EVENTS" scfile=/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits sctable="SC_DATA" outfile=/scratch/kocevski/902996/ltcube_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.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/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits
.....................!
real 14.45
user 14.04
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits evtable="EVENTS" scfile=/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits sctable="SC_DATA" expcube=/scratch/kocevski/902996/ltcube_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.fits outfile=/scratch/kocevski/902996/expmap_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.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/902996/ltcube_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.fits
.....................!
real 192.08
user 186.38
sys 5.25

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/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits scfile=/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits outfile=/scratch/kocevski/902996/cmap_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.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/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits scfile=/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits outfile=/scratch/kocevski/902996/cmap_HighResolution_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits evtable="EVENTS" scfile=/scratch/kocevski/902996/ft2_4FGL_J1344.2-1723_daily_bin1116.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902996/Model_4FGL_J1344.2-1723_daily_bin1116.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/902996/ft1_filtered_4FGL_J1344.2-1723_daily_bin1116.fits.....................!
real 56.62
user 55.23
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8393       1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2343       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9897       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.409       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.728       1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.497       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.4835       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.694       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.9554       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .45095       1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.578       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    41.967       1.0000         .10000E-03   10000.    
    25 'norm      '    .42263E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1437       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1517       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=   6770.664     FROM MIGRAD    STATUS=CONVERGED    651 CALLS     3273 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8401        9.4876        .19692E-07   -.40115E-05
   2  norm          .10000E-03    4.2711        .34964E-07** at limit **
   3  norm          4.2349        2.9810       -.24680E-07   -.61339E-05
   4  Prefactor     1.9911        9.5876        .50518E-06    .11948E-04
   5  Prefactor     11.406        13.617        .69710E-07    .22081E-04
   6  Prefactor     11.706        26.493       -.46461E-07    .26888E-04
   7  norm          .10000E-03    3.3642        .23470E-06** at limit **
   8  norm          13.497        12.206       -.74635E-07   -.47610E-04
   9  Prefactor     .10000E-03    10.116        .66196E-07** at limit **
  10  Prefactor     .10000E-03    14.562        .23145E-07** at limit **
  11  Prefactor     .10000E-03    5.7298       -.69480E-08** at limit **
  12  Prefactor     .10000E-03    6.5912        .35815E-07** at limit **
  13  norm          .10000E-03    1.4020        .12014E-07** at limit **
  14  norm          .10000E-03    15.949        .53472E-08** at limit **
  15  Prefactor     8.4828        6.9460       -.18430E-06   -.25460E-04
  16  Prefactor     .10000E-03    20.677        .21914E-07** at limit **
  17  norm          25.698        21.529        .12585E-07   -.93163E-04
  18  Prefactor     .10000E-03    3.0058       -.99164E-07** at limit **
  19  norm          2.9572        7.5960        .45048E-05   -.41076E-04
  20  Prefactor     .10000E-03    28.221       -.15900E-07** at limit **
  21  norm          .45136        1.9326        .33647E-06    .15528E-04
  22  Prefactor     18.589        28.546       -.27916E-07   -.85530E-05
  23  Prefactor     .10000E-03    17.333        .31460E-07** at limit **
  24  Prefactor     41.923        37.648        .28562E-05    .88835E-04
  25  norm          .10055E-03    20.747        .17028E-05** at limit **
  26  Normalizat    1.1439        .29563       -.19946E-05    .20206E-03
  27  Prefactor     1.1514        .13454        .98170E-06    .60532E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.84006
  norm       = 0.0001
  norm       = 4.23493
  Prefactor  = 1.9911
  Prefactor  = 11.4065
  Prefactor  = 11.7059
  norm       = 0.0001
  norm       = 13.4973
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.4828
  Prefactor  = 0.000100001
  norm       = 25.6978
  Prefactor  = 0.0001
  norm       = 2.95717
  Prefactor  = 0.0001
  norm       = 0.451363
  Prefactor  = 18.5892
  Prefactor  = 0.000100001
  Prefactor  = 41.923
  norm       = 0.000100549
  Normalizat = 1.14393
  Prefactor  = 1.15144
 **********
 **   18 **HESSE 
 **********

 FCN=   6770.664     FROM HESSE     STATUS=OK           486 CALLS     3759 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8401        9.4891        .13482E-03   -1.5113    
   2  norm          .10000E-03    4.2978        .16605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2349        2.9842        .11541E-03   -1.5296    
   4  Prefactor     1.9911        9.4396        .29374E-03   -1.5426    
   5  Prefactor     11.406        13.638        .11861E-03   -1.5032    
   6  Prefactor     11.706        26.324        .11698E-03   -1.5024    
   7  norm          .10000E-03    3.3765        .14632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.497        12.113        .10903E-03   -1.4973    
   9  Prefactor     .10000E-03    10.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.7408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.6315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4036        .95144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    15.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.4828        6.9335        .68816E-03   -1.5125    
  16  Prefactor     .10000E-03    20.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.698        21.518        .79028E-04   -1.4694    
  18  Prefactor     .10000E-03    3.0285        .13919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.9572        7.6739        .11811E-02   -1.5364    
  20  Prefactor     .10000E-03    28.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .45136        1.8496        .22161E-03   -1.5574    
  22  Prefactor     18.589        28.596        .92923E-04   -1.4845    
  23  Prefactor     .10000E-03    17.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     41.923        37.793        .61880E-04   -1.4412    
  25  norm          .10055E-03    205.58        .66161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1439        .34084        .39723E-03   -.88353    
  27  Prefactor     1.1514        .15735        .18982E-03   -.87839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00828e-09
Minuit parameter uncertainties:
  1  9.49074
  2  2.21671e-06
  3  2.98426
  4  8.67271
  5  13.6417
  6  26.3503
  7  2.23424e-05
  8  12.1153
  9  2.20685e-05
  10  0.000178522
  11  8.78198e-07
  12  3.3005e-06
  13  2.12897e-07
  14  0.000158328
  15  6.93419
  16  0.000306001
  17  21.5247
  18  9.22171e-06
  19  7.67649
  20  0.000113888
  21  1.82729
  22  28.6172
  23  0.000231411
  24  37.8147
  25  0.0213161
  26  0.341501
  27  0.157411
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  2.129e-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:  1.151e+00  1.574e-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.144e+00  3.415e-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: 5.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902996/likelihoodResults_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.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) = 6770.66697349
delta logL = -0.00325317472834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6770.66372027
delta logL = 5.06315700477e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1002       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6770.664     FROM MIGRAD    STATUS=FAILED        88 CALLS      227 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    251.84        .95294E-03** at limit **
   2  alpha         1.8312        4.0835        .50000       -.28913E-06
   3  Normalizat    1.1439        .12884        .39723E-03    .55866E-04
   4  Prefactor     1.1514        .62172E-01    .18982E-03    .12192E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6770.664     FROM SIMPLEX   STATUS=UNCHANGED    194 CALLS      421 TOTAL
                     EDM=   .99E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    251.84        .18239E-03** at limit **
   2  alpha         1.8312        4.0835        .11238E-05   -.28913E-06
   3  Normalizat    1.1439        .12884        .92815E-07    .55866E-04
   4  Prefactor     1.1514        .62172E-01    .16056E-07    .12192E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6770.664     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      453 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4921        .19059E-03** at limit **
   2  alpha         1.8333        4.0226        .20000       -.86175E-07
   3  Normalizat    1.1439        .31271        .15889E-04    .55809E-04
   4  Prefactor     1.1514        .15106        .37964E-04    .12188E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.8333
  Normalizat = 1.14394
  Prefactor  = 1.15144
 **********
 **   18 **HESSE 
 **********

 FCN=   6770.664     FROM HESSE     STATUS=OK            27 CALLS      480 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4560        .38118E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8333        3.5873        .80000E-01   -.26995    
   3  Normalizat    1.1439        .31266        .31778E-05   -.88353    
   4  Prefactor     1.1514        .15104        .75928E-05   -.87839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49036e-11
Minuit parameter uncertainties:
  1  1.44067e-05
  2  164.32
  3  0.313171
  4  0.151095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902996': 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) = 6770.66371904
delta logL = 1.27815292217e-06

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  1.441e-05  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  1.833e+00  1.643e+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:  1.151e+00  1.511e-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.144e+00  3.132e-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/902996/cmap_HighResolution_528595201_528854401_4FGL_J1344.2-1723_daily_bin1116.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-09-08 10:14:15.887265', job_id='902996', GAL2='1.15', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631121255.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.28e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1116' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:14:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 902996: <4FGL_J1344.2-1723_daily_bin1116> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1116 206.06 -17.3978 528595201 528854401 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 :                                   766.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            824 sec.

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

