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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1385
RA = 356.303, Dec = -15.9182
tmin = 598320001, tmax = 598579201
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='102971', job_status='RUN', time_executed='2021-09-30 04:07:01.753623', time_epoch_executed='1633000021.75' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102971/ft1_4FGL_J2345.2-1555_daily_bin1385.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102971/ft1_4FGL_J2345.2-1555_daily_bin1385.fits outfile=/scratch/kocevski/102971/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1385.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=598320001.0 tmax=598579201.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.33
user 3.10
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.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/102971/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1385.fits evtable="EVENTS" outfile="/scratch/kocevski/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits" evtable="EVENTS" scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits sctable="SC_DATA" outfile=/scratch/kocevski/102971/ltcube_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.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/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits
.....................!
real 12.42
user 12.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits sctable="SC_DATA" expcube=/scratch/kocevski/102971/ltcube_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.fits outfile=/scratch/kocevski/102971/expmap_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.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/102971/ltcube_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.fits
.....................!
real 191.28
user 185.99
sys 4.97

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/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits outfile=/scratch/kocevski/102971/cmap_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits outfile=/scratch/kocevski/102971/cmap_HighResolution_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/102971/ft2_4FGL_J2345.2-1555_daily_bin1385.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102971/Model_4FGL_J2345.2-1555_daily_bin1385.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/102971/ft1_filtered_4FGL_J2345.2-1555_daily_bin1385.fits.....................!
real 65.53
user 64.17
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2123       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4953       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.7297       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.222       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.480       1.0000         .10000E-03   10000.    
    17 'norm      '    .26286       1.0000         .10000E-03   10000.    
    18 'norm      '    16.562       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .99971       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77131       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=   8954.137     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2183 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6951        .20740E-05** at limit **
   2  norm          .10000E-03    46.291       -.11965E-04** at limit **
   3  Prefactor     .10000E-03    24.924        .40971E-05** at limit **
   4  Prefactor     17.852        13.085       -.12469E-06   -.53176E-04
   5  Prefactor     .10000E-03    22.519       -.42960E-05** at limit **
   6  Prefactor     7.2123        9.0742       -.26870E-06   -.14143E-03
   7  Prefactor     .10000E-03    47.326       -.19863E-04** at limit **
   8  Prefactor     .10000E-03    9.5921       -.33799E-05** at limit **
   9  Prefactor     4.4947        3.9304        .10702E-05    .23629E-03
  10  norm          .10000E-03    1.0062        .13166E-06** at limit **
  11  norm          6.7299        2.3879       -.18912E-06   -.28451E-02
  12  Prefactor     .10000E-03    35.275        .34522E-04** at limit **
  13  Prefactor     .10000E-03    13.920        .60324E-05** at limit **
  14  Prefactor     16.219        18.161       -.28465E-06   -.25206E-04
  15  Prefactor     .10000E-03    20.970       -.14575E-04** at limit **
  16  Prefactor     25.473        59.988       -.11877E-04   -.18869E-05
  17  norm          .26298        .32303        .26962E-07   -.14782E-02
  18  norm          16.562        4.2943       -.41470E-06   -.50965E-03
  19  Prefactor     .10000E-03    2.0341       -.22123E-07** at limit **
  20  Normalizat    .99974        .12759        .37565E-06   -.19548E-03
  21  Prefactor     .77127        .12399       -.76150E-07   -.36677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8516
  Prefactor  = 0.0001
  Prefactor  = 7.21226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.49467
  norm       = 0.0001
  norm       = 6.72987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.2193
  Prefactor  = 0.0001
  Prefactor  = 25.4727
  norm       = 0.262976
  norm       = 16.5619
  Prefactor  = 0.0001
  Normalizat = 0.999745
  Prefactor  = 0.771267
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.137     FROM HESSE     STATUS=OK           317 CALLS     2500 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9740        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    46.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.852        13.086        .94791E-04   -1.4863    
   5  Prefactor     .10000E-03    23.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2123        9.0750        .14936E-03   -1.5171    
   7  Prefactor     .10000E-03    47.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.6305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4947        3.9355        .17067E-03   -1.5284    
  10  norm          .10000E-03    1.0088        .92680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.7299        2.3998        .41724E-03   -1.5189    
  12  Prefactor     .10000E-03    35.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.217        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.219        18.156        .99443E-04   -1.4902    
  15  Prefactor     .10000E-03    21.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.473        60.012        .79360E-04   -1.4698    
  17  norm          .26298        .28690        .52513E-03   -1.5605    
  18  norm          16.562        4.1756        .87005E-04   -1.4894    
  19  Prefactor     .10000E-03    2.0601        .13174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .99974        .15024        .21871E-03   -.93039    
  21  Prefactor     .77127        .14565        .24104E-03   -1.0080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4463e-10
Minuit parameter uncertainties:
  1  3.08396e-05
  2  0.000104922
  3  1.49106e-05
  4  13.0884
  5  7.27476e-05
  6  9.0767
  7  8.75208e-06
  8  4.90863e-06
  9  3.93569
  10  1.49727e-06
  11  2.39984
  12  0.00021095
  13  0.000155894
  14  18.1622
  15  1.19121e-05
  16  60.1545
  17  0.286906
  18  4.17564
  19  1.75021e-06
  20  0.150299
  21  0.145719
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.630e-01  2.869e-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:  7.713e-01  1.457e-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:  9.997e-01  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.50e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 7.95e-06 +/- 8.68e-06

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

Saving results to:
/scratch/kocevski/102971/likelihoodResults_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.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) = 8953.41750785
delta logL = 0.719525597418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8953.37927376
delta logL = 0.757759692289

Fit tolerance = 1e-08

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

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

 FCN=   8953.379     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      212 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10466        .13773        .70950E-02   -.14089E-02
   2  alpha         1.0007        .48509        .47733       -.55534E-04
   3  Normalizat    1.0057        .12531        .46238E-01    .11027E-04
   4  Prefactor     .77080        .12347        .43335E-01    .22055E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.104658
  alpha      = 1.0007
  Normalizat = 1.00567
  Prefactor  = 0.770795
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.379     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10466        .20850        .34835E-03   -1.5643    
   2  alpha         1.0007        .84134        .20038E-01   -.64315    
   3  Normalizat    1.0057        .14728        .21824E-03   -.92841    
   4  Prefactor     .77080        .14512        .24124E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58017e-09
Minuit parameter uncertainties:
  1  0.208503
  2  0.868352
  3  0.147342
  4  0.145187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102971': 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) = 8953.37927371
delta logL = 0.757759745993

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.047e-01  2.085e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.001e+00  8.684e-01  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.708e-01  1.452e-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.006e+00  1.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.00 +/- 0.87
Photon Flux (Free Index): 3.90e-09 +/- 6.19e-09
Energy Flux (Free Index): 2.18e-05 +/- 3.12e-05

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/102971/cmap_HighResolution_598320001_598579201_4FGL_J2345.2-1555_daily_bin1385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-05', comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='2.18e-05', photon_flux_error='1.64e-08', dlogl='7.58e-01', energy_flux='7.95e-06', photon_flux2='3.90e-09', job_status='DONE', time_completed='2021-09-30 04:19:17.763070', photon_index_error2='0.87', photon_index2='1.00', ts='1.86', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='5.43e-08', energy_flux_error2='3.12e-05', EG='1.00', time_epoch_completed='1633000757.76', return_code='0', job_id='102971', GAL2='0.77', EG2='1.01', return_code2='0', energy_flux_error='8.68e-06', photon_flux_error2='6.19e-09', ts2='3.40', photon_index='2.03' WHERE bin_id='1385' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:19:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 102971: <4FGL_J2345.2-1555_daily_bin1385> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1385> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:53 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:55 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:55 2021
Terminated at Thu Sep 30 04:19:18 2021
Results reported at Thu Sep 30 04:19:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1385 356.303 -15.9182 598320001 598579201 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 :                                   703.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

