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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1294
RA = 356.303, Dec = -15.9182
tmin = 574732801, tmax = 574992001
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='102819', job_status='RUN', time_executed='2021-09-30 04:07:50.181454', time_epoch_executed='1633000070.18' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102819/ft1_4FGL_J2345.2-1555_daily_bin1294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102819/ft1_4FGL_J2345.2-1555_daily_bin1294.fits outfile=/scratch/kocevski/102819/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1294.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=574732801.0 tmax=574992001.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 5.35
user 5.09
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits" evtable="EVENTS" scfile=/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits sctable="SC_DATA" outfile=/scratch/kocevski/102819/ltcube_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.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/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits
.....................!
real 11.74
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits sctable="SC_DATA" expcube=/scratch/kocevski/102819/ltcube_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.fits outfile=/scratch/kocevski/102819/expmap_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.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/102819/ltcube_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.fits
.....................!
real 190.07
user 184.72
sys 5.03

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/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits scfile=/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits outfile=/scratch/kocevski/102819/cmap_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits scfile=/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits outfile=/scratch/kocevski/102819/cmap_HighResolution_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.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/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/102819/ft2_4FGL_J2345.2-1555_daily_bin1294.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102819/Model_4FGL_J2345.2-1555_daily_bin1294.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/102819/ft1_filtered_4FGL_J2345.2-1555_daily_bin1294.fits.....................!
real 54.78
user 53.47
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32599       1.0000         .10000E-03   10000.    
     2 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.848       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .81604       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.056       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4322       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1299       1.0000         .10000E-03   10000.    
    11 'norm      '    12.943       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.221       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8100       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .69968       1.0000         .10000E-03   10000.    
    18 'norm      '    18.357       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0390       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96724       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1126       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=   6689.216     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2200 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31350        15.120       -.45206E-05    .61765E-03
   2  norm          .10000E-03    9.3761        .12459E-06** at limit **
   3  Prefactor     13.827        47.853        .57666E-05    .13389E-03
   4  Prefactor     .10000E-03    17.637       -.69852E-06** at limit **
   5  Prefactor     .10000E-03    6.1913       -.67031E-08** at limit **
   6  Prefactor     .78441        8.0911       -.15649E-08    .24280E-04
   7  Prefactor     28.022        58.705       -.90508E-06   -.71628E-05
   8  Prefactor     .10000E-03    8.2124       -.61777E-07** at limit **
   9  Prefactor     1.4476        17.055        .52878E-05    .21044E-04
  10  norm          2.1256        3.6025       -.82978E-06   -.19603E-03
  11  norm          12.943        4.1426        .11166E-06   -.50615E-04
  12  Prefactor     .10000E-03    40.272        .52306E-06** at limit **
  13  Prefactor     14.222        13.982        .29132E-06   -.14122E-04
  14  Prefactor     3.7970        17.080        .11499E-05    .11377E-04
  15  Prefactor     .10000E-03    22.031        .17917E-05** at limit **
  16  Prefactor     .10000E-03    34.903       -.21248E-05** at limit **
  17  norm          .69972        .61464        .13511E-07    .21528E-03
  18  norm          18.358        6.3746        .94790E-07    .14025E-04
  19  Prefactor     2.0319        9.9980        .40146E-05    .47518E-03
  20  Normalizat    .96716        .18102       -.20268E-05    .11469E-03
  21  Prefactor     1.1126        .17092       -.83901E-07    .70218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.313499
  norm       = 0.0001
  Prefactor  = 13.8267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.784408
  Prefactor  = 28.0222
  Prefactor  = 0.0001
  Prefactor  = 1.44764
  norm       = 2.12563
  norm       = 12.9434
  Prefactor  = 0.0001
  Prefactor  = 14.2218
  Prefactor  = 3.79703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.699717
  norm       = 18.3584
  Prefactor  = 2.03194
  Normalizat = 0.967159
  Prefactor  = 1.11263
 **********
 **   18 **HESSE 
 **********

 FCN=   6689.216     FROM HESSE     STATUS=OK           325 CALLS     2525 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31350        154.49        .40104E-02   -1.5596    
   2  norm          .10000E-03    9.3839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.827        49.907        .10764E-03   -1.4964    
   4  Prefactor     .10000E-03    17.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .78441        71.919        .43918E-02   -1.5531    
   7  Prefactor     28.022        58.705        .75636E-04   -1.4649    
   8  Prefactor     .10000E-03    8.2165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4476        17.254        .36089E-03   -1.5467    
  10  norm          2.1256        3.5912        .19187E-03   -1.5416    
  11  norm          12.943        4.1415        .88428E-04   -1.4988    
  12  Prefactor     .10000E-03    40.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.222        13.977        .10621E-03   -1.4954    
  14  Prefactor     3.7970        17.034        .20679E-03   -1.5318    
  15  Prefactor     .10000E-03    22.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    34.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .69972        .58856        .50829E-04   -1.5541    
  18  norm          18.358        6.2540        .93480E-04   -1.4851    
  19  Prefactor     2.0319        11.208        .14481E-02   -1.5423    
  20  Normalizat    .96716        .21128        .26055E-03   -.94139    
  21  Prefactor     1.1126        .20350        .24435E-03   -.89064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06452e-08
Minuit parameter uncertainties:
  1  13.9526
  2  8.65781e-06
  3  50.0585
  4  2.55457e-05
  5  4.16655e-06
  6  15.0395
  7  58.826
  8  1.7239e-06
  9  9.99867
  10  3.59153
  11  4.14161
  12  5.23286e-05
  13  13.9799
  14  16.0918
  15  7.22458e-05
  16  9.12338e-05
  17  0.588563
  18  6.25418
  19  9.5471
  20  0.211459
  21  0.203642
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.997e-01  5.886e-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.113e+00  2.036e-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:  9.672e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.71
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 4.00e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 2.12e-05 +/- 1.78e-05

TS (Fixed Index): 3.71
Ra Dec: 356.303 -15.918
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102819/likelihoodResults_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.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) = 6689.07580944
delta logL = 0.140536062655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6689.07105637
delta logL = 0.145289136866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65690       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3680       1.0000          .0000       5.0000    
     3 'Normalizat'    .95145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1210       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=   6689.071     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65692        8.6502        .10014E-01    .36305E-03
   2  alpha         2.3680        3.5672        .30182        .71763E-04
   3  Normalizat    .95147        .57984E-01    .45556E-01    .35654E-04
   4  Prefactor     1.1209        .52986E-01    .55061E-01   -.71876E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.656918
  alpha      = 2.36803
  Normalizat = 0.951473
  Prefactor  = 1.12093
 **********
 **   18 **HESSE 
 **********

 FCN=   6689.071     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65692        .51758        .44900E-04   -1.5546    
   2  alpha         2.3680        .63612        .14885E-01   -.52812E-01
   3  Normalizat    .95147        .20234        .26226E-03   -.94674    
   4  Prefactor     1.1209        .20058        .24346E-03   -.88800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1732e-10
Minuit parameter uncertainties:
  1  0.51758
  2  0.643211
  3  0.202503
  4  0.200715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102819': 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) = 6689.07105635
delta logL = 0.145289155527

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.569e-01  5.176e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.368e+00  6.432e-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.121e+00  2.007e-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:  9.515e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.08
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 2.37 +/- 0.64
Photon Flux (Free Index): 5.61e-08 +/- 4.70e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.40e-05

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/102819/cmap_HighResolution_574732801_574992001_4FGL_J2345.2-1555_daily_bin1294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-05', comment='SUCCESS', photon_flux='4.00e-08', energy_flux2='1.92e-05', photon_flux_error='3.36e-08', dlogl='1.45e-01', energy_flux='2.12e-05', photon_flux2='5.61e-08', job_status='DONE', time_completed='2021-09-30 04:19:10.269237', photon_index_error2='0.64', photon_index2='2.37', ts='3.71', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.40e-05', EG='0.97', time_epoch_completed='1633000750.27', return_code='0', job_id='102819', GAL2='1.12', EG2='0.95', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='4.70e-08', ts2='4.08', photon_index='2.03' WHERE bin_id='1294' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:19:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 102819: <4FGL_J2345.2-1555_daily_bin1294> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1294 356.303 -15.9182 574732801 574992001 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 :                                   621.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

