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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1010
RA = 356.303, Dec = -15.9182
tmin = 501120001, tmax = 501379201
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='101152', job_status='RUN', time_executed='2021-09-30 04:00:46.468434', time_epoch_executed='1632999646.47' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101152

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101152/ft1_4FGL_J2345.2-1555_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101152/ft1_4FGL_J2345.2-1555_daily_bin1010.fits outfile=/scratch/kocevski/101152/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1010.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=501120001.0 tmax=501379201.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.66
user 3.31
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.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/101152/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1010.fits evtable="EVENTS" outfile="/scratch/kocevski/101152/ft1_filtered_4FGL_J2345.2-1555_daily_bin1010.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101152/ft1_filtered_4FGL_J2345.2-1555_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/101152/ltcube_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.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/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.fits
.....................!
real 12.17
user 11.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101152/ft1_filtered_4FGL_J2345.2-1555_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/101152/ltcube_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.fits outfile=/scratch/kocevski/101152/expmap_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.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/101152/ltcube_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.fits
.....................!
real 189.68
user 185.00
sys 4.17

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/101152/ft1_filtered_4FGL_J2345.2-1555_daily_bin1010.fits scfile=/scratch/kocevski/101152/ft2_4FGL_J2345.2-1555_daily_bin1010.fits outfile=/scratch/kocevski/101152/cmap_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.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.54
user 0.36
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9613       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9496       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.904       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3249       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.6878       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9654       1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.853       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.443       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    92.304       1.0000         .10000E-03   10000.    
    17 'norm      '    .30120       1.0000         .10000E-03   10000.    
    18 'norm      '    9.1519       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .22256E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74358       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94524       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=   4713.187     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2229 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9652        11.393       -.17760E-05    .25402E-03
   2  norm          .10000E-03    12.901        .15242E-05** at limit **
   3  Prefactor     8.9571        42.015        .17074E-04    .25162E-04
   4  Prefactor     .10000E-03    9.5066       -.39135E-06** at limit **
   5  Prefactor     .10000E-03    39.697       -.18799E-04** at limit **
   6  Prefactor     10.904        15.041       -.56142E-06   -.38650E-04
   7  Prefactor     .10000E-03    33.721        .26737E-04** at limit **
   8  Prefactor     8.3246        28.141       -.15874E-06   -.16273E-04
   9  Prefactor     .10000E-03    5.6188       -.90661E-07** at limit **
  10  norm          4.6874        5.1012       -.31114E-06   -.17610E-03
  11  norm          1.9654        2.8666        .81958E-06   -.34273E-04
  12  Prefactor     65.840        99.788       -.15669E-04   -.11432E-04
  13  Prefactor     7.0142        33.866        .97034E-05    .25107E-04
  14  Prefactor     10.435        30.319       -.15885E-04   -.17091E-04
  15  Prefactor     .10000E-03    38.716       -.43036E-05** at limit **
  16  Prefactor     92.299        88.054       -.53137E-05    .57292E-05
  17  norm          .30118        .40557       -.51578E-07   -.16772E-03
  18  norm          9.1515        5.2505        .42708E-06    .56162E-04
  19  Prefactor     .10004E-03    6.8421       -.24185E-05** at limit **
  20  Normalizat    .74370        .18245        .36536E-05    .19821E-03
  21  Prefactor     .94516        .17171       -.93913E-06    .41857E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.96518
  norm       = 0.0001
  Prefactor  = 8.95707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9044
  Prefactor  = 0.0001
  Prefactor  = 8.32463
  Prefactor  = 0.0001
  norm       = 4.68744
  norm       = 1.96539
  Prefactor  = 65.8396
  Prefactor  = 7.0142
  Prefactor  = 10.4349
  Prefactor  = 0.0001
  Prefactor  = 92.2989
  norm       = 0.301177
  norm       = 9.15151
  Prefactor  = 0.000100041
  Normalizat = 0.743701
  Prefactor  = 0.945162
 **********
 **   18 **HESSE 
 **********

 FCN=   4713.187     FROM HESSE     STATUS=OK           321 CALLS     2550 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9652        11.058        .14210E-03   -1.5143    
   2  norm          .10000E-03    12.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.9571        41.811        .13398E-03   -1.5109    
   4  Prefactor     .10000E-03    9.5307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.575        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.904        15.038        .12133E-03   -1.5047    
   7  Prefactor     .10000E-03    33.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3246        28.115        .13894E-03   -1.5131    
   9  Prefactor     .10000E-03    5.6496        .15885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.6874        5.0987        .15678E-03   -1.5275    
  11  norm          1.9654        2.8276        .13076E-03   -1.5428    
  12  Prefactor     65.840        97.206        .49456E-04   -1.4083    
  13  Prefactor     7.0142        31.833        .15149E-03   -1.5178    
  14  Prefactor     10.435        30.281        .12398E-03   -1.5062    
  15  Prefactor     .10000E-03    38.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     92.299        88.028        .41828E-04   -1.3784    
  17  norm          .30118        .36988        .45605E-03   -1.5598    
  18  norm          9.1515        5.1413        .10524E-03   -1.5103    
  19  Prefactor     .10004E-03    20.690        .32944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .74370        .21175        .24838E-03   -1.0219    
  21  Prefactor     .94516        .20135        .21732E-03   -.94580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31616e-09
Minuit parameter uncertainties:
  1  11.061
  2  8.01065e-06
  3  38.7484
  4  2.40415e-05
  5  0.000233545
  6  15.0432
  7  5.58389e-05
  8  28.1601
  9  1.54611e-05
  10  5.09915
  11  2.82781
  12  97.4413
  13  29.9114
  14  30.3258
  15  3.51738e-05
  16  88.1528
  17  0.369887
  18  5.14158
  19  0.00183462
  20  0.211988
  21  0.201508
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.012e-01  3.699e-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.452e-01  2.015e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.437e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.72e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 9.11e-06 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/101152/likelihoodResults_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.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) = 4713.18468939
delta logL = 0.00208569658844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4713.1844694
delta logL = 0.00230568634106

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30825       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1231       1.0000          .0000       5.0000    
     3 'Normalizat'    .74167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94607       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=   4713.184     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      197 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30823        12.592        .96529E-02    .24710E-03
   2  alpha         2.1231        3.7609        .41759        .89649E-05
   3  Normalizat    .74167        .64163E-01    .42844E-01    .14643E-04
   4  Prefactor     .94607        .52753E-01    .45590E-01    .51460E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.308225
  alpha      = 2.12308
  Normalizat = 0.741672
  Prefactor  = 0.94607
 **********
 **   18 **HESSE 
 **********

 FCN=   4713.184     FROM HESSE     STATUS=OK            35 CALLS      232 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30823        .36024        .45229E-03   -1.5597    
   2  alpha         2.1231        1.2373        .25563E-01   -.15134    
   3  Normalizat    .74167        .20438        .24866E-03   -1.0227    
   4  Prefactor     .94607        .19865        .21721E-03   -.94549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7331e-11
Minuit parameter uncertainties:
  1  0.360247
  2  1.29585
  3  0.20459
  4  0.198802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101152': 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) = 4713.1844694
delta logL = 0.00230568922052

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.082e-01  3.602e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.123e+00  1.296e+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.461e-01  1.988e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.417e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 2.12 +/- 1.30
Photon Flux (Free Index): 1.95e-08 +/- 3.97e-08
Energy Flux (Free Index): 9.01e-06 +/- 1.05e-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/101152/cmap_HighResolution_501120001_501379201_4FGL_J2345.2-1555_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-05', comment='SUCCESS', photon_flux='1.72e-08', energy_flux2='9.01e-06', photon_flux_error='2.11e-08', dlogl='2.31e-03', energy_flux='9.11e-06', photon_flux2='1.95e-08', job_status='DONE', time_completed='2021-09-30 04:09:27.880315', photon_index_error2='1.30', photon_index2='2.12', ts='1.70', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.76e-08', energy_flux_error2='1.05e-05', EG='0.74', time_epoch_completed='1633000167.88', return_code='0', job_id='101152', GAL2='0.95', EG2='0.74', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.97e-08', ts2='1.72', photon_index='2.03' WHERE bin_id='1010' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:09:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 101152: <4FGL_J2345.2-1555_daily_bin1010> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1010> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:33 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 04:00:35 2021
Terminated at Thu Sep 30 04:09:28 2021
Results reported at Thu Sep 30 04:09:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1010 356.303 -15.9182 501120001 501379201 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 :                                   517.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            535 sec.

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

