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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1000
RA = 341.491, Dec = 15.7479
tmin = 498528001, tmax = 498787201
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='467067', job_status='RUN', time_executed='2021-09-28 20:17:40.537021', time_epoch_executed='1632885460.54' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467067

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467067/ft1_4FGL_J2245.9+1544_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467067/ft2_4FGL_J2245.9+1544_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467067/ft1_4FGL_J2245.9+1544_daily_bin1000.fits outfile=/scratch/kocevski/467067/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1000.fits ra=341.491 dec=15.7479 rad=12.0 tmin=498528001.0 tmax=498787201.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 4.99
user 4.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467067/ft2_4FGL_J2245.9+1544_daily_bin1000.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/467067/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1000.fits evtable="EVENTS" outfile="/scratch/kocevski/467067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1000.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/467067/ft2_4FGL_J2245.9+1544_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/467067/ltcube_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.fits outfile=/scratch/kocevski/467067/expmap_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.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/467067/ltcube_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.fits
.....................!
real 190.91
user 185.47
sys 5.08

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/467067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1000.fits scfile=/scratch/kocevski/467067/ft2_4FGL_J2245.9+1544_daily_bin1000.fits outfile=/scratch/kocevski/467067/cmap_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1000.fits scfile=/scratch/kocevski/467067/ft2_4FGL_J2245.9+1544_daily_bin1000.fits outfile=/scratch/kocevski/467067/cmap_HighResolution_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    16.419       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3997       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.603       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3748       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .84161       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8971       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.304       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1218       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6720       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.659       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      '    22.238       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2803       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70839       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8179.377     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     2267 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .25461       -.15442E-08** at limit **
   2  Prefactor     16.419        1.0167       -.22626E-06    .29484E-03
   3  norm          1.3998        3.7119        .25810E-05    .20573E-05
   4  Prefactor     22.601        1.1825       -.68049E-06    .14046E-02
   5  Prefactor     7.3805        1.0045       -.71595E-07    .21537E-04
   6  Prefactor     4.3749        .47698        .28809E-08   -.42087E-04
   7  Prefactor     .10004E-03    13.061       -.26625E-04** at limit **
   8  norm          .84156        .84114        .10557E-06   -.89318E-04
   9  Prefactor     .10082E-03    17.806        .17796E-04** at limit **
  10  Prefactor     .10000E-03    5.0648       -.78424E-06** at limit **
  11  Prefactor     .10000E-03    8.4095        .45359E-05** at limit **
  12  Prefactor     2.8971        .33219        .10622E-07    .28526E-03
  13  Prefactor     26.306        1.0085        .95493E-07   -.13477E-03
  14  Prefactor     .10073E-03    25.953       -.25271E-04** at limit **
  15  Prefactor     7.1234        1.0074       -.17204E-06    .25116E-04
  16  Prefactor     1.6688        1.0622       -.21518E-07   -.91183E-05
  17  Prefactor     .10012E-03    13.962        .24865E-04** at limit **
  18  Prefactor     .10000E-03    3.0147       -.10327E-05** at limit **
  19  Prefactor     15.660        1.0477        .39577E-06   -.54861E-03
  20  norm          .10000E-03    3.5337        .11676E-05** at limit **
  21  Prefactor     .10000E-03    2.8661        .23465E-06** at limit **
  22  norm          22.238        1.0008        .33394E-07   -.58102E-04
  23  Normalizat    1.2803        .30282       -.28087E-06   -.66458E-05
  24  Prefactor     .70839        .15143       -.44041E-06   -.50767E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 16.4186
  norm       = 1.39978
  Prefactor  = 22.6012
  Prefactor  = 7.38049
  Prefactor  = 4.37493
  Prefactor  = 0.000100039
  norm       = 0.841556
  Prefactor  = 0.000100819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.89706
  Prefactor  = 26.3061
  Prefactor  = 0.000100728
  Prefactor  = 7.12338
  Prefactor  = 1.66881
  Prefactor  = 0.000100119
  Prefactor  = 0.0001
  Prefactor  = 15.6601
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 22.2378
  Normalizat = 1.28026
  Prefactor  = 0.708392
 **********
 **   18 **HESSE 
 **********

 FCN=   8179.377     FROM HESSE     STATUS=OK           449 CALLS     2716 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .24957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.419        19.683        .24711E-02   -1.4897    
   3  norm          1.3998        3.7672        .91697E-02   -1.5471    
   4  Prefactor     22.601        24.557        .21063E-02   -1.4757    
   5  Prefactor     7.3805        13.654        .36907E-02   -1.5165    
   6  Prefactor     4.3749        .50477        .43832E-02   -1.5290    
   7  Prefactor     .10004E-03    13.789        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .84156        .77941        .12594E-01   -1.5524    
   9  Prefactor     .10082E-03    31.971        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.4088        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8971        .33426        .37627E-02   -1.5368    
  13  Prefactor     26.306        15.305        .19527E-02   -1.4682    
  14  Prefactor     .10073E-03    37.682        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.1234        10.322        .37579E-02   -1.5174    
  16  Prefactor     1.6688        27.238        .81497E-02   -1.5450    
  17  Prefactor     .10012E-03    16.493        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.0078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.660        23.718        .25304E-02   -1.4916    
  20  norm          .10000E-03    3.5334        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.8642        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          22.238        21.148        .21235E-02   -1.4764    
  23  Normalizat    1.2803        .26646        .85623E-01   -.84157    
  24  Prefactor     .70839        .12917        .42513E-01   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84629e-07
Minuit parameter uncertainties:
  1  1.10835e-07
  2  19.6908
  3  3.76784
  4  24.5679
  5  13.6599
  6  0.504771
  7  0.00146005
  8  0.779424
  9  0.0102406
  10  2.74868e-05
  11  7.02106e-05
  12  0.334262
  13  15.3074
  14  0.0104801
  15  10.3242
  16  13.491
  17  0.00280775
  18  5.45448e-06
  19  23.7324
  20  6.98688e-06
  21  5.94875e-07
  22  21.1555
  23  0.266749
  24  0.129222
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.008e-04  1.024e-02  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:  7.084e-01  1.292e-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.280e+00  2.667e-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: 9.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467067/likelihoodResults_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.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) = 8179.37741066
delta logL = -0.000148589517266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8179.37726224
delta logL = -1.67919097294e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8952       1.0000          .0000       10.000    
     3 'Normalizat'    1.2803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70840       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=   8179.377     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      237 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    863.04        .90712E-02** at limit **
   2  Index         1.9273        6.9586        .50000       -.93062E-05
   3  Normalizat    1.2803        .35900E-01    .85623E-01    .25100E-04
   4  Prefactor     .70839        .18399E-01    .42513E-01    .77076E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92726
  Normalizat = 1.28026
  Prefactor  = 0.708392
 **********
 **   18 **HESSE 
 **********

 FCN=   8179.377     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1713.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9273        5.5245        .50000       -.66181    
   3  Normalizat    1.2803        .53298E-01    .37912E-03   -.84157    
   4  Prefactor     .70839        .27356E-01    .25193E-03   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0051e-08
Minuit parameter uncertainties:
  1  0.0016837
  2  30.7424
  3  0.0533004
  4  0.0273567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467067': 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) = 8179.37726215
delta logL = -7.65458025853e-08

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.684e-03  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.927e+00  3.074e+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:  7.084e-01  2.736e-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.280e+00  5.330e-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/467067/cmap_HighResolution_498528001_498787201_4FGL_J2245.9+1544_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2021-09-28 20:29:52.685226', job_id='467067', GAL2='0.71', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632886192.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-7.65e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1000' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:29:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 467067: <4FGL_J2245.9+1544_daily_bin1000> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1000> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:15:25 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:15:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:15:27 2021
Terminated at Tue Sep 28 20:29:53 2021
Results reported at Tue Sep 28 20:29:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1000 341.491 15.7479 498528001 498787201 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 :                                   728.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            868 sec.

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

