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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1153
RA = 356.303, Dec = -15.9182
tmin = 538185601, tmax = 538444801
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='102567', job_status='RUN', time_executed='2021-09-30 04:06:27.215543', time_epoch_executed='1632999987.22' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102567

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102567/ft1_4FGL_J2345.2-1555_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102567/ft1_4FGL_J2345.2-1555_daily_bin1153.fits outfile=/scratch/kocevski/102567/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1153.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=538185601.0 tmax=538444801.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 5.32
user 5.05
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.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/102567/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1153.fits evtable="EVENTS" outfile="/scratch/kocevski/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.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/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/102567/ltcube_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.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/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits
.....................!
real 11.93
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/102567/ltcube_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.fits outfile=/scratch/kocevski/102567/expmap_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.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/102567/ltcube_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.fits
.....................!
real 190.88
user 185.54
sys 5.02

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/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits outfile=/scratch/kocevski/102567/cmap_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits outfile=/scratch/kocevski/102567/cmap_HighResolution_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/102567/ft2_4FGL_J2345.2-1555_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102567/Model_4FGL_J2345.2-1555_daily_bin1153.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/102567/ft1_filtered_4FGL_J2345.2-1555_daily_bin1153.fits.....................!
real 53.84
user 52.50
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.4149       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.097       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .48273       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    52.936       1.0000         .10000E-03   10000.    
     7 'Prefactor '    76.718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.475       1.0000         .10000E-03   10000.    
    10 'norm      '    11.992       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0819       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3670       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.064       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2077       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79301       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=   6333.891     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2241 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2317        .69231E-07** at limit **
   2  norm          9.4171        27.546        .28825E-07   -.14715E-04
   3  Prefactor     41.089        49.870       -.57268E-05    .80227E-05
   4  Prefactor     .51900        8.0811       -.54982E-06   -.65676E-04
   5  Prefactor     .10000E-03    4.9153        .22475E-07** at limit **
   6  Prefactor     52.939        20.923        .54010E-06   -.80848E-05
   7  Prefactor     76.743        92.457        .24342E-04    .16541E-04
   8  Prefactor     .10000E-03    11.278       -.41532E-08** at limit **
   9  Prefactor     12.463        21.323       -.14577E-04   -.97874E-04
  10  norm          11.992        10.172        .42840E-05   -.50286E-04
  11  norm          1.0811        1.6907       -.32144E-07   -.29697E-03
  12  Prefactor     .10000E-03    14.132       -.42564E-07** at limit **
  13  Prefactor     .10000E-03    4.4159        .90248E-09** at limit **
  14  Prefactor     .10000E-03    14.674        .46493E-07** at limit **
  15  Prefactor     .10000E-03    169.57       -.26342E-05** at limit **
  16  Prefactor     .10000E-03    119.42        .30507E-05** at limit **
  17  norm          .10000E-03    .28020        .25850E-07** at limit **
  18  norm          4.3765        3.8228       -.43851E-07   -.35193E-03
  19  Prefactor     13.064        7.5238        .32970E-06   -.65289E-04
  20  Normalizat    1.2077        .17674       -.88529E-06    .77009E-04
  21  Prefactor     .79298        .17065        .33369E-06   -.38592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.41714
  Prefactor  = 41.0885
  Prefactor  = 0.519
  Prefactor  = 0.0001
  Prefactor  = 52.9394
  Prefactor  = 76.7432
  Prefactor  = 0.0001
  Prefactor  = 12.4628
  norm       = 11.9922
  norm       = 1.08107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.37653
  Prefactor  = 13.0643
  Normalizat = 1.20767
  Prefactor  = 0.792979
 **********
 **   18 **HESSE 
 **********

 FCN=   6333.891     FROM HESSE     STATUS=OK           325 CALLS     2566 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2446        .15983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4171        27.548        .13061E-03   -1.5094    
   3  Prefactor     41.089        49.697        .62529E-04   -1.4425    
   4  Prefactor     .51900        46.899        .43666E-02   -1.5564    
   5  Prefactor     .10000E-03    4.9169        .17233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     52.939        20.926        .55126E-04   -1.4251    
   7  Prefactor     76.743        92.644        .45845E-04   -1.3954    
   8  Prefactor     .10000E-03    11.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.463        21.386        .11341E-03   -1.5002    
  10  norm          11.992        10.138        .11568E-03   -1.5015    
  11  norm          1.0811        1.4166        .12515E-02   -1.5500    
  12  Prefactor     .10000E-03    14.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4204        .16333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    170.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    120.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.8455        .71456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3765        3.3769        .12243E-03   -1.5290    
  19  Prefactor     13.064        7.5316        .11082E-03   -1.4985    
  20  Normalizat    1.2077        .20918        .22791E-03   -.86366    
  21  Prefactor     .79298        .20120        .26922E-03   -.99988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99599e-08
Minuit parameter uncertainties:
  1  1.59982e-05
  2  27.5856
  3  49.747
  4  9.87428
  5  8.106e-07
  6  20.9286
  7  92.8189
  8  1.026e-06
  9  21.3987
  10  10.1394
  11  1.41667
  12  1.88386e-07
  13  6.69545e-07
  14  8.4428e-06
  15  2.22333e-05
  16  2.00683e-05
  17  3.73929e-06
  18  3.37703
  19  7.53213
  20  0.209321
  21  0.201391
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  3.739e-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.930e-01  2.014e-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.208e+00  2.093e-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.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102567/likelihoodResults_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.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) = 6333.89284461
delta logL = -0.00196182779018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6333.87868467
delta logL = 0.0121981173888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39910E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6104       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79314       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=   6333.879     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      247 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39868E-01    3.8125        .12653E-01    .28655E-02
   2  alpha         2.6097        3.0864        .41202        .23605E-04
   3  Normalizat    1.2045        .20251E-01    .51602E-01    .73549E-06
   4  Prefactor     .79313        .19955E-01    .43628E-01    .15262E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0398681
  alpha      = 2.6097
  Normalizat = 1.20448
  Prefactor  = 0.793133
 **********
 **   18 **HESSE 
 **********

 FCN=   6333.879     FROM HESSE     STATUS=OK            35 CALLS      282 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39868E-01    1.3143        .65334E-03   -1.5668    
   2  alpha         2.6097        3.8034        .62306E-01    .43892E-01
   3  Normalizat    1.2045        .20429        .22815E-03   -.86464    
   4  Prefactor     .79313        .20015        .26915E-03   -.99982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78263e-08
Minuit parameter uncertainties:
  1  0.457254
  2  4.15449
  3  0.204425
  4  0.200333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102567': 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) = 6333.87868445
delta logL = 0.0121983368881

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.987e-02  4.573e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.610e+00  4.154e+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:  7.931e-01  2.003e-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.204e+00  2.044e-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/102567/cmap_HighResolution_538185601_538444801_4FGL_J2345.2-1555_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='5.67e-08', time_completed='2021-09-30 04:17:52.610454', job_id='102567', GAL2='0.79', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1633000672.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.22e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1153' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:17:52 PDT 2021


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

Job <4FGL_J2345.2-1555_daily_bin1153> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:21 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 04:05:23 2021
Terminated at Thu Sep 30 04:17:53 2021
Results reported at Thu Sep 30 04:17:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1153 356.303 -15.9182 538185601 538444801 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 :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            752 sec.

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

