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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1555
RA = 356.303, Dec = -15.9182
tmin = 642384001, tmax = 642643201
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='104322', job_status='RUN', time_executed='2021-09-30 04:12:16.513151', time_epoch_executed='1633000336.51' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104322/ft1_4FGL_J2345.2-1555_daily_bin1555.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104322/ft1_4FGL_J2345.2-1555_daily_bin1555.fits outfile=/scratch/kocevski/104322/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1555.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=642384001.0 tmax=642643201.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.67
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.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/104322/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1555.fits evtable="EVENTS" outfile="/scratch/kocevski/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits" evtable="EVENTS" scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits sctable="SC_DATA" outfile=/scratch/kocevski/104322/ltcube_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.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/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits
.....................!
real 11.89
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits sctable="SC_DATA" expcube=/scratch/kocevski/104322/ltcube_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.fits outfile=/scratch/kocevski/104322/expmap_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.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/104322/ltcube_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.fits
.....................!
real 191.11
user 186.67
sys 4.07

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/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits outfile=/scratch/kocevski/104322/cmap_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits outfile=/scratch/kocevski/104322/cmap_HighResolution_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/104322/ft2_4FGL_J2345.2-1555_daily_bin1555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104322/Model_4FGL_J2345.2-1555_daily_bin1555.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/104322/ft1_filtered_4FGL_J2345.2-1555_daily_bin1555.fits.....................!
real 39.48
user 38.16
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59236E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.887       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.084       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.322       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1871       1.0000         .10000E-03   10000.    
    10 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10385E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.904       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .94239       1.0000         .10000E-03   10000.    
    18 'norm      '    6.6484       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .26681       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .60166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0269       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=   4406.628     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2228 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    13.033        .34978E-06** at limit **
   2  norm          .10000E-03    12.825        .13381E-05** at limit **
   3  Prefactor     .10000E-03    45.389       -.70485E-05** at limit **
   4  Prefactor     23.890        22.130        .89993E-06    .32691E-04
   5  Prefactor     22.086        22.225        .34137E-06    .16489E-05
   6  Prefactor     15.320        11.291        .17372E-06    .18612E-04
   7  Prefactor     .10000E-03    20.642        .88377E-06** at limit **
   8  Prefactor     4.9551        32.174       -.28928E-05    .16178E-04
   9  Prefactor     1.1862        1.3152        .14981E-06   -.88442E-03
  10  norm          .10000E-03    4.7108        .12509E-07** at limit **
  11  norm          .10000E-03    1.8814       -.17488E-05** at limit **
  12  Prefactor     .10000E-03    14.037        .13332E-05** at limit **
  13  Prefactor     .10000E-03    4.3471       -.14151E-06** at limit **
  14  Prefactor     37.924        32.128        .11586E-04    .36308E-03
  15  Prefactor     .10000E-03    75.385       -.97122E-05** at limit **
  16  Prefactor     .10000E-03    55.981        .22303E-04** at limit **
  17  norm          .94229        .65754        .51066E-08    .52449E-03
  18  norm          6.6488        5.4539        .35858E-06    .17080E-03
  19  Prefactor     .22197        5.4914       -.75167E-06    .52411E-03
  20  Normalizat    .60191        .17554       -.23005E-05    .43298E-03
  21  Prefactor     1.0268        .16867        .34280E-06    .36713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100104
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.8896
  Prefactor  = 22.0863
  Prefactor  = 15.3199
  Prefactor  = 0.0001
  Prefactor  = 4.95508
  Prefactor  = 1.18617
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.9239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.942288
  norm       = 6.64882
  Prefactor  = 0.221967
  Normalizat = 0.601907
  Prefactor  = 1.02682
 **********
 **   18 **HESSE 
 **********

 FCN=   4406.628     FROM HESSE     STATUS=OK           319 CALLS     2547 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    104.73        .42508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.890        21.965        .81958E-04   -1.4730    
   5  Prefactor     22.086        22.225        .85234E-04   -1.4768    
   6  Prefactor     15.320        11.291        .10232E-03   -1.4925    
   7  Prefactor     .10000E-03    20.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9551        32.208        .18061E-03   -1.5263    
   9  Prefactor     1.1862        10.581        .20492E-02   -1.5490    
  10  norm          .10000E-03    4.8142        .14069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    13.336        .16893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3487        .13517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.924        32.205        .65100E-04   -1.4476    
  15  Prefactor     .10000E-03    75.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    55.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .94229        .66292        .37413E-04   -1.5514    
  18  norm          6.6488        5.5476        .11597E-03   -1.5192    
  19  Prefactor     .22197        55.796        .27161E-02   -1.5614    
  20  Normalizat    .60191        .20381        .26236E-03   -1.0790    
  21  Prefactor     1.0268        .19791        .20214E-03   -.91841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02072e-08
Minuit parameter uncertainties:
  1  0.00662019
  2  2.7777e-06
  3  1.92919e-05
  4  21.9724
  5  22.2338
  6  11.2923
  7  1.6343e-05
  8  25.2858
  9  7.08694
  10  9.38447e-06
  11  0.000198325
  12  6.8831e-06
  13  3.07208e-06
  14  32.2195
  15  0.000101328
  16  7.9837e-05
  17  0.66293
  18  5.54801
  19  7.04348
  20  0.204062
  21  0.198051
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  9.423e-01  6.629e-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.027e+00  1.981e-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:  6.019e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.09
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.85e-05 +/- 2.01e-05

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) = 4406.45083392
delta logL = 0.176717137465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4406.4471403
delta logL = 0.180410751981

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86786       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3529       1.0000          .0000       5.0000    
     3 'Normalizat'    .58305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0366       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=   4406.447     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86738        9.3661        .73983E-02    .23557E-03
   2  alpha         2.3534        3.5588        .26808        .30866E-04
   3  Normalizat    .58359        .78969E-01    .60115E-01    .13942E-04
   4  Prefactor     1.0360        .66174E-01    .40768E-01   -.39209E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.867377
  alpha      = 2.35339
  Normalizat = 0.583592
  Prefactor  = 1.03604
 **********
 **   18 **HESSE 
 **********

 FCN=   4406.447     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86738        .55192        .32982E-04   -1.5522    
   2  alpha         2.3534        .53993        .10467E-01   -.58676E-01
   3  Normalizat    .58359        .20058        .26595E-03   -1.0869    
   4  Prefactor     1.0360        .19677        .20122E-03   -.91538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74596e-10
Minuit parameter uncertainties:
  1  0.55192
  2  0.544238
  3  0.200829
  4  0.196908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104322': 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) = 4406.4471354
delta logL = 0.180415648193

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  8.674e-01  5.519e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.353e+00  5.442e-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:  1.036e+00  1.969e-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:  5.836e-01  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.55
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 2.35 +/- 0.54
Photon Flux (Free Index): 7.27e-08 +/- 4.90e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.48e-05

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/104322/cmap_HighResolution_642384001_642643201_4FGL_J2345.2-1555_daily_bin1555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='2.53e-05', photon_flux_error='3.79e-08', dlogl='1.80e-01', energy_flux='2.85e-05', photon_flux2='7.27e-08', job_status='DONE', time_completed='2021-09-30 04:20:10.682853', photon_index_error2='0.54', photon_index2='2.35', ts='6.09', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='0.60', time_epoch_completed='1633000810.68', return_code='0', job_id='104322', GAL2='1.04', EG2='0.58', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='4.90e-08', ts2='6.55', photon_index='2.03' WHERE bin_id='1555' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:20:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 104322: <4FGL_J2345.2-1555_daily_bin1555> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1555> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 04:10:25 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:10:27 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:10:27 2021
Terminated at Thu Sep 30 04:20:11 2021
Results reported at Thu Sep 30 04:20:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1555 356.303 -15.9182 642384001 642643201 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 :                                   469.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            586 sec.

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

