/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 227 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin321
RA = 356.303, Dec = -15.9182
tmin = 322531201, tmax = 322790401
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='96514', job_status='RUN', time_executed='2021-09-30 03:54:23.098598', time_epoch_executed='1632999263.1' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96514

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96514/ft1_4FGL_J2345.2-1555_daily_bin321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96514/ft1_4FGL_J2345.2-1555_daily_bin321.fits outfile=/scratch/kocevski/96514/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin321.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=322531201.0 tmax=322790401.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 8.34
user 8.02
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits" evtable="EVENTS" scfile=/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits sctable="SC_DATA" outfile=/scratch/kocevski/96514/ltcube_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.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/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits
.....................!
real 11.68
user 11.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits evtable="EVENTS" scfile=/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits sctable="SC_DATA" expcube=/scratch/kocevski/96514/ltcube_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.fits outfile=/scratch/kocevski/96514/expmap_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.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/96514/ltcube_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.fits
.....................!
real 190.83
user 185.27
sys 5.10

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/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits scfile=/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits outfile=/scratch/kocevski/96514/cmap_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits scfile=/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits outfile=/scratch/kocevski/96514/cmap_HighResolution_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits evtable="EVENTS" scfile=/scratch/kocevski/96514/ft2_4FGL_J2345.2-1555_daily_bin321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96514/Model_4FGL_J2345.2-1555_daily_bin321.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/96514/ft1_filtered_4FGL_J2345.2-1555_daily_bin321.fits.....................!
real 48.44
user 47.12
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7711       1.0000         .10000E-03   10000.    
     2 'norm      '    44.139       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4018       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9275       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .36075       1.0000         .10000E-03   10000.    
    11 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61455E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.915       1.0000         .10000E-03   10000.    
    14 'Prefactor '    46.752       1.0000         .10000E-03   10000.    
    15 'Prefactor '    124.71       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7065       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2174       1.0000         .10000E-03   10000.    
    18 'norm      '    3.6862       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6562       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77414       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0576       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=   5451.631     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2176 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7617        12.152        .51652E-06   -.28935E-04
   2  norm          44.138        43.675        .10618E-06   -.64076E-05
   3  Prefactor     .10000E-03    88.360        .15021E-05** at limit **
   4  Prefactor     .10000E-03    15.165        .91450E-06** at limit **
   5  Prefactor     8.3964        23.447        .11215E-05   -.50088E-05
   6  Prefactor     .10000E-03    4.0135        .55978E-06** at limit **
   7  Prefactor     2.8980        141.14        .89129E-05   -.24507E-05
   8  Prefactor     .10000E-03    21.457        .97678E-06** at limit **
   9  Prefactor     .10000E-03    4.7055       -.18236E-05** at limit **
  10  norm          .35984        4.7430        .28403E-05    .15607E-04
  11  norm          .10000E-03    1.1659        .27420E-06** at limit **
  12  Prefactor     .10000E-03    90.800       -.32203E-05** at limit **
  13  Prefactor     12.847        21.030        .16153E-05    .13565E-04
  14  Prefactor     46.767        37.053       -.21618E-05    .66378E-05
  15  Prefactor     124.70        67.316       -.63638E-06   -.39069E-04
  16  Prefactor     3.1767        954.26       -.10438E-03    .26944E-04
  17  norm          1.2174        .76358       -.30117E-07    .93343E-04
  18  norm          3.6863        6.7502        .10200E-05    .33490E-04
  19  Prefactor     4.6579        8.5912        .95230E-06   -.15161E-04
  20  Normalizat    .77388        .19470        .66732E-06   -.16780E-03
  21  Prefactor     1.0579        .17577       -.34393E-05   -.50308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.7617
  norm       = 44.1384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.39642
  Prefactor  = 0.0001
  Prefactor  = 2.89802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.35984
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8465
  Prefactor  = 46.7667
  Prefactor  = 124.703
  Prefactor  = 3.17665
  norm       = 1.21738
  norm       = 3.68628
  Prefactor  = 4.65793
  Normalizat = 0.773885
  Prefactor  = 1.05791
 **********
 **   18 **HESSE 
 **********

 FCN=   5451.631     FROM HESSE     STATUS=OK           323 CALLS     2499 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7617        12.073        .16719E-03   -1.5228    
   2  norm          44.138        43.689        .60344E-04   -1.4378    
   3  Prefactor     .10000E-03    88.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.3964        23.460        .13830E-03   -1.5128    
   6  Prefactor     .10000E-03    4.0335        .14452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8980        139.28        .23742E-03   -1.5367    
   8  Prefactor     .10000E-03    21.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.7509        .15636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .35984        4.8072        .30637E-03   -1.5588    
  11  norm          .10000E-03    1.1771        .77877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    91.043        .21051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.847        21.090        .11146E-03   -1.4991    
  14  Prefactor     46.767        37.193        .58641E-04   -1.4339    
  15  Prefactor     124.70        67.299        .36045E-04   -1.3470    
  16  Prefactor     3.1767        981.78        .20976E-02   -1.5351    
  17  norm          1.2174        .77057        .40235E-04   -1.5487    
  18  norm          3.6863        6.8344        .20190E-03   -1.5324    
  19  Prefactor     4.6579        8.5554        .18651E-03   -1.5276    
  20  Normalizat    .77388        .22357        .26863E-03   -1.0104    
  21  Prefactor     1.0579        .20164        .22332E-03   -.90823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22829e-10
Minuit parameter uncertainties:
  1  12.0779
  2  43.7207
  3  0.000185142
  4  2.88294e-05
  5  23.4853
  6  1.19698e-05
  7  40.2802
  8  3.16419e-05
  9  4.49058e-05
  10  2.63035
  11  1.06177e-05
  12  5.55999e-05
  13  21.1023
  14  37.2116
  15  67.3406
  16  113.623
  17  0.770578
  18  6.83589
  19  8.55769
  20  0.223839
  21  0.201781
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.217e+00  7.706e-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.058e+00  2.018e-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:  7.739e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.28
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 6.96e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 3.68e-05 +/- 2.33e-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) = 5451.62668135
delta logL = 0.00392206778815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5451.62644823
delta logL = 0.00415518877526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2133       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9898       1.0000          .0000       5.0000    
     3 'Normalizat'    .77743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0563       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5451.626     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      254 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2134        .63570        .40746E-04   -.22544E-03
   2  alpha         1.9898        .48151        .11767E-01   -.53891E-05
   3  Normalizat    .77742        .20800        .26810E-03    .12255E-04
   4  Prefactor     1.0563        .19751        .22349E-03    .25485E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21336
  alpha      = 1.98983
  Normalizat = 0.777421
  Prefactor  = 1.0563
 **********
 **   18 **HESSE 
 **********

 FCN=   5451.626     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2134        .63741        .16298E-05   -1.5488    
   2  alpha         1.9898        .48245        .47069E-03   -.20551    
   3  Normalizat    .77742        .20815        .10724E-04   -1.0091    
   4  Prefactor     1.0563        .19767        .89398E-05   -.90876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94427e-12
Minuit parameter uncertainties:
  1  0.637409
  2  0.48563
  3  0.208367
  4  0.197805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96514': 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) = 5451.62644823
delta logL = 0.00415519254784

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.213e+00  6.374e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.990e+00  4.856e-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.056e+00  1.978e-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:  7.774e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.33
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.99 +/- 0.49
Photon Flux (Free Index): 6.62e-08 +/- 5.10e-08
Energy Flux (Free Index): 3.76e-05 +/- 2.16e-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/96514/cmap_HighResolution_322531201_322790401_4FGL_J2345.2-1555_daily_bin321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.96e-08', energy_flux2='3.76e-05', photon_flux_error='4.41e-08', dlogl='4.16e-03', energy_flux='3.68e-05', photon_flux2='6.62e-08', job_status='DONE', time_completed='2021-09-30 04:03:24.929882', photon_index_error2='0.49', photon_index2='1.99', ts='14.28', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='0.77', time_epoch_completed='1632999804.93', return_code='0', job_id='96514', GAL2='1.06', EG2='0.78', return_code2='0', energy_flux_error='2.33e-05', photon_flux_error2='5.10e-08', ts2='14.33', photon_index='2.03' WHERE bin_id='321' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:03:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 96514: <4FGL_J2345.2-1555_daily_bin321> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin321> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 30 03:50:25 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 03:50:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 03:50:26 2021
Terminated at Thu Sep 30 04:03:25 2021
Results reported at Thu Sep 30 04:03:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin321 356.303 -15.9182 322531201 322790401 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 :                                   532.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             223.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            780 sec.

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

