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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1138
RA = 356.303, Dec = -15.9182
tmin = 534297601, tmax = 534556801
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='102543', job_status='RUN', time_executed='2021-09-30 04:06:48.197369', time_epoch_executed='1633000008.2' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102543

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102543/ft1_4FGL_J2345.2-1555_daily_bin1138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102543/ft1_4FGL_J2345.2-1555_daily_bin1138.fits outfile=/scratch/kocevski/102543/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1138.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=534297601.0 tmax=534556801.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.52
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.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/102543/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1138.fits evtable="EVENTS" outfile="/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits" evtable="EVENTS" scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits sctable="SC_DATA" outfile=/scratch/kocevski/102543/ltcube_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.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/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits
.....................!
real 12.33
user 11.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits sctable="SC_DATA" expcube=/scratch/kocevski/102543/ltcube_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits outfile=/scratch/kocevski/102543/expmap_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.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/102543/ltcube_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits
.....................!
real 191.46
user 185.81
sys 5.24

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 J2345.2-1555 @ 356.303 -15.9182

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits outfile=/scratch/kocevski/102543/cmap_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.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=356.303 yref=-15.9182 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits outfile=/scratch/kocevski/102543/cmap_HighResolution_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.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=356.303 yref=-15.9182 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102543/Model_4FGL_J2345.2-1555_daily_bin1138.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/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits....................!
real 55.62
user 54.25
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits', '/scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits', expMap='/scratch/kocevski/102543/expmap_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits', expCube='/scratch/kocevski/102543/ltcube_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102543/Model_4FGL_J2345.2-1555_daily_bin1138.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2345.2-1555'

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.857e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102543/ft1_filtered_4FGL_J2345.2-1555_daily_bin1138.fits
Spacecraft file(s): /scratch/kocevski/102543/ft2_4FGL_J2345.2-1555_daily_bin1138.fits
Exposure map: /scratch/kocevski/102543/expmap_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits
Exposure cube: /scratch/kocevski/102543/ltcube_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102543/Model_4FGL_J2345.2-1555_daily_bin1138.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) = 7152.12083636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6334       1.0000         .10000E-03   10000.    
     2 'norm      '    3.8743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.450       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.717       1.0000         .10000E-03   10000.    
     7 'Prefactor '    53.285       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.074       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12244E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.1237       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0657       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.040       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .48586E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .18324E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    15.230       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5415       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .79179       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0707       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7152.103     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2228 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6303        13.980        .16928E-05   -.18182E-04
   2  norm          3.8748        18.804        .32711E-08   -.31644E-05
   3  Prefactor     13.462        46.799       -.13311E-05   -.36720E-05
   4  Prefactor     .10000E-03    9.7294       -.24438E-06** at limit **
   5  Prefactor     .10000E-03    5.5965        .65675E-09** at limit **
   6  Prefactor     19.719        13.541        .10535E-06    .97575E-05
   7  Prefactor     53.351        43.543        .59142E-07    .10059E-04
   8  Prefactor     29.073        18.979        .74390E-07   -.21084E-05
   9  Prefactor     .10000E-03    4.7391       -.13960E-05** at limit **
  10  norm          4.1251        4.8871        .61498E-07    .10469E-03
  11  norm          2.0655        1.8671        .68871E-07   -.11288E-04
  12  Prefactor     15.062        27.590        .38914E-06   -.78593E-05
  13  Prefactor     .10000E-03    5.2294        .25803E-05** at limit **
  14  Prefactor     .10000E-03    16.574        .10403E-06** at limit **
  15  Prefactor     .10000E-03    26.945       -.19832E-06** at limit **
  16  Prefactor     .10000E-03    348.20        .17969E-05** at limit **
  17  norm          .17659E-01    .30967       -.44111E-07   -.45264E-03
  18  norm          15.236        4.9240        .28332E-07   -.19859E-03
  19  Prefactor     2.5440        6.2010        .10695E-05    .71439E-06
  20  Normalizat    .79170        .15700       -.62319E-06    .48345E-05
  21  Prefactor     1.0707        .15309        .25575E-06   -.32489E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.63034
  norm       = 3.87477
  Prefactor  = 13.4615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7193
  Prefactor  = 53.3514
  Prefactor  = 29.0731
  Prefactor  = 0.0001
  norm       = 4.12507
  norm       = 2.06552
  Prefactor  = 15.0615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0176591
  norm       = 15.2357
  Prefactor  = 2.54404
  Normalizat = 0.791704
  Prefactor  = 1.07074
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.103     FROM HESSE     STATUS=OK           323 CALLS     2551 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6303        13.699        .16540E-02   -1.5453    
   2  norm          3.8748        18.781        .20500E-03   -1.5314    
   3  Prefactor     13.462        46.713        .10922E-03   -1.4974    
   4  Prefactor     .10000E-03    9.7526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.5997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.719        13.545        .90200E-04   -1.4820    
   7  Prefactor     53.351        43.485        .54946E-04   -1.4246    
   8  Prefactor     29.073        18.977        .74303E-04   -1.4629    
   9  Prefactor     .10000E-03    4.7577        .17936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1251        4.8725        .19245E-03   -1.5302    
  11  norm          2.0655        1.8555        .10590E-03   -1.5421    
  12  Prefactor     15.062        27.587        .10328E-03   -1.4932    
  13  Prefactor     .10000E-03    5.2230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    355.76        .19242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .17659E-01    1.1564        .79638E-03   -1.5681    
  18  norm          15.236        4.7951        .89557E-04   -1.4927    
  19  Prefactor     2.5440        6.0473        .12808E-02   -1.5389    
  20  Normalizat    .79170        .18067        .25299E-03   -1.0038    
  21  Prefactor     1.0707        .17669        .22326E-03   -.90407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94116e-08
Minuit parameter uncertainties:
  1  9.45454
  2  17.0696
  3  46.8404
  4  2.71134e-09
  5  1.4322e-07
  6  13.5474
  7  43.5108
  8  18.9807
  9  2.1837e-06
  10  4.87293
  11  1.85558
  12  27.6105
  13  2.13729e-06
  14  3.40124e-06
  15  2.18857e-08
  16  0.000249226
  17  0.285003
  18  4.79527
  19  6.0488
  20  0.180803
  21  0.176781
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.766e-02  2.850e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.071e+00  1.768e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.917e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 356.303 -15.918
Photon Flux Upper Limit: 4.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102543/likelihoodResults_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.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) = 7152.10144224
delta logL = 0.0012229530912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7152.10121868
delta logL = 0.00144651484334

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7152.101     FROM MIGRAD    STATUS=FAILED       108 CALLS      275 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23022E-01    86.392        .77551E-03    .11966E-01
   2  alpha         2.3404        2.6012        .50000       -.38044E-04
   3  Normalizat    .79106        .51169E-01    .25307E-03    .17969E-06
   4  Prefactor     1.0710        .47807E-01    .22323E-03    .12223E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7152.101     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      372 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23022E-01    86.392        .14831E-03    .11966E-01
   2  alpha         2.3404        2.6012        .49101E-02   -.38044E-04
   3  Normalizat    .79106        .51169E-01    .81296E-04    .17969E-06
   4  Prefactor     1.0710        .47807E-01    .49808E-04    .12223E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7152.101     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      422 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23022E-01    1.0269         .0000        .37236E-04
   2  alpha         2.3404        2.8071         .0000       -.15415E-03
   3  Normalizat    .79106        .17361         .0000        .38184E-05
   4  Prefactor     1.0710        .17603         .0000        .58567E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.023022
  alpha      = 2.34036
  Normalizat = 0.791055
  Prefactor  = 1.07096
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.101     FROM HESSE     STATUS=OK            27 CALLS      449 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23022E-01    .79438        .62041E-05   -1.5678    
   2  alpha         2.3404        3.1245        .29234E-01   -.63901E-01
   3  Normalizat    .79106        .17280        .20246E-05   -1.0040    
   4  Prefactor     1.0710        .17520        .17859E-05   -.90400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22475e-10
Minuit parameter uncertainties:
  1  0.269884
  2  6.18527
  3  0.172921
  4  0.175293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102543': 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) = 7152.10121563
delta logL = 0.00144956053464

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.302e-02  2.699e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.340e+00  6.185e+00  0.000e+00  5.000e+00 ( 1.000e+00)
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.071e+00  1.753e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.911e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 356.303 -15.918

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/102543/cmap_HighResolution_534297601_534556801_4FGL_J2345.2-1555_daily_bin1138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', job_status='DONE', photon_flux_upper_limit='4.93e-08', time_completed='2021-09-30 04:18:21.925839', job_id='102543', GAL2='1.07', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1633000701.93', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.45e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1138' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:18:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 102543: <4FGL_J2345.2-1555_daily_bin1138> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1138> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:19 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 04:05:20 2021
Terminated at Thu Sep 30 04:18:23 2021
Results reported at Thu Sep 30 04:18:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1138 356.303 -15.9182 534297601 534556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2345.2-1555 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            784 sec.

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

