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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1313
RA = 356.303, Dec = -15.9182
tmin = 579657601, tmax = 579916801
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='102849', job_status='RUN', time_executed='2021-09-30 04:06:23.089238', time_epoch_executed='1632999983.09' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1313'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102849

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102849/ft1_4FGL_J2345.2-1555_daily_bin1313.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102849/ft2_4FGL_J2345.2-1555_daily_bin1313.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102849/ft1_4FGL_J2345.2-1555_daily_bin1313.fits outfile=/scratch/kocevski/102849/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1313.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=579657601.0 tmax=579916801.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.50
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102849/ft1_filtered_4FGL_J2345.2-1555_daily_bin1313.fits" evtable="EVENTS" scfile=/scratch/kocevski/102849/ft2_4FGL_J2345.2-1555_daily_bin1313.fits sctable="SC_DATA" outfile=/scratch/kocevski/102849/ltcube_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.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/102849/ft2_4FGL_J2345.2-1555_daily_bin1313.fits
.....................!
real 11.55
user 11.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102849/ft1_filtered_4FGL_J2345.2-1555_daily_bin1313.fits evtable="EVENTS" scfile=/scratch/kocevski/102849/ft2_4FGL_J2345.2-1555_daily_bin1313.fits sctable="SC_DATA" expcube=/scratch/kocevski/102849/ltcube_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.fits outfile=/scratch/kocevski/102849/expmap_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.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/102849/ltcube_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.fits
.....................!
real 190.13
user 185.03
sys 4.80

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/102849/ft1_filtered_4FGL_J2345.2-1555_daily_bin1313.fits scfile=/scratch/kocevski/102849/ft2_4FGL_J2345.2-1555_daily_bin1313.fits outfile=/scratch/kocevski/102849/cmap_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.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.52
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4401       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7727       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.273       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.9157       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3220       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12159E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10794E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9807       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.682       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.923       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11377       1.0000         .10000E-03   10000.    
    18 'norm      '    10.128       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.119       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86713       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76284       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=   6781.307     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2200 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4400        4.9635       -.43349E-06   -.20674E-04
   2  norm          .10000E-03    9.1149       -.12512E-06** at limit **
   3  Prefactor     .10000E-03    10.938        .68301E-07** at limit **
   4  Prefactor     7.7724        8.2303        .89278E-07    .26822E-04
   5  Prefactor     13.273        12.750       -.70930E-07   -.37404E-05
   6  Prefactor     8.9147        9.1088        .25377E-06   -.10871E-03
   7  Prefactor     2.2556        131.30        .18427E-04   -.30944E-04
   8  Prefactor     .10000E-03    31.900       -.14723E-05** at limit **
   9  Prefactor     .10000E-03    5.6968       -.21611E-06** at limit **
  10  norm          .10000E-03    3.8233        .24823E-08** at limit **
  11  norm          5.9805        2.6268       -.16105E-07   -.15120E-03
  12  Prefactor     23.682        30.166       -.28877E-05    .37316E-04
  13  Prefactor     .10000E-03    8.9059        .19897E-06** at limit **
  14  Prefactor     .10000E-03    33.066        .55798E-06** at limit **
  15  Prefactor     20.880        42.887       -.17655E-04    .95653E-04
  16  Prefactor     .10000E-03    30.974        .43585E-06** at limit **
  17  norm          .11365        .33195        .23373E-07   -.22194E-02
  18  norm          10.129        4.4916       -.47481E-06   -.32224E-02
  19  Prefactor     11.118        6.0518        .36825E-06   -.13371E-03
  20  Normalizat    .86724        .13855        .58161E-06   -.83595E-04
  21  Prefactor     .76277        .13387        .25704E-06   -.47032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.77244
  Prefactor  = 13.2728
  Prefactor  = 8.91473
  Prefactor  = 2.25556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.98045
  Prefactor  = 23.6822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8804
  Prefactor  = 0.0001
  norm       = 0.113648
  norm       = 10.1291
  Prefactor  = 11.1181
  Normalizat = 0.867236
  Prefactor  = 0.762771
 **********
 **   18 **HESSE 
 **********

 FCN=   6781.307     FROM HESSE     STATUS=OK           321 CALLS     2521 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4400        4.9612        .18744E-03   -1.5287    
   2  norm          .10000E-03    9.1210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7724        8.2320        .14383E-03   -1.5150    
   5  Prefactor     13.273        12.750        .10994E-03   -1.4979    
   6  Prefactor     8.9147        9.1015        .13423E-03   -1.5111    
   7  Prefactor     2.2556        126.33        .26918E-03   -1.5408    
   8  Prefactor     .10000E-03    32.952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.9344        .31372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9805        2.6249        .84872E-04   -1.5219    
  12  Prefactor     23.682        30.014        .82312E-04   -1.4734    
  13  Prefactor     .10000E-03    8.9545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.880        42.072        .87564E-04   -1.4794    
  16  Prefactor     .10000E-03    30.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11365        .31679        .65594E-03   -1.5641    
  18  norm          10.129        4.4070        .48387E-03   -1.5071    
  19  Prefactor     11.118        6.0505        .12015E-03   -1.5041    
  20  Normalizat    .86724        .16145        .22036E-03   -.97621    
  21  Prefactor     .76277        .15522        .22990E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79755e-09
Minuit parameter uncertainties:
  1  4.96162
  2  1.1445e-06
  3  1.26195e-06
  4  8.23315
  5  12.7528
  6  9.10287
  7  33.8346
  8  0.000109836
  9  5.85538e-05
  10  5.42769e-06
  11  2.62492
  12  30.0327
  13  4.9989e-05
  14  5.39142e-05
  15  42.1315
  16  2.11551e-05
  17  0.316792
  18  4.40712
  19  6.0508
  20  0.161536
  21  0.155307
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.136e-01  3.168e-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:  7.628e-01  1.553e-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:  8.672e-01  1.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/102849/likelihoodResults_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.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) = 6781.12069814
delta logL = 0.186564782657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6781.11811642
delta logL = 0.189146502838

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11055       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9594       1.0000          .0000       5.0000    
     3 'Normalizat'    .85180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77073       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=   6781.118     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11055        2.3237        .87125E-02    .36647E-02
   2  alpha         2.9595        3.9779        .42066       -.99437E-05
   3  Normalizat    .85181        .22134E-01    .44283E-01    .45372E-04
   4  Prefactor     .77070        .21874E-01    .43335E-01    .32337E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110555
  alpha      = 2.95953
  Normalizat = 0.851805
  Prefactor  = 0.770697
 **********
 **   18 **HESSE 
 **********

 FCN=   6781.118     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11055        .32621        .39666E-03   -1.5641    
   2  alpha         2.9595        1.8083        .23543E-01    .18486    
   3  Normalizat    .85181        .15881        .22195E-03   -.98175    
   4  Prefactor     .77070        .15479        .22868E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31311e-09
Minuit parameter uncertainties:
  1  0.326216
  2  2.03211
  3  0.158895
  4  0.154875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102849': 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) = 6781.11811636
delta logL = 0.189146559464

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.106e-01  3.262e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.960e+00  2.032e+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:  7.707e-01  1.549e-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:  8.518e-01  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/102849/cmap_HighResolution_579657601_579916801_4FGL_J2345.2-1555_daily_bin1313.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='5.17e-08', time_completed='2021-09-30 04:17:04.286925', job_id='102849', GAL2='0.77', fit_tolerance='1e-08', EG2='0.85', EG='0.87', time_epoch_completed='1633000624.29', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.89e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1313' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:17:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 102849: <4FGL_J2345.2-1555_daily_bin1313> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1313 356.303 -15.9182 579657601 579916801 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 :                                   604.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            682 sec.

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

