/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 77 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 = 7430
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1635
RA = 356.303, Dec = -15.9182
tmin = 663120001, tmax = 663379201
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='887463', job_status='RUN', time_executed='2022-01-09 03:19:47.716204', time_epoch_executed='1641727187.72' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887463/ft1_4FGL_J2345.2-1555_daily_bin1635.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887463/ft1_4FGL_J2345.2-1555_daily_bin1635.fits outfile=/scratch/kocevski/887463/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1635.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=663120001.0 tmax=663379201.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 2.84
user 2.61
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits" evtable="EVENTS" scfile=/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits sctable="SC_DATA" outfile=/scratch/kocevski/887463/ltcube_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.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/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits
.....................!
real 15.26
user 14.80
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits sctable="SC_DATA" expcube=/scratch/kocevski/887463/ltcube_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.fits outfile=/scratch/kocevski/887463/expmap_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.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/887463/ltcube_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.fits
.....................!
real 191.92
user 185.78
sys 5.53

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/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits scfile=/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits outfile=/scratch/kocevski/887463/cmap_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits scfile=/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits outfile=/scratch/kocevski/887463/cmap_HighResolution_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887463/ft2_4FGL_J2345.2-1555_daily_bin1635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887463/Model_4FGL_J2345.2-1555_daily_bin1635.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/887463/ft1_filtered_4FGL_J2345.2-1555_daily_bin1635.fits.....................!
real 56.66
user 55.31
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1887       1.0000         .10000E-03   10000.    
     2 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7102       1.0000         .10000E-03   10000.    
     7 'Prefactor '    71.420       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6311       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21603E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .29195E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    10.396       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    173.51       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10382E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.794       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .61746       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=   6889.571     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2247 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1875        5.5726        .16283E-06    .58968E-04
   2  norm          .10000E-03    21.713       -.19669E-06** at limit **
   3  Prefactor     .10000E-03    16.863       -.29745E-06** at limit **
   4  Prefactor     .10000E-03    51.352        .17300E-07** at limit **
   5  Prefactor     .10000E-03    6.5669       -.83879E-07** at limit **
   6  Prefactor     5.7105        7.2083        .62208E-07   -.65412E-04
   7  Prefactor     71.537        56.574       -.35402E-05   -.19833E-03
   8  Prefactor     7.6308        16.149        .28011E-07   -.39090E-06
   9  Prefactor     .10000E-03    15.702        .15585E-04** at limit **
  10  norm          .14398E-01    3.0549        .11307E-05   -.94251E-03
  11  norm          10.395        3.7630        .54543E-07   -.50998E-04
  12  Prefactor     .10000E-03    46.876       -.10683E-05** at limit **
  13  Prefactor     .10000E-03    20.261       -.24254E-06** at limit **
  14  Prefactor     .10000E-03    6.9054       -.70528E-07** at limit **
  15  Prefactor     173.51        73.145       -.47641E-06   -.14593E-03
  16  Prefactor     .10000E-03    19.944       -.25855E-07** at limit **
  17  norm          .10000E-03    .28695        .43557E-07** at limit **
  18  norm          18.798        5.8180       -.10001E-07   -.14432E-03
  19  Prefactor     .10000E-03    1.7029       -.68889E-07** at limit **
  20  Normalizat    1.3916        .17834       -.23979E-05   -.23362E-03
  21  Prefactor     .61693        .16396        .27950E-05   -.37587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.1875
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.71049
  Prefactor  = 71.5374
  Prefactor  = 7.63082
  Prefactor  = 0.0001
  norm       = 0.0143982
  norm       = 10.3951
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 173.513
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.7977
  Prefactor  = 0.0001
  Normalizat = 1.39162
  Prefactor  = 0.616925
 **********
 **   18 **HESSE 
 **********

 FCN=   6889.571     FROM HESSE     STATUS=OK           321 CALLS     2568 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1875        5.5681        .17648E-03   -1.5252    
   2  norm          .10000E-03    21.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    52.713        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.7105        7.2031        .16809E-03   -1.5230    
   7  Prefactor     71.537        57.596        .23751E-03   -1.4014    
   8  Prefactor     7.6308        16.148        .14517E-03   -1.5155    
   9  Prefactor     .10000E-03    15.913        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14398E-01    2.8652        .47336E-01   -1.5684    
  11  norm          10.395        3.7657        .92913E-04   -1.5063    
  12  Prefactor     .10000E-03    47.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     173.51        73.317        .15317E-03   -1.3066    
  16  Prefactor     .10000E-03    19.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.8056        .78181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.798        5.3288        .92388E-04   -1.4841    
  19  Prefactor     .10000E-03    1.7103        .10576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3916        .20920        .22446E-03   -.80871    
  21  Prefactor     .61693        .19082        .30208E-03   -1.0688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41811e-10
Minuit parameter uncertainties:
  1  5.56867
  2  3.36552e-05
  3  9.60287e-05
  4  0.000464227
  5  2.52985e-06
  6  7.20417
  7  57.6412
  8  16.1572
  9  0.000120489
  10  0.404825
  11  3.76583
  12  0.000461457
  13  6.18548e-05
  14  1.31873e-06
  15  73.3559
  16  9.40577e-06
  17  1.15691e-05
  18  5.32894
  19  1.28162e-06
  20  0.209329
  21  0.191021
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  1.157e-05  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:  6.169e-01  1.910e-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.392e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/887463/likelihoodResults_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.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) = 6889.57344586
delta logL = -0.00280828235645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6889.57064182
delta logL = -4.24803056376e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12802E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9793       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61710       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=   6889.551     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      296 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47534E-01    .17573        .18625E-01   -.27891E-02
   2  alpha         1.1521        1.2207        .42340       -.56947E-04
   3  Normalizat    1.3928        .17091        .50749E-01   -.71556E-04
   4  Prefactor     .61429        .16044        .68377E-01   -.23943E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.047534
  alpha      = 1.1521
  Normalizat = 1.39281
  Prefactor  = 0.614285
 **********
 **   18 **HESSE 
 **********

 FCN=   6889.551     FROM HESSE     STATUS=OK            33 CALLS      329 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47534E-01    .33343        .63794E-03   -1.5752    
   2  alpha         1.1521        1.4799        .48937E-01   -.56944    
   3  Normalizat    1.3928        .20199        .22436E-03   -.80837    
   4  Prefactor     .61429        .18953        .30261E-03   -1.0699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58253e-08
Minuit parameter uncertainties:
  1  0.251526
  2  1.64107
  3  0.202108
  4  0.189725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887463': 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) = 6889.55068128
delta logL = 0.0199562971302

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  4.753e-02  2.515e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.152e+00  1.641e+00  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:  6.143e-01  1.897e-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.393e+00  2.021e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/887463/cmap_HighResolution_663120001_663379201_4FGL_J2345.2-1555_daily_bin1635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2022-01-09 03:30:31.095127', job_id='887463', GAL2='0.61', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1641727831.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='2.00e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1635' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  9 03:30:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 887463: <4FGL_J2345.2-1555_daily_bin1635> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1635> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  9 03:15:31 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  9 03:17:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  9 03:17:57 2022
Terminated at Sun Jan  9 03:30:32 2022
Results reported at Sun Jan  9 03:30:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1635 356.303 -15.9182 663120001 663379201 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 :                                   645.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            901 sec.

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

