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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1169
RA = 341.491, Dec = 15.7479
tmin = 542332801, tmax = 542592001
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='467321', job_status='RUN', time_executed='2021-09-28 20:19:25.111856', time_epoch_executed='1632885565.11' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467321

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467321/ft1_4FGL_J2245.9+1544_daily_bin1169.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467321/ft1_4FGL_J2245.9+1544_daily_bin1169.fits outfile=/scratch/kocevski/467321/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1169.fits ra=341.491 dec=15.7479 rad=12.0 tmin=542332801.0 tmax=542592001.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.15
user 3.90
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.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/467321/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1169.fits evtable="EVENTS" outfile="/scratch/kocevski/467321/ft1_filtered_4FGL_J2245.9+1544_daily_bin1169.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467321/ft1_filtered_4FGL_J2245.9+1544_daily_bin1169.fits" evtable="EVENTS" scfile=/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits sctable="SC_DATA" outfile=/scratch/kocevski/467321/ltcube_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.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/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits
.....................!
real 11.76
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467321/ft1_filtered_4FGL_J2245.9+1544_daily_bin1169.fits evtable="EVENTS" scfile=/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits sctable="SC_DATA" expcube=/scratch/kocevski/467321/ltcube_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.fits outfile=/scratch/kocevski/467321/expmap_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.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/467321/ltcube_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.fits
.....................!
real 189.73
user 184.14
sys 5.22

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/467321/ft1_filtered_4FGL_J2245.9+1544_daily_bin1169.fits scfile=/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits outfile=/scratch/kocevski/467321/cmap_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467321/ft1_filtered_4FGL_J2245.9+1544_daily_bin1169.fits scfile=/scratch/kocevski/467321/ft2_4FGL_J2245.9+1544_daily_bin1169.fits outfile=/scratch/kocevski/467321/cmap_HighResolution_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28730       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.019       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.081       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0040       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3931       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8772       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.003       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    54.185       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6719       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.1927       1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.536       1.0000         .10000E-03   10000.    
    22 'norm      '    2.1230       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68483       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0573       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=   7932.298     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2805 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28669        .88130        .16956E-06    .10542E-04
   2  Prefactor     .10000E-03    5.9495       -.16219E-06** at limit **
   3  norm          .10000E-03    1.9565        .57507E-07** at limit **
   4  Prefactor     24.018        15.329        .19241E-07    .55766E-06
   5  Prefactor     18.079        12.763        .50859E-07   -.10463E-05
   6  Prefactor     1.0039        .25696        .47994E-08   -.59966E-04
   7  Prefactor     6.3925        6.4785        .27170E-07   -.13356E-05
   8  norm          .10000E-03    .72801        .33724E-07** at limit **
   9  Prefactor     .10000E-03    12.837        .11304E-06** at limit **
  10  Prefactor     .10000E-03    2.7062       -.20917E-07** at limit **
  11  Prefactor     .10000E-03    7.6800        .14128E-06** at limit **
  12  Prefactor     1.8772        .25635        .40533E-09    .33040E-04
  13  Prefactor     3.3538        7.9882        .21555E-05   -.28567E-04
  14  Prefactor     50.963        45.724        .39326E-05   -.22821E-04
  15  Prefactor     .10000E-03    2.8429        .10511E-07** at limit **
  16  Prefactor     .10000E-03    5.3191        .13573E-06** at limit **
  17  Prefactor     54.178        38.338        .52470E-06   -.98883E-05
  18  Prefactor     8.6704        6.6620        .28523E-06   -.73167E-05
  19  Prefactor     .10000E-03    5.2929        .58342E-07** at limit **
  20  norm          1.1271        83.432       -.35511E-05   -.13702E-04
  21  Prefactor     29.584        18.719        .46668E-06    .30589E-03
  22  norm          2.1163        33.353        .78231E-06    .16716E-05
  23  Normalizat    .68488        .25469       -.39564E-06    .32822E-04
  24  Prefactor     1.0574        .12909       -.23193E-06    .79820E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.286687
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.0175
  Prefactor  = 18.0794
  Prefactor  = 1.00392
  Prefactor  = 6.3925
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.8772
  Prefactor  = 3.35375
  Prefactor  = 50.963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.1778
  Prefactor  = 8.67045
  Prefactor  = 0.0001
  norm       = 1.12711
  Prefactor  = 29.5842
  norm       = 2.11629
  Normalizat = 0.684878
  Prefactor  = 1.05739
 **********
 **   18 **HESSE 
 **********

 FCN=   7932.298     FROM HESSE     STATUS=OK           397 CALLS     3202 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28669        .87164        .13915E-03   -1.5601    
   2  Prefactor     .10000E-03    5.9589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.9623        .12163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.018        15.345        .81733E-04   -1.4727    
   5  Prefactor     18.079        12.771        .94191E-04   -1.4857    
   6  Prefactor     1.0039        .25685        .21302E-04   -1.5508    
   7  Prefactor     6.3925        6.4818        .15874E-03   -1.5202    
   8  norm          .10000E-03    .74493        .74191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.7088        .14308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8772        .25649        .15600E-04   -1.5434    
  13  Prefactor     3.3538        7.9945        .11046E-02   -1.5342    
  14  Prefactor     50.963        45.032        .56156E-04   -1.4279    
  15  Prefactor     .10000E-03    2.8583        .14663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.3342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     54.178        38.234        .54490E-04   -1.4235    
  18  Prefactor     8.6704        6.6594        .68059E-03   -1.5119    
  19  Prefactor     .10000E-03    5.2953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.1271        70.595        .41678E-03   -1.5496    
  21  Prefactor     29.584        16.778        .73721E-04   -1.4620    
  22  norm          2.1163        33.423        .28303E-03   -1.5417    
  23  Normalizat    .68488        .28035        .43357E-03   -1.0449    
  24  Prefactor     1.0574        .14437        .19481E-03   -.90840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29463e-10
Minuit parameter uncertainties:
  1  0.871683
  2  2.34874e-06
  3  3.0034e-07
  4  15.3475
  5  12.7725
  6  0.256853
  7  6.48251
  8  7.45333e-08
  9  7.52174e-07
  10  6.84922e-08
  11  1.55075e-06
  12  0.256493
  13  7.99707
  14  45.0622
  15  2.07843e-07
  16  2.25713e-06
  17  38.2518
  18  6.66001
  19  9.47185e-07
  20  17.8616
  21  16.7808
  22  16.8313
  23  0.280935
  24  0.144425
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  7.522e-07  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:  1.057e+00  1.444e-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:  6.849e-01  2.809e-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: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467321/likelihoodResults_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.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) = 7932.29867604
delta logL = -0.000370557658243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7932.29830545
delta logL = 3.31783667207e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9450       1.0000          .0000       10.000    
     3 'Normalizat'    .68487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       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=   7932.298     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      212 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    339.58        .90712E-02** at limit **
   2  Index         1.9266        7.7512        .50000        .10666E-04
   3  Normalizat    .68488        .29333E-01    .97836E-01    .21571E-03
   4  Prefactor     1.0574        .16180E-01    .39495E-01    .29109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.92656
  Normalizat = 0.684879
  Prefactor  = 1.05739
 **********
 **   18 **HESSE 
 **********

 FCN=   7932.298     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9266        5.8766        .50000       -.66199    
   3  Normalizat    .68488        .25484        .43356E-03   -1.0449    
   4  Prefactor     1.0574        .14119        .19481E-03   -.90840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28319e-10
Minuit parameter uncertainties:
  1  0.000481804
  2  4.62595
  3  0.255285
  4  0.141244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467321': 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) = 7932.29830537
delta logL = 1.06477273221e-07

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  4.818e-04  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.927e+00  4.626e+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:  1.057e+00  1.412e-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:  6.849e-01  2.553e-01  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/467321/cmap_HighResolution_542332801_542592001_4FGL_J2245.9+1544_daily_bin1169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-09-28 20:31:46.106448', job_id='467321', GAL2='1.06', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632886306.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1169' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:31:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 467321: <4FGL_J2245.9+1544_daily_bin1169> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:15:45 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:15:47 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:47 2021
Terminated at Tue Sep 28 20:31:46 2021
Results reported at Tue Sep 28 20:31:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1169 341.491 15.7479 542332801 542592001 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 :                                   737.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

