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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1232
RA = 356.303, Dec = -15.9182
tmin = 558662401, tmax = 558921601
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='102710', job_status='RUN', time_executed='2021-09-30 04:06:03.980200', time_epoch_executed='1632999963.98' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102710/ft1_4FGL_J2345.2-1555_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102710/ft1_4FGL_J2345.2-1555_daily_bin1232.fits outfile=/scratch/kocevski/102710/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1232.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=558662401.0 tmax=558921601.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 7.00
user 3.36
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102710/ft1_filtered_4FGL_J2345.2-1555_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/102710/ltcube_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.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/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits
.....................!
real 12.10
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102710/ft1_filtered_4FGL_J2345.2-1555_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/102710/ltcube_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.fits outfile=/scratch/kocevski/102710/expmap_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.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/102710/ltcube_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.fits
.....................!
real 191.08
user 185.65
sys 5.09

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/102710/ft1_filtered_4FGL_J2345.2-1555_daily_bin1232.fits scfile=/scratch/kocevski/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits outfile=/scratch/kocevski/102710/cmap_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.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.55
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102710/ft1_filtered_4FGL_J2345.2-1555_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/102710/ft2_4FGL_J2345.2-1555_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102710/Model_4FGL_J2345.2-1555_daily_bin1232.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/102710/ft1_filtered_4FGL_J2345.2-1555_daily_bin1232.fits.....................!
real 40.48
user 39.25
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7451       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.319       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.791       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.083       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.635       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19764E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.159       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .26841       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.014       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78587       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0789       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=   4288.491     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2201 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7445        6.1573       -.27293E-05   -.23793E-03
   2  norm          .10000E-03    14.199       -.96221E-06** at limit **
   3  Prefactor     .10000E-03    37.620        .10912E-05** at limit **
   4  Prefactor     .10000E-03    8.2675       -.76295E-06** at limit **
   5  Prefactor     11.316        27.295        .35356E-06   -.21608E-04
   6  Prefactor     .10000E-03    3.4618       -.29063E-06** at limit **
   7  Prefactor     18.787        57.907       -.45207E-05    .14792E-04
   8  Prefactor     .10000E-03    13.815        .26953E-06** at limit **
   9  Prefactor     .10000E-03    5.3302       -.66967E-06** at limit **
  10  norm          11.083        6.9929        .77426E-06   -.16510E-03
  11  norm          .10000E-03    2.8268       -.12152E-07** at limit **
  12  Prefactor     26.609        65.903       -.22388E-04    .58962E-04
  13  Prefactor     .10008E-03    96.418        .46466E-05** at limit **
  14  Prefactor     54.154        52.529       -.15096E-05    .24792E-04
  15  Prefactor     .10000E-03    20.810        .49352E-07** at limit **
  16  Prefactor     .10000E-03    310.08        .34826E-05** at limit **
  17  norm          .26834        .46586        .34670E-06    .51686E-03
  18  norm          .10000E-03    2.0533        .42784E-06** at limit **
  19  Prefactor     17.015        8.8030       -.31154E-06    .40026E-04
  20  Normalizat    .78575        .22790        .33060E-05   -.97794E-04
  21  Prefactor     1.0790        .20489       -.13173E-05    .73942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74451
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3161
  Prefactor  = 0.0001
  Prefactor  = 18.7872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0835
  norm       = 0.0001
  Prefactor  = 26.6094
  Prefactor  = 0.000100084
  Prefactor  = 54.1542
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.268342
  norm       = 0.0001
  Prefactor  = 17.0146
  Normalizat = 0.785755
  Prefactor  = 1.07898
 **********
 **   18 **HESSE 
 **********

 FCN=   4288.491     FROM HESSE     STATUS=OK           311 CALLS     2512 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7445        6.2649        .23825E-03   -1.5377    
   2  norm          .10000E-03    14.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    37.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.316        27.300        .11908E-03   -1.5035    
   6  Prefactor     .10000E-03    3.4619        .11899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.787        57.767        .92396E-04   -1.4841    
   8  Prefactor     .10000E-03    13.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.3322        .14728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.083        6.9654        .12034E-03   -1.5042    
  11  norm          .10000E-03    2.8661        .10734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.609        65.640        .77622E-04   -1.4676    
  13  Prefactor     .10008E-03    102.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     54.154        52.476        .54504E-04   -1.4235    
  15  Prefactor     .10000E-03    20.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    310.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .26834        .42083        .56038E-03   -1.5604    
  18  norm          .10000E-03    2.0653        .91489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.015        8.8008        .97099E-04   -1.4883    
  20  Normalizat    .78575        .26526        .27216E-03   -1.0060    
  21  Prefactor     1.0790        .24012        .22208E-03   -.90141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31623e-09
Minuit parameter uncertainties:
  1  6.26639
  2  2.61886e-05
  3  1.98358e-05
  4  1.71096e-05
  5  27.3298
  6  5.09987e-06
  7  57.94
  8  4.17664e-05
  9  1.36556e-05
  10  6.96593
  11  1.95798e-05
  12  65.819
  13  0.00588181
  14  52.521
  15  7.11832e-06
  16  0.000467677
  17  0.420836
  18  2.64225e-06
  19  8.80145
  20  0.265698
  21  0.240356
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.683e-01  4.208e-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.079e+00  2.404e-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.858e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/102710/likelihoodResults_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.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) = 4288.48653974
delta logL = 0.00407759847167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4288.48644461
delta logL = 0.00417273676248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27281       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9367       1.0000          .0000       5.0000    
     3 'Normalizat'    .78766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0778       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=   4288.486     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      189 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27279        .52517        .10305E-01   -.29099E-02
   2  alpha         1.9361        1.1333        .42556E-01    .25344E-05
   3  Normalizat    .78767        .21323        .43449E-01    .27186E-04
   4  Prefactor     1.0778        .20226        .38500E-01   -.85018E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.272793
  alpha      = 1.93608
  Normalizat = 0.787669
  Prefactor  = 1.07776
 **********
 **   18 **HESSE 
 **********

 FCN=   4288.486     FROM HESSE     STATUS=OK            33 CALLS      222 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27279        .42501        .56546E-03   -1.5604    
   2  alpha         1.9361        1.0236        .17022E-02   -.22752    
   3  Normalizat    .78767        .24905        .27185E-03   -1.0053    
   4  Prefactor     1.0778        .23616        .22219E-03   -.90181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.77341e-10
Minuit parameter uncertainties:
  1  0.425012
  2  1.05637
  3  0.249406
  4  0.236384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102710': 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) = 4288.48644444
delta logL = 0.00417290533915

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.728e-01  4.250e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.936e+00  1.056e+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:  1.078e+00  2.364e-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.877e-01  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.66
Ra Dec: 356.303 -15.918

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/102710/cmap_HighResolution_558662401_558921601_4FGL_J2345.2-1555_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-05', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2021-09-30 04:15:29.121690', job_id='102710', GAL2='1.08', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1633000529.12', return_code2='0', ts='0.66', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.17e-03', ts2='0.66', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1232' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:15:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 102710: <4FGL_J2345.2-1555_daily_bin1232> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1232 356.303 -15.9182 558662401 558921601 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 :                                   498.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            598 sec.

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

