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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin73
RA = 137.709, Dec = 38.9999
tmin = 258249601, tmax = 258508801
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='46540', job_status='RUN', time_executed='2021-08-31 02:39:05.963882', time_epoch_executed='1630402745.96' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/46540

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/46540/ft1_4FGL_J0910.8+3859_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/46540/ft1_4FGL_J0910.8+3859_daily_bin73.fits outfile=/scratch/kocevski/46540/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin73.fits ra=137.709 dec=38.9999 rad=12.0 tmin=258249601.0 tmax=258508801.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 2.12
user 0.98
sys 0.37

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.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/46540/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.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 1.87
user 0.33
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/46540/ltcube_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.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/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits
.....................!
real 10.36
user 9.14
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/46540/ltcube_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits outfile=/scratch/kocevski/46540/expmap_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.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/46540/ltcube_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits
.....................!
real 193.30
user 185.36
sys 4.95

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 203 point sources and 0 extended sources

Setting source of interest to:
4FGL J0910.8+3859 @ 137.709 38.9999

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits outfile=/scratch/kocevski/46540/cmap_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.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=137.709 yref=38.9999 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.75
user 0.35
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits outfile=/scratch/kocevski/46540/cmap_HighResolution_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.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=137.709 yref=38.9999 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.75
user 0.35
sys 0.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/46540/Model_4FGL_J0910.8+3859_daily_bin73.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/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits.....................!
real 44.09
user 42.10
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits', '/scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits', expMap='/scratch/kocevski/46540/expmap_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits', expCube='/scratch/kocevski/46540/ltcube_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/46540/Model_4FGL_J0910.8+3859_daily_bin73.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.8+3859'

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/46540/ft1_filtered_4FGL_J0910.8+3859_daily_bin73.fits
Spacecraft file(s): /scratch/kocevski/46540/ft2_4FGL_J0910.8+3859_daily_bin73.fits
Exposure map: /scratch/kocevski/46540/expmap_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits
Exposure cube: /scratch/kocevski/46540/ltcube_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/46540/Model_4FGL_J0910.8+3859_daily_bin73.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) = 4492.73502529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3618       1.0000         .10000E-03   10000.    
     2 'norm      '    .70682       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.731       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2462       1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.101       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18324E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .74504       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3863       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6773       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1521       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5377       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5190       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .43924E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.1387       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4492.730     FROM MIGRAD    STATUS=CONVERGED    676 CALLS     3304 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3618        7.8645        .12009E-06   -.16951E-03
   2  norm          .70658        .66456        .13838E-06   -.17636E-03
   3  Prefactor     15.737        15.016        .16172E-05   -.14572E-03
   4  Prefactor     1.2430        3.3288       -.27540E-06   -.71364E-03
   5  Prefactor     66.073        38.390       -.14480E-04    .56762E-04
   6  Prefactor     .10000E-03    9.2687        .51351E-05** at limit **
   7  norm          .10000E-03    6.8981       -.20364E-06** at limit **
   8  Prefactor     .74439        2.5297       -.78323E-06   -.95579E-03
   9  Prefactor     5.3870        17.971       -.11390E-05   -.29611E-04
  10  Prefactor     .10000E-03    34.332       -.45475E-05** at limit **
  11  Prefactor     .10000E-03    1.7074       -.14022E-07** at limit **
  12  Prefactor     .10000E-03    12.943       -.11891E-06** at limit **
  13  Prefactor     .10000E-03    .94815       -.17944E-08** at limit **
  14  norm          2.6789        1.8704       -.15587E-07    .87873E-04
  15  Prefactor     .10000E-03    5.1651        .37163E-07** at limit **
  16  norm          1.1528        .88809        .18764E-07   -.31339E-03
  17  Prefactor     5.5324        5.3718       -.17532E-06   -.24272E-03
  18  norm          .10000E-03    2.6945       -.13734E-07** at limit **
  19  Prefactor     1.5189        1.7955       -.82469E-07   -.18801E-03
  20  Prefactor     .10004E-03    2.0852       -.80592E-07** at limit **
  21  Prefactor     7.1325        16.603        .96895E-06   -.64208E-04
  22  norm          .10000E-03    5.6113       -.16080E-07** at limit **
  23  Prefactor     .10000E-03    10.358        .98954E-07** at limit **
  24  Prefactor     .10000E-03    29.965        .23807E-05** at limit **
  25  Prefactor     .10000E-03    6.8470        .11863E-06** at limit **
  26  Normalizat    1.1084        .20578        .17958E-05   -.30426E-03
  27  Prefactor     .91055        .20982        .24743E-06   -.18213E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.36177
  norm       = 0.706577
  Prefactor  = 15.7365
  Prefactor  = 1.24303
  Prefactor  = 66.0731
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.744386
  Prefactor  = 5.38701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.67888
  Prefactor  = 0.0001
  norm       = 1.15276
  Prefactor  = 5.53245
  norm       = 0.0001
  Prefactor  = 1.51886
  Prefactor  = 0.000100044
  Prefactor  = 7.13249
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10841
  Prefactor  = 0.910549
 **********
 **   18 **HESSE 
 **********

 FCN=   4492.730     FROM HESSE     STATUS=OK           498 CALLS     3802 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3618        7.8391        .13098E-03   -1.5096    
   2  norm          .70658        .63238        .49707E-03   -1.5540    
   3  Prefactor     15.737        14.840        .10098E-03   -1.4914    
   4  Prefactor     1.2430        3.2742        .17885E-03   -1.5485    
   5  Prefactor     66.073        38.129        .49364E-04   -1.4080    
   6  Prefactor     .10000E-03    48.164        .38492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.1041        .34367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .74439        2.5211        .18801E-03   -1.5535    
   9  Prefactor     5.3870        17.961        .17315E-03   -1.5244    
  10  Prefactor     .10000E-03    34.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.7199        .85519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .95183        .63719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6789        1.8739        .74358E-04   -1.5381    
  15  Prefactor     .10000E-03    5.1674        .14878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1528        .94467        .40115E-04   -1.5493    
  17  Prefactor     5.5324        5.7850        .10807E-03   -1.5238    
  18  norm          .10000E-03    2.7030        .10745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5189        1.7778        .94464E-04   -1.5461    
  20  Prefactor     .10004E-03    3.9050        .34573E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.1325        16.605        .15013E-03   -1.5174    
  22  norm          .10000E-03    5.6118        .15508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    30.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.8787        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1084        .23433        .23597E-03   -.89482    
  27  Prefactor     .91055        .23901        .26900E-03   -.95773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26317e-09
Minuit parameter uncertainties:
  1  7.83995
  2  0.632381
  3  14.8435
  4  3.27467
  5  38.1431
  6  0.000367273
  7  8.13913e-06
  8  2.52144
  9  17.9795
  10  0.000241601
  11  3.17419e-06
  12  2.79844e-06
  13  6.62678e-07
  14  1.87398
  15  2.18983e-06
  16  0.944683
  17  5.7856
  18  2.32051e-06
  19  1.77789
  20  0.000824886
  21  16.6159
  22  1.18781e-06
  23  1.05984e-05
  24  0.000165824
  25  1.49231e-05
  26  0.234546
  27  0.239286
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  2.798e-06  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.105e-01  2.393e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.108e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.709 39.000
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/46540/likelihoodResults_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.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) = 4492.73005703
delta logL = -0.000356570167241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4492.72970044
delta logL = 2.29229044635e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9702       1.0000          .0000       10.000    
     3 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91057       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+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=   4492.730     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      233 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10778E-03    8.4938        .18142E-01** at limit **
   2  Index         1.7354        7.4151        .50000        .91865E-05
   3  Normalizat    1.1084        .36069E-02    .23597E-03   -.32983E-03
   4  Prefactor     .91055        .37840E-02    .26900E-03   -.34938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107783
  Index      = 1.73537
  Normalizat = 1.10842
  Prefactor  = 0.910546
 **********
 **   18 **HESSE 
 **********

 FCN=   4492.730     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10778E-03    187.44        .26633E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7354        5.6271        .50000       -.71144    
   3  Normalizat    1.1084        .17185E-01    .47194E-04   -.89482    
   4  Prefactor     .91055        .18028E-01    .53800E-04   -.95774    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16081e-07
Minuit parameter uncertainties:
  1  0.0766314
  2  766.372
  3  0.0171847
  4  0.0180284
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/46540': 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) = 4492.72969985
delta logL = 6.05748027738e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.078e-04  7.663e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.735e+00  7.664e+02  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.105e-01  1.803e-02  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.108e+00  1.718e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.709 39.000

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/46540/cmap_HighResolution_258249601_258508801_4FGL_J0910.8+3859_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2021-08-31 02:50:31.651473', job_id='46540', GAL2='0.91', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630403431.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='73' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:50:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 46540: <4FGL_J0910.8+3859_daily_bin73> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin73> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:35:21 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:35:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:35:22 2021
Terminated at Tue Aug 31 02:50:32 2021
Results reported at Tue Aug 31 02:50:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin73 137.709 38.9999 258249601 258508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.8+3859 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             235.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

