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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1233
RA = 356.303, Dec = -15.9182
tmin = 558921601, tmax = 559180801
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='102712', job_status='RUN', time_executed='2021-09-30 04:06:12.103257', time_epoch_executed='1632999972.1' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102712

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102712/ft1_4FGL_J2345.2-1555_daily_bin1233.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102712/ft1_4FGL_J2345.2-1555_daily_bin1233.fits outfile=/scratch/kocevski/102712/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1233.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=558921601.0 tmax=559180801.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.62
user 3.39
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits" evtable="EVENTS" scfile=/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits sctable="SC_DATA" outfile=/scratch/kocevski/102712/ltcube_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.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/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits
.....................!
real 11.73
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits sctable="SC_DATA" expcube=/scratch/kocevski/102712/ltcube_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits outfile=/scratch/kocevski/102712/expmap_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.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/102712/ltcube_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits
.....................!
real 191.13
user 185.16
sys 5.60

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/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits scfile=/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits outfile=/scratch/kocevski/102712/cmap_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits scfile=/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits outfile=/scratch/kocevski/102712/cmap_HighResolution_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102712/Model_4FGL_J2345.2-1555_daily_bin1233.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/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits.....................!
real 46.82
user 45.41
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits', '/scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits', expMap='/scratch/kocevski/102712/expmap_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits', expCube='/scratch/kocevski/102712/ltcube_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102712/Model_4FGL_J2345.2-1555_daily_bin1233.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/102712/ft1_filtered_4FGL_J2345.2-1555_daily_bin1233.fits
Spacecraft file(s): /scratch/kocevski/102712/ft2_4FGL_J2345.2-1555_daily_bin1233.fits
Exposure map: /scratch/kocevski/102712/expmap_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits
Exposure cube: /scratch/kocevski/102712/ltcube_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102712/Model_4FGL_J2345.2-1555_daily_bin1233.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) = 5104.29768854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7059       1.0000         .10000E-03   10000.    
     2 'norm      '    48.759       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41632E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .66138E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6268       1.0000         .10000E-03   10000.    
    10 'norm      '    4.7640       1.0000         .10000E-03   10000.    
    11 'norm      '    4.9135       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.899       1.0000         .10000E-03   10000.    
    14 'Prefactor '    58.214       1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.882       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16268E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.437       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.555       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0746       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5104.292     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1946 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7105        1.5588       -.43211E-07   -.33154E-03
   2  norm          48.766        1.8207        .31965E-06   -.10098E-01
   3  Prefactor     .26672E-03    1.0067        .33639E-05** at limit **
   4  Prefactor     22.198        10.129        .70078E-06    .16651E-01
   5  Prefactor     .10000E-03    16.876        .76172E-05** at limit **
   6  Prefactor     .10000E-03    4.9956        .68648E-05** at limit **
   7  Prefactor     .10000E-03    13.860        .76543E-08** at limit **
   8  Prefactor     1.0519        170.01       -.50542E-04   -.18633E-04
   9  Prefactor     3.6297        6.4046        .12631E-05   -.30247E-03
  10  norm          4.7687        5.4499        .49358E-05    .42240E-03
  11  norm          4.9190        4.7712       -.35851E-05    .11630E-03
  12  Prefactor     .10000E-03    18.393        .17222E-05** at limit **
  13  Prefactor     19.858        14.293        .36294E-05    .97226E-02
  14  Prefactor     58.182        1.5471        .34751E-06   -.73265E-02
  15  Prefactor     49.957        1.7947       -.24007E-06   -.67620E-02
  16  Prefactor     .10931E-03    115.67        .39938E-04** at limit **
  17  norm          .10000E-03    .33905       -.49258E-06** at limit **
  18  norm          10.440        4.9225       -.18581E-05   -.10661E-03
  19  Prefactor     11.567        1.1425        .85487E-07    .27874E-02
  20  Normalizat    1.0751        .23033        .22921E-04    .50359E-05
  21  Prefactor     .73956        .21268       -.12003E-04   -.25537E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71051
  norm       = 48.7664
  Prefactor  = 0.000266717
  Prefactor  = 22.1982
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.05188
  Prefactor  = 3.62973
  norm       = 4.76872
  norm       = 4.91902
  Prefactor  = 0.000100002
  Prefactor  = 19.858
  Prefactor  = 58.1822
  Prefactor  = 49.9575
  Prefactor  = 0.000109307
  norm       = 0.0001
  norm       = 10.4396
  Prefactor  = 11.5667
  Normalizat = 1.07507
  Prefactor  = 0.739563
 **********
 **   18 **HESSE 
 **********

 FCN=   5104.292     FROM HESSE     STATUS=OK           371 CALLS     2317 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7105        17.924        .80488E-02   -1.5446    
   2  norm          48.766        43.299        .14357E-02   -1.4310    
   3  Prefactor     .26672E-03    93.129        .13541       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.198        22.112        .21248E-02   -1.4765    
   5  Prefactor     .10000E-03    16.792        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9780        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.837        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0519        165.19        .93485E-02   -1.5503    
   9  Prefactor     3.6297        6.4684        .53036E-02   -1.5327    
  10  norm          4.7687        5.5205        .46085E-02   -1.5271    
  11  norm          4.9190        5.2166        .45363E-02   -1.5264    
  12  Prefactor     .10000E-03    18.392        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.858        15.372        .22447E-02   -1.4816    
  14  Prefactor     58.182        54.540        .13145E-02   -1.4181    
  15  Prefactor     49.957        47.519        .14195E-02   -1.4293    
  16  Prefactor     .10931E-03    128.58        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .26442        .17126E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.440        5.2254        .31005E-02   -1.5062    
  19  Prefactor     11.567        7.6565        .29462E-02   -1.5028    
  20  Normalizat    1.0751        .20415        .39141E-01   -.90556    
  21  Prefactor     .73956        .18543        .42940E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18928e-06
Minuit parameter uncertainties:
  1  11.0781
  2  43.3273
  3  0.249597
  4  22.12
  5  0.000388715
  6  2.80821e-06
  7  8.11895e-05
  8  26.4371
  9  6.46965
  10  5.52105
  11  5.21708
  12  0.000384128
  13  15.3747
  14  54.5872
  15  47.5551
  16  0.0693364
  17  1.13755e-07
  18  5.22561
  19  7.65714
  20  0.204298
  21  0.185585
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  1.138e-07  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:  7.396e-01  1.856e-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:  1.075e+00  2.043e-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: 6.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102712/likelihoodResults_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.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) = 5104.29522767
delta logL = -0.00280691548778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5104.29235554
delta logL = 6.52162389088e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5104.287     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      263 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10185E-02    .26070E-01   -.33262E-06** at limit **
   2  alpha         5.0000        3.2484       -.49719E-02** at limit **
   3  Normalizat    1.0670        .23517       -.33208E-04   -.10960E-02
   4  Prefactor     .74447        .21315        .44223E-04   -.75463E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00101853
  alpha      = 5
  Normalizat = 1.06701
  Prefactor  = 0.744473
 **********
 **   18 **HESSE 
 **********

 FCN=   5104.287     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      302 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10185E-02    .30113        .22353E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.9946        .41167        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0670        .34227E-01    .39110E-01   -.90818    
   4  Prefactor     .74447        .30487E-01    .42925E-01   -1.0181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.65706e-09
Minuit parameter uncertainties:
  1  0.0332625
  2  0.00513312
  3  0.0342276
  4  0.0304877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102712': 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): 102
logL (Free Index) = 5104.28679413
delta logL = 0.00562661865843

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.019e-03  3.326e-02  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  5.133e-03  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:  7.445e-01  3.049e-02  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:  1.067e+00  3.423e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/102712/cmap_HighResolution_558921601_559180801_4FGL_J2345.2-1555_daily_bin1233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-05', job_status='DONE', photon_flux_upper_limit='6.15e-08', time_completed='2021-09-30 04:15:51.500019', job_id='102712', GAL2='0.74', fit_tolerance='1e-08', EG2='1.07', EG='1.08', time_epoch_completed='1633000551.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='5.63e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1233' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:15:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 102712: <4FGL_J2345.2-1555_daily_bin1233> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1233> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:32 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:35 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:35 2021
Terminated at Thu Sep 30 04:15:52 2021
Results reported at Thu Sep 30 04:15:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1233 356.303 -15.9182 558921601 559180801 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 :                                   532.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            620 sec.

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

