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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1624
RA = 356.303, Dec = -15.9182
tmin = 660268801, tmax = 660528001
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='505311', job_status='RUN', time_executed='2021-12-08 09:46:19.596927', time_epoch_executed='1638985579.6' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/505311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/505311/ft1_4FGL_J2345.2-1555_daily_bin1624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/505311/ft1_4FGL_J2345.2-1555_daily_bin1624.fits outfile=/scratch/kocevski/505311/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1624.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=660268801.0 tmax=660528001.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.87
user 3.64
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits" evtable="EVENTS" scfile=/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits sctable="SC_DATA" outfile=/scratch/kocevski/505311/ltcube_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.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/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits
.....................!
real 14.12
user 13.66
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits sctable="SC_DATA" expcube=/scratch/kocevski/505311/ltcube_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.fits outfile=/scratch/kocevski/505311/expmap_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.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/505311/ltcube_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.fits
.....................!
real 191.54
user 184.95
sys 5.58

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/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits scfile=/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits outfile=/scratch/kocevski/505311/cmap_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits scfile=/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits outfile=/scratch/kocevski/505311/cmap_HighResolution_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/505311/ft2_4FGL_J2345.2-1555_daily_bin1624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/505311/Model_4FGL_J2345.2-1555_daily_bin1624.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/505311/ft1_filtered_4FGL_J2345.2-1555_daily_bin1624.fits.....................!
real 39.37
user 37.47
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.823       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.7274       1.0000         .10000E-03   10000.    
    11 'norm      '    5.6124       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.767       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.125       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10817E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.070       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7180       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4121       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .53328       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=   3962.361     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2163 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7287       -.19884E-07** at limit **
   2  norm          .10000E-03    21.019        .14087E-05** at limit **
   3  Prefactor     .10000E-03    33.600       -.25994E-05** at limit **
   4  Prefactor     39.823        27.286       -.52477E-07    .93124E-05
   5  Prefactor     .10000E-03    7.6354       -.27755E-06** at limit **
   6  Prefactor     .10000E-03    5.0194        .24008E-07** at limit **
   7  Prefactor     .10000E-03    22.259        .21352E-05** at limit **
   8  Prefactor     .10000E-03    12.241        .11408E-05** at limit **
   9  Prefactor     .10000E-03    6.3502        .21855E-06** at limit **
  10  norm          7.7268        6.7127       -.75596E-07   -.66634E-04
  11  norm          5.6130        4.7506        .25160E-06    .19354E-04
  12  Prefactor     51.805        71.837       -.36854E-05    .27922E-04
  13  Prefactor     .10000E-03    16.294       -.10473E-05** at limit **
  14  Prefactor     61.125        49.888        .66748E-06    .82426E-06
  15  Prefactor     .10000E-03    76.494        .55962E-05** at limit **
  16  Prefactor     .10000E-03    64.120       -.39277E-05** at limit **
  17  norm          .10000E-03    .37984        .19184E-06** at limit **
  18  norm          12.077        6.9034       -.80468E-07   -.35522E-03
  19  Prefactor     2.7195        9.2491        .65066E-05    .29088E-04
  20  Normalizat    1.4117        .23230       -.24636E-05   -.61677E-04
  21  Prefactor     .53361        .19563        .20268E-05   -.48137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.8231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.72682
  norm       = 5.61299
  Prefactor  = 51.8048
  Prefactor  = 0.000100001
  Prefactor  = 61.1246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.0773
  Prefactor  = 2.7195
  Normalizat = 1.41171
  Prefactor  = 0.53361
 **********
 **   18 **HESSE 
 **********

 FCN=   3962.361     FROM HESSE     STATUS=OK           311 CALLS     2474 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7581        .14716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    21.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.823        27.325        .63518E-04   -1.4445    
   5  Prefactor     .10000E-03    7.6365        .16990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0227        .13774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3838        .15479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.7268        6.7115        .14425E-03   -1.5152    
  11  norm          5.6130        4.7416        .11778E-03   -1.5234    
  12  Prefactor     51.805        71.875        .55742E-04   -1.4267    
  13  Prefactor     .10000E-03    16.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.125        50.012        .51321E-04   -1.4143    
  15  Prefactor     .10000E-03    77.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    64.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .68842        .69642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.077        6.4259        .11029E-03   -1.5013    
  19  Prefactor     2.7195        9.2731        .12352E-02   -1.5378    
  20  Normalizat    1.4117        .26735        .22073E-03   -.80290    
  21  Prefactor     .53361        .22461        .30439E-03   -1.1046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46728e-10
Minuit parameter uncertainties:
  1  6.72218e-06
  2  1.10374e-05
  3  3.53994e-06
  4  27.334
  5  2.20984e-07
  6  9.51494e-07
  7  1.33368e-05
  8  2.14669e-05
  9  4.78325e-06
  10  6.71216
  11  4.7419
  12  71.9952
  13  0.000275596
  14  50.0468
  15  0.000203414
  16  1.81144e-05
  17  2.39478e-06
  18  6.42623
  19  9.27796
  20  0.267618
  21  0.224983
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.395e-06  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:  5.336e-01  2.250e-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.412e+00  2.676e-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: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/505311/likelihoodResults_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.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) = 3962.36787952
delta logL = -0.00690568182608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3962.36097382
delta logL = 1.35155460157e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0359       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53361       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.

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

 FCN=   3962.361     FROM MIGRAD    STATUS=FAILED        89 CALLS      252 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    1.1397        .69613E-03** at limit **
   2  alpha         2.0604        3.5204        .16834       -.55872E-05
   3  Normalizat    1.4117        .24838        .22074E-03    .30078E-04
   4  Prefactor     .53361        .22128        .30439E-03    .16994E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3962.361     FROM SIMPLEX   STATUS=UNCHANGED    119 CALLS      371 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    1.1397        .72462E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0604        3.5204        .11329E-02   -.17677    
   3  Normalizat    1.4117        .24838        .11911E-03   -.80290    
   4  Prefactor     .53361        .22128        .18120E-03   -1.1046    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3962.361     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      405 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .69296        .13923E-03** at limit **
   2  alpha         2.0736        2.8943        .67336E-01   -.82729E-08
   3  Normalizat    1.4117        .24855        .44147E-04   -.35950E-04
   4  Prefactor     .53361        .22142        .12176E-04   -.22970E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.07355
  Normalizat = 1.41171
  Prefactor  = 0.53361
 **********
 **   18 **HESSE 
 **********

 FCN=   3962.361     FROM HESSE     STATUS=OK            23 CALLS      428 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .69060        .27845E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0736        2.8392        .26934E-02   -.17142    
   3  Normalizat    1.4117        .24870        .88294E-05   -.80290    
   4  Prefactor     .53361        .22158        .24351E-05   -1.1046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7323e-12
Minuit parameter uncertainties:
  1  2.54914e-07
  2  76.7178
  3  0.248912
  4  0.221936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/505311': 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) = 3962.3609737
delta logL = 1.35780737764e-07

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.549e-07  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.074e+00  7.672e+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:  5.336e-01  2.219e-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.412e+00  2.489e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/505311/cmap_HighResolution_660268801_660528001_4FGL_J2345.2-1555_daily_bin1624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-05', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2021-12-08 09:54:36.890397', job_id='505311', GAL2='0.53', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1638986076.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='1.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1624' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 09:54:36 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 505311: <4FGL_J2345.2-1555_daily_bin1624> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1624> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 09:45:13 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 09:45:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 09:45:18 2021
Terminated at Wed Dec  8 09:54:37 2021
Results reported at Wed Dec  8 09:54:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1624 356.303 -15.9182 660268801 660528001 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 :                                   494.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            564 sec.

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

