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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1703
RA = 341.491, Dec = 15.7479
tmin = 680745601, tmax = 681004801
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='324186', job_status='RUN', time_executed='2022-08-01 01:24:39.959530', time_epoch_executed='1659342279.96' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324186/ft1_4FGL_J2245.9+1544_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324186/ft1_4FGL_J2245.9+1544_daily_bin1703.fits outfile=/scratch/kocevski/324186/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1703.fits ra=341.491 dec=15.7479 rad=12.0 tmin=680745601.0 tmax=681004801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.00
user 2.77
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.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/324186/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324186/ltcube_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.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/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits
.....................!
real 19.53
user 19.04
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324186/ltcube_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits outfile=/scratch/kocevski/324186/expmap_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.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/324186/ltcube_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits
.....................!
real 192.60
user 185.80
sys 5.97

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/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits scfile=/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits outfile=/scratch/kocevski/324186/cmap_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits scfile=/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits outfile=/scratch/kocevski/324186/cmap_HighResolution_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.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.55
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits', '/scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits', expMap='/scratch/kocevski/324186/expmap_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits', expCube='/scratch/kocevski/324186/ltcube_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324186/Model_4FGL_J2245.9+1544_daily_bin1703.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/324186/ft1_filtered_4FGL_J2245.9+1544_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324186/ft2_4FGL_J2245.9+1544_daily_bin1703.fits
Exposure map: /scratch/kocevski/324186/expmap_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324186/ltcube_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324186/Model_4FGL_J2245.9+1544_daily_bin1703.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) = 7234.64468083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4793       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.961       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .77701       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1504       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24920E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .72726       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3659       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.336       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7624       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.440       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.276       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .84829       1.0000         .10000E-03   10000.    
    22 'norm      '    14.360       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0990       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95563       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=   7234.629     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2739 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .30980        .61970E-08** at limit **
   2  Prefactor     3.4794        10.622       -.57291E-06    .12098E-05
   3  norm          1.2841        4.6809       -.21929E-05   -.76274E-04
   4  Prefactor     .10000E-03    8.1950        .40630E-06** at limit **
   5  Prefactor     16.955        16.722       -.22364E-06    .10901E-03
   6  Prefactor     .77697        .30824       -.63191E-07   -.12366E-02
   7  Prefactor     .10000E-03    10.329        .96024E-05** at limit **
   8  norm          1.1500        1.1519        .16565E-07    .32829E-03
   9  Prefactor     .10000E-03    10.100       -.93494E-05** at limit **
  10  Prefactor     .10004E-03    6.0708       -.76380E-06** at limit **
  11  Prefactor     .10000E-03    15.910       -.71340E-06** at limit **
  12  Prefactor     .72725        .20060       -.26188E-07    .15578E-02
  13  Prefactor     6.3609        13.301       -.83458E-06    .70258E-04
  14  Prefactor     25.313        45.965       -.28889E-04   -.27468E-05
  15  Prefactor     5.7637        7.7857       -.50177E-06    .72597E-05
  16  Prefactor     .10000E-03    37.356        .21199E-05** at limit **
  17  Prefactor     28.437        38.398       -.40587E-05    .29264E-04
  18  Prefactor     .10000E-03    4.2490       -.79064E-07** at limit **
  19  Prefactor     15.278        21.441       -.12844E-05    .20592E-04
  20  norm          .10000E-03    3.2847       -.62643E-07** at limit **
  21  Prefactor     .84855        1.5099        .39352E-06   -.97779E-03
  22  norm          14.360        13.781       -.41595E-07    .58426E-05
  23  Normalizat    1.0990        .25465        .29524E-05    .69464E-04
  24  Prefactor     .95567        .12392        .77681E-06    .12330E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.47945
  norm       = 1.28415
  Prefactor  = 0.0001
  Prefactor  = 16.9554
  Prefactor  = 0.776968
  Prefactor  = 0.0001
  norm       = 1.15003
  Prefactor  = 0.0001
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.727248
  Prefactor  = 6.36089
  Prefactor  = 25.3134
  Prefactor  = 5.76374
  Prefactor  = 0.0001
  Prefactor  = 28.4366
  Prefactor  = 0.0001
  Prefactor  = 15.2777
  norm       = 0.0001
  Prefactor  = 0.848549
  norm       = 14.3603
  Normalizat = 1.09897
  Prefactor  = 0.955665
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.629     FROM HESSE     STATUS=OK           409 CALLS     3148 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .31442        .46211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4794        10.599        .21678E-03   -1.5335    
   3  norm          1.2841        4.6610        .33523E-03   -1.5481    
   4  Prefactor     .10000E-03    8.2078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.955        16.885        .97252E-04   -1.4884    
   6  Prefactor     .77697        .30591        .28047E-04   -1.5532    
   7  Prefactor     .10000E-03    10.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1500        1.1348        .43149E-04   -1.5493    
   9  Prefactor     .10000E-03    10.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    91.034        .39065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .72725        .20019        .18579E-04   -1.5537    
  13  Prefactor     6.3609        13.239        .15908E-03   -1.5203    
  14  Prefactor     25.313        45.999        .79585E-04   -1.4701    
  15  Prefactor     5.7637        7.7727        .16732E-03   -1.5228    
  16  Prefactor     .10000E-03    38.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.437        38.516        .75125E-04   -1.4641    
  18  Prefactor     .10000E-03    4.3000        .17095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.278        21.497        .10247E-03   -1.4926    
  20  norm          .10000E-03    3.2904        .15055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .84855        6.8025        .69848E-01   -1.5524    
  22  norm          14.360        13.797        .10569E-03   -1.4950    
  23  Normalizat    1.0990        .30240        .35316E-03   -.89785    
  24  Prefactor     .95567        .14695        .19979E-03   -.94222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71829e-10
Minuit parameter uncertainties:
  1  8.29997e-07
  2  10.6044
  3  4.66232
  4  7.03857e-06
  5  16.8899
  6  0.305908
  7  1.76899e-05
  8  1.13485
  9  7.24672e-06
  10  0.00401171
  11  5.67388e-06
  12  0.20019
  13  13.2454
  14  46.0638
  15  7.77402
  16  4.2036e-05
  17  38.5495
  18  9.31056e-06
  19  21.5081
  20  9.57019e-07
  21  4.80556
  22  13.8002
  23  0.302873
  24  0.147013
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  7.247e-06  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:  9.557e-01  1.470e-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.099e+00  3.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 5.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324186/likelihoodResults_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.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) = 7234.629295
delta logL = -0.000470634719022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7234.62882819
delta logL = -3.82553844247e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12323E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9418       1.0000          .0000       10.000    
     3 'Normalizat'    1.0988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95557       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7234.629     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10144E-03    88.449        .18142E-02** at limit **
   2  Index         1.8833        8.6489        .50000        .15063E-04
   3  Normalizat    1.0990        .17013E-01    .35316E-03    .20281E-05
   4  Prefactor     .95567        .91023E-02    .19979E-03    .50076E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101438
  Index      = 1.88325
  Normalizat = 1.09897
  Prefactor  = 0.955665
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.629     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10144E-03    391.22        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8833        7.8328        .50000       -.67302    
   3  Normalizat    1.0990        .37134E-01    .14126E-04   -.89785    
   4  Prefactor     .95567        .19866E-01    .79914E-05   -.94222    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.33284e-08
Minuit parameter uncertainties:
  1  0.047746
  2  609.414
  3  0.0371344
  4  0.0198659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324186': 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): 102
logL (Free Index) = 7234.62882409
delta logL = 2.73707883025e-07

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.014e-04  4.775e-02  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.883e+00  6.094e+02  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.557e-01  1.987e-02  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.099e+00  3.713e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 341.491 15.748

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/324186/cmap_HighResolution_680745601_681004801_4FGL_J2245.9+1544_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.39e-08', time_completed='2022-08-01 01:36:28.929639', job_id='324186', GAL2='0.96', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1659342988.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1703' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:36:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 324186: <4FGL_J2245.9+1544_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:24 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:22:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:22:21 2022
Terminated at Mon Aug  1 01:36:29 2022
Results reported at Mon Aug  1 01:36:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1703 341.491 15.7479 680745601 681004801 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            965 sec.

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

