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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1380
RA = 341.491, Dec = 15.7479
tmin = 597024001, tmax = 597283201
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='468696', job_status='RUN', time_executed='2021-09-28 20:23:31.107040', time_epoch_executed='1632885811.11' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468696

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468696/ft1_4FGL_J2245.9+1544_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468696/ft2_4FGL_J2245.9+1544_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468696/ft1_4FGL_J2245.9+1544_daily_bin1380.fits outfile=/scratch/kocevski/468696/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1380.fits ra=341.491 dec=15.7479 rad=12.0 tmin=597024001.0 tmax=597283201.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.66
user 3.44
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468696/ft1_filtered_4FGL_J2245.9+1544_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/468696/ft2_4FGL_J2245.9+1544_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/468696/ltcube_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.fits outfile=/scratch/kocevski/468696/expmap_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.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/468696/ltcube_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.fits
.....................!
real 190.30
user 185.50
sys 4.49

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468696/ft1_filtered_4FGL_J2245.9+1544_daily_bin1380.fits scfile=/scratch/kocevski/468696/ft2_4FGL_J2245.9+1544_daily_bin1380.fits outfile=/scratch/kocevski/468696/cmap_HighResolution_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14892E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.003       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.779       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5115       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .70127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .92355       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46578       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    105.45       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.428       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.101       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.076       1.0000         .10000E-03   10000.    
    20 'norm      '    10.669       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    10.925       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .31783       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2517       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=   7682.136     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2737 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11348E-03    .40462       -.28541E-06** at limit **
   2  Prefactor     .10000E-03    7.9478       -.78843E-06** at limit **
   3  norm          10.005        6.2324        .13315E-06    .22556E-03
   4  Prefactor     29.779        18.584       -.69611E-08    .27298E-04
   5  Prefactor     5.5090        8.6195        .17921E-05   -.85507E-03
   6  Prefactor     .70128        .24250        .24347E-07    .55356E-03
   7  Prefactor     .10000E-03    4.9981       -.32076E-07** at limit **
   8  norm          .92371        1.0421        .76714E-08    .13357E-03
   9  Prefactor     .10000E-03    10.158       -.95343E-06** at limit **
  10  Prefactor     35.805        15.094       -.17181E-06   -.10719E-03
  11  Prefactor     .10000E-03    12.129        .13431E-05** at limit **
  12  Prefactor     .46581        .16561        .12589E-07    .26417E-03
  13  Prefactor     .10000E-03    9.1818        .33276E-05** at limit **
  14  Prefactor     105.45        48.808        .79703E-06    .72954E-04
  15  Prefactor     16.428        8.8343        .67275E-07    .37490E-04
  16  Prefactor     .10000E-03    10.853       -.27829E-05** at limit **
  17  Prefactor     .10000E-03    46.807        .75097E-05** at limit **
  18  Prefactor     12.102        7.4367        .17155E-06    .71024E-05
  19  Prefactor     15.075        17.249       -.19902E-06   -.21596E-04
  20  norm          10.667        12.087       -.78373E-07   -.17077E-04
  21  Prefactor     .10000E-03    3.8038       -.44905E-07** at limit **
  22  norm          10.924        14.616       -.96551E-07   -.11008E-04
  23  Normalizat    .31790        .33147       -.51749E-05   -.16371E-04
  24  Prefactor     1.2517        .16516        .11970E-05    .21346E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000113484
  Prefactor  = 0.0001
  norm       = 10.0055
  Prefactor  = 29.779
  Prefactor  = 5.50901
  Prefactor  = 0.701281
  Prefactor  = 0.0001
  norm       = 0.923707
  Prefactor  = 0.0001
  Prefactor  = 35.8052
  Prefactor  = 0.0001
  Prefactor  = 0.46581
  Prefactor  = 0.000100001
  Prefactor  = 105.449
  Prefactor  = 16.4282
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 12.1017
  Prefactor  = 15.0753
  norm       = 10.6666
  Prefactor  = 0.0001
  norm       = 10.9244
  Normalizat = 0.317898
  Prefactor  = 1.25171
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.136     FROM HESSE     STATUS=OK           409 CALLS     3146 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11348E-03    1.0422        .18448E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.9709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.005        6.2088        .12669E-03   -1.5075    
   4  Prefactor     29.779        18.338        .73420E-04   -1.4616    
   5  Prefactor     5.5090        12.842        .85571E-03   -1.5238    
   6  Prefactor     .70128        .24030        .22705E-04   -1.5540    
   7  Prefactor     .10000E-03    5.0415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92371        1.0346        .92138E-04   -1.5516    
   9  Prefactor     .10000E-03    10.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     35.805        14.805        .66975E-04   -1.4511    
  11  Prefactor     .10000E-03    12.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .46581        .16299        .19707E-04   -1.5571    
  13  Prefactor     .10000E-03    9.3236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     105.45        48.303        .39160E-04   -1.3651    
  15  Prefactor     16.428        8.7701        .98816E-04   -1.4897    
  16  Prefactor     .10000E-03    10.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    47.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.102        7.3754        .11516E-03   -1.5012    
  19  Prefactor     15.075        17.207        .10316E-03   -1.4931    
  20  norm          10.667        11.980        .12266E-03   -1.5055    
  21  Prefactor     .10000E-03    3.8099        .16676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.924        14.613        .12121E-03   -1.5047    
  23  Normalizat    .31790        .27433        .58327E-03   -1.2179    
  24  Prefactor     1.2517        .14139        .17538E-03   -.84755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23741e-09
Minuit parameter uncertainties:
  1  0.00749748
  2  4.2176e-05
  3  6.20922
  4  18.3411
  5  12.8479
  6  0.240297
  7  2.97799e-06
  8  1.03467
  9  6.05755e-05
  10  14.8061
  11  9.30177e-05
  12  0.162994
  13  0.000197306
  14  48.3209
  15  8.77075
  16  0.000172255
  17  0.000966174
  18  7.37596
  19  17.2123
  20  11.9826
  21  1.91259e-06
  22  14.6178
  23  0.2755
  24  0.141435
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  6.058e-05  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.252e+00  1.414e-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:  3.179e-01  2.755e-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: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/468696/likelihoodResults_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.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) = 7682.13684536
delta logL = -0.000467219007078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7682.13637806
delta logL = 8.16662577563e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9384       1.0000          .0000       10.000    
     3 'Normalizat'    .31790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2517       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=   7682.136     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      243 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10339E-03    1.7612        .18142E-01** at limit **
   2  Index         1.8290        6.8994        .50000        .13849E-04
   3  Normalizat    .31790        .20579E-02    .58327E-03   -.24169E-05
   4  Prefactor     1.2517        .11864E-02    .17538E-03    .11538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010339
  Index      = 1.82904
  Normalizat = 0.3179
  Prefactor  = 1.2517
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.136     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10339E-03    69.334        .29013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8290        5.8940        .50000       -.68696    
   3  Normalizat    .31790        .12985E-01    .23331E-04   -1.2179    
   4  Prefactor     1.2517        .74858E-02    .70153E-05   -.84755    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.81074e-09
Minuit parameter uncertainties:
  1  0.030699
  2  367.272
  3  0.0129848
  4  0.00748584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468696': 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) = 7682.13637771
delta logL = 4.27237864642e-07

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.034e-04  3.070e-02  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.829e+00  3.673e+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:  1.252e+00  7.486e-03  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:  3.179e-01  1.298e-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/468696/cmap_HighResolution_597024001_597283201_4FGL_J2245.9+1544_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-28 20:36:11.520017', job_id='468696', GAL2='1.25', fit_tolerance='1e-08', EG2='0.32', EG='0.32', time_epoch_completed='1632886571.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='4.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1380' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:36:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 468696: <4FGL_J2245.9+1544_daily_bin1380> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1380> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:20:34 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:20:36 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:20:36 2021
Terminated at Tue Sep 28 20:36:12 2021
Results reported at Tue Sep 28 20:36:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1380 341.491 15.7479 597024001 597283201 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 :                             256.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            938 sec.

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

