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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1083
RA = 356.303, Dec = -15.9182
tmin = 520041601, tmax = 520300801
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='101259', job_status='RUN', time_executed='2021-09-30 04:04:01.195858', time_epoch_executed='1632999841.2' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1083'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101259

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101259/ft1_4FGL_J2345.2-1555_daily_bin1083.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101259/ft1_4FGL_J2345.2-1555_daily_bin1083.fits outfile=/scratch/kocevski/101259/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1083.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=520041601.0 tmax=520300801.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 4.29
user 4.01
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.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/101259/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1083.fits evtable="EVENTS" outfile="/scratch/kocevski/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.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/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.fits" evtable="EVENTS" scfile=/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits sctable="SC_DATA" outfile=/scratch/kocevski/101259/ltcube_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.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/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/101259/ltcube_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.fits outfile=/scratch/kocevski/101259/expmap_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.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/101259/ltcube_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.fits
.....................!
real 192.40
user 186.99
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/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.fits scfile=/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits outfile=/scratch/kocevski/101259/cmap_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.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.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/101259/ft2_4FGL_J2345.2-1555_daily_bin1083.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101259/Model_4FGL_J2345.2-1555_daily_bin1083.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/101259/ft1_filtered_4FGL_J2345.2-1555_daily_bin1083.fits.....................!
real 51.26
user 49.29
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33080E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.0447       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.922       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.103       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    75.079       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.708       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1873       1.0000         .10000E-03   10000.    
    11 'norm      '    8.1622       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0885       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.712       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.0230       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2383       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .60618       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0632       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=   6195.683     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2328 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10023E-03    10.969        .19990E-05** at limit **
   2  norm          4.0426        40.264        .38108E-06   -.52465E-05
   3  Prefactor     12.928        64.646       -.40866E-06   -.77617E-04
   4  Prefactor     9.8169        9.5832       -.85242E-07   -.79061E-04
   5  Prefactor     17.106        22.635        .24513E-06    .10214E-04
   6  Prefactor     6.1278        5.4519       -.33003E-07   -.19854E-04
   7  Prefactor     75.097        50.668        .13545E-05    .14125E-03
   8  Prefactor     .10000E-03    13.511       -.39649E-06** at limit **
   9  Prefactor     18.707        10.355       -.57779E-06   -.13445E-03
  10  norm          1.1890        4.6709        .24046E-05    .12142E-03
  11  norm          8.1629        3.9397        .57209E-07    .19961E-04
  12  Prefactor     5.0691        123.55       -.36003E-05   -.31060E-04
  13  Prefactor     .10000E-03    31.836       -.34124E-05** at limit **
  14  Prefactor     16.714        24.929        .16331E-06    .10174E-04
  15  Prefactor     .10000E-03    15.915        .64725E-07** at limit **
  16  Prefactor     .10000E-03    65.000        .14749E-06** at limit **
  17  norm          6.0231        .95020        .10631E-07   -.47514E-04
  18  norm          .10000E-03    1.2253       -.34434E-07** at limit **
  19  Prefactor     6.2361        7.8304       -.68003E-07   -.35872E-03
  20  Normalizat    .60612        .17473        .45815E-06   -.20813E-03
  21  Prefactor     1.0633        .16907       -.80839E-06   -.21434E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100234
  norm       = 4.04265
  Prefactor  = 12.9277
  Prefactor  = 9.81687
  Prefactor  = 17.1055
  Prefactor  = 6.12781
  Prefactor  = 75.097
  Prefactor  = 0.0001
  Prefactor  = 18.7067
  norm       = 1.18897
  norm       = 8.16286
  Prefactor  = 5.06908
  Prefactor  = 0.0001
  Prefactor  = 16.7138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.02312
  norm       = 0.0001
  Prefactor  = 6.23614
  Normalizat = 0.606119
  Prefactor  = 1.06328
 **********
 **   18 **HESSE 
 **********

 FCN=   6195.683     FROM HESSE     STATUS=OK           321 CALLS     2649 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10023E-03    55.264        .41638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0426        40.269        .20050E-03   -1.5306    
   3  Prefactor     12.928        57.066        .11143E-03   -1.4989    
   4  Prefactor     9.8169        9.5838        .12789E-03   -1.5081    
   5  Prefactor     17.106        22.644        .96847E-04   -1.4881    
   6  Prefactor     6.1278        5.4548        .16218E-03   -1.5213    
   7  Prefactor     75.097        51.861        .46339E-04   -1.3973    
   8  Prefactor     .10000E-03    13.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.707        10.406        .92599E-04   -1.4843    
  10  norm          1.1890        4.7466        .32130E-03   -1.5490    
  11  norm          8.1629        3.9363        .99207E-04   -1.5136    
  12  Prefactor     5.0691        125.16        .17824E-03   -1.5258    
  13  Prefactor     .10000E-03    31.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.714        24.931        .97971E-04   -1.4890    
  15  Prefactor     .10000E-03    15.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    65.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.0231        .95062        .28912E-04   -1.5217    
  18  norm          .10000E-03    1.2278        .85036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2361        7.6408        .16072E-03   -1.5208    
  20  Normalizat    .60612        .20157        .29072E-03   -1.0772    
  21  Prefactor     1.0633        .19574        .22427E-03   -.90649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31664e-09
Minuit parameter uncertainties:
  1  0.0072
  2  25.54
  3  54.4093
  4  9.58526
  5  22.6549
  6  5.45526
  7  51.8923
  8  7.07751e-06
  9  10.4071
  10  4.74812
  11  3.93639
  12  50.4954
  13  8.00639e-05
  14  24.9461
  15  3.00616e-06
  16  4.69778e-05
  17  0.950626
  18  6.64908e-08
  19  7.64201
  20  0.201815
  21  0.195873
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.023e+00  9.506e-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.063e+00  1.959e-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:  6.061e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 198.15
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.44e-07 +/- 5.43e-08
Energy Flux (Fixed Index): 1.82e-04 +/- 2.88e-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) = 6192.21766575
delta logL = 3.46510181788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6192.18269395
delta logL = 3.50007362245

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4093       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6523       1.0000          .0000       5.0000    
     3 'Normalizat'    .69315       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       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=   6192.183     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4093        1.0550        .39634E-02   -.59825E-02
   2  alpha         1.6523        .13993        .10200       -.33003E-05
   3  Normalizat    .69315        .16475        .61956E-01    .12689E-04
   4  Prefactor     1.0171        .16334        .42439E-01    .15092E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.40934
  alpha      = 1.65228
  Normalizat = 0.693146
  Prefactor  = 1.01713
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.183     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4093        1.0609        .31505E-04   -1.5202    
   2  alpha         1.6523        .14205        .44644E-03   -.34595    
   3  Normalizat    .69315        .19433        .27408E-03   -1.0416    
   4  Prefactor     1.0171        .19281        .22918E-03   -.92161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12425e-10
Minuit parameter uncertainties:
  1  1.06091
  2  0.142138
  3  0.194522
  4  0.192941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101259': 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) = 6192.18269394
delta logL = 3.50007363128

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.409e+00  1.061e+00  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.652e+00  1.421e-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.017e+00  1.929e-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:  6.931e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 204.35
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.65 +/- 0.14
Photon Flux (Free Index): 2.60e-07 +/- 5.28e-08
Energy Flux (Free Index): 2.85e-04 +/- 7.32e-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/101259/cmap_HighResolution_520041601_520300801_4FGL_J2345.2-1555_daily_bin1083.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.44e-07', energy_flux2='2.85e-04', photon_flux_error='5.43e-08', dlogl='3.50e+00', energy_flux='1.82e-04', photon_flux2='2.60e-07', job_status='DONE', time_completed='2021-09-30 04:14:02.085904', photon_index_error2='0.14', photon_index2='1.65', ts='198.15', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='7.32e-05', EG='0.61', time_epoch_completed='1633000442.09', return_code='0', job_id='101259', GAL2='1.02', EG2='0.69', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='5.28e-08', ts2='204.35', photon_index='2.03' WHERE bin_id='1083' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:14:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 101259: <4FGL_J2345.2-1555_daily_bin1083> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1083> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:42 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:44 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:00:44 2021
Terminated at Thu Sep 30 04:14:02 2021
Results reported at Thu Sep 30 04:14:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1083 356.303 -15.9182 520041601 520300801 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 :                                   549.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

