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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1506
RA = 356.303, Dec = -15.9182
tmin = 629683201, tmax = 629942401
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='104253', job_status='RUN', time_executed='2021-09-30 04:10:36.078114', time_epoch_executed='1633000236.08' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104253/ft1_4FGL_J2345.2-1555_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104253/ft1_4FGL_J2345.2-1555_daily_bin1506.fits outfile=/scratch/kocevski/104253/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1506.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=629683201.0 tmax=629942401.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.70
user 3.32
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104253/ft1_filtered_4FGL_J2345.2-1555_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/104253/ltcube_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.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/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits
.....................!
real 12.02
user 11.55
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104253/ft1_filtered_4FGL_J2345.2-1555_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/104253/ltcube_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.fits outfile=/scratch/kocevski/104253/expmap_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.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/104253/ltcube_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.fits
.....................!
real 192.50
user 186.57
sys 5.50

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/104253/ft1_filtered_4FGL_J2345.2-1555_daily_bin1506.fits scfile=/scratch/kocevski/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits outfile=/scratch/kocevski/104253/cmap_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104253/ft1_filtered_4FGL_J2345.2-1555_daily_bin1506.fits scfile=/scratch/kocevski/104253/ft2_4FGL_J2345.2-1555_daily_bin1506.fits outfile=/scratch/kocevski/104253/cmap_HighResolution_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    59.990       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9274       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7775       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11424E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23759E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.279       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3191       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .21053       1.0000         .10000E-03   10000.    
    18 'norm      '    12.403       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0374       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96030       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70757       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=   5816.510     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2193 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7668        .67335E-07** at limit **
   2  norm          .10000E-03    19.155       -.17480E-06** at limit **
   3  Prefactor     60.008        44.014        .61546E-06    .81178E-04
   4  Prefactor     9.9369        13.183        .29014E-06    .56735E-04
   5  Prefactor     .10000E-03    4.9503        .13377E-07** at limit **
   6  Prefactor     4.7758        8.9029        .55699E-05   -.61106E-03
   7  Prefactor     .10000E-03    11.650        .18482E-06** at limit **
   8  Prefactor     .10000E-03    11.301       -.29715E-06** at limit **
   9  Prefactor     .10000E-03    2.2593        .52808E-07** at limit **
  10  norm          .10000E-03    2.0072        .81682E-07** at limit **
  11  norm          .10000E-03    .70615       -.79982E-08** at limit **
  12  Prefactor     39.368        40.342       -.24441E-05   -.26115E-03
  13  Prefactor     .10000E-03    42.809       -.43744E-05** at limit **
  14  Prefactor     14.270        16.607        .60734E-06    .12393E-03
  15  Prefactor     3.2864        42.668        .10613E-04    .24200E-03
  16  Prefactor     .10000E-03    24.531        .41224E-06** at limit **
  17  norm          .21003        .36134        .35395E-08    .21596E-03
  18  norm          12.405        4.6007        .95510E-07    .74785E-04
  19  Prefactor     4.0382        5.6967        .33376E-06   -.87370E-04
  20  Normalizat    .96044        .14874        .91642E-06   -.82502E-04
  21  Prefactor     .70738        .14403       -.18326E-05    .92637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 60.0079
  Prefactor  = 9.93688
  Prefactor  = 0.0001
  Prefactor  = 4.77577
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 39.3676
  Prefactor  = 0.000100003
  Prefactor  = 14.2704
  Prefactor  = 3.28642
  Prefactor  = 0.0001
  norm       = 0.210034
  norm       = 12.4049
  Prefactor  = 4.0382
  Normalizat = 0.960438
  Prefactor  = 0.707383
 **********
 **   18 **HESSE 
 **********

 FCN=   5816.510     FROM HESSE     STATUS=OK           315 CALLS     2508 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7915        .16251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    19.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.008        44.023        .51802E-04   -1.4157    
   4  Prefactor     9.9369        13.178        .12718E-03   -1.5077    
   5  Prefactor     .10000E-03    4.9516        .16573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7758        9.2090        .92035E-03   -1.5271    
   7  Prefactor     .10000E-03    11.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.2690        .11195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.0293        .10551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .71067        .62556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.368        40.672        .63800E-04   -1.4452    
  13  Prefactor     .10000E-03    42.967        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.270        16.651        .10599E-03   -1.4952    
  15  Prefactor     3.2864        47.523        .22219E-03   -1.5345    
  16  Prefactor     .10000E-03    24.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .21003        .30563        .53641E-03   -1.5616    
  18  norm          12.405        4.4587        .88106E-04   -1.5003    
  19  Prefactor     4.0382        5.6940        .20068E-03   -1.5306    
  20  Normalizat    .96044        .17474        .20771E-03   -.94368    
  21  Prefactor     .70738        .16775        .23366E-03   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23141e-09
Minuit parameter uncertainties:
  1  3.07647e-06
  2  3.69905e-05
  3  44.047
  4  13.1819
  5  7.1829e-07
  6  9.21174
  7  2.03204e-05
  8  2.15613e-06
  9  1.64585e-06
  10  1.76966e-06
  11  5.3724e-07
  12  40.701
  13  0.000761729
  14  16.6561
  15  25.018
  16  8.97497e-05
  17  0.305637
  18  4.45878
  19  5.69478
  20  0.174843
  21  0.167872
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
539   Normalization:  9.604e-01  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 356.303 -15.918
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104253/likelihoodResults_629683201_629942401_4FGL_J2345.2-1555_daily_bin1506.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) = 5816.26358039
delta logL = 0.246770306313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5816.25568741
delta logL = 0.254663288193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17747       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3665       1.0000          .0000       5.0000    
     3 'Normalizat'    .96658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70394       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=   5816.256     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17679        .26119        .88963E-02    .10076E-03
   2  alpha         1.3654        .60774        .48453       -.30688E-04
   3  Normalizat    .96654        .14375        .45747E-01    .72720E-05
   4  Prefactor     .70397        .14140        .42454E-01    .24028E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.17679
  alpha      = 1.36542
  Normalizat = 0.966536
  Prefactor  = 0.703968
 **********
 **   18 **HESSE 
 **********

 FCN=   5816.256     FROM HESSE     STATUS=OK            35 CALLS      236 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17679        .26629        .45326E-03   -1.5624    
   2  alpha         1.3654        .83324        .20175E-01   -.47106    
   3  Normalizat    .96654        .16831        .20717E-03   -.94160    
   4  Prefactor     .70397        .16556        .23416E-03   -1.0337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36246e-09
Minuit parameter uncertainties:
  1  0.266291
  2  0.854008
  3  0.168406
  4  0.165672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104253': 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) = 5816.25568414
delta logL = 0.25466655848

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.768e-01  2.663e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.365e+00  8.540e-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:  7.040e-01  1.657e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  9.665e-01  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 1.37 +/- 0.85
Photon Flux (Free Index): 6.24e-09 +/- 1.02e-08
Energy Flux (Free Index): 1.37e-05 +/- 2.33e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', comment='SUCCESS', energy_flux2='1.37e-05', dlogl='2.55e-01', photon_flux2='6.24e-09', job_status='DONE', time_completed='2021-09-30 04:20:24.346162', photon_index_error2='0.85', photon_index2='1.37', ts='0.92', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='6.09e-08', energy_flux_error2='2.33e-05', EG='0.96', time_epoch_completed='1633000824.35', return_code='0', job_id='104253', GAL2='0.70', EG2='0.97', return_code2='0', photon_flux_error2='1.02e-08', ts2='1.42', photon_index='2.03' WHERE bin_id='1506' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:20:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 104253: <4FGL_J2345.2-1555_daily_bin1506> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1506 356.303 -15.9182 629683201 629942401 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 :                                   572.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            605 sec.

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

