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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1271
RA = 356.303, Dec = -15.9182
tmin = 568771201, tmax = 569030401
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='102781', job_status='RUN', time_executed='2021-09-30 04:09:26.923323', time_epoch_executed='1633000166.92' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1271'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102781/ft1_4FGL_J2345.2-1555_daily_bin1271.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102781/ft2_4FGL_J2345.2-1555_daily_bin1271.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102781/ft1_4FGL_J2345.2-1555_daily_bin1271.fits outfile=/scratch/kocevski/102781/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1271.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=568771201.0 tmax=569030401.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.55
user 3.32
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102781/ft1_filtered_4FGL_J2345.2-1555_daily_bin1271.fits" evtable="EVENTS" scfile=/scratch/kocevski/102781/ft2_4FGL_J2345.2-1555_daily_bin1271.fits sctable="SC_DATA" outfile=/scratch/kocevski/102781/ltcube_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.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/102781/ft2_4FGL_J2345.2-1555_daily_bin1271.fits
.....................!
real 12.13
user 11.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102781/ft1_filtered_4FGL_J2345.2-1555_daily_bin1271.fits evtable="EVENTS" scfile=/scratch/kocevski/102781/ft2_4FGL_J2345.2-1555_daily_bin1271.fits sctable="SC_DATA" expcube=/scratch/kocevski/102781/ltcube_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.fits outfile=/scratch/kocevski/102781/expmap_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.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/102781/ltcube_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.fits
.....................!
real 192.26
user 187.10
sys 4.73

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/102781/ft1_filtered_4FGL_J2345.2-1555_daily_bin1271.fits scfile=/scratch/kocevski/102781/ft2_4FGL_J2345.2-1555_daily_bin1271.fits outfile=/scratch/kocevski/102781/cmap_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13995E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    175.57       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11136E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7408       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.542       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10940E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10593E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.870       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .42571E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .96193       1.0000         .10000E-03   10000.    
    18 'norm      '    10.293       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7635       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .42829       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=   4369.340     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2233 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6098        .69112E-09** at limit **
   2  norm          .10000E-03    19.900        .90742E-07** at limit **
   3  Prefactor     .10000E-03    22.901       -.12518E-06** at limit **
   4  Prefactor     .10000E-03    8.1999       -.73858E-07** at limit **
   5  Prefactor     .10000E-03    7.7706       -.32372E-06** at limit **
   6  Prefactor     .10000E-03    5.0736       -.49097E-08** at limit **
   7  Prefactor     175.58        87.233       -.42662E-05    .11950E-05
   8  Prefactor     .10000E-03    15.015       -.16539E-06** at limit **
   9  Prefactor     .10000E-03    7.7683        .68133E-06** at limit **
  10  norm          1.7419        6.0891       -.29196E-06   -.52816E-03
  11  norm          .10000E-03    1.0839       -.31511E-08** at limit **
  12  Prefactor     75.193        70.840       -.25748E-05    .12016E-04
  13  Prefactor     .10000E-03    84.463       -.25021E-06** at limit **
  14  Prefactor     .10000E-03    14.161        .10778E-06** at limit **
  15  Prefactor     19.905        66.121       -.27942E-04    .92459E-06
  16  Prefactor     .10005E-03    6248.8       -.16070E-03** at limit **
  17  norm          .96188        .83662        .13431E-07   -.12845E-03
  18  norm          10.292        8.3988       -.21968E-06   -.83110E-04
  19  Prefactor     .10000E-03    7.2990       -.56902E-07** at limit **
  20  Normalizat    1.7633        .23991        .17213E-05    .12387E-03
  21  Prefactor     .42840        .20644        .10429E-05    .12217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 175.581
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.74195
  norm       = 0.0001
  Prefactor  = 75.1925
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.9053
  Prefactor  = 0.000100048
  norm       = 0.96188
  norm       = 10.2916
  Prefactor  = 0.0001
  Normalizat = 1.76327
  Prefactor  = 0.428403
 **********
 **   18 **HESSE 
 **********

 FCN=   4369.340     FROM HESSE     STATUS=OK           305 CALLS     2538 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6176        .13860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    19.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7713        .17998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0889        .14542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     175.58        86.713        .30457E-04   -1.3050    
   8  Prefactor     .10000E-03    15.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.7956        .17985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7419        6.0860        .28911E-03   -1.5444    
  11  norm          .10000E-03    1.0877        .67202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     75.193        70.526        .46198E-04   -1.3972    
  13  Prefactor     .10000E-03    85.748        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.905        65.793        .89852E-04   -1.4815    
  16  Prefactor     .10005E-03    6271.4        .42470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .96188        .86283        .45278E-04   -1.5512    
  18  norm          10.292        8.5900        .12489E-03   -1.5066    
  19  Prefactor     .10000E-03    7.3950        .17434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.7633        .27145        .22054E-03   -.70626    
  21  Prefactor     .42840        .23071        .36413E-03   -1.1538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62843e-10
Minuit parameter uncertainties:
  1  2.44769e-06
  2  1.10732e-05
  3  6.39856e-06
  4  4.42344e-06
  5  2.16126e-06
  6  3.78092e-06
  7  86.7766
  8  9.42062e-07
  9  8.32415e-05
  10  6.08819
  11  1.11417e-06
  12  70.6043
  13  0.000447462
  14  4.40545e-06
  15  66.0345
  16  0.0232385
  17  0.862845
  18  8.59098
  19  1.0818e-05
  20  0.271678
  21  0.231212
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  9.619e-01  8.628e-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:  4.284e-01  2.312e-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.763e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.16
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 4.93e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 2.61e-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) = 4369.33990492
delta logL = 1.1956565686e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4369.33990143
delta logL = 1.54400768224e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96349       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0379       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42865       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=   4369.340     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96441        17.892        .10373E-01    .16826E-03
   2  alpha         2.0395        2.5574        .42077        .70977E-06
   3  Normalizat    1.7628        .12993        .49897E-01    .21471E-04
   4  Prefactor     .42857        .80800E-01    .82168E-01    .34521E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.96441
  alpha      = 2.03948
  Normalizat = 1.76284
  Prefactor  = 0.428574
 **********
 **   18 **HESSE 
 **********

 FCN=   4369.340     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96441        .80640        .45231E-04   -1.5512    
   2  alpha         2.0395        .90552        .14967E-01   -.18527    
   3  Normalizat    1.7628        .27202        .22056E-03   -.70638    
   4  Prefactor     .42857        .23062        .36405E-03   -1.1537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73189e-12
Minuit parameter uncertainties:
  1  0.806407
  2  0.92738
  3  0.272252
  4  0.231125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102781': 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) = 4369.33989981
delta logL = 1.70664234247e-05

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  9.644e-01  8.064e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.039e+00  9.274e-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:  4.286e-01  2.311e-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.763e+00  2.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.25
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 2.04 +/- 0.93
Photon Flux (Free Index): 5.55e-08 +/- 8.83e-08
Energy Flux (Free Index): 2.91e-05 +/- 2.13e-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/102781/cmap_HighResolution_568771201_569030401_4FGL_J2345.2-1555_daily_bin1271.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='2.91e-05', photon_flux_error='4.93e-08', dlogl='1.71e-05', energy_flux='2.91e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2021-09-30 04:18:32.395379', photon_index_error2='0.93', photon_index2='2.04', ts='9.16', fit_tolerance='1e-08', GAL='0.43', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.76', time_epoch_completed='1633000712.4', return_code='0', job_id='102781', GAL2='0.43', EG2='1.76', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='8.83e-08', ts2='9.25', photon_index='2.03' WHERE bin_id='1271' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:18:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 102781: <4FGL_J2345.2-1555_daily_bin1271> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1271 356.303 -15.9182 568771201 569030401 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 :                                   474.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

