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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1328
RA = 356.303, Dec = -15.9182
tmin = 583545601, tmax = 583804801
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='102873', job_status='RUN', time_executed='2021-09-30 04:07:18.518200', time_epoch_executed='1633000038.52' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102873

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102873/ft1_4FGL_J2345.2-1555_daily_bin1328.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102873/ft1_4FGL_J2345.2-1555_daily_bin1328.fits outfile=/scratch/kocevski/102873/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1328.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=583545601.0 tmax=583804801.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.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits" evtable="EVENTS" scfile=/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits sctable="SC_DATA" outfile=/scratch/kocevski/102873/ltcube_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.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/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits
.....................!
real 12.51
user 12.18
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits sctable="SC_DATA" expcube=/scratch/kocevski/102873/ltcube_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.fits outfile=/scratch/kocevski/102873/expmap_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.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/102873/ltcube_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.fits
.....................!
real 191.71
user 185.76
sys 5.22

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/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits scfile=/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits outfile=/scratch/kocevski/102873/cmap_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits scfile=/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits outfile=/scratch/kocevski/102873/cmap_HighResolution_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/102873/ft2_4FGL_J2345.2-1555_daily_bin1328.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102873/Model_4FGL_J2345.2-1555_daily_bin1328.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/102873/ft1_filtered_4FGL_J2345.2-1555_daily_bin1328.fits.....................!
real 49.41
user 48.07
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24491E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .76218       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .55162E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .88016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38633E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10910E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10688E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.9496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .86622       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8315       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .34579E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14495E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.080       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .32023E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85535       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90993       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=   5832.121     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1251 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2109        .24416E-07** at limit **
   2  norm          .10000E-03    6.6145       -.41397E-05** at limit **
   3  Prefactor     .10059E-03    4.9641       -.11272E-05** at limit **
   4  Prefactor     .85615        4.6587       -.60683E-05    .70952E-03
   5  Prefactor     .10002E-03    2.9614       -.19686E-05** at limit **
   6  Prefactor     .10000E-03    9.7672        .13166E-04** at limit **
   7  Prefactor     .10046E-03    7.7020       -.19254E-05** at limit **
   8  Prefactor     .10000E-03    14.008       -.35367E-05** at limit **
   9  Prefactor     .10000E-03    2.7454        .17425E-06** at limit **
  10  norm          .10000E-03    2.5068       -.63467E-07** at limit **
  11  norm          6.9573        3.2180        .10859E-07    .23135E-03
  12  Prefactor     .10052E-03    167.89       -.15708E-04** at limit **
  13  Prefactor     8.0664        7.3796       -.16879E-05    .19642E-02
  14  Prefactor     4.7933        1.4871       -.17454E-05    .20252E-02
  15  Prefactor     .10001E-03    .78645        .24026E-05** at limit **
  16  Prefactor     .10027E-03    12.054       -.35146E-05** at limit **
  17  norm          .10000E-03    .54851       -.46557E-06** at limit **
  18  norm          15.060        4.7523       -.13268E-05   -.56516E-03
  19  Prefactor     .10001E-03    7.3359        .17775E-04** at limit **
  20  Normalizat    .85564        .17858        .26350E-05    .24139E-03
  21  Prefactor     .90978        .17325       -.62356E-06    .23306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100594
  Prefactor  = 0.856147
  Prefactor  = 0.000100016
  Prefactor  = 0.000100003
  Prefactor  = 0.000100456
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.95732
  Prefactor  = 0.000100524
  Prefactor  = 8.06638
  Prefactor  = 4.79334
  Prefactor  = 0.000100015
  Prefactor  = 0.000100271
  norm       = 0.0001
  norm       = 15.0605
  Prefactor  = 0.000100014
  Normalizat = 0.855643
  Prefactor  = 0.909785
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.121     FROM HESSE     STATUS=OK           371 CALLS     1622 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2067        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.7086        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10059E-03    93.375        .91448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .85615        9.0841        .12298       -1.5523    
   5  Prefactor     .10002E-03    10.467        .10554E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.650        .10422E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10046E-03    96.357        .92145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.433        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.7419        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.4255        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.9573        3.3750        .38046E-02   -1.5180    
  12  Prefactor     .10052E-03    37.341        .14993       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0664        11.748        .35972E-02   -1.5140    
  14  Prefactor     4.7933        27.509        .45754E-02   -1.5270    
  15  Prefactor     .10001E-03    18.629        .10664E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10027E-03    24.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .28194        .14842E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.060        5.0163        .25785E-02   -1.4932    
  19  Prefactor     .10001E-03    3.4002        .43651E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85564        .15542        .44328E-01   -.98037    
  21  Prefactor     .90978        .14836        .45132E-01   -.95800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15967e-08
Minuit parameter uncertainties:
  1  2.21483e-06
  2  0.000132429
  3  0.01492
  4  5.57834
  5  0.00082282
  6  0.000369305
  7  0.0132732
  8  0.000331502
  9  1.39796e-05
  10  6.1163e-06
  11  3.37507
  12  0.00884924
  13  11.7512
  14  22.9818
  15  0.00104246
  16  0.00510596
  17  5.02298e-06
  18  5.01647
  19  0.000441133
  20  0.155496
  21  0.148422
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  5.023e-06  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:  9.098e-01  1.484e-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:  8.556e-01  1.555e-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: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102873/likelihoodResults_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.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) = 5832.13034547
delta logL = -0.00887192113169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5832.0843609
delta logL = 0.0371126410437

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19655E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .84157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91834       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5832.084     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      324 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19614E-02    .74582E-02    .96590E-04** at limit **
   2  alpha         5.0000        4.7446        .18507E-01** at limit **
   3  Normalizat    .84154        .18356        .23245E-03   -.25236E-03
   4  Prefactor     .91834        .17631        .21927E-03   -.11738E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00196144
  alpha      = 5
  Normalizat = 0.841544
  Prefactor  = 0.918344
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.084     FROM HESSE     STATUS=OK            25 CALLS      349 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19614E-02    .74246E-02    .19318E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.7441        .37014E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .84154        .18317        .92980E-05   -.98546    
   4  Prefactor     .91834        .17628        .87709E-05   -.95503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46054e-10
Minuit parameter uncertainties:
  1  0.00742462
  2  8.32976e-05
  3  0.183303
  4  0.176394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102873': 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) = 5832.08436067
delta logL = 0.0371128764209

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.961e-03  7.425e-03  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  8.330e-05  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:  9.183e-01  1.764e-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:  8.415e-01  1.833e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/102873/cmap_HighResolution_583545601_583804801_4FGL_J2345.2-1555_daily_bin1328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.89e-05', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2021-09-30 04:16:42.154880', job_id='102873', GAL2='0.92', fit_tolerance='1e-08', EG2='0.84', EG='0.86', time_epoch_completed='1633000602.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.71e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1328' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:16:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 102873: <4FGL_J2345.2-1555_daily_bin1328> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1328> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:45 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:47 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:47 2021
Terminated at Thu Sep 30 04:16:42 2021
Results reported at Thu Sep 30 04:16:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1328 356.303 -15.9182 583545601 583804801 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 :                                   527.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            657 sec.

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

