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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin469
RA = 356.303, Dec = -15.9182
tmin = 360892801, tmax = 361152001
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='96868', job_status='RUN', time_executed='2021-09-30 03:53:13.485285', time_epoch_executed='1632999193.49' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96868/ft1_4FGL_J2345.2-1555_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96868/ft1_4FGL_J2345.2-1555_daily_bin469.fits outfile=/scratch/kocevski/96868/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin469.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=360892801.0 tmax=361152001.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.55
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/96868/ltcube_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.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/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits
.....................!
real 12.13
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/96868/ltcube_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.fits outfile=/scratch/kocevski/96868/expmap_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.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/96868/ltcube_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.fits
.....................!
real 191.38
user 185.41
sys 5.62

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/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits scfile=/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits outfile=/scratch/kocevski/96868/cmap_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.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/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits scfile=/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits outfile=/scratch/kocevski/96868/cmap_HighResolution_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/96868/ft2_4FGL_J2345.2-1555_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96868/Model_4FGL_J2345.2-1555_daily_bin469.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/96868/ft1_filtered_4FGL_J2345.2-1555_daily_bin469.fits.....................!
real 56.36
user 55.02
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    30.799       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.7847       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3520       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.9666       1.0000         .10000E-03   10000.    
    18 'norm      '    14.031       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0293       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0971       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86655       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=   6876.240     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     1876 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2135       -.73397E-07** at limit **
   2  norm          30.788        26.926       -.24940E-05   -.32689E-03
   3  Prefactor     .10000E-03    15.880        .19687E-06** at limit **
   4  Prefactor     .10000E-03    7.8211        .13757E-07** at limit **
   5  Prefactor     .10000E-03    6.1959        .20236E-06** at limit **
   6  Prefactor     .10000E-03    6.1800       -.15446E-06** at limit **
   7  Prefactor     .10000E-03    19.769       -.29217E-06** at limit **
   8  Prefactor     8.4177        16.374       -.34930E-06   -.60006E-04
   9  Prefactor     .10000E-03    3.3906        .86109E-08** at limit **
  10  norm          2.7836        3.8759        .16972E-06   -.10050E-03
  11  norm          .10000E-03    1.3174        .16016E-07** at limit **
  12  Prefactor     .10000E-03    20.267        .58254E-07** at limit **
  13  Prefactor     .10000E-03    4.1595        .23760E-07** at limit **
  14  Prefactor     2.3498        32.698        .57180E-06   -.25711E-04
  15  Prefactor     .10000E-03    39.522        .36597E-06** at limit **
  16  Prefactor     .10000E-03    20.598        .34568E-06** at limit **
  17  norm          5.9668        1.0700       -.51599E-07    .45067E-04
  18  norm          14.030        6.6021        .49009E-06   -.53712E-03
  19  Prefactor     1.0276        5.4141        .19846E-05   -.30498E-03
  20  Normalizat    1.0971        .16598       -.20311E-06   -.59023E-04
  21  Prefactor     .86655        .15840       -.17979E-06   -.52276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 30.7883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.41769
  Prefactor  = 0.0001
  norm       = 2.78365
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.34985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.96685
  norm       = 14.0302
  Prefactor  = 1.02756
  Normalizat = 1.09713
  Prefactor  = 0.866549
 **********
 **   18 **HESSE 
 **********

 FCN=   6876.240     FROM HESSE     STATUS=OK           313 CALLS     2189 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2338        .16624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          30.788        29.337        .72197E-04   -1.4598    
   3  Prefactor     .10000E-03    15.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.8562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.2751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4177        16.438        .13811E-03   -1.5128    
   9  Prefactor     .10000E-03    3.4070        .14900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.7836        3.8700        .18722E-03   -1.5374    
  11  norm          .10000E-03    2.2049        .18242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1643        .16516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3498        32.378        .26727E-03   -1.5401    
  15  Prefactor     .10000E-03    39.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.9668        1.0855        .31252E-04   -1.5219    
  18  norm          14.030        6.7998        .53465E-03   -1.4959    
  19  Prefactor     1.0276        6.1809        .39047E-03   -1.5505    
  20  Normalizat    1.0971        .19634        .24254E-03   -.89844    
  21  Prefactor     .86655        .18752        .25868E-03   -.97320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48091e-10
Minuit parameter uncertainties:
  1  6.61765e-06
  2  29.351
  3  2.71866e-05
  4  2.32731e-07
  5  1.81359e-05
  6  1.44383e-05
  7  4.98383e-05
  8  16.4469
  9  1.43723e-07
  10  3.87034
  11  1.33425e-07
  12  9.49982e-06
  13  1.822e-06
  14  17.4563
  15  7.58165e-05
  16  5.67291e-05
  17  1.08552
  18  6.8002
  19  5.04086
  20  0.196469
  21  0.187664
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  5.967e+00  1.086e+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

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  8.665e-01  1.877e-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.097e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 146.13
Ra Dec: 356.303 -15.918
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.41e-07 +/- 6.21e-08
Energy Flux (Fixed Index): 1.80e-04 +/- 3.28e-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) = 6875.41330942
delta logL = 0.826469354132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6875.40177696
delta logL = 0.838001804482

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2094        1.0836        .40275E-03   -.62101E-05
   2  alpha         1.8319        .16015        .11488        .15631E-04
   3  Normalizat    1.1443        .16659        .53997E-01    .66912E-05
   4  Prefactor     .84128        .15802        .44252E-01    .15952E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.2094
  alpha      = 1.83192
  Normalizat = 1.14432
  Prefactor  = 0.841276
 **********
 **   18 **HESSE 
 **********

 FCN=   6875.402     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .21E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2094        1.0341        .16110E-04   -1.5210    
   2  alpha         1.8319        .15543        .49917E-03   -.27052    
   3  Normalizat    1.1443        .19745        .23875E-03   -.88341    
   4  Prefactor     .84128        .18709        .26244E-03   -.98224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10056e-16
Minuit parameter uncertainties:
  1  1.03406
  2  0.155533
  3  0.197573
  4  0.187228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96868': 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) = 6875.40177695
delta logL = 0.838001817222

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.209e+00  1.034e+00  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.832e+00  1.555e-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:  8.413e-01  1.872e-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.144e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 153.90
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.83 +/- 0.16
Photon Flux (Free Index): 2.90e-07 +/- 6.23e-08
Energy Flux (Free Index): 2.19e-04 +/- 5.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/96868/cmap_HighResolution_360892801_361152001_4FGL_J2345.2-1555_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.41e-07', energy_flux2='2.19e-04', photon_flux_error='6.21e-08', dlogl='8.38e-01', energy_flux='1.80e-04', photon_flux2='2.90e-07', job_status='DONE', time_completed='2021-09-30 04:02:23.694655', photon_index_error2='0.16', photon_index2='1.83', ts='146.13', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='5.14e-05', EG='1.10', time_epoch_completed='1632999743.69', return_code='0', job_id='96868', GAL2='0.84', EG2='1.14', return_code2='0', energy_flux_error='3.28e-05', photon_flux_error2='6.23e-08', ts2='153.90', photon_index='2.03' WHERE bin_id='469' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:02:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 96868: <4FGL_J2345.2-1555_daily_bin469> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin469> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 30 03:50:46 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 03:50:47 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:47 2021
Terminated at Thu Sep 30 04:02:24 2021
Results reported at Thu Sep 30 04:02:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin469 356.303 -15.9182 360892801 361152001 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 :                                   546.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            698 sec.

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

