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


Performing analysis on: 4FGL_J1344.2-1723_daily_bin1224
RA = 206.06, Dec = -17.3978
tmin = 556588801, tmax = 556848001
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='903153', job_status='RUN', time_executed='2021-09-08 10:04:10.399816', time_epoch_executed='1631120650.4' WHERE source_name='4FGL J1344.2-1723' and cadence='daily' and bin_id='1224'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903153/ft1_4FGL_J1344.2-1723_daily_bin1224.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903153/ft1_4FGL_J1344.2-1723_daily_bin1224.fits outfile=/scratch/kocevski/903153/ft1_filteredMKT_4FGL_J1344.2-1723_daily_bin1224.fits ra=206.06 dec=-17.3978 rad=12.0 tmin=556588801.0 tmax=556848001.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.64
user 3.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903153/ft1_filtered_4FGL_J1344.2-1723_daily_bin1224.fits" evtable="EVENTS" scfile=/scratch/kocevski/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits sctable="SC_DATA" outfile=/scratch/kocevski/903153/ltcube_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.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/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits
.....................!
real 16.42
user 15.95
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903153/ft1_filtered_4FGL_J1344.2-1723_daily_bin1224.fits evtable="EVENTS" scfile=/scratch/kocevski/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits sctable="SC_DATA" expcube=/scratch/kocevski/903153/ltcube_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.fits outfile=/scratch/kocevski/903153/expmap_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.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/903153/ltcube_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.fits
.....................!
real 193.33
user 188.04
sys 4.48

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/903153/ft1_filtered_4FGL_J1344.2-1723_daily_bin1224.fits scfile=/scratch/kocevski/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits outfile=/scratch/kocevski/903153/cmap_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903153/ft1_filtered_4FGL_J1344.2-1723_daily_bin1224.fits scfile=/scratch/kocevski/903153/ft2_4FGL_J1344.2-1723_daily_bin1224.fits outfile=/scratch/kocevski/903153/cmap_HighResolution_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5617       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1051       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.0017       1.0000         .10000E-03   10000.    
     8 'norm      '    .15448E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1645       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4206       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    27.294       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6728       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4627       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11430E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    14.737       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.1947       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .52883E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.7294       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89242       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=   5027.982     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     3318 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5577        8.6938       -.16965E-06    .83703E-06
   2  norm          .10000E-03    4.1781       -.24172E-06** at limit **
   3  norm          .10000E-03    1.2165       -.17418E-06** at limit **
   4  Prefactor     .10000E-03    14.591       -.14783E-05** at limit **
   5  Prefactor     1.1150        56.532       -.51566E-05   -.64303E-05
   6  Prefactor     .10000E-03    12.057        .25616E-06** at limit **
   7  norm          2.0087        4.7499       -.10275E-05   -.24546E-03
   8  norm          .10000E-03    35.219       -.48217E-05** at limit **
   9  Prefactor     .10000E-03    7.9819        .22878E-07** at limit **
  10  Prefactor     3.1554        95.200       -.12659E-05   -.10364E-04
  11  Prefactor     8.4200        13.424       -.43630E-07   -.27632E-05
  12  Prefactor     .10000E-03    49.575        .11414E-05** at limit **
  13  norm          .10000E-03    3.4633        .63552E-06** at limit **
  14  norm          27.284        31.276       -.24924E-06   -.25273E-05
  15  Prefactor     .10001E-03    6.6091       -.26738E-07** at limit **
  16  Prefactor     1.8123        563.06       -.10937E-04    .44746E-05
  17  norm          .10000E-03    6.3654       -.11639E-06** at limit **
  18  Prefactor     6.4624        5.4901       -.10492E-06    .47738E-05
  19  norm          .10000E-03    7.8783       -.13145E-06** at limit **
  20  Prefactor     .10000E-03    102.31       -.13884E-06** at limit **
  21  norm          14.743        6.9346       -.12653E-06    .84270E-04
  22  Prefactor     8.1648        33.459       -.20491E-05   -.33197E-05
  23  Prefactor     .10000E-03    206.74       -.58005E-05** at limit **
  24  Prefactor     .10000E-03    21.518        .99351E-06** at limit **
  25  norm          .10000E-03    6.8244       -.19966E-07** at limit **
  26  Normalizat    1.7289        .34470        .19887E-05   -.12012E-04
  27  Prefactor     .89280        .14765        .46076E-07    .15156E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.55775
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.11504
  Prefactor  = 0.0001
  norm       = 2.00868
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.1554
  Prefactor  = 8.42003
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 27.2844
  Prefactor  = 0.000100007
  Prefactor  = 1.8123
  norm       = 0.0001
  Prefactor  = 6.46245
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 14.7427
  Prefactor  = 8.16479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.72887
  Prefactor  = 0.892797
 **********
 **   18 **HESSE 
 **********

 FCN=   5027.982     FROM HESSE     STATUS=OK           488 CALLS     3806 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5577        8.6825        .21415E-03   -1.5331    
   2  norm          .10000E-03    4.2216        .14160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2307        .76403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1150        56.332        .22539E-02   -1.5497    
   6  Prefactor     .10000E-03    12.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0087        4.2754        .20620E-03   -1.5425    
   8  norm          .10000E-03    34.759        .31727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1554        94.603        .22784E-03   -1.5353    
  11  Prefactor     8.4200        13.390        .69074E-03   -1.5128    
  12  Prefactor     .10000E-03    51.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4596        .12848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          27.284        31.352        .76682E-04   -1.4663    
  15  Prefactor     .10001E-03    25.552        .34240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8123        562.80        .32589E-02   -1.5439    
  17  norm          .10000E-03    6.3681        .17472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4624        5.5015        .71822E-03   -1.5199    
  19  norm          .10000E-03    7.9117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    102.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.743        6.9265        .10434E-03   -1.4940    
  22  Prefactor     8.1648        33.695        .14005E-03   -1.5136    
  23  Prefactor     .10000E-03    211.47        .21129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    21.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    6.8288        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.7289        .40559        .34019E-03   -.71535    
  27  Prefactor     .89280        .17887        .20176E-03   -.96393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55585e-09
Minuit parameter uncertainties:
  1  8.68555
  2  4.14791e-06
  3  1.07989e-06
  4  1.3812e-05
  5  15.866
  6  2.03524e-05
  7  4.27609
  8  0.000355878
  9  1.23459e-05
  10  34.6146
  11  13.3944
  12  0.000361248
  13  5.62984e-06
  14  31.3712
  15  0.000838734
  16  64.493
  17  4.01862e-06
  18  5.50189
  19  8.27154e-07
  20  2.12218e-05
  21  6.92685
  22  33.205
  23  0.000191218
  24  2.06819e-06
  25  2.23733e-06
  26  0.406377
  27  0.178989
Done.

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

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.000e-04  5.630e-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:  8.928e-01  1.790e-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.729e+00  4.064e-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: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/903153/likelihoodResults_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.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) = 5027.98301563
delta logL = -0.00137412779259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5027.98164155
delta logL = -4.69690348837e-08

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.1083       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89278       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=   5027.982     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      225 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10005E-03    22.183        .12849E-02** at limit **
   2  alpha         2.1359        3.2348        .16723       -.15002E-05
   3  Normalizat    1.7289        .38733        .34019E-03    .70179E-06
   4  Prefactor     .89280        .17405        .20177E-03    .28736E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100054
  alpha      = 2.13592
  Normalizat = 1.72888
  Prefactor  = 0.892795
 **********
 **   18 **HESSE 
 **********

 FCN=   5027.982     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10005E-03    3.4681        .25698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1359        3.9213        .66894E-02   -.14615    
   3  Normalizat    1.7289        .38781        .13608E-04   -.71535    
   4  Prefactor     .89280        .17427        .80707E-05   -.96393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55264e-08
Minuit parameter uncertainties:
  1  0.000863256
  2  228.536
  3  0.388496
  4  0.174376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903153': 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) = 5027.98164149
delta logL = 1.87201294466e-08

Extracting fit parameters...

4FGL J1344.2-1723
   Spectrum: LogParabola
277         norm:  1.001e-04  8.633e-04  1.000e-04  1.000e+04 ( 1.000e-12)
278        alpha:  2.136e+00  2.285e+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.928e-01  1.744e-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.729e+00  3.885e-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/903153/cmap_HighResolution_556588801_556848001_4FGL_J1344.2-1723_daily_bin1224.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-05', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2021-09-08 10:15:05.825893', job_id='903153', GAL2='0.89', fit_tolerance='1e-08', EG2='1.73', EG='1.73', time_epoch_completed='1631121305.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.87e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1224' AND source_name='4FGL J1344.2-1723' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 10:15:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 903153: <4FGL_J1344.2-1723_daily_bin1224> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1344.2-1723_daily_bin1224 206.06 -17.3978 556588801 556848001 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 :                                   650.50 sec.
    Max Memory :                                 1225 MB
    Average Memory :                             299.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            861 sec.

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

