/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 141 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 = 7569
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin195
RA = 356.303, Dec = -15.9182
tmin = 289872001, tmax = 290131201
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='94961', job_status='RUN', time_executed='2021-09-30 03:47:57.726266', time_epoch_executed='1632998877.73' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94961

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94961/ft1_4FGL_J2345.2-1555_daily_bin195.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94961/ft1_4FGL_J2345.2-1555_daily_bin195.fits outfile=/scratch/kocevski/94961/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin195.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=289872001.0 tmax=290131201.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.49
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits" evtable="EVENTS" scfile=/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits sctable="SC_DATA" outfile=/scratch/kocevski/94961/ltcube_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.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/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits
.....................!
real 11.84
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits sctable="SC_DATA" expcube=/scratch/kocevski/94961/ltcube_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.fits outfile=/scratch/kocevski/94961/expmap_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.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/94961/ltcube_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.fits
.....................!
real 190.42
user 185.34
sys 4.76

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/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits scfile=/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits outfile=/scratch/kocevski/94961/cmap_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits scfile=/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits outfile=/scratch/kocevski/94961/cmap_HighResolution_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.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/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/94961/ft2_4FGL_J2345.2-1555_daily_bin195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94961/Model_4FGL_J2345.2-1555_daily_bin195.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/94961/ft1_filtered_4FGL_J2345.2-1555_daily_bin195.fits.....................!
real 49.55
user 48.30
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11126E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13153E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7607       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3207       1.0000         .10000E-03   10000.    
    11 'norm      '    6.8667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    70.433       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9486       1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.651       1.0000         .10000E-03   10000.    
    17 'norm      '    .58252       1.0000         .10000E-03   10000.    
    18 'norm      '    7.3785       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .60033       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2243       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94715       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=   5819.355     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2240 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.580       -.66768E-05** at limit **
   2  norm          .10000E-03    14.253        .64720E-05** at limit **
   3  Prefactor     .10000E-03    54.954        .40708E-05** at limit **
   4  Prefactor     .10001E-03    11.942       -.10167E-05** at limit **
   5  Prefactor     3.7604        13.750       -.10769E-05   -.67035E-05
   6  Prefactor     .10000E-03    6.8786       -.10276E-05** at limit **
   7  Prefactor     26.703        69.274       -.35839E-04    .14110E-04
   8  Prefactor     .10000E-03    8.3067       -.15355E-07** at limit **
   9  Prefactor     .10000E-03    5.1157        .32243E-06** at limit **
  10  norm          1.3201        .71521        .14434E-06   -.24222E-02
  11  norm          6.8666        3.8295       -.28352E-06   -.36712E-03
  12  Prefactor     70.435        55.602        .17617E-05    .37553E-04
  13  Prefactor     .10000E-03    7.7295       -.13687E-06** at limit **
  14  Prefactor     .10000E-03    9.2771        .58915E-06** at limit **
  15  Prefactor     8.9469        33.698       -.14680E-05    .13423E-04
  16  Prefactor     46.617        97.774       -.43981E-04    .36351E-05
  17  norm          .58249        .45561       -.55437E-07   -.11627E-04
  18  norm          7.3779        4.2749       -.18300E-06    .80360E-04
  19  Prefactor     .59334        4.9370       -.81689E-06    .15542E-04
  20  Normalizat    1.2248        .20044        .31841E-05    .24593E-03
  21  Prefactor     .94678        .18355        .17838E-05    .34380E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 3.76045
  Prefactor  = 0.000100002
  Prefactor  = 26.7031
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.3201
  norm       = 6.86664
  Prefactor  = 70.4354
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.94693
  Prefactor  = 46.6173
  norm       = 0.582491
  norm       = 7.37794
  Prefactor  = 0.593342
  Normalizat = 1.22479
  Prefactor  = 0.94678
 **********
 **   18 **HESSE 
 **********

 FCN=   5819.355     FROM HESSE     STATUS=OK           319 CALLS     2559 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    14.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    55.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    74.047        .51176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7604        13.737        .20819E-03   -1.5320    
   6  Prefactor     .10000E-03    26.317        .38779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.703        71.033        .77491E-04   -1.4674    
   8  Prefactor     .10000E-03    8.3082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.1284        .16845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3201        7.6670        .19144E-02   -1.5478    
  11  norm          6.8666        3.8390        .53276E-03   -1.5184    
  12  Prefactor     70.435        55.871        .47832E-04   -1.4027    
  13  Prefactor     .10000E-03    7.7367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.2854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9469        33.706        .13399E-03   -1.5110    
  16  Prefactor     46.617        97.991        .58705E-04   -1.4341    
  17  norm          .58249        .47077        .41361E-04   -1.5555    
  18  norm          7.3779        4.3340        .10867E-03   -1.5165    
  19  Prefactor     .59334        33.888        .30858E-02   -1.5554    
  20  Normalizat    1.2248        .24370        .24218E-03   -.85840    
  21  Prefactor     .94678        .22179        .26069E-03   -.94525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85979e-08
Minuit parameter uncertainties:
  1  3.36918e-05
  2  1.95261e-05
  3  9.37263e-05
  4  0.00122765
  5  13.7485
  6  0.00041468
  7  71.2594
  8  7.74621e-06
  9  0.000118583
  10  6.36376
  11  3.8391
  12  55.9124
  13  2.16898e-05
  14  1.94842e-05
  15  33.7781
  16  98.3318
  17  0.470773
  18  4.33422
  19  8.97274
  20  0.243931
  21  0.222004
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  5.825e-01  4.708e-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:  9.468e-01  2.220e-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.225e+00  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.20
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.33e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.42e-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) = 5818.7182697
delta logL = 0.636352425739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5818.61930325
delta logL = 0.735318876852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10616       1.0000         .10000E-03   10000.    
     2 'alpha     '    .75564       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94563       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=   5818.619     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      216 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10619        .11262        .54508E-02   -.18083E-02
   2  alpha         .75573        .48916        .37614       -.17486E-04
   3  Normalizat    1.2419        .18884        .54516E-01    .79348E-04
   4  Prefactor     .94564        .18232        .45584E-01   -.31724E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.106188
  alpha      = 0.755733
  Normalizat = 1.24195
  Prefactor  = 0.945638
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.619     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10619        .27556        .20947E-03   -1.5643    
   2  alpha         .75573        .98519        .16761E-02   -.77219    
   3  Normalizat    1.2419        .22495        .24106E-03   -.85316    
   4  Prefactor     .94564        .21723        .26126E-03   -.94564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76531e-11
Minuit parameter uncertainties:
  1  0.275566
  2  1.04319
  3  0.225125
  4  0.217427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94961': 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) = 5818.61930323
delta logL = 0.735318902282

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.062e-01  2.756e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  7.557e-01  1.043e+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:  9.456e-01  2.174e-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.242e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.68
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 0.76 +/- 1.04
Photon Flux (Free Index): 4.94e-09 +/- 7.30e-09
Energy Flux (Free Index): 4.92e-05 +/- 7.57e-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/94961/cmap_HighResolution_289872001_290131201_4FGL_J2345.2-1555_daily_bin195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.33e-08', energy_flux2='4.92e-05', photon_flux_error='2.69e-08', dlogl='7.35e-01', energy_flux='1.76e-05', photon_flux2='4.94e-09', job_status='DONE', time_completed='2021-09-30 03:56:55.343143', photon_index_error2='1.04', photon_index2='0.76', ts='9.20', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='7.57e-05', EG='1.22', time_epoch_completed='1632999415.34', return_code='0', job_id='94961', GAL2='0.95', EG2='1.24', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='7.30e-09', ts2='10.68', photon_index='2.03' WHERE bin_id='195' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 03:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 94961: <4FGL_J2345.2-1555_daily_bin195> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin195> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 03:45:26 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 03:45:28 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:45:28 2021
Terminated at Thu Sep 30 03:56:56 2021
Results reported at Thu Sep 30 03:56:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin195 356.303 -15.9182 289872001 290131201 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 :                                   531.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             248.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            690 sec.

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

