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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1011
RA = 356.303, Dec = -15.9182
tmin = 501379201, tmax = 501638401
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='101154', job_status='RUN', time_executed='2021-09-30 04:03:26.924339', time_epoch_executed='1632999806.92' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101154/ft1_4FGL_J2345.2-1555_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101154/ft1_4FGL_J2345.2-1555_daily_bin1011.fits outfile=/scratch/kocevski/101154/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1011.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=501379201.0 tmax=501638401.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.59
user 3.35
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.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/101154/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1011.fits evtable="EVENTS" outfile="/scratch/kocevski/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/101154/ltcube_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.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/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits
.....................!
real 11.90
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/101154/ltcube_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.fits outfile=/scratch/kocevski/101154/expmap_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.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/101154/ltcube_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.fits
.....................!
real 190.11
user 185.02
sys 4.65

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/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits outfile=/scratch/kocevski/101154/cmap_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits outfile=/scratch/kocevski/101154/cmap_HighResolution_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=356.303 yref=-15.9182 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/101154/ft2_4FGL_J2345.2-1555_daily_bin1011.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101154/Model_4FGL_J2345.2-1555_daily_bin1011.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/101154/ft1_filtered_4FGL_J2345.2-1555_daily_bin1011.fits.....................!
real 45.34
user 44.05
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6919       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.254       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.849       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.345       1.0000         .10000E-03   10000.    
    11 'norm      '    .72940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10759E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.770       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.2624       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7781       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62688       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=   5199.563     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2233 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1619       -.26315E-07** at limit **
   2  norm          .10000E-03    11.308       -.27336E-07** at limit **
   3  Prefactor     .10000E-03    57.174        .27473E-05** at limit **
   4  Prefactor     .10000E-03    5.8159       -.46729E-07** at limit **
   5  Prefactor     1.6926        28.169        .13422E-04   -.76825E-05
   6  Prefactor     33.257        17.210        .91164E-07    .23451E-04
   7  Prefactor     .10000E-03    31.772        .59308E-06** at limit **
   8  Prefactor     22.850        20.459        .22611E-06    .55757E-04
   9  Prefactor     .10000E-03    6.7170       -.18271E-06** at limit **
  10  norm          10.340        6.7076        .34434E-07   -.84286E-04
  11  norm          .73119        2.5355        .83758E-06    .27098E-03
  12  Prefactor     .10000E-03    69.724       -.31516E-05** at limit **
  13  Prefactor     .10000E-03    6.7913       -.28053E-07** at limit **
  14  Prefactor     .10000E-03    35.000       -.60754E-06** at limit **
  15  Prefactor     .10000E-03    208.33        .75629E-06** at limit **
  16  Prefactor     43.799        92.363       -.24157E-05    .22528E-04
  17  norm          .10000E-03    .37735        .35681E-07** at limit **
  18  norm          6.2621        4.3939        .80221E-07    .42885E-04
  19  Prefactor     6.7778        6.4203        .64362E-08   -.34657E-04
  20  Normalizat    1.1069        .16874       -.81183E-06    .91444E-05
  21  Prefactor     .62682        .15879        .41635E-06    .60773E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.69264
  Prefactor  = 33.2568
  Prefactor  = 0.0001
  Prefactor  = 22.8503
  Prefactor  = 0.0001
  norm       = 10.3397
  norm       = 0.731186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 43.7993
  norm       = 0.0001
  norm       = 6.26212
  Prefactor  = 6.77784
  Normalizat = 1.10685
  Prefactor  = 0.62682
 **********
 **   18 **HESSE 
 **********

 FCN=   5199.563     FROM HESSE     STATUS=OK           313 CALLS     2546 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1931        .14364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    57.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.8211        .16984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6926        28.228        .16180E-02   -1.5448    
   6  Prefactor     33.257        17.208        .69488E-04   -1.4554    
   7  Prefactor     .10000E-03    31.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.850        20.465        .83796E-04   -1.4752    
   9  Prefactor     .10000E-03    6.7681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.340        6.6993        .12457E-03   -1.5065    
  11  norm          .73119        2.5488        .20242E-03   -1.5537    
  12  Prefactor     .10000E-03    70.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    209.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.799        92.475        .60597E-04   -1.4383    
  17  norm          .10000E-03    1.5221        .75657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.2621        3.8878        .10649E-03   -1.5207    
  19  Prefactor     6.7778        6.4230        .15412E-03   -1.5187    
  20  Normalizat    1.1069        .19245        .20655E-03   -.89532    
  21  Prefactor     .62682        .18092        .25647E-03   -1.0647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93748e-10
Minuit parameter uncertainties:
  1  5.04265e-06
  2  5.12262e-06
  3  0.000292503
  4  4.02626e-06
  5  13.832
  6  17.2102
  7  7.34421e-05
  8  20.4714
  9  2.83621e-05
  10  6.69982
  11  2.5492
  12  0.000199363
  13  1.94239e-06
  14  0.000274214
  15  0.000880311
  16  92.7796
  17  8.58842e-06
  18  3.88791
  19  6.42364
  20  0.192568
  21  0.181086
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  8.588e-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:  6.268e-01  1.811e-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.107e+00  1.926e-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: 5.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101154/likelihoodResults_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.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) = 5199.56602038
delta logL = -0.00350813660498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5199.53864814
delta logL = 0.0238641021542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41520E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7205       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62766       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=   5199.539     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      476 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41520E-01    .53028        .57405E-03    .71184E-03
   2  alpha         2.7205        3.6827        .43840E-01    .71267E-05
   3  Normalizat    1.1029        .18742        .20681E-03   -.43262E-04
   4  Prefactor     .62766        .17956        .25622E-03   -.43039E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0415196
  alpha      = 2.7205
  Normalizat = 1.1029
  Prefactor  = 0.627658
 **********
 **   18 **HESSE 
 **********

 FCN=   5199.539     FROM HESSE     STATUS=OK            27 CALLS      503 TOTAL
                     EDM=   .97E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41520E-01    .28241        .22962E-04   -1.5667    
   2  alpha         2.7205        1.8196        .17536E-02    .88316E-01
   3  Normalizat    1.1029        .18757        .82726E-05   -.89659    
   4  Prefactor     .62766        .17971        .10249E-04   -1.0643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67155e-12
Minuit parameter uncertainties:
  1  0.21631
  2  2.04036
  3  0.187679
  4  0.179871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101154': 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) = 5199.53864814
delta logL = 0.0238641021579

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  4.152e-02  2.163e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.721e+00  2.040e+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:  6.277e-01  1.799e-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.103e+00  1.877e-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/101154/cmap_HighResolution_501379201_501638401_4FGL_J2345.2-1555_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='5.30e-08', time_completed='2021-09-30 04:12:42.603059', job_id='101154', GAL2='0.63', fit_tolerance='1e-08', EG2='1.10', EG='1.11', time_epoch_completed='1633000362.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='2.39e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1011' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:12:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 101154: <4FGL_J2345.2-1555_daily_bin1011> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1011> 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) <bullet0279>, 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:12:42 2021
Results reported at Thu Sep 30 04:12:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1011 356.303 -15.9182 501379201 501638401 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 :                                   552.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

