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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1007
RA = 356.303, Dec = -15.9182
tmin = 500342401, tmax = 500601601
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='101147', job_status='RUN', time_executed='2021-09-30 04:02:17.160421', time_epoch_executed='1632999737.16' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1007'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101147

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101147/ft1_4FGL_J2345.2-1555_daily_bin1007.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101147/ft1_4FGL_J2345.2-1555_daily_bin1007.fits outfile=/scratch/kocevski/101147/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1007.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=500342401.0 tmax=500601601.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 4.63
user 4.38
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101147/ft1_filtered_4FGL_J2345.2-1555_daily_bin1007.fits" evtable="EVENTS" scfile=/scratch/kocevski/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits sctable="SC_DATA" outfile=/scratch/kocevski/101147/ltcube_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.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/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits
.....................!
real 11.88
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101147/ft1_filtered_4FGL_J2345.2-1555_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits sctable="SC_DATA" expcube=/scratch/kocevski/101147/ltcube_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.fits outfile=/scratch/kocevski/101147/expmap_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.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/101147/ltcube_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.fits
.....................!
real 190.60
user 185.10
sys 5.15

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/101147/ft1_filtered_4FGL_J2345.2-1555_daily_bin1007.fits scfile=/scratch/kocevski/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits outfile=/scratch/kocevski/101147/cmap_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.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.57
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101147/ft1_filtered_4FGL_J2345.2-1555_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/101147/ft2_4FGL_J2345.2-1555_daily_bin1007.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101147/Model_4FGL_J2345.2-1555_daily_bin1007.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/101147/ft1_filtered_4FGL_J2345.2-1555_daily_bin1007.fits.....................!
real 31.37
user 30.05
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    39.480       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.131       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.484       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11158E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.554       1.0000         .10000E-03   10000.    
    15 'Prefactor '    171.59       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.1100       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3987       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78367       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=   2773.744     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2159 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6733       -.28824E-07** at limit **
   2  norm          39.449        81.706       -.40688E-04    .72459E-05
   3  Prefactor     .10000E-03    41.611        .62584E-05** at limit **
   4  Prefactor     13.695        24.748       -.30003E-05   -.33989E-05
   5  Prefactor     .10000E-03    41.214        .11552E-04** at limit **
   6  Prefactor     .10000E-03    20.506       -.48217E-06** at limit **
   7  Prefactor     .10000E-03    43.019       -.16424E-04** at limit **
   8  Prefactor     17.012        42.663       -.88988E-04   -.93954E-05
   9  Prefactor     .10000E-03    9.4883        .17835E-06** at limit **
  10  norm          .10000E-03    4.1961        .12462E-06** at limit **
  11  norm          12.482        8.2184        .15104E-05   -.30639E-04
  12  Prefactor     .10000E-03    73.348       -.20441E-04** at limit **
  13  Prefactor     3.1086        105.53        .29638E-04    .76402E-04
  14  Prefactor     31.547        44.818       -.63011E-05   -.65945E-05
  15  Prefactor     171.55        116.81       -.29474E-04    .15243E-04
  16  Prefactor     .10000E-03    131.46        .72921E-04** at limit **
  17  norm          .10000E-03    .33435       -.52885E-07** at limit **
  18  norm          4.1104        5.8078       -.77633E-06   -.79839E-04
  19  Prefactor     .10000E-03    3.9318       -.53676E-07** at limit **
  20  Normalizat    1.3990        .30097        .28055E-05    .13350E-04
  21  Prefactor     .78349        .27243        .98628E-05   -.50044E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 39.449
  Prefactor  = 0.0001
  Prefactor  = 13.695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0123
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.4818
  Prefactor  = 0.0001
  Prefactor  = 3.10859
  Prefactor  = 31.5468
  Prefactor  = 171.552
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.1104
  Prefactor  = 0.0001
  Normalizat = 1.39899
  Prefactor  = 0.783493
 **********
 **   18 **HESSE 
 **********

 FCN=   2773.744     FROM HESSE     STATUS=OK           315 CALLS     2474 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6768        .11120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          39.449        81.830        .63792E-04   -1.4451    
   3  Prefactor     .10000E-03    41.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.695        24.749        .10822E-03   -1.4968    
   5  Prefactor     .10000E-03    41.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.012        42.665        .96766E-04   -1.4883    
   9  Prefactor     .10000E-03    9.5398        .15843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.2145        .10536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.482        8.2234        .11337E-03   -1.5001    
  12  Prefactor     .10000E-03    73.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1086        105.09        .22874E-03   -1.5355    
  14  Prefactor     31.547        44.831        .71331E-04   -1.4584    
  15  Prefactor     171.55        116.75        .15401E-03   -1.3081    
  16  Prefactor     .10000E-03    131.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .33709        .29543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.1104        5.7698        .14346E-03   -1.5302    
  19  Prefactor     .10000E-03    3.9400        .10199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3990        .36697        .24192E-03   -.80658    
  21  Prefactor     .78349        .32905        .28853E-03   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50423e-10
Minuit parameter uncertainties:
  1  9.45816e-06
  2  82.0646
  3  5.86401e-05
  4  24.7676
  5  0.000171131
  6  4.07287e-05
  7  6.85295e-05
  8  42.7421
  9  5.76597e-05
  10  2.09641e-05
  11  8.22415
  12  0.000100605
  13  36.217
  14  44.8786
  15  116.91
  16  0.000169078
  17  2.90719e-06
  18  5.7706
  19  1.50788e-05
  20  0.367667
  21  0.329874
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.907e-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:  7.835e-01  3.299e-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.399e+00  3.677e-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: 9.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101147/likelihoodResults_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.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) = 2773.74452989
delta logL = -3.4010127365e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2773.57396919
delta logL = 0.1705266851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89684E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82906       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=   2773.574     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      363 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89963E-02    .19272E-01    .87833E-04    .92222E-03
   2  alpha         5.0000        4.3055        .50000    ** at limit **
   3  Normalizat    1.3242        .37910        .24746E-03   -.13759E-04
   4  Prefactor     .82930        .33869        .28122E-03   -.96215E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00899627
  alpha      = 5
  Normalizat = 1.32418
  Prefactor  = 0.829301
 **********
 **   18 **HESSE 
 **********

 FCN=   2773.574     FROM HESSE     STATUS=OK            31 CALLS      394 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89963E-02    .18480E-01    .35133E-05   -1.5689    
   2  alpha         5.0000        4.2142        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3242        .38037        .98984E-05   -.82847    
   4  Prefactor     .82930        .33948        .11249E-04   -.98657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42942e-11
Minuit parameter uncertainties:
  1  0.0184801
  2  0.000190751
  3  0.381182
  4  0.340344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101147': 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) = 2773.57396573
delta logL = 0.17053014884

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  8.996e-03  1.848e-02  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  1.908e-04  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.293e-01  3.403e-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.324e+00  3.812e-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/101147/cmap_HighResolution_500342401_500601601_4FGL_J2345.2-1555_daily_bin1007.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-05', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2021-09-30 04:09:45.389982', job_id='101147', GAL2='0.83', fit_tolerance='1e-08', EG2='1.32', EG='1.40', time_epoch_completed='1633000185.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.71e-01', ts2='0.37', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1007' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:09:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 101147: <4FGL_J2345.2-1555_daily_bin1007> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1007> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 04:00:33 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:00:35 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:35 2021
Terminated at Thu Sep 30 04:09:46 2021
Results reported at Thu Sep 30 04:09:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1007 356.303 -15.9182 500342401 500601601 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 :                                   445.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            553 sec.

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

