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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1480
RA = 356.303, Dec = -15.9182
tmin = 622944001, tmax = 623203201
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='104210', job_status='RUN', time_executed='2021-09-30 04:11:10.559679', time_epoch_executed='1633000270.56' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104210

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104210/ft1_4FGL_J2345.2-1555_daily_bin1480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104210/ft1_4FGL_J2345.2-1555_daily_bin1480.fits outfile=/scratch/kocevski/104210/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1480.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=622944001.0 tmax=623203201.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.02
user 2.81
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.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/104210/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1480.fits evtable="EVENTS" outfile="/scratch/kocevski/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits" evtable="EVENTS" scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits sctable="SC_DATA" outfile=/scratch/kocevski/104210/ltcube_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.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/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits
.....................!
real 12.57
user 12.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits sctable="SC_DATA" expcube=/scratch/kocevski/104210/ltcube_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.fits outfile=/scratch/kocevski/104210/expmap_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.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/104210/ltcube_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.fits
.....................!
real 190.54
user 184.89
sys 5.32

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/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits outfile=/scratch/kocevski/104210/cmap_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.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/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits outfile=/scratch/kocevski/104210/cmap_HighResolution_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/104210/ft2_4FGL_J2345.2-1555_daily_bin1480.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104210/Model_4FGL_J2345.2-1555_daily_bin1480.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/104210/ft1_filtered_4FGL_J2345.2-1555_daily_bin1480.fits......................!
real 30.87
user 29.62
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.218       1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17313E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2739       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6771       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5918       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5723       1.0000         .10000E-03   10000.    
    11 'norm      '    11.584       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    362.87       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    23.007       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11022E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .79839       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1482       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=   2756.638     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2264 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.273        51.162        .39672E-04    .51057E-03
   2  norm          .10000E-03    71.417        .11628E-05** at limit **
   3  Prefactor     .10008E-03    206.19        .31435E-04** at limit **
   4  Prefactor     4.0843        635.88       -.77261E-03    .61206E-04
   5  Prefactor     4.6840        43.888       -.44171E-05   -.76697E-05
   6  Prefactor     8.5920        20.084       -.16528E-05   -.84699E-05
   7  Prefactor     .10000E-03    71.377        .43885E-06** at limit **
   8  Prefactor     .10000E-03    15.856        .12362E-06** at limit **
   9  Prefactor     .10000E-03    17.923        .13573E-05** at limit **
  10  norm          3.5730        12.511       -.37895E-05   -.11034E-03
  11  norm          11.584        5.8112       -.33772E-06    .17446E-03
  12  Prefactor     .10000E-03    48.943       -.61587E-05** at limit **
  13  Prefactor     .10000E-03    14.783        .34513E-06** at limit **
  14  Prefactor     .10000E-03    27.884       -.16995E-04** at limit **
  15  Prefactor     362.91        291.47        .24099E-04    .32447E-04
  16  Prefactor     .10000E-03    29.428        .19337E-04** at limit **
  17  norm          .10000E-03    1.0391        .43934E-06** at limit **
  18  norm          22.992        11.999       -.19628E-05   -.39807E-03
  19  Prefactor     .10000E-03    15.785       -.16330E-05** at limit **
  20  Normalizat    .79830        .28305       -.50844E-05    .36290E-03
  21  Prefactor     1.1483        .26885        .10524E-04   -.39792E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.2731
  norm       = 0.0001
  Prefactor  = 0.000100084
  Prefactor  = 4.08428
  Prefactor  = 4.68399
  Prefactor  = 8.59204
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.57302
  norm       = 11.5841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 362.914
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.9924
  Prefactor  = 0.0001
  Normalizat = 0.798299
  Prefactor  = 1.14827
 **********
 **   18 **HESSE 
 **********

 FCN=   2756.638     FROM HESSE     STATUS=OK           313 CALLS     2577 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.273        51.354        .22703E-03   -1.3936    
   2  norm          .10000E-03    71.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10008E-03    206.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0843        656.52        .19489E-02   -1.5304    
   5  Prefactor     4.6840        44.039        .18608E-03   -1.5275    
   6  Prefactor     8.5920        20.086        .13676E-03   -1.5122    
   7  Prefactor     .10000E-03    71.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5730        12.467        .21382E-03   -1.5330    
  11  norm          11.584        5.8196        .83865E-04   -1.5027    
  12  Prefactor     .10000E-03    48.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     362.91        291.36        .10695E-03   -1.1874    
  16  Prefactor     .10000E-03    29.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3609        .92898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          22.992        10.814        .83510E-04   -1.4749    
  19  Prefactor     .10000E-03    15.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .79830        .33551        .29970E-03   -1.0013    
  21  Prefactor     1.1483        .31980        .24406E-03   -.87938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46915e-09
Minuit parameter uncertainties:
  1  51.3836
  2  0.00013896
  3  0.00838404
  4  104.754
  5  28.7524
  6  20.1019
  7  0.000103548
  8  1.93932e-05
  9  2.3304e-06
  10  12.4763
  11  5.81989
  12  2.34046e-05
  13  1.20571e-05
  14  1.7655e-05
  15  292.55
  16  4.54707e-06
  17  5.05678e-05
  18  10.8151
  19  0.000176556
  20  0.336384
  21  0.320337
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.148e+00  3.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.983e-01  3.364e-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: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104210/likelihoodResults_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.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): 102
logL (Free Index) = 2756.64147837
delta logL = -0.00349338897831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2756.63797349
delta logL = 1.14868407763e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10429E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1247       1.0000          .0000       5.0000    
     3 'Normalizat'    .79838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1483       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=   2755.982     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      284 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60696E-01    .91177E-01    .26181E-02   -.12823E-02
   2  alpha         4.4883        .88728        .38732        .11755E-04
   3  Normalizat    .66797        .28924        .73089E-01   -.21128E-04
   4  Prefactor     1.2216        .27089        .53598E-01   -.12657E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0606961
  alpha      = 4.48828
  Normalizat = 0.667966
  Prefactor  = 1.22165
 **********
 **   18 **HESSE 
 **********

 FCN=   2755.982     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60696E-01    2.5923        .11769E-04   -1.5757    
   2  alpha         4.4883        2.6923        .19539E-01    .91952    
   3  Normalizat    .66797        .30388        .32352E-03   -1.0517    
   4  Prefactor     1.2216        .29188        .23696E-03   -.85668    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.13349e-08
Minuit parameter uncertainties:
  1  0.792708
  2  7.21009
  3  0.304645
  4  0.292263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104210': 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): 102
logL (Free Index) = 2755.9819925
delta logL = 0.655992486373

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  6.070e-02  7.927e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  4.488e+00  7.210e+00  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:  1.222e+00  2.923e-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:  6.680e-01  3.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 4.49 +/- 7.21
Photon Flux (Free Index): 1.62e-07 +/- 4.19e-06
Energy Flux (Free Index): 2.34e-05 +/- 5.86e-04

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/104210/cmap_HighResolution_622944001_623203201_4FGL_J2345.2-1555_daily_bin1480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.79e-05', comment='SUCCESS', energy_flux2='2.34e-05', dlogl='6.56e-01', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-09-30 04:18:34.897513', photon_index_error2='7.21', photon_index2='4.49', ts='-0.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='5.86e-04', EG='0.80', time_epoch_completed='1633000714.9', return_code='0', job_id='104210', GAL2='1.22', EG2='0.67', return_code2='102', photon_flux_error2='4.19e-06', ts2='1.44', photon_index='2.03' WHERE bin_id='1480' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:18:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 104210: <4FGL_J2345.2-1555_daily_bin1480> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1480> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 04:10:17 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:10:18 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:10:18 2021
Terminated at Thu Sep 30 04:18:36 2021
Results reported at Thu Sep 30 04:18:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1480 356.303 -15.9182 622944001 623203201 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 :                                   435.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   497 sec.
    Turnaround time :                            499 sec.

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

