aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 48 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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1699
RA = 356.303, Dec = -15.9182
tmin = 679708801, tmax = 679968001
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='2538', job_status='RUN', time_executed='2022-07-20 00:41:10.258291', time_epoch_executed='1658302870.26' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2538/ft1_4FGL_J2345.2-1555_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2538/ft1_4FGL_J2345.2-1555_daily_bin1699.fits outfile=/scratch/kocevski/2538/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1699.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=679708801.0 tmax=679968001.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.82
user 3.58
sys 0.22

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

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

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/2538/ltcube_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.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/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits
.....................!
real 12.26
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/2538/ltcube_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.fits outfile=/scratch/kocevski/2538/expmap_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.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/2538/ltcube_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.fits
.....................!
real 191.58
user 185.86
sys 5.20

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/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits scfile=/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits outfile=/scratch/kocevski/2538/cmap_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits scfile=/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits outfile=/scratch/kocevski/2538/cmap_HighResolution_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.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/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/2538/ft2_4FGL_J2345.2-1555_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2538/Model_4FGL_J2345.2-1555_daily_bin1699.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/2538/ft1_filtered_4FGL_J2345.2-1555_daily_bin1699.fits.....................!
real 55.01
user 53.66
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0143       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.187       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.990       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10931E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0598       1.0000         .10000E-03   10000.    
    11 'norm      '    .58729       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    176.34       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.996       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7688       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1844       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62873       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=   6558.463     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2177 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0053        14.046        .37355E-05   -.72947E-04
   2  norm          .10000E-03    8.4301        .60053E-07** at limit **
   3  Prefactor     42.161        50.731       -.27025E-05   -.26111E-04
   4  Prefactor     .10000E-03    8.1801       -.16774E-05** at limit **
   5  Prefactor     .10000E-03    6.6861        .14206E-06** at limit **
   6  Prefactor     .10000E-03    6.9420        .20614E-06** at limit **
   7  Prefactor     58.162        43.803        .28484E-06   -.38460E-04
   8  Prefactor     21.990        19.205        .29037E-07   -.17476E-04
   9  Prefactor     .10000E-03    5.0383        .21860E-05** at limit **
  10  norm          6.0585        6.4282        .18868E-06   -.13823E-03
  11  norm          .58698        1.3811        .72452E-06    .97167E-03
  12  Prefactor     .10000E-03    13.680        .46773E-06** at limit **
  13  Prefactor     .10000E-03    4.6792        .20326E-06** at limit **
  14  Prefactor     .10000E-03    14.837       -.28494E-06** at limit **
  15  Prefactor     176.34        83.873        .14050E-06   -.28431E-04
  16  Prefactor     .10000E-03    38.672        .52576E-07** at limit **
  17  norm          .10000E-03    .14554        .14555E-06** at limit **
  18  norm          13.999        4.3806       -.11304E-06   -.58000E-03
  19  Prefactor     7.7718        5.8637       -.44987E-07   -.17099E-04
  20  Normalizat    1.1842        .16622       -.19475E-05   -.11179E-04
  21  Prefactor     .62891        .15784        .16325E-05   -.24523E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00535
  norm       = 0.0001
  Prefactor  = 42.1611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.1622
  Prefactor  = 21.9899
  Prefactor  = 0.0001
  norm       = 6.05848
  norm       = 0.586982
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 176.336
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.9991
  Prefactor  = 7.77185
  Normalizat = 1.18423
  Prefactor  = 0.628909
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.463     FROM HESSE     STATUS=OK           317 CALLS     2494 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0053        14.234        .25999E-02   -1.5507    
   2  norm          .10000E-03    8.4343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.161        50.783        .61772E-04   -1.4408    
   4  Prefactor     .10000E-03    8.0903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.6937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.0201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     58.162        43.798        .26297E-03   -1.4181    
   8  Prefactor     21.990        19.207        .85416E-04   -1.4770    
   9  Prefactor     .10000E-03    4.9352        .17524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0585        6.4227        .81551E-03   -1.5216    
  11  norm          .58698        1.2551        .15068E-02   -1.5555    
  12  Prefactor     .10000E-03    13.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.6884        .17109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     176.34        83.910        .30391E-04   -1.3044    
  16  Prefactor     .10000E-03    38.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .16319        .59091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.999        4.3260        .89378E-04   -1.4959    
  19  Prefactor     7.7718        5.8666        .14387E-03   -1.5150    
  20  Normalizat    1.1842        .18173        .21292E-03   -.87092    
  21  Prefactor     .62891        .17178        .27092E-03   -1.0638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00763e-09
Minuit parameter uncertainties:
  1  7.56751
  2  1.15373e-06
  3  50.8347
  4  2.8448e-05
  5  4.6601e-06
  6  2.78437e-06
  7  43.8227
  8  19.2129
  9  2.25076e-05
  10  6.42344
  11  1.25519
  12  1.69258e-05
  13  3.19561e-06
  14  1.25954e-05
  15  83.9665
  16  4.89044e-06
  17  1.02407e-07
  18  4.32614
  19  5.86706
  20  0.18183
  21  0.17192
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  1.024e-07  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:  6.289e-01  1.719e-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:  1.184e+00  1.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/2538/likelihoodResults_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.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) = 6558.46334943
delta logL = -0.000116103826258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6558.45604908
delta logL = 0.00718425220748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22860E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4771       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62904       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6558.456     FROM MIGRAD    STATUS=FAILED       108 CALLS      341 TOTAL
                     EDM=   .82E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22503E-02    4.0622        .17351E-03** at limit **
   2  alpha         4.5015        2.6928        .50000        .97354E-03
   3  Normalizat    1.1777        .48382E-01    .21338E-03    .73058E-03
   4  Prefactor     .63259        .46022E-01    .27017E-03    .17412E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6558.456     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      438 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22503E-02    4.0622        .19819E-04** at limit **
   2  alpha         4.5015        2.6928        .59316E-02    .97354E-03
   3  Normalizat    1.1777        .48382E-01    .66899E-04    .73058E-03
   4  Prefactor     .63259        .46022E-01    .46218E-04    .17412E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6558.456     FROM MIGRAD    STATUS=FAILED        45 CALLS      483 TOTAL
                     EDM=   .54E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22502E-02    4.8377         .0000    ** at limit **
   2  alpha         4.5015        4.7443         .0000        .97488E-03
   3  Normalizat    1.1777        .55018E-01     .0000        .72956E-03
   4  Prefactor     .63259        .52647E-01     .0000        .17210E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00225017
  alpha      = 4.50153
  Normalizat = 1.17775
  Prefactor  = 0.632587
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.456     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      512 TOTAL
                     EDM=   .11E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22502E-02    5.0372        .13881E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.5015        4.5404        .50000        .92832    
   3  Normalizat    1.1777        .56989E-01    .85350E-05   -.87293    
   4  Prefactor     .63259        .54567E-01    .21614E-05   -1.0623    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.00113234
Minuit parameter uncertainties:
  1  0.20816
  2  51.6851
  3  0.0569916
  4  0.0545719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2538': 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): 1
logL (Free Index) = 6558.45581567
delta logL = 0.0074176608714

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.250e-03  2.082e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  4.502e+00  5.169e+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:  6.326e-01  5.457e-02  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:  1.178e+00  5.699e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/2538/cmap_HighResolution_679708801_679968001_4FGL_J2345.2-1555_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2022-07-20 00:51:35.341218', job_id='2538', GAL2='0.63', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1658303495.34', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='7.42e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1699' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:51:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 2538: <4FGL_J2345.2-1555_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1699> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jul 20 00:40:13 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:40:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:40:14 2022
Terminated at Wed Jul 20 00:51:36 2022
Results reported at Wed Jul 20 00:51:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1699 356.303 -15.9182 679708801 679968001 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 :                                   627.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            683 sec.

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

