aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 33 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 = 7446
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1665
RA = 341.491, Dec = 15.7479
tmin = 670896001, tmax = 671155201
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='357098', job_status='RUN', time_executed='2022-04-09 00:36:37.069078', time_epoch_executed='1649489797.07' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357098/ft1_4FGL_J2245.9+1544_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357098/ft1_4FGL_J2245.9+1544_daily_bin1665.fits outfile=/scratch/kocevski/357098/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1665.fits ra=341.491 dec=15.7479 rad=12.0 tmin=670896001.0 tmax=671155201.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.33
user 5.09
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.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/357098/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.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.33
sys 0.14

Number of photons that the gtmktime cut: 679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357098/ltcube_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.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/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits
.....................!
real 11.66
user 11.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357098/ltcube_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits outfile=/scratch/kocevski/357098/expmap_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.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/357098/ltcube_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits
.....................!
real 190.28
user 185.60
sys 4.33

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J2245.9+1544 @ 341.491 15.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits outfile=/scratch/kocevski/357098/cmap_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.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=341.491 yref=15.7479 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/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits outfile=/scratch/kocevski/357098/cmap_HighResolution_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.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=341.491 yref=15.7479 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357098/Model_4FGL_J2245.9+1544_daily_bin1665.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/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits.....................!
real 80.92
user 79.61
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits', '/scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits', expMap='/scratch/kocevski/357098/expmap_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits', expCube='/scratch/kocevski/357098/ltcube_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357098/Model_4FGL_J2245.9+1544_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2245.9+1544'

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  5.169e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/357098/ft1_filtered_4FGL_J2245.9+1544_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357098/ft2_4FGL_J2245.9+1544_daily_bin1665.fits
Exposure map: /scratch/kocevski/357098/expmap_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357098/ltcube_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357098/Model_4FGL_J2245.9+1544_daily_bin1665.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) = 7658.55751904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11861E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8399       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .63786       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2925       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5268       1.0000         .10000E-03   10000.    
     9 'Prefactor '    83.123       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.142       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.225       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56698       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.345       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    44.704       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3841       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7658.557     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2721 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .38517        .15046E-07** at limit **
   2  Prefactor     .10000E-03    27.123       -.17872E-05** at limit **
   3  norm          .10001E-03    3.2077       -.81357E-06** at limit **
   4  Prefactor     6.8404        11.517       -.12191E-06   -.54552E-04
   5  Prefactor     .10000E-03    4.7622        .43050E-06** at limit **
   6  Prefactor     .63787        .21545       -.43875E-08   -.37718E-03
   7  Prefactor     4.2927        4.8060       -.95044E-07   -.12990E-03
   8  norm          2.5268        1.6602        .14528E-07    .15456E-03
   9  Prefactor     83.126        44.535        .25825E-05   -.17437E-04
  10  Prefactor     12.143        11.598       -.17682E-07    .18265E-04
  11  Prefactor     20.226        24.809        .12172E-05   -.52601E-04
  12  Prefactor     .56698        .20587       -.61769E-07   -.18139E-02
  13  Prefactor     .10000E-03    9.9087       -.62248E-05** at limit **
  14  Prefactor     25.344        36.299       -.11998E-05   -.19248E-04
  15  Prefactor     .10000E-03    7.1277        .57384E-05** at limit **
  16  Prefactor     .10000E-03    13.200        .50885E-05** at limit **
  17  Prefactor     44.706        34.080        .19056E-05    .21680E-04
  18  Prefactor     5.3849        8.3870       -.31978E-06   -.26571E-03
  19  Prefactor     .10000E-03    8.4963        .26363E-05** at limit **
  20  norm          .10000E-03    3.4441       -.13846E-06** at limit **
  21  Prefactor     .10000E-03    3.3303        .49474E-07** at limit **
  22  norm          .10000E-03    6.3284       -.39344E-05** at limit **
  23  Normalizat    1.0959        .22109       -.13390E-06   -.22217E-04
  24  Prefactor     .88754        .11247       -.85132E-07    .71505E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 6.84038
  Prefactor  = 0.0001
  Prefactor  = 0.637873
  Prefactor  = 4.2927
  norm       = 2.52684
  Prefactor  = 83.1263
  Prefactor  = 12.1429
  Prefactor  = 20.2262
  Prefactor  = 0.566984
  Prefactor  = 0.0001
  Prefactor  = 25.3441
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.7062
  Prefactor  = 5.38486
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09586
  Prefactor  = 0.887537
 **********
 **   18 **HESSE 
 **********

 FCN=   7658.557     FROM HESSE     STATUS=OK           397 CALLS     3118 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .39873        .10595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    9.1892        .29994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.8404        11.513        .15341E-03   -1.5185    
   5  Prefactor     .10000E-03    4.7796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63787        .21478        .21981E-04   -1.5548    
   7  Prefactor     4.2927        4.8028        .19445E-03   -1.5294    
   8  norm          2.5268        1.6636        .87997E-04   -1.5390    
   9  Prefactor     83.126        44.638        .44057E-04   -1.3882    
  10  Prefactor     12.143        11.591        .11496E-03   -1.5011    
  11  Prefactor     20.226        24.793        .89061E-04   -1.4808    
  12  Prefactor     .56698        .20565        .21119E-04   -1.5557    
  13  Prefactor     .10000E-03    9.9711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.344        36.389        .79571E-04   -1.4701    
  15  Prefactor     .10000E-03    7.2057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     44.706        34.141        .59963E-04   -1.4370    
  18  Prefactor     5.3849        8.4060        .17319E-03   -1.5244    
  19  Prefactor     .10000E-03    8.5143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.4486        .15861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3360        .15596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    6.3323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0959        .25952        .33601E-03   -.89885    
  24  Prefactor     .88754        .13233        .19742E-03   -.96578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85325e-10
Minuit parameter uncertainties:
  1  5.23526e-07
  2  3.8129e-05
  3  0.000506026
  4  11.517
  5  1.9512e-06
  6  0.21478
  7  4.80323
  8  1.66366
  9  44.6559
  10  11.5929
  11  24.8059
  12  0.205646
  13  9.75792e-06
  14  36.421
  15  3.0957e-05
  16  1.89855e-05
  17  34.1555
  18  8.40782
  19  2.06736e-06
  20  9.06112e-09
  21  2.35023e-09
  22  2.80962e-07
  23  0.259821
  24  0.132376
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  8.313e+01  4.466e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  8.875e-01  1.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.096e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.37
Ra Dec: 341.491 15.748
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 8.41e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 6.36e-05 +/- 3.42e-05

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) = 7657.05968239
delta logL = 1.49683747453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7657.04481702
delta logL = 1.51170284898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.359       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7316       1.0000          .0000       10.000    
     3 'Normalizat'    .98462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92130       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7657.045     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      280 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.373        129.50        .20291E-02    .93222E-04
   2  Index         2.7317        1.6169        .63834E-01    .32086E-03
   3  Normalizat    .98405        .11678        .79245E-01    .18605E-04
   4  Prefactor     .92160        .49373E-01    .45276E-01    .91126E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.373
  Index      = 2.73172
  Normalizat = 0.984053
  Prefactor  = 0.921601
 **********
 **   18 **HESSE 
 **********

 FCN=   7657.045     FROM HESSE     STATUS=OK            33 CALLS      313 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.373        46.194        .81162E-04   -1.4720    
   2  Index         2.7317        .76392        .25624E-02   -.47086    
   3  Normalizat    .98405        .26699        .35074E-03   -.93567    
   4  Prefactor     .92160        .13797        .19372E-03   -.95390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91373e-11
Minuit parameter uncertainties:
  1  46.2617
  2  0.767708
  3  0.267348
  4  0.138025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357098': 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) = 7657.04481248
delta logL = 1.51170738437

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  2.437e+01  4.626e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.732e+00  7.677e-01  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.216e-01  1.380e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.841e-01  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.64
Ra Dec: 341.491 15.748
Photon Index (Free Index): 2.73 +/- 0.77
Photon Flux (Free Index): 2.03e-07 +/- 1.12e-07
Energy Flux (Free Index): 4.76e-05 +/- 2.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/357098/cmap_HighResolution_670896001_671155201_4FGL_J2245.9+1544_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.41e-08', energy_flux2='4.76e-05', photon_flux_error='4.52e-08', dlogl='1.51e+00', energy_flux='6.36e-05', photon_flux2='2.03e-07', job_status='DONE', time_completed='2022-04-09 00:47:13.727814', photon_index_error2='0.77', photon_index2='2.73', ts='9.37', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='1.10', time_epoch_completed='1649490433.73', return_code='0', job_id='357098', GAL2='0.92', EG2='0.98', return_code2='0', energy_flux_error='3.42e-05', photon_flux_error2='1.12e-07', ts2='12.64', photon_index='1.96' WHERE bin_id='1665' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:47:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 357098: <4FGL_J2245.9+1544_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:51 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:53 2022
Terminated at Sat Apr  9 00:47:14 2022
Results reported at Sat Apr  9 00:47:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1665 341.491 15.7479 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2245.9+1544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            683 sec.

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

