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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1566
RA = 356.303, Dec = -15.9182
tmin = 645235201, tmax = 645494401
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='104339', job_status='RUN', time_executed='2021-09-30 04:12:08.364675', time_epoch_executed='1633000328.36' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1566'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104339/ft1_4FGL_J2345.2-1555_daily_bin1566.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104339/ft1_4FGL_J2345.2-1555_daily_bin1566.fits outfile=/scratch/kocevski/104339/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1566.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=645235201.0 tmax=645494401.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 2.75
user 2.54
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits" evtable="EVENTS" scfile=/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits sctable="SC_DATA" outfile=/scratch/kocevski/104339/ltcube_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.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/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits
.....................!
real 12.72
user 12.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits evtable="EVENTS" scfile=/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits sctable="SC_DATA" expcube=/scratch/kocevski/104339/ltcube_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.fits outfile=/scratch/kocevski/104339/expmap_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.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/104339/ltcube_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.fits
.....................!
real 190.80
user 185.18
sys 5.30

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/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits scfile=/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits outfile=/scratch/kocevski/104339/cmap_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits scfile=/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits outfile=/scratch/kocevski/104339/cmap_HighResolution_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.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.53
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits evtable="EVENTS" scfile=/scratch/kocevski/104339/ft2_4FGL_J2345.2-1555_daily_bin1566.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104339/Model_4FGL_J2345.2-1555_daily_bin1566.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/104339/ft1_filtered_4FGL_J2345.2-1555_daily_bin1566.fits.....................!
real 46.47
user 45.16
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5926       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.917       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6181       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .84842       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1755       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6133       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.057       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    80.202       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.952       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78542       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90342       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=   5328.557     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2185 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5994        7.3421       -.42167E-05   -.11709E-03
   2  norm          .10000E-03    13.089        .28641E-05** at limit **
   3  Prefactor     .10000E-03    39.620        .81427E-05** at limit **
   4  Prefactor     50.914        25.048       -.75779E-06    .17068E-05
   5  Prefactor     1.6187        6.5810        .17773E-05   -.36795E-03
   6  Prefactor     .84870        6.8766        .12299E-06   -.12509E-03
   7  Prefactor     .10000E-03    35.281       -.38255E-05** at limit **
   8  Prefactor     .10000E-03    17.963       -.13190E-05** at limit **
   9  Prefactor     .10000E-03    6.1795       -.10286E-05** at limit **
  10  norm          1.1739        2.8683        .52981E-07    .11339E-04
  11  norm          4.6135        3.4086       -.73495E-07    .72979E-06
  12  Prefactor     22.059        34.399        .22322E-05    .67675E-05
  13  Prefactor     .10000E-03    6.3104        .97787E-06** at limit **
  14  Prefactor     .10000E-03    11.819       -.21207E-05** at limit **
  15  Prefactor     .10000E-03    55.261       -.42701E-05** at limit **
  16  Prefactor     80.205        66.900        .24591E-05    .89364E-05
  17  norm          .10000E-03    .20810       -.80832E-07** at limit **
  18  norm          14.954        5.0977        .34680E-06    .28362E-03
  19  Prefactor     .10000E-03    4.9442        .13107E-06** at limit **
  20  Normalizat    .78534        .16316       -.33228E-06    .10328E-03
  21  Prefactor     .90342        .15711        .38964E-06    .59513E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59941
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.9144
  Prefactor  = 1.61869
  Prefactor  = 0.848703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17392
  norm       = 4.61353
  Prefactor  = 22.0589
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.2046
  norm       = 0.0001
  norm       = 14.9538
  Prefactor  = 0.0001
  Normalizat = 0.785343
  Prefactor  = 0.903418
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.557     FROM HESSE     STATUS=OK           317 CALLS     2502 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5994        7.4486        .33618E-03   -1.5455    
   2  norm          .10000E-03    13.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     50.914        25.011        .56203E-04   -1.4280    
   5  Prefactor     1.6187        39.243        .16639E-02   -1.5454    
   6  Prefactor     .84870        6.9452        .37609E-03   -1.5524    
   7  Prefactor     .10000E-03    35.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3012        .35323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1739        2.8073        .18741E-03   -1.5491    
  11  norm          4.6135        3.4071        .11042E-03   -1.5278    
  12  Prefactor     22.059        34.359        .85286E-04   -1.4768    
  13  Prefactor     .10000E-03    6.2974        .17862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    55.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     80.205        66.855        .22423E-03   -1.3914    
  17  norm          .10000E-03    .25532        .61890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.954        4.8837        .87550E-04   -1.4934    
  19  Prefactor     .10000E-03    5.0151        .15841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78534        .19161        .23810E-03   -1.0061    
  21  Prefactor     .90342        .18501        .21824E-03   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33168e-09
Minuit parameter uncertainties:
  1  6.90434
  2  1.57754e-05
  3  0.000230534
  4  25.0166
  5  15.9514
  6  4.85617
  7  2.37326e-05
  8  2.58681e-05
  9  3.43028e-06
  10  2.80765
  11  3.40728
  12  34.3893
  13  1.56401e-05
  14  1.41455e-05
  15  2.75351e-05
  16  66.9181
  17  4.78077e-06
  18  4.88385
  19  3.03059e-05
  20  0.191774
  21  0.185137
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  4.781e-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:  9.034e-01  1.851e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.853e-01  1.918e-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.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104339/likelihoodResults_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.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) = 5328.55747741
delta logL = -0.000203741245059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5328.55727688
delta logL = -3.21010429616e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0447       1.0000          .0000       5.0000    
     3 'Normalizat'    .78530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90365       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=   5328.557     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      221 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .63320        .15179E-01** at limit **
   2  alpha         2.2237        3.2782        .42049       -.26237E-06
   3  Normalizat    .78534        .74707E-02    .43418E-01   -.42972E-06
   4  Prefactor     .90342        .73438E-02    .45052E-01   -.11902E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.22366
  Normalizat = 0.785341
  Prefactor  = 0.903419
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.557     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .37E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .26128        .60806E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2237        2.6813        .16819E-01   -.11076    
   3  Normalizat    .78534        .18576        .23810E-03   -1.0061    
   4  Prefactor     .90342        .18265        .21824E-03   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6552e-13
Minuit parameter uncertainties:
  1  1.97368e-09
  2  70.0632
  3  0.185907
  4  0.182779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104339': 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) = 5328.55726955
delta logL = 4.12477311329e-06

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  1.974e-09  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.224e+00  7.006e+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:  9.034e-01  1.828e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  7.853e-01  1.859e-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/104339/cmap_HighResolution_645235201_645494401_4FGL_J2345.2-1555_daily_bin1566.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2021-09-30 04:21:14.776191', job_id='104339', GAL2='0.90', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1633000874.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1566' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:21:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 104339: <4FGL_J2345.2-1555_daily_bin1566> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1566 356.303 -15.9182 645235201 645494401 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 :                                   542.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            648 sec.

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

