/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 1 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 = 7382
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin339
RA = 356.303, Dec = -15.9182
tmin = 327196801, tmax = 327456001
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='96591', job_status='RUN', time_executed='2021-09-30 03:50:37.209481', time_epoch_executed='1632999037.21' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96591

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96591/ft1_4FGL_J2345.2-1555_daily_bin339.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96591/ft1_4FGL_J2345.2-1555_daily_bin339.fits outfile=/scratch/kocevski/96591/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin339.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=327196801.0 tmax=327456001.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.29
user 3.08
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.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/96591/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin339.fits evtable="EVENTS" outfile="/scratch/kocevski/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.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/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits" evtable="EVENTS" scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits sctable="SC_DATA" outfile=/scratch/kocevski/96591/ltcube_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.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/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits
.....................!
real 11.93
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits sctable="SC_DATA" expcube=/scratch/kocevski/96591/ltcube_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.fits outfile=/scratch/kocevski/96591/expmap_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.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/96591/ltcube_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.fits
.....................!
real 191.86
user 186.27
sys 5.01

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/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits outfile=/scratch/kocevski/96591/cmap_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits outfile=/scratch/kocevski/96591/cmap_HighResolution_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/96591/ft2_4FGL_J2345.2-1555_daily_bin339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96591/Model_4FGL_J2345.2-1555_daily_bin339.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/96591/ft1_filtered_4FGL_J2345.2-1555_daily_bin339.fits.....................!
real 55.67
user 54.29
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7186       1.0000         .10000E-03   10000.    
     2 'norm      '    17.355       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.026       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .81676E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8279       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.466       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8780       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7790       1.0000         .10000E-03   10000.    
    16 'Prefactor '    148.14       1.0000         .10000E-03   10000.    
    17 'norm      '    6.3433       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70177       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0023       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=   7002.741     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2606 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7164        8.1192       -.15905E-05   -.21717E-03
   2  norm          17.352        18.389       -.92365E-05    .29719E-05
   3  Prefactor     .10000E-03    27.326       -.19195E-05** at limit **
   4  Prefactor     .10000E-03    27.751        .25253E-05** at limit **
   5  Prefactor     .10000E-03    5.0923       -.30094E-08** at limit **
   6  Prefactor     12.026        9.1886       -.31158E-05   -.13720E-05
   7  Prefactor     .10000E-03    8.3819        .30941E-07** at limit **
   8  Prefactor     .10004E-03    17.129       -.13068E-05** at limit **
   9  Prefactor     .10000E-03    1.5323        .15180E-07** at limit **
  10  norm          2.8276        2.4524        .28596E-06    .13118E-02
  11  norm          .10000E-03    .98291       -.70451E-07** at limit **
  12  Prefactor     .10000E-03    12.963       -.16041E-06** at limit **
  13  Prefactor     21.479        13.519        .46997E-05    .68963E-04
  14  Prefactor     5.8794        15.800        .21454E-05   -.54665E-04
  15  Prefactor     1.9043        92.265       -.67559E-05   -.41094E-04
  16  Prefactor     148.19        89.199        .19527E-04   -.39625E-05
  17  norm          6.3432        .86544       -.37453E-07    .22245E-03
  18  norm          .10000E-03    1.4591        .25125E-07** at limit **
  19  Prefactor     .10000E-03    1.6406        .65072E-07** at limit **
  20  Normalizat    .70179        .14739       -.11215E-05    .78538E-04
  21  Prefactor     1.0023        .14672        .28682E-06    .25476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.7164
  norm       = 17.3524
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0262
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  norm       = 2.82757
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.4786
  Prefactor  = 5.87943
  Prefactor  = 1.90435
  Prefactor  = 148.19
  norm       = 6.34323
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.701793
  Prefactor  = 1.00227
 **********
 **   18 **HESSE 
 **********

 FCN=   7002.741     FROM HESSE     STATUS=OK           327 CALLS     2933 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7164        8.1275        .18524E-03   -1.5274    
   2  norm          17.352        18.371        .96140E-04   -1.4875    
   3  Prefactor     .10000E-03    27.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.026        9.1888        .11551E-03   -1.5014    
   7  Prefactor     .10000E-03    8.3868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    20.048        .10731       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5356        .10116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8276        2.4599        .59714E-03   -1.5372    
  11  norm          .10000E-03    1.0070        .16191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.479        13.526        .86451E-04   -1.4781    
  14  Prefactor     5.8794        15.766        .16564E-03   -1.5223    
  15  Prefactor     1.9043        93.465        .31381E-03   -1.5432    
  16  Prefactor     148.19        88.931        .16555E-03   -1.3267    
  17  norm          6.3432        .86531        .27428E-04   -1.5204    
  18  norm          .10000E-03    1.4654        .98586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6478        .10464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70179        .17039        .26024E-03   -1.0382    
  21  Prefactor     1.0023        .17025        .22238E-03   -.92654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70537e-10
Minuit parameter uncertainties:
  1  8.12937
  2  18.377
  3  5.49103e-05
  4  7.77745e-05
  5  1.43837e-06
  6  9.18984
  7  1.13608e-06
  8  0.00180954
  9  1.03946e-07
  10  2.46
  11  5.48092e-06
  12  6.59924e-05
  13  13.5279
  14  15.7767
  15  26.7262
  16  89.0114
  17  0.865314
  18  7.92464e-07
  19  4.90816e-06
  20  0.170521
  21  0.17034
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.343e+00  8.653e-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.002e+00  1.703e-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.018e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 244.93
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.63e-07 +/- 4.95e-08
Energy Flux (Fixed Index): 1.92e-04 +/- 2.62e-05

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) = 7001.82236511
delta logL = 0.918274974507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7001.81405379
delta logL = 0.926586296726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7820       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8614       1.0000          .0000       5.0000    
     3 'Normalizat'    .73873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98089       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=   7001.814     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7820        1.0620        .38518E-02    .83717E-04
   2  alpha         1.8613        .13672        .90664E-01    .27095E-04
   3  Normalizat    .73872        .14607        .42805E-01    .21758E-04
   4  Prefactor     .98088        .14580        .46028E-01    .71983E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.78202
  alpha      = 1.86134
  Normalizat = 0.738721
  Prefactor  = 0.98088
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.814     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7820        .96304        .28979E-04   -1.5187    
   2  alpha         1.8613        .12499        .39756E-03   -.25833    
   3  Normalizat    .73872        .17022        .25469E-03   -1.0238    
   4  Prefactor     .98088        .16994        .22471E-03   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97335e-13
Minuit parameter uncertainties:
  1  0.963046
  2  0.125043
  3  0.170343
  4  0.170036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96591': 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) = 7001.81405361
delta logL = 0.92658647343

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.782e+00  9.630e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.861e+00  1.250e-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:  9.809e-01  1.700e-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.387e-01  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 246.70
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.86 +/- 0.13
Photon Flux (Free Index): 3.26e-07 +/- 5.27e-08
Energy Flux (Free Index): 2.32e-04 +/- 4.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/96591/cmap_HighResolution_327196801_327456001_4FGL_J2345.2-1555_daily_bin339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.63e-07', energy_flux2='2.32e-04', photon_flux_error='4.95e-08', dlogl='9.27e-01', energy_flux='1.92e-04', photon_flux2='3.26e-07', job_status='DONE', time_completed='2021-09-30 04:00:46.913034', photon_index_error2='0.13', photon_index2='1.86', ts='244.93', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.76e-05', EG='0.70', time_epoch_completed='1632999646.91', return_code='0', job_id='96591', GAL2='0.98', EG2='0.74', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='5.27e-08', ts2='246.70', photon_index='2.03' WHERE bin_id='339' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:00:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 96591: <4FGL_J2345.2-1555_daily_bin339> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin339> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 30 03:50:27 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 03:50:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 03:50:28 2021
Terminated at Thu Sep 30 04:00:47 2021
Results reported at Thu Sep 30 04:00:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin339 356.303 -15.9182 327196801 327456001 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 :                                   605.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             391.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            620 sec.

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

