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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1035
RA = 356.303, Dec = -15.9182
tmin = 507600001, tmax = 507859201
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='101189', job_status='RUN', time_executed='2021-09-30 04:01:37.205526', time_epoch_executed='1632999697.21' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101189/ft1_4FGL_J2345.2-1555_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101189/ft1_4FGL_J2345.2-1555_daily_bin1035.fits outfile=/scratch/kocevski/101189/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1035.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=507600001.0 tmax=507859201.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.57
user 3.36
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/101189/ltcube_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.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/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits
.....................!
real 14.50
user 14.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/101189/ltcube_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.fits outfile=/scratch/kocevski/101189/expmap_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.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/101189/ltcube_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.fits
.....................!
real 191.16
user 185.46
sys 5.38

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/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits scfile=/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits outfile=/scratch/kocevski/101189/cmap_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits scfile=/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits outfile=/scratch/kocevski/101189/cmap_HighResolution_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/101189/ft2_4FGL_J2345.2-1555_daily_bin1035.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101189/Model_4FGL_J2345.2-1555_daily_bin1035.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/101189/ft1_filtered_4FGL_J2345.2-1555_daily_bin1035.fits.....................!
real 49.83
user 48.61
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1296       1.0000         .10000E-03   10000.    
     2 'norm      '    38.497       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.582       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.066       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.785       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .20346E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    66.883       1.0000         .10000E-03   10000.    
    17 'norm      '    .15668       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1275       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.1548       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96079       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95293       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=   5960.451     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2159 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1301        4.0312       -.27285E-07   -.11323E-02
   2  norm          38.500        29.508        .10693E-05    .11739E-04
   3  Prefactor     28.586        43.483        .40874E-05    .12806E-04
   4  Prefactor     .10000E-03    4.6859       -.97340E-07** at limit **
   5  Prefactor     .10000E-03    5.4225        .42949E-07** at limit **
   6  Prefactor     16.067        11.847        .94103E-07    .24694E-05
   7  Prefactor     .10000E-03    25.794        .76882E-05** at limit **
   8  Prefactor     37.776        24.587       -.15188E-05   -.15214E-04
   9  Prefactor     .10000E-03    4.4049       -.11123E-06** at limit **
  10  norm          .10000E-03    3.0859       -.46166E-07** at limit **
  11  norm          .10000E-03    1.1884       -.42640E-07** at limit **
  12  Prefactor     .10000E-03    87.516       -.53820E-06** at limit **
  13  Prefactor     .10000E-03    7.2034       -.63503E-07** at limit **
  14  Prefactor     .10000E-03    23.895       -.81007E-05** at limit **
  15  Prefactor     .10000E-03    17.489        .76384E-06** at limit **
  16  Prefactor     66.884        63.177        .91703E-06    .13754E-04
  17  norm          .15639        .52857       -.63491E-07   -.40898E-03
  18  norm          5.1255        4.9066        .31543E-06   -.11556E-02
  19  Prefactor     8.1559        6.1990       -.93245E-07   -.22585E-04
  20  Normalizat    .96066        .16627        .32724E-06    .46522E-04
  21  Prefactor     .95293        .16207       -.21442E-06    .63654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.13009
  norm       = 38.4997
  Prefactor  = 28.5865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0673
  Prefactor  = 0.0001
  Prefactor  = 37.7765
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.8843
  norm       = 0.156389
  norm       = 5.12554
  Prefactor  = 8.15591
  Normalizat = 0.960658
  Prefactor  = 0.952926
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.451     FROM HESSE     STATUS=OK           317 CALLS     2476 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1301        5.6366        .11459E-02   -1.5354    
   2  norm          38.500        29.509        .64598E-04   -1.4466    
   3  Prefactor     28.586        43.717        .74938E-04   -1.4638    
   4  Prefactor     .10000E-03    4.6889        .16323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4235        .17559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.067        11.848        .99924E-04   -1.4906    
   7  Prefactor     .10000E-03    25.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.776        24.603        .32601E-03   -1.4478    
   9  Prefactor     .10000E-03    4.4308        .15822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.1467        .13242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.563        .16208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    88.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.2203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     66.884        63.252        .49076E-04   -1.4070    
  17  norm          .15639        .64092        .75028E-03   -1.5629    
  18  norm          5.1255        5.7294        .71585E-03   -1.5255    
  19  Prefactor     8.1559        6.2026        .14040E-03   -1.5137    
  20  Normalizat    .96066        .19545        .23603E-03   -.94360    
  21  Prefactor     .95293        .19096        .23276E-03   -.94315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15904e-08
Minuit parameter uncertainties:
  1  5.63756
  2  29.5201
  3  43.7656
  4  4.32387e-06
  5  7.2619e-08
  6  11.8496
  7  6.88023e-05
  8  24.6092
  9  2.76873e-06
  10  1.12497e-06
  11  0.000175168
  12  4.27208e-05
  13  1.66618e-06
  14  5.78202e-05
  15  4.30227e-06
  16  63.3157
  17  0.632998
  18  5.72998
  19  6.20304
  20  0.195591
  21  0.191099
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.564e-01  6.330e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  9.529e-01  1.911e-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.607e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/101189/likelihoodResults_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.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): 102
logL (Free Index) = 5959.92036989
delta logL = 0.530143035427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.7541479
delta logL = 0.696365021068

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47980E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1028       1.0000          .0000       5.0000    
     3 'Normalizat'    .88827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99788       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=   5959.754     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      216 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47874E-01    .63419        .31537E-02    .42250E-02
   2  alpha         4.1040        4.5187        .41676        .54473E-04
   3  Normalizat    .88820        .37811E-01    .44752E-01    .12623E-04
   4  Prefactor     .99799        .37485E-01    .46241E-01    .33458E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0478738
  alpha      = 4.104
  Normalizat = 0.888196
  Prefactor  = 0.997988
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.754     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47874E-01    .19815        .14254E-04   -1.5664    
   2  alpha         4.1040        3.8804        .18225E-02    .69658    
   3  Normalizat    .88820        .19940        .24408E-03   -.96876    
   4  Prefactor     .99799        .19193        .22793E-03   -.92797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75446e-13
Minuit parameter uncertainties:
  1  0.194594
  2  2.25816
  3  0.199562
  4  0.192057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101189': 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) = 5959.75414752
delta logL = 0.696365399916

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  4.787e-02  1.946e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  4.104e+00  2.258e+00  0.000e+00  5.000e+00 ( 1.000e+00)
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  9.980e-01  1.921e-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.882e-01  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 4.10 +/- 2.26
Photon Flux (Free Index): 6.43e-08 +/- 5.76e-08
Energy Flux (Free Index): 9.90e-06 +/- 9.70e-06

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/101189/cmap_HighResolution_507600001_507859201_4FGL_J2345.2-1555_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-05', comment='SUCCESS', energy_flux2='9.90e-06', dlogl='6.96e-01', photon_flux2='6.43e-08', job_status='DONE', time_completed='2021-09-30 04:11:24.258626', photon_index_error2='2.26', photon_index2='4.10', ts='0.11', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.62e-08', energy_flux_error2='9.70e-06', EG='0.96', time_epoch_completed='1633000284.26', return_code='0', job_id='101189', GAL2='1.00', EG2='0.89', return_code2='0', photon_flux_error2='5.76e-08', ts2='1.61', photon_index='2.03' WHERE bin_id='1035' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:11:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 101189: <4FGL_J2345.2-1555_daily_bin1035> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1035> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:36 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:37 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:37 2021
Terminated at Thu Sep 30 04:11:25 2021
Results reported at Thu Sep 30 04:11:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1035 356.303 -15.9182 507600001 507859201 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 :                                   583.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            649 sec.

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

