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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1105
RA = 206.06, Dec = -17.3978
tmin = 525744001, tmax = 526003201
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='902980', job_status='RUN', time_executed='2021-09-08 10:01:17.930278', time_epoch_executed='1631120477.93' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902980

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902980/ft1_4FGL_J1344.2-1723_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902980/ft1_4FGL_J1344.2-1723_daily_bin1105.fits outfile=/scratch/kocevski/902980/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1105.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=525744001.0 tmax=526003201.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.36
user 4.13
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.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/902980/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1105.fits evtable="EVENTS" outfile="/scratch/kocevski/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.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/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits" evtable="EVENTS" scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits sctable="SC_DATA" outfile=/scratch/kocevski/902980/ltcube_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.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/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits
.....................!
real 13.07
user 12.66
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/902980/ltcube_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.fits outfile=/scratch/kocevski/902980/expmap_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.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/902980/ltcube_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.fits
.....................!
real 191.97
user 186.25
sys 5.34

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/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits outfile=/scratch/kocevski/902980/cmap_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits outfile=/scratch/kocevski/902980/cmap_HighResolution_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=206.06 yref=-17.3978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/902980/ft2_4FGL_J1344.2-1723_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902980/Model_4FGL_J1344.2-1723_daily_bin1105.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/902980/ft1_filtered_4FGL_J1344.2-1723_daily_bin1105.fits.....................!
real 55.77
user 54.38
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.1611       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.091       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5520       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5328       1.0000         .10000E-03   10000.    
     7 'norm      '    .18755E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.365       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .35077E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8339       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7941       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6183       1.0000         .10000E-03   10000.    
    19 'norm      '    5.1118       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5501       1.0000         .10000E-03   10000.    
    21 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.428       1.0000         .10000E-03   10000.    
    25 'norm      '    14.366       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .93402       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94672       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=   6713.011     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     2850 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.4140       -.19238E-06** at limit **
   2  norm          .10000E-03    6.8483        .18482E-06** at limit **
   3  norm          4.1614        2.7575        .37169E-08   -.26346E-04
   4  Prefactor     15.088        11.546       -.56003E-07    .48231E-04
   5  Prefactor     5.5497        8.8387        .10475E-05    .16251E-03
   6  Prefactor     5.5034        37.744        .38740E-05    .31918E-04
   7  norm          .10000E-03    2.5562       -.18534E-05** at limit **
   8  norm          11.353        12.530        .13831E-06    .30573E-03
   9  Prefactor     .10000E-03    7.3606       -.10040E-06** at limit **
  10  Prefactor     .10000E-03    12.056       -.42697E-06** at limit **
  11  Prefactor     .10931E-03    10.966       -.39738E-05** at limit **
  12  Prefactor     8.8317        13.638       -.78664E-09    .19088E-03
  13  norm          .10000E-03    1.3592        .19436E-07** at limit **
  14  norm          .10000E-03    6.6761       -.18078E-06** at limit **
  15  Prefactor     4.7911        8.4337        .22165E-05    .53945E-03
  16  Prefactor     .10002E-03    200.88       -.57145E-05** at limit **
  17  norm          .10000E-03    18.508       -.33675E-07** at limit **
  18  Prefactor     3.6194        4.3061        .12872E-05    .65300E-03
  19  norm          5.1133        9.3992       -.13305E-05    .67804E-04
  20  Prefactor     3.5481        115.88        .49136E-06    .23871E-05
  21  norm          .10000E-03    1.7326       -.13560E-07** at limit **
  22  Prefactor     .10000E-03    9.4942        .38655E-06** at limit **
  23  Prefactor     .10000E-03    14.598        .36847E-06** at limit **
  24  Prefactor     11.428        11.777       -.11854E-07    .18212E-05
  25  norm          14.367        12.892        .69516E-07    .88230E-05
  26  Normalizat    .93431        .25370       -.26489E-05    .28811E-03
  27  Prefactor     .94657        .10969        .73654E-06    .73851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.16138
  Prefactor  = 15.0883
  Prefactor  = 5.54968
  Prefactor  = 5.50342
  norm       = 0.0001
  norm       = 11.3528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000109307
  Prefactor  = 8.8317
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.79108
  Prefactor  = 0.000100018
  norm       = 0.0001
  Prefactor  = 3.61939
  norm       = 5.11328
  Prefactor  = 3.54815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4282
  norm       = 14.3667
  Normalizat = 0.934311
  Prefactor  = 0.946571
 **********
 **   18 **HESSE 
 **********

 FCN=   6713.011     FROM HESSE     STATUS=OK           498 CALLS     3348 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.5035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.9516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1614        2.7601        .10727E-03   -1.5300    
   4  Prefactor     15.088        11.508        .10310E-03   -1.4931    
   5  Prefactor     5.5497        8.8232        .85254E-03   -1.5237    
   6  Prefactor     5.5034        37.351        .17081E-03   -1.5239    
   7  norm          .10000E-03    6.9118        .22617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.353        12.139        .11883E-03   -1.5034    
   9  Prefactor     .10000E-03    7.3550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10931E-03    7.7347        .65084E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.8317        13.627        .13486E-03   -1.5114    
  13  norm          .10000E-03    1.3617        .93281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.6786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.7911        8.4342        .91873E-03   -1.5270    
  16  Prefactor     .10002E-03    202.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6194        4.3407        .87796E-03   -1.5327    
  19  norm          5.1133        9.3486        .17783E-03   -1.5256    
  20  Prefactor     3.5481        116.31        .21452E-03   -1.5331    
  21  norm          .10000E-03    1.8124        .21049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.5104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.428        11.779        .11851E-03   -1.5032    
  25  norm          14.367        12.894        .10567E-03   -1.4950    
  26  Normalizat    .93431        .29161        .35844E-03   -.95265    
  27  Prefactor     .94657        .12938        .17122E-03   -.94532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66564e-09
Minuit parameter uncertainties:
  1  1.66964e-05
  2  1.7995e-05
  3  2.76016
  4  11.5096
  5  8.82525
  6  28.7
  7  9.22527e-05
  8  12.142
  9  6.65592e-05
  10  2.32768e-05
  11  0.0169717
  12  13.6314
  13  5.31997e-06
  14  4.72117e-06
  15  8.4363
  16  0.00379369
  17  2.01627e-05
  18  4.3411
  19  9.35128
  20  40.7156
  21  3.96689e-06
  22  3.18568e-06
  23  9.9423e-06
  24  11.7812
  25  12.8962
  26  0.292107
  27  0.129418
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  5.320e-06  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.106e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
279         beta:  1.218e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  8.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.466e-01  1.294e-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:  9.343e-01  2.921e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902980/likelihoodResults_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.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) = 6713.01485339
delta logL = -0.00347331719513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6713.01138007
delta logL = 3.15139914164e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1078       1.0000          .0000       5.0000    
     3 'Normalizat'    .93431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94657       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=   6713.010     FROM MIGRAD    STATUS=FAILED       135 CALLS      281 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36767E-02    10.835        .70862E-02   -.39625E-02
   2  alpha         5.0000        4.9999        .16724    ** at limit **
   3  Normalizat    .93057        .22664        .35844E-03   -.13607E-04
   4  Prefactor     .94756        .63986E-01    .17122E-03   -.43809E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6713.010     FROM SIMPLEX   STATUS=UNCHANGED    159 CALLS      440 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36767E-02    10.835        .23529E-06   -.39625E-02
   2  alpha         5.0000        4.9999        .29683E-01** at limit **
   3  Normalizat    .93057        .22664        .27205E-07   -.13607E-04
   4  Prefactor     .94756        .63986E-01    .29571E-08   -.43809E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6713.010     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      474 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36767E-02    .38216        .37291E-03   -.65976E-03
   2  alpha         5.0000        2.5060        .66896E-02** at limit **
   3  Normalizat    .93057        .26565        .14338E-04   -.13797E-04
   4  Prefactor     .94756        .12613        .34244E-04   -.43823E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00367668
  alpha      = 5
  Normalizat = 0.930567
  Prefactor  = 0.947562
 **********
 **   18 **HESSE 
 **********

 FCN=   6713.010     FROM HESSE     STATUS=OK            25 CALLS      499 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36767E-02    .40359        .14916E-04   -1.5720    
   2  alpha         5.0000        2.5059        .13379E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93057        .26909        .28675E-05   -.95394    
   4  Prefactor     .94756        .12667        .68488E-05   -.94498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33486e-12
Minuit parameter uncertainties:
  1  0.0759878
  2  0.000106551
  3  0.269476
  4  0.126708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902980': 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) = 6713.01015879
delta logL = 0.00122128366002

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  3.677e-03  7.599e-02  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  5.000e+00  1.066e-04  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:  9.476e-01  1.267e-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:  9.306e-01  2.695e-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/902980/cmap_HighResolution_525744001_526003201_4FGL_J1344.2-1723_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-05', job_status='DONE', photon_flux_upper_limit='5.09e-08', time_completed='2021-09-08 10:13:40.814664', job_id='902980', GAL2='0.95', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631121220.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.22e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1105' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:13:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 902980: <4FGL_J1344.2-1723_daily_bin1105> in cluster <slac> Done

Job <4FGL_J1344.2-1723_daily_bin1105> 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) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 10:01:02 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:02 2021
Terminated at Wed Sep  8 10:13:41 2021
Results reported at Wed Sep  8 10:13:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1105 206.06 -17.3978 525744001 526003201 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 :                                   740.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            791 sec.

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

