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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1277
RA = 356.303, Dec = -15.9182
tmin = 570326401, tmax = 570585601
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='102791', job_status='RUN', time_executed='2021-09-30 04:06:11.266535', time_epoch_executed='1632999971.27' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102791

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102791/ft1_4FGL_J2345.2-1555_daily_bin1277.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102791/ft1_4FGL_J2345.2-1555_daily_bin1277.fits outfile=/scratch/kocevski/102791/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1277.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=570326401.0 tmax=570585601.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.46
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits" evtable="EVENTS" scfile=/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits sctable="SC_DATA" outfile=/scratch/kocevski/102791/ltcube_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.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/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits
.....................!
real 11.93
user 11.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits sctable="SC_DATA" expcube=/scratch/kocevski/102791/ltcube_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.fits outfile=/scratch/kocevski/102791/expmap_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.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/102791/ltcube_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.fits
.....................!
real 189.34
user 184.83
sys 4.16

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/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits scfile=/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits outfile=/scratch/kocevski/102791/cmap_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits scfile=/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits outfile=/scratch/kocevski/102791/cmap_HighResolution_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.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/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/102791/ft2_4FGL_J2345.2-1555_daily_bin1277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102791/Model_4FGL_J2345.2-1555_daily_bin1277.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/102791/ft1_filtered_4FGL_J2345.2-1555_daily_bin1277.fits.........................!
real 15.41
user 14.19
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.992       1.0000         .10000E-03   10000.    
     5 'Prefactor '    92.239       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.049       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    230.10       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11914E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .87683       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .38341       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=   300.7081     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2459 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.884        .11418E-05** at limit **
   2  norm          .10000E-03    85.529       -.32340E-06** at limit **
   3  Prefactor     .10000E-03    119.28        .27032E-05** at limit **
   4  Prefactor     22.122        84.220        .60180E-05    .27812E-04
   5  Prefactor     92.244        97.272        .73783E-06   -.99894E-06
   6  Prefactor     22.014        454.44       -.15967E-04    .59060E-05
   7  Prefactor     .10000E-03    299.94       -.13268E-05** at limit **
   8  Prefactor     230.16        266.63        .21969E-05    .16979E-04
   9  Prefactor     .10000E-03    19.086       -.20995E-06** at limit **
  10  norm          .10000E-03    8.8640       -.74101E-07** at limit **
  11  norm          .10000E-03    8.9200       -.54806E-07** at limit **
  12  Prefactor     .10000E-03    192.37        .10368E-05** at limit **
  13  Prefactor     .10000E-03    76.278        .29908E-06** at limit **
  14  Prefactor     .10000E-03    92.296       -.34707E-06** at limit **
  15  Prefactor     .10000E-03    97.033       -.26226E-06** at limit **
  16  Prefactor     .10001E-03    407.58       -.17154E-05** at limit **
  17  norm          .10000E-03    .96810       -.58986E-07** at limit **
  18  norm          .10000E-03    7.6789       -.97743E-07** at limit **
  19  Prefactor     .10000E-03    16.640        .39077E-06** at limit **
  20  Normalizat    .87530        .66054       -.25430E-04    .32435E-04
  21  Prefactor     .38484        .59211        .34344E-04    .16496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 22.1217
  Prefactor  = 92.2436
  Prefactor  = 22.0137
  Prefactor  = 0.0001
  Prefactor  = 230.158
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.875302
  Prefactor  = 0.384838
 **********
 **   18 **HESSE 
 **********

 FCN=   300.7081     FROM HESSE     STATUS=OK           299 CALLS     2758 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.947        .75716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    85.551        .15698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    119.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.122        84.221        .85412E-04   -1.4767    
   5  Prefactor     92.244        97.270        .41843E-04   -1.3784    
   6  Prefactor     22.014        457.74        .85302E-04   -1.4769    
   7  Prefactor     .10000E-03    300.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     230.16        266.68        .13339E-03   -1.2662    
   9  Prefactor     .10000E-03    19.094        .74069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    8.8652        .50468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.9204        .50627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    193.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    76.374        .14827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    92.342        .16312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    97.075        .16726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    409.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .96858        .16676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.6800        .46972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.657        .69159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .87530        .65946        .19046E-03   -.97334    
  21  Prefactor     .38484        .59147        .24601E-03   -1.1759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13558e-10
Minuit parameter uncertainties:
  1  0.000136046
  2  0.000186521
  3  0.000980153
  4  84.6787
  5  97.4388
  6  202.559
  7  0.000510178
  8  268.106
  9  1.43406e-05
  10  5.76045e-06
  11  4.58749e-06
  12  0.00157025
  13  0.00033142
  14  0.000280177
  15  0.000273172
  16  0.0033864
  17  1.09554e-06
  18  4.45906e-06
  19  4.09817e-05
  20  0.665666
  21  0.601213
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  1.096e-06  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  3.848e-01  6.012e-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.753e-01  6.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 356.303 -15.918
Photon Flux Upper Limit: 3.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.71e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102791/likelihoodResults_570326401_570585601_4FGL_J2345.2-1555_daily_bin1277.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 300.708482196
delta logL = -0.000397470181213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 300.708089356
delta logL = -4.62996803208e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0129       1.0000          .0000       5.0000    
     3 'Normalizat'    .87665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .38321       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=   300.7081     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      231 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    226.59        .16791E-02** at limit **
   2  alpha         1.6429        3.1111        .16874        .19644E-07
   3  Normalizat    .87530        .35693        .19048E-03    .37412E-04
   4  Prefactor     .38484        .31450        .24598E-03    .29545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64294
  Normalizat = 0.875301
  Prefactor  = 0.384839
 **********
 **   18 **HESSE 
 **********

 FCN=   300.7081     FROM HESSE     STATUS=OK            25 CALLS      256 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0620        .17466E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6429        3.8174        .67496E-02   -.34992    
   3  Normalizat    .87530        .60847        .38095E-04   -.97334    
   4  Prefactor     .38484        .53429        .98390E-05   -1.1759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0775e-11
Minuit parameter uncertainties:
  1  5.6167e-07
  2  126.463
  3  0.613331
  4  0.541412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102791': 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) = 300.708080186
delta logL = 4.53986029925e-06

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  5.617e-07  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.643e+00  1.265e+02  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:  3.848e-01  5.414e-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.753e-01  6.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 356.303 -15.918

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-04', job_status='DONE', photon_flux_upper_limit='3.22e-07', time_completed='2021-09-30 04:12:13.898235', job_id='102791', GAL2='0.38', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1633000333.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.38', dlogl='4.54e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1277' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:12:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 102791: <4FGL_J2345.2-1555_daily_bin1277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1277 356.303 -15.9182 570326401 570585601 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 :                                   328.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             485.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   395 sec.
    Turnaround time :                            396 sec.

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

