/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 10 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1325
RA = 356.303, Dec = -15.9182
tmin = 582768001, tmax = 583027201
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='102868', job_status='RUN', time_executed='2021-09-30 04:06:04.898611', time_epoch_executed='1632999964.9' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102868

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102868/ft1_4FGL_J2345.2-1555_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102868/ft1_4FGL_J2345.2-1555_daily_bin1325.fits outfile=/scratch/kocevski/102868/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1325.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=582768001.0 tmax=583027201.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.58
user 3.35
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits" evtable="EVENTS" scfile=/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits sctable="SC_DATA" outfile=/scratch/kocevski/102868/ltcube_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.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/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits
.....................!
real 12.28
user 11.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/102868/ltcube_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.fits outfile=/scratch/kocevski/102868/expmap_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.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/102868/ltcube_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.fits
.....................!
real 191.44
user 186.50
sys 4.60

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/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits scfile=/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits outfile=/scratch/kocevski/102868/cmap_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits scfile=/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits outfile=/scratch/kocevski/102868/cmap_HighResolution_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/102868/ft2_4FGL_J2345.2-1555_daily_bin1325.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102868/Model_4FGL_J2345.2-1555_daily_bin1325.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/102868/ft1_filtered_4FGL_J2345.2-1555_daily_bin1325.fits.....................!
real 46.29
user 45.08
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.850       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4600       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .91638       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9057       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20319E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .63487       1.0000         .10000E-03   10000.    
    18 'norm      '    10.059       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.322       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3507       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74290       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=   5097.866     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2146 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9203       -.97738E-07** at limit **
   2  norm          .10000E-03    13.467        .32815E-05** at limit **
   3  Prefactor     23.856        38.911        .31816E-05   -.36498E-04
   4  Prefactor     2.4614        19.463       -.12664E-05   -.10476E-03
   5  Prefactor     .10000E-03    36.607        .93252E-05** at limit **
   6  Prefactor     .10000E-03    3.8172        .10195E-07** at limit **
   7  Prefactor     .10000E-03    31.731       -.99579E-05** at limit **
   8  Prefactor     .10000E-03    9.9751       -.22084E-07** at limit **
   9  Prefactor     .10000E-03    3.6997        .81695E-07** at limit **
  10  norm          .91613        5.1788       -.19923E-05   -.93592E-03
  11  norm          6.9052        3.3541       -.39445E-08    .74327E-04
  12  Prefactor     .10000E-03    17.478        .43061E-05** at limit **
  13  Prefactor     .10000E-03    5.4840        .45554E-08** at limit **
  14  Prefactor     .10000E-03    15.226       -.82541E-05** at limit **
  15  Prefactor     .10000E-03    17.177        .24732E-05** at limit **
  16  Prefactor     .10000E-03    174.49       -.44965E-05** at limit **
  17  norm          .63494        .49911       -.25849E-06    .16684E-04
  18  norm          10.059        5.0281        .19664E-05   -.64073E-03
  19  Prefactor     10.325        9.2931       -.19960E-06   -.73767E-04
  20  Normalizat    1.3506        .20197       -.35079E-06    .69304E-04
  21  Prefactor     .74287        .18853        .14113E-06    .54953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.8561
  Prefactor  = 2.46135
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.916133
  norm       = 6.90524
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.634944
  norm       = 10.0591
  Prefactor  = 10.325
  Normalizat = 1.35056
  Prefactor  = 0.742867
 **********
 **   18 **HESSE 
 **********

 FCN=   5097.866     FROM HESSE     STATUS=OK           309 CALLS     2455 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.856        38.863        .82021E-04   -1.4731    
   4  Prefactor     2.4614        19.548        .26076E-03   -1.5394    
   5  Prefactor     .10000E-03    36.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.8197        .13624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    31.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.9779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.7082        .13404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .91613        5.9029        .33005E-03   -1.5517    
  11  norm          6.9052        3.3561        .88220E-04   -1.5182    
  12  Prefactor     .10000E-03    17.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4878        .16330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    174.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .63494        .50404        .41079E-04   -1.5549    
  18  norm          10.059        4.9584        .10222E-03   -1.5074    
  19  Prefactor     10.325        9.3347        .12472E-03   -1.5065    
  20  Normalizat    1.3506        .24633        .22794E-03   -.82069    
  21  Prefactor     .74287        .22862        .27856E-03   -1.0187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49759e-09
Minuit parameter uncertainties:
  1  3.60583e-06
  2  9.39227e-05
  3  38.9045
  4  13.879
  5  0.000460336
  6  1.37301e-07
  7  0.00046351
  8  4.79302e-09
  9  1.49525e-05
  10  4.65138
  11  3.35616
  12  0.000144294
  13  3.19787e-06
  14  0.000247791
  15  7.41692e-05
  16  0.00049934
  17  0.504045
  18  4.95857
  19  9.33605
  20  0.24655
  21  0.228913
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.349e-01  5.040e-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:  7.429e-01  2.289e-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.351e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.83
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 2.88e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.52e-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) = 5097.86322221
delta logL = 0.00234382381859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5097.86318746
delta logL = 0.00237857642878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63493       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9894       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74214       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=   5097.863     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63484        14.003        .94972E-02    .50643E-04
   2  alpha         1.9888        2.5198        .41839        .36122E-05
   3  Normalizat    1.3521        .98969E-01    .51534E-01   -.10578E-05
   4  Prefactor     .74214        .79285E-01    .63003E-01    .15214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.634837
  alpha      = 1.98878
  Normalizat = 1.35211
  Prefactor  = 0.74214
 **********
 **   18 **HESSE 
 **********

 FCN=   5097.863     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63484        .48238        .41422E-04   -1.5549    
   2  alpha         1.9888        .64708        .15156E-01   -.20594    
   3  Normalizat    1.3521        .24081        .22784E-03   -.82024    
   4  Prefactor     .74214        .22540        .27870E-03   -1.0190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89401e-11
Minuit parameter uncertainties:
  1  0.482385
  2  0.654869
  3  0.241007
  4  0.225677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102868': 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) = 5097.863187
delta logL = 0.00237903270408

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.348e-01  4.824e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.989e+00  6.549e-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:  7.421e-01  2.257e-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.352e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.87
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.99 +/- 0.65
Photon Flux (Free Index): 3.46e-08 +/- 3.55e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.68e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/102868/cmap_HighResolution_582768001_583027201_4FGL_J2345.2-1555_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.97e-05', photon_flux_error='2.88e-08', dlogl='2.38e-03', energy_flux='1.92e-05', photon_flux2='3.46e-08', job_status='DONE', time_completed='2021-09-30 04:14:32.000877', photon_index_error2='0.65', photon_index2='1.99', ts='6.83', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.35', time_epoch_completed='1633000472.0', return_code='0', job_id='102868', GAL2='0.74', EG2='1.35', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='3.55e-08', ts2='6.87', photon_index='2.03' WHERE bin_id='1325' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:14:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 102868: <4FGL_J2345.2-1555_daily_bin1325> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1325> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:44 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:45 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:05:45 2021
Terminated at Thu Sep 30 04:14:32 2021
Results reported at Thu Sep 30 04:14:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1325 356.303 -15.9182 582768001 583027201 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 :                                   495.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            528 sec.

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

