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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1500
RA = 356.303, Dec = -15.9182
tmin = 628128001, tmax = 628387201
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='104244', job_status='RUN', time_executed='2021-09-30 04:11:22.419301', time_epoch_executed='1633000282.42' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104244/ft1_4FGL_J2345.2-1555_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104244/ft1_4FGL_J2345.2-1555_daily_bin1500.fits outfile=/scratch/kocevski/104244/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1500.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=628128001.0 tmax=628387201.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.24
user 4.91
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104244/ft1_filtered_4FGL_J2345.2-1555_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/104244/ltcube_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.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/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits
.....................!
real 11.63
user 11.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104244/ft1_filtered_4FGL_J2345.2-1555_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/104244/ltcube_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.fits outfile=/scratch/kocevski/104244/expmap_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.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/104244/ltcube_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.fits
.....................!
real 190.81
user 185.19
sys 5.19

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/104244/ft1_filtered_4FGL_J2345.2-1555_daily_bin1500.fits scfile=/scratch/kocevski/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits outfile=/scratch/kocevski/104244/cmap_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104244/ft1_filtered_4FGL_J2345.2-1555_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/104244/ft2_4FGL_J2345.2-1555_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104244/Model_4FGL_J2345.2-1555_daily_bin1500.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/104244/ft1_filtered_4FGL_J2345.2-1555_daily_bin1500.fits......................!
real 33.49
user 32.11
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3595       1.0000         .10000E-03   10000.    
     2 'norm      '    35.683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5417       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .98076       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1047       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13747E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0382       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.444       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.793       1.0000         .10000E-03   10000.    
    17 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.782       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .68110       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2461       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=   3187.690     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2166 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3560        15.561        .27098E-05   -.18190E-04
   2  norm          35.674        58.182        .13361E-06   -.67594E-05
   3  Prefactor     6.5309        178.10       -.36782E-05   -.57174E-05
   4  Prefactor     .10000E-03    10.531        .60960E-09** at limit **
   5  Prefactor     .10000E-03    17.812        .15492E-06** at limit **
   6  Prefactor     .10000E-03    4.6418        .71332E-07** at limit **
   7  Prefactor     .10000E-03    15.339        .49246E-07** at limit **
   8  Prefactor     .10000E-03    14.845        .54698E-07** at limit **
   9  Prefactor     .97875        11.069        .31937E-05    .37733E-05
  10  norm          5.1054        7.9227       -.42273E-06   -.10684E-03
  11  norm          .10000E-03    1.6563       -.13311E-07** at limit **
  12  Prefactor     .10000E-03    87.432       -.83825E-07** at limit **
  13  Prefactor     3.0236        41.060        .84460E-06   -.80253E-05
  14  Prefactor     25.447        28.141       -.63392E-07   -.17909E-05
  15  Prefactor     .10000E-03    38.977        .22315E-06** at limit **
  16  Prefactor     37.560        192.20       -.20794E-05   -.16165E-04
  17  norm          .10000E-03    .36626        .10218E-06** at limit **
  18  norm          15.786        8.4649       -.15029E-06   -.11380E-03
  19  Prefactor     .10000E-03    8.9823        .28930E-06** at limit **
  20  Normalizat    .68105        .25884        .20093E-05   -.10116E-03
  21  Prefactor     1.2462        .24596       -.22993E-05    .17894E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.35597
  norm       = 35.6737
  Prefactor  = 6.53091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.978749
  norm       = 5.10539
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02358
  Prefactor  = 25.4474
  Prefactor  = 0.0001
  Prefactor  = 37.5599
  norm       = 0.0001
  norm       = 15.7855
  Prefactor  = 0.0001
  Normalizat = 0.681049
  Prefactor  = 1.24615
 **********
 **   18 **HESSE 
 **********

 FCN=   3187.690     FROM HESSE     STATUS=OK           315 CALLS     2481 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3560        15.521        .65499E-03   -1.5096    
   2  norm          35.674        58.198        .67089E-04   -1.4513    
   3  Prefactor     6.5309        177.49        .15691E-03   -1.5197    
   4  Prefactor     .10000E-03    10.537        .17895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6455        .11881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .97875        10.980        .34747E-03   -1.5510    
  10  norm          5.1054        7.8193        .17795E-03   -1.5256    
  11  norm          .10000E-03    1.6644        .70946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    87.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0236        40.982        .23279E-03   -1.5360    
  14  Prefactor     25.447        28.142        .79415E-04   -1.4699    
  15  Prefactor     .10000E-03    38.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.560        194.43        .32598E-03   -1.4481    
  17  norm          .10000E-03    .40600        .65088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.786        8.3319        .10082E-03   -1.4913    
  19  Prefactor     .10000E-03    9.0487        .16487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .68105        .29859        .29267E-03   -1.0465    
  21  Prefactor     1.2462        .28126        .21564E-03   -.84923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93606e-10
Minuit parameter uncertainties:
  1  15.5281
  2  58.291
  3  68.319
  4  5.91962e-06
  5  4.43439e-06
  6  4.31134e-07
  7  3.39864e-06
  8  2.22022e-06
  9  6.55764
  10  7.82089
  11  1.35174e-06
  12  4.39062e-05
  13  22.2814
  14  28.1563
  15  8.04358e-06
  16  171.801
  17  2.99791e-07
  18  8.33255
  19  3.20687e-05
  20  0.299302
  21  0.281603
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.998e-07  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:  1.246e+00  2.816e-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:  6.810e-01  2.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104244/likelihoodResults_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.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) = 3187.68963353
delta logL = -5.86003757235e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3187.09273309
delta logL = 0.596841839523

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18742E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9969       1.0000          .0000       5.0000    
     3 'Normalizat'    .53474       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3370       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=   3187.093     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      403 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18569E-01    .66073        .15477E-02    .15839E-02
   2  alpha         5.0000        2.5040        .46344    ** at limit **
   3  Normalizat    .53401        .12759        .73932E-01    .13309E-05
   4  Prefactor     1.3377        .11576        .47258E-01   -.14315E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0185687
  alpha      = 5
  Normalizat = 0.534013
  Prefactor  = 1.33767
 **********
 **   18 **HESSE 
 **********

 FCN=   3187.093     FROM HESSE     STATUS=OK            35 CALLS      438 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18569E-01    .21255E-01    .69119E-05   -1.5681    
   2  alpha         5.0000        3.2885        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .53401        .32071        .32733E-03   -1.1086    
   4  Prefactor     1.3377        .29460        .20890E-03   -.82194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13904e-11
Minuit parameter uncertainties:
  1  0.0212549
  2  4.58383e-05
  3  0.321826
  4  0.294968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104244': 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) = 3187.09258797
delta logL = 0.596986954925

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.857e-02  2.125e-02  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  4.584e-05  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:  1.338e+00  2.950e-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:  5.340e-01  3.218e-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): 5.00 +/- 0.00
Photon Flux (Free Index): 1.26e-07 +/- 1.43e-07
Energy Flux (Free Index): 1.72e-05 +/- 1.96e-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/104244/cmap_HighResolution_628128001_628387201_4FGL_J2345.2-1555_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-05', comment='SUCCESS', energy_flux2='1.72e-05', dlogl='5.97e-01', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-30 04:19:16.122657', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='9.07e-08', energy_flux_error2='1.96e-05', EG='0.68', time_epoch_completed='1633000756.12', return_code='0', job_id='104244', GAL2='1.34', EG2='0.53', return_code2='0', photon_flux_error2='1.43e-07', ts2='1.42', photon_index='2.03' WHERE bin_id='1500' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:19:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 104244: <4FGL_J2345.2-1555_daily_bin1500> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1500 356.303 -15.9182 628128001 628387201 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 :                                   463.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            537 sec.

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

