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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin870
RA = 356.303, Dec = -15.9182
tmin = 464832001, tmax = 465091201
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='100941', job_status='RUN', time_executed='2021-09-30 04:03:03.125991', time_epoch_executed='1632999783.13' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='870'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100941

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100941/ft1_4FGL_J2345.2-1555_daily_bin870.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100941/ft1_4FGL_J2345.2-1555_daily_bin870.fits outfile=/scratch/kocevski/100941/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin870.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=464832001.0 tmax=465091201.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.38
user 3.16
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100941/ft1_filtered_4FGL_J2345.2-1555_daily_bin870.fits" evtable="EVENTS" scfile=/scratch/kocevski/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits sctable="SC_DATA" outfile=/scratch/kocevski/100941/ltcube_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.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/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits
.....................!
real 12.50
user 12.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100941/ft1_filtered_4FGL_J2345.2-1555_daily_bin870.fits evtable="EVENTS" scfile=/scratch/kocevski/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits sctable="SC_DATA" expcube=/scratch/kocevski/100941/ltcube_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.fits outfile=/scratch/kocevski/100941/expmap_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.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/100941/ltcube_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.fits
.....................!
real 193.94
user 188.15
sys 5.36

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/100941/ft1_filtered_4FGL_J2345.2-1555_daily_bin870.fits scfile=/scratch/kocevski/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits outfile=/scratch/kocevski/100941/cmap_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100941/ft1_filtered_4FGL_J2345.2-1555_daily_bin870.fits evtable="EVENTS" scfile=/scratch/kocevski/100941/ft2_4FGL_J2345.2-1555_daily_bin870.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100941/Model_4FGL_J2345.2-1555_daily_bin870.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/100941/ft1_filtered_4FGL_J2345.2-1555_daily_bin870.fits.....................!
real 45.62
user 44.24
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.996       1.0000         .10000E-03   10000.    
     2 'norm      '    21.390       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .55344E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4968       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.031       1.0000         .10000E-03   10000.    
    10 'norm      '    15.497       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8517       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7612       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3435       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3883       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.460       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88996       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69515       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.

 FCN=   5303.202     FROM MIGRAD    STATUS=CONVERGED    793 CALLS     2564 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.996        11.018        .81772E-04    .18074E-04
   2  norm          21.388        22.823        .86604E-04   -.68261E-06
   3  Prefactor     67.110        47.828        .48992E-04    .18471E-04
   4  Prefactor     9.5736        18.896        .12951E-03   -.26336E-06
   5  Prefactor     .10000E-03    86.124        .36285E-03** at limit **
   6  Prefactor     .11278E-01    9.7162        .60243E-01    .12346E-03
   7  Prefactor     7.4978        167.87        .14647E-03    .77616E-07
   8  Prefactor     .10000E-03    16.134        .18142E-02** at limit **
   9  Prefactor     23.027        17.966        .83466E-04    .39500E-05
  10  norm          15.497        9.9395        .10174E-03    .50396E-04
  11  norm          1.8516        2.0767        .10793E-03    .17200E-03
  12  Prefactor     2.7548        64.927        .12248E-02    .48538E-04
  13  Prefactor     .10000E-03    5.3973        .16505E-02** at limit **
  14  Prefactor     .10000E-03    15.061        .18142E-02** at limit **
  15  Prefactor     .10000E-03    58.106        .18142E-02** at limit **
  16  Prefactor     .10003E-03    148.41        .18142E-02** at limit **
  17  norm          1.3434        .56265        .31794E-04    .17879E-03
  18  norm          3.3880        3.4491        .12339E-03    .10006E-03
  19  Prefactor     17.459        7.5872        .95852E-04   -.75434E-04
  20  Normalizat    .89004        .18899        .22380E-03   -.30073E-04
  21  Prefactor     .69515        .18298        .24421E-03    .11722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.9956
  norm       = 21.3882
  Prefactor  = 67.1101
  Prefactor  = 9.57361
  Prefactor  = 0.0001
  Prefactor  = 0.0112781
  Prefactor  = 7.49778
  Prefactor  = 0.0001
  Prefactor  = 23.0267
  norm       = 15.4967
  norm       = 1.85162
  Prefactor  = 2.75479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100033
  norm       = 1.34342
  norm       = 3.38798
  Prefactor  = 17.4586
  Normalizat = 0.890038
  Prefactor  = 0.695148
 **********
 **   18 **HESSE 
 **********

 FCN=   5303.202     FROM HESSE     STATUS=OK           305 CALLS     2869 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.996        11.017        .32709E-05   -1.4728    
   2  norm          21.388        22.823        .17321E-04   -1.4783    
   3  Prefactor     67.110        47.825        .97984E-05   -1.4068    
   4  Prefactor     9.5736        18.892        .51802E-05   -1.5089    
   5  Prefactor     .10000E-03    86.129        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11278E-01    8.6217        .65796E-01   -1.5687    
   7  Prefactor     7.4978        166.72        .58590E-05   -1.5160    
   8  Prefactor     .10000E-03    16.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.027        17.928        .33386E-05   -1.4748    
  10  norm          15.497        9.9385        .40696E-05   -1.4920    
  11  norm          1.8516        2.0766        .43174E-05   -1.5436    
  12  Prefactor     2.7548        64.861        .48990E-04   -1.5376    
  13  Prefactor     .10000E-03    5.3976        .33010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.064        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    58.109        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10003E-03    148.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3434        .56263        .63588E-05   -1.5476    
  18  norm          3.3880        3.4491        .49357E-05   -1.5340    
  19  Prefactor     17.459        7.5870        .38341E-05   -1.4872    
  20  Normalizat    .89004        .18914        .89520E-05   -.96811    
  21  Prefactor     .69515        .18309        .97684E-05   -1.0372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47709e-10
Minuit parameter uncertainties:
  1  11.0184
  2  22.8322
  3  47.8528
  4  18.904
  5  0.000319549
  6  0.620976
  7  70.9357
  8  1.75984e-05
  9  17.932
  10  9.93955
  11  2.07668
  12  26.7663
  13  2.85182e-05
  14  1.93796e-05
  15  0.000218653
  16  0.00444122
  17  0.562634
  18  3.44934
  19  7.58745
  20  0.189283
  21  0.183246
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.343e+00  5.626e-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:  6.951e-01  1.832e-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:  8.900e-01  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.97
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 7.68e-08 +/- 3.22e-08
Energy Flux (Fixed Index): 4.06e-05 +/- 1.70e-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) = 5302.85420422
delta logL = 0.348006898003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5302.83467361
delta logL = 0.367537507386

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3562       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7278       1.0000          .0000       5.0000    
     3 'Normalizat'    .90949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68566       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=   5302.835     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      195 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3559        .62558        .76418E-02   -.65606E-04
   2  alpha         1.7280        .36961        .23294       -.75265E-05
   3  Normalizat    .90939        .16018        .45023E-01    .96128E-05
   4  Prefactor     .68574        .15605        .42210E-01    .15684E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35589
  alpha      = 1.728
  Normalizat = 0.909387
  Prefactor  = 0.685742
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.835     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3559        .56611        .33639E-04   -1.5475    
   2  alpha         1.7280        .35238        .97094E-02   -.31393    
   3  Normalizat    .90939        .18647        .22182E-03   -.96131    
   4  Prefactor     .68574        .18168        .24587E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1411e-11
Minuit parameter uncertainties:
  1  0.566107
  2  0.353684
  3  0.186599
  4  0.181841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100941': 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) = 5302.8346731
delta logL = 0.367538013681

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.356e+00  5.661e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.728e+00  3.537e-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.857e-01  1.818e-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:  9.094e-01  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.78
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.73 +/- 0.35
Photon Flux (Free Index): 5.81e-08 +/- 3.15e-08
Energy Flux (Free Index): 5.41e-05 +/- 3.08e-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/100941/cmap_HighResolution_464832001_465091201_4FGL_J2345.2-1555_daily_bin870.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.68e-08', energy_flux2='5.41e-05', photon_flux_error='3.22e-08', dlogl='3.68e-01', energy_flux='4.06e-05', photon_flux2='5.81e-08', job_status='DONE', time_completed='2021-09-30 04:11:53.666580', photon_index_error2='0.35', photon_index2='1.73', ts='28.97', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='3.08e-05', EG='0.89', time_epoch_completed='1633000313.67', return_code='0', job_id='100941', GAL2='0.69', EG2='0.91', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='3.15e-08', ts2='29.78', photon_index='2.03' WHERE bin_id='870' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:11:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 100941: <4FGL_J2345.2-1555_daily_bin870> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin870> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:18 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:20 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:00:20 2021
Terminated at Thu Sep 30 04:11:54 2021
Results reported at Thu Sep 30 04:11:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin870 356.303 -15.9182 464832001 465091201 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 :                                   530.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            696 sec.

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

