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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1592
RA = 356.303, Dec = -15.9182
tmin = 651974401, tmax = 652233601
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='104384', job_status='RUN', time_executed='2021-09-30 04:11:25.870894', time_epoch_executed='1633000285.87' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1592'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104384/ft1_4FGL_J2345.2-1555_daily_bin1592.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104384/ft1_4FGL_J2345.2-1555_daily_bin1592.fits outfile=/scratch/kocevski/104384/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1592.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=651974401.0 tmax=652233601.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.59
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.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/104384/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1592.fits evtable="EVENTS" outfile="/scratch/kocevski/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.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/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits" evtable="EVENTS" scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits sctable="SC_DATA" outfile=/scratch/kocevski/104384/ltcube_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.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/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits
.....................!
real 11.73
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits evtable="EVENTS" scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits sctable="SC_DATA" expcube=/scratch/kocevski/104384/ltcube_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.fits outfile=/scratch/kocevski/104384/expmap_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.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/104384/ltcube_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.fits
.....................!
real 190.17
user 185.01
sys 4.85

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/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits outfile=/scratch/kocevski/104384/cmap_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.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/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits outfile=/scratch/kocevski/104384/cmap_HighResolution_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits evtable="EVENTS" scfile=/scratch/kocevski/104384/ft2_4FGL_J2345.2-1555_daily_bin1592.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104384/Model_4FGL_J2345.2-1555_daily_bin1592.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/104384/ft1_filtered_4FGL_J2345.2-1555_daily_bin1592.fits.....................!
real 43.92
user 42.66
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2877       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0686       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.262       1.0000         .10000E-03   10000.    
    10 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3588       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.994       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.977       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .52586E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .54626E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    8.3585       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .37672E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .75044       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0237       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=   4950.276     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2237 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5948       -.86560E-07** at limit **
   2  norm          .10000E-03    11.681        .10262E-08** at limit **
   3  Prefactor     5.2883        97.154       -.10982E-05    .59780E-05
   4  Prefactor     .10000E-03    13.159       -.24084E-06** at limit **
   5  Prefactor     1.0704        27.360        .18516E-05    .19229E-04
   6  Prefactor     .10000E-03    11.100       -.96708E-07** at limit **
   7  Prefactor     .10000E-03    41.992        .77958E-06** at limit **
   8  Prefactor     .10000E-03    9.0032       -.25551E-06** at limit **
   9  Prefactor     21.253        11.755       -.25581E-07    .81879E-05
  10  norm          .10000E-03    9.6583        .85551E-07** at limit **
  11  norm          6.3589        3.7262       -.35981E-07   -.34551E-04
  12  Prefactor     39.018        44.615        .36758E-06    .31659E-04
  13  Prefactor     .10000E-03    8.7065       -.10890E-05** at limit **
  14  Prefactor     14.954        33.834        .12807E-05   -.17008E-04
  15  Prefactor     .10000E-03    47.521       -.10411E-05** at limit **
  16  Prefactor     .10001E-03    749.09        .15507E-04** at limit **
  17  norm          .54320E-01    .65771       -.33427E-06    .12404E-03
  18  norm          8.3677        5.2712        .57845E-06    .52538E-03
  19  Prefactor     .10015E-03    6.3817       -.78136E-06** at limit **
  20  Normalizat    .75051        .17967        .11212E-05    .96652E-04
  21  Prefactor     1.0236        .17093        .17270E-06    .13315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.28835
  Prefactor  = 0.0001
  Prefactor  = 1.07044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.2529
  norm       = 0.0001
  norm       = 6.35888
  Prefactor  = 39.0177
  Prefactor  = 0.0001
  Prefactor  = 14.9542
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0543204
  norm       = 8.36771
  Prefactor  = 0.000100145
  Normalizat = 0.750507
  Prefactor  = 1.02358
 **********
 **   18 **HESSE 
 **********

 FCN=   4950.276     FROM HESSE     STATUS=OK           323 CALLS     2560 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6036        .13024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.2883        97.130        .17479E-03   -1.5248    
   4  Prefactor     .10000E-03    13.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0704        27.363        .23530E-02   -1.5501    
   6  Prefactor     .10000E-03    11.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    42.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.253        11.716        .86864E-04   -1.4786    
  10  norm          .10000E-03    9.8595        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3589        3.7177        .95051E-04   -1.5204    
  12  Prefactor     39.018        44.720        .64187E-04   -1.4458    
  13  Prefactor     .10000E-03    8.7124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.954        33.691        .10349E-03   -1.4934    
  15  Prefactor     .10000E-03    47.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    732.96        .21132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .54320E-01    1.4669        .83876E-03   -1.5661    
  18  norm          8.3677        5.4237        .49257E-03   -1.5129    
  19  Prefactor     .10015E-03    6.8849        .49431E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .75051        .20900        .25179E-03   -1.0193    
  21  Prefactor     1.0236        .19983        .21537E-03   -.91948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56216e-10
Minuit parameter uncertainties:
  1  5.39537e-08
  2  3.0596e-06
  3  45.4133
  4  9.23248e-06
  5  10.8292
  6  1.09714e-05
  7  2.90473e-05
  8  3.94659e-06
  9  11.7171
  10  2.80002e-05
  11  3.7178
  12  44.7589
  13  1.45683e-05
  14  33.7343
  15  0.000117907
  16  0.00431898
  17  0.564052
  18  5.42404
  19  0.00200069
  20  0.209221
  21  0.199979
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  5.432e-02  5.641e-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.024e+00  2.000e-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.505e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104384/likelihoodResults_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.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) = 4950.0239588
delta logL = 0.25162433525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4949.98954337
delta logL = 0.286039766735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10309       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3333       1.0000          .0000       5.0000    
     3 'Normalizat'    .71820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0389       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=   4949.990     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      205 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10200        2.0909        .66992E-02    .35060E-02
   2  alpha         3.3387        4.1513        .44496        .28842E-04
   3  Normalizat    .71820        .29790E-01    .42533E-01    .77174E-04
   4  Prefactor     1.0389        .29564E-01    .40610E-01    .92086E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.102003
  alpha      = 3.33874
  Normalizat = 0.718199
  Prefactor  = 1.03892
 **********
 **   18 **HESSE 
 **********

 FCN=   4949.990     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10200        .59120        .30025E-04   -1.5644    
   2  alpha         3.3387        3.9091        .18091E-01    .34213    
   3  Normalizat    .71820        .20532        .25652E-03   -1.0318    
   4  Prefactor     1.0389        .20000        .21374E-03   -.91443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9471e-08
Minuit parameter uncertainties:
  1  0.490906
  2  2.95772
  3  0.205538
  4  0.20014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104384': 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) = 4949.98953572
delta logL = 0.286047412482

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.020e-01  4.909e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  3.339e+00  2.958e+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:  1.039e+00  2.001e-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.182e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 356.303 -15.918

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/104384/cmap_HighResolution_651974401_652233601_4FGL_J2345.2-1555_daily_bin1592.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2021-09-30 04:20:24.484771', job_id='104384', GAL2='1.04', fit_tolerance='1e-08', EG2='0.72', EG='0.75', time_epoch_completed='1633000824.48', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.86e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1592' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:20:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 104384: <4FGL_J2345.2-1555_daily_bin1592> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1592> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 04:10:30 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:10:31 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:10:31 2021
Terminated at Thu Sep 30 04:20:27 2021
Results reported at Thu Sep 30 04:20:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1592 356.303 -15.9182 651974401 652233601 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 :                                   531.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            597 sec.

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

