/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 174 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2245.9+1544_daily_bin49
RA = 341.491, Dec = 15.7479
tmin = 252028801, tmax = 252288001
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='461476', job_status='RUN', time_executed='2021-09-28 19:58:43.926131', time_epoch_executed='1632884323.93' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/461476

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/461476/ft1_4FGL_J2245.9+1544_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/461476/ft1_4FGL_J2245.9+1544_daily_bin49.fits outfile=/scratch/kocevski/461476/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin49.fits ra=341.491 dec=15.7479 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.43
user 1.24
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/461476/ft1_filtered_4FGL_J2245.9+1544_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/461476/ltcube_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.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/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits
.....................!
real 12.97
user 12.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/461476/ft1_filtered_4FGL_J2245.9+1544_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/461476/ltcube_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.fits outfile=/scratch/kocevski/461476/expmap_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.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/461476/ltcube_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.fits
.....................!
real 190.04
user 184.65
sys 5.07

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/461476/ft1_filtered_4FGL_J2245.9+1544_daily_bin49.fits scfile=/scratch/kocevski/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits outfile=/scratch/kocevski/461476/cmap_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/461476/ft1_filtered_4FGL_J2245.9+1544_daily_bin49.fits scfile=/scratch/kocevski/461476/ft2_4FGL_J2245.9+1544_daily_bin49.fits outfile=/scratch/kocevski/461476/cmap_HighResolution_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83374       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43417E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44041       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4056       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0206       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.150       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8192       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7113       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.104       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    68.319       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10845E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    24.705       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .54503E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.9583       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94370       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92587       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=   7259.761     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2877 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83370        .81978       -.77050E-07   -.58429E-03
   2  Prefactor     .10000E-03    8.4475        .67772E-06** at limit **
   3  norm          .10000E-03    1.2712        .81326E-07** at limit **
   4  Prefactor     .10000E-03    50.087       -.45972E-06** at limit **
   5  Prefactor     .10245E-03    7.2474       -.10232E-05** at limit **
   6  Prefactor     .44045        .20392       -.25771E-07   -.53497E-03
   7  Prefactor     .10000E-03    2.8738        .93902E-07** at limit **
   8  norm          1.4056        1.3841       -.49623E-06    .58412E-04
   9  Prefactor     7.0233        25.990       -.56195E-05   -.26812E-04
  10  Prefactor     10.307        9.7132        .80141E-05    .21506E-04
  11  Prefactor     44.129        23.485        .14695E-04    .67017E-05
  12  Prefactor     1.8192        .25697       -.12269E-06    .30419E-02
  13  Prefactor     .10000E-03    5.6002        .62945E-07** at limit **
  14  Prefactor     2.7272        140.62       -.44094E-04   -.73068E-05
  15  Prefactor     10.103        6.7778       -.31708E-06    .62351E-05
  16  Prefactor     .10000E-03    7.6241        .58447E-07** at limit **
  17  Prefactor     68.361        40.314       -.67999E-05    .52476E-05
  18  Prefactor     .10000E-03    7.9800       -.74586E-06** at limit **
  19  Prefactor     .10000E-03    37.402       -.45313E-06** at limit **
  20  norm          24.718        15.487        .21947E-05    .69233E-03
  21  Prefactor     .10000E-03    7.0303       -.20365E-05** at limit **
  22  norm          8.9584        15.311        .65265E-06    .22481E-04
  23  Normalizat    .94381        .22426        .10615E-05    .27401E-03
  24  Prefactor     .92589        .11700       -.33544E-06    .44123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.833704
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000102454
  Prefactor  = 0.44045
  Prefactor  = 0.0001
  norm       = 1.40565
  Prefactor  = 7.02333
  Prefactor  = 10.3065
  Prefactor  = 44.1295
  Prefactor  = 1.81919
  Prefactor  = 0.0001
  Prefactor  = 2.72719
  Prefactor  = 10.1028
  Prefactor  = 0.0001
  Prefactor  = 68.3613
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.7179
  Prefactor  = 0.0001
  norm       = 8.95842
  Normalizat = 0.943814
  Prefactor  = 0.92589
 **********
 **   18 **HESSE 
 **********

 FCN=   7259.761     FROM HESSE     STATUS=OK           407 CALLS     3284 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83370        .78389        .73841E-03   -1.5525    
   2  Prefactor     .10000E-03    8.4936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2730        .93809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10245E-03    11.043        .68843E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44045        .20126        .24735E-04   -1.5575    
   7  Prefactor     .10000E-03    2.8789        .14105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4056        1.3899        .95646E-04   -1.5471    
   9  Prefactor     7.0233        26.035        .15140E-03   -1.5178    
  10  Prefactor     10.307        9.6866        .12478E-03   -1.5066    
  11  Prefactor     44.129        23.418        .30169E-03   -1.4378    
  12  Prefactor     1.8192        .25811        .14961E-04   -1.5438    
  13  Prefactor     .10000E-03    5.6259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7272        142.93        .24736E-03   -1.5378    
  15  Prefactor     10.103        6.7774        .12606E-03   -1.5072    
  16  Prefactor     .10000E-03    7.6635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     68.361        40.339        .48561E-04   -1.4052    
  18  Prefactor     .10000E-03    8.3361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    38.852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          24.718        14.258        .80593E-04   -1.4713    
  21  Prefactor     .10000E-03    20.574        .39784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.9584        15.297        .13391E-03   -1.5109    
  23  Normalizat    .94381        .25913        .34932E-03   -.94937    
  24  Prefactor     .92589        .13625        .19704E-03   -.95242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30903e-10
Minuit parameter uncertainties:
  1  0.783896
  2  2.0475e-06
  3  1.98067e-07
  4  3.51678e-05
  5  0.0104144
  6  0.201256
  7  2.07713e-07
  8  1.38994
  9  26.077
  10  9.68805
  11  23.4227
  12  0.258113
  13  1.00468e-05
  14  39.5855
  15  6.77793
  16  1.66305e-06
  17  40.3552
  18  1.06444e-06
  19  7.48104e-06
  20  14.2597
  21  3.51219e-05
  22  15.3032
  23  0.259473
  24  0.136301
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  7.023e+00  2.608e+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:  9.259e-01  1.363e-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.438e-01  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/461476/likelihoodResults_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.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) = 7259.65976096
delta logL = 0.10132286676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7259.52684644
delta logL = 0.234237385843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17381E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.6769       1.0000          .0000       10.000    
     3 'Normalizat'    .89230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94437       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=   7259.527     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      350 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17712E-01    .27241        .33827E-02    .50025E-02
   2  Index         4.6708        1.7276        .84466E-01    .11640E-03
   3  Normalizat    .89235        .33653E-01    .80759E-01   -.36392E-03
   4  Prefactor     .94442        .18953E-01    .45568E-01   -.74840E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0177119
  Index      = 4.67079
  Normalizat = 0.892349
  Prefactor  = 0.944423
 **********
 **   18 **HESSE 
 **********

 FCN=   7259.527     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      381 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17712E-01    1.6500        .14618E-04   -1.5681    
   2  Index         4.6708        7.2172        .49516E-02   -.65889E-01
   3  Normalizat    .89235        .18786        .35751E-03   -.96730    
   4  Prefactor     .94442        .10325        .19521E-03   -.94606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.06432e-10
Minuit parameter uncertainties:
  1  0.340946
  2  5.96763
  3  0.187999
  4  0.103274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/461476': 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) = 7259.52684361
delta logL = 0.234240213602

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.771e-02  3.409e-01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  4.671e+00  5.968e+00  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.444e-01  1.033e-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:  8.923e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/461476/cmap_HighResolution_252028801_252288001_4FGL_J2245.9+1544_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='8.48e-08', time_completed='2021-09-28 20:10:43.252729', job_id='461476', GAL2='0.94', fit_tolerance='1e-08', EG2='0.89', EG='0.94', time_epoch_completed='1632885043.25', return_code2='102', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.34e-01', ts2='0.59', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='49' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:10:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 461476: <4FGL_J2245.9+1544_daily_bin49> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin49> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 19:55:39 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:55:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:55:41 2021
Terminated at Tue Sep 28 20:10:44 2021
Results reported at Tue Sep 28 20:10:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin49 341.491 15.7479 252028801 252288001 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 :                                   719.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             320.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            905 sec.

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

