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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin794
RA = 137.709, Dec = 38.9999
tmin = 445132801, tmax = 445392001
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='49932', job_status='RUN', time_executed='2021-08-31 02:46:16.500827', time_epoch_executed='1630403176.5' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='794'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49932

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49932/ft1_4FGL_J0910.8+3859_daily_bin794.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49932/ft1_4FGL_J0910.8+3859_daily_bin794.fits outfile=/scratch/kocevski/49932/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin794.fits ra=137.709 dec=38.9999 rad=12.0 tmin=445132801.0 tmax=445392001.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 5.18
user 3.35
sys 0.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits" evtable="EVENTS" scfile=/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits sctable="SC_DATA" outfile=/scratch/kocevski/49932/ltcube_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.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/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits
.....................!
real 13.38
user 11.98
sys 1.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits evtable="EVENTS" scfile=/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits sctable="SC_DATA" expcube=/scratch/kocevski/49932/ltcube_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits outfile=/scratch/kocevski/49932/expmap_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.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/49932/ltcube_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits
.....................!
real 193.71
user 185.78
sys 5.91

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/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits scfile=/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits outfile=/scratch/kocevski/49932/cmap_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.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 1.26
user 0.37
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits scfile=/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits outfile=/scratch/kocevski/49932/cmap_HighResolution_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.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 1.34
user 0.37
sys 0.96

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits', '/scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits', expMap='/scratch/kocevski/49932/expmap_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits', expCube='/scratch/kocevski/49932/ltcube_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49932/Model_4FGL_J0910.8+3859_daily_bin794.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/49932/ft1_filtered_4FGL_J0910.8+3859_daily_bin794.fits
Spacecraft file(s): /scratch/kocevski/49932/ft2_4FGL_J0910.8+3859_daily_bin794.fits
Exposure map: /scratch/kocevski/49932/expmap_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits
Exposure cube: /scratch/kocevski/49932/ltcube_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49932/Model_4FGL_J0910.8+3859_daily_bin794.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) = 5601.25956869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56570       1.0000         .10000E-03   10000.    
     2 'norm      '    .91890       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.658       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.405       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5696       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0540       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4289       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.256       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6234       1.0000         .10000E-03   10000.    
    14 'norm      '    .17279E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.992       1.0000         .10000E-03   10000.    
    16 'norm      '    .42277       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.0997       1.0000         .10000E-03   10000.    
    18 'norm      '    8.5461       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .31555       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10404E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    32.012       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .94322       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .84748       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=   5601.224     FROM MIGRAD    STATUS=CONVERGED    662 CALLS     3340 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57893        4.5284        .12088E-05   -.54940E-03
   2  norm          .91876        .61312       -.30520E-07   -.88792E-03
   3  Prefactor     .10000E-03    7.3241        .44647E-07** at limit **
   4  Prefactor     .10000E-03    .70507        .34839E-08** at limit **
   5  Prefactor     25.666        30.108        .65130E-06   -.11741E-04
   6  Prefactor     .10000E-03    3.4301        .64218E-07** at limit **
   7  norm          13.405        6.8565        .11306E-06    .40393E-04
   8  Prefactor     5.5696        2.8994        .32670E-07   -.80782E-04
   9  Prefactor     4.0545        18.613        .89558E-05   -.80325E-04
  10  Prefactor     .10000E-03    97.882        .34595E-06** at limit **
  11  Prefactor     2.4294        3.4860        .12020E-06   -.12677E-03
  12  Prefactor     17.216        49.047       -.74983E-05   -.17309E-03
  13  Prefactor     3.6238        3.0112        .10814E-06   -.38315E-04
  14  norm          .10000E-03    1.2308       -.20443E-06** at limit **
  15  Prefactor     28.003        26.157        .17214E-05    .64430E-04
  16  norm          .42259        .54727       -.31273E-07    .10232E-03
  17  Prefactor     2.1015        3.6485        .36488E-06   -.50710E-04
  18  norm          8.5469        9.2742        .14398E-06    .42155E-04
  19  Prefactor     .10000E-03    .89733        .33116E-07** at limit **
  20  Prefactor     .33769        2.9319        .64880E-06   -.64227E-03
  21  Prefactor     .10000E-03    4.8303        .26626E-07** at limit **
  22  norm          .10000E-03    11.666        .16371E-06** at limit **
  23  Prefactor     32.013        24.711        .21113E-06   -.74458E-05
  24  Prefactor     .10000E-03    22.357        .91046E-07** at limit **
  25  Prefactor     .10000E-03    3.8916        .15566E-07** at limit **
  26  Normalizat    .94310        .17988       -.13702E-05   -.16554E-03
  27  Prefactor     .84757        .16956        .29851E-06   -.21812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.578927
  norm       = 0.918761
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6659
  Prefactor  = 0.0001
  norm       = 13.4051
  Prefactor  = 5.56963
  Prefactor  = 4.05445
  Prefactor  = 0.0001
  Prefactor  = 2.42935
  Prefactor  = 17.216
  Prefactor  = 3.62382
  norm       = 0.0001
  Prefactor  = 28.0026
  norm       = 0.422588
  Prefactor  = 2.1015
  norm       = 8.5469
  Prefactor  = 0.0001
  Prefactor  = 0.337686
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.0125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.943095
  Prefactor  = 0.847569
 **********
 **   18 **HESSE 
 **********

 FCN=   5601.224     FROM HESSE     STATUS=OK           500 CALLS     3840 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57893        20.322        .28500E-02   -1.5556    
   2  norm          .91876        .61346        .43841E-04   -1.5516    
   3  Prefactor     .10000E-03    7.3486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .70727        .61338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.666        29.987        .79084E-04   -1.4694    
   6  Prefactor     .10000E-03    3.4333        .13534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.405        6.8544        .10940E-03   -1.4976    
   8  Prefactor     5.5696        2.8976        .86962E-04   -1.5236    
   9  Prefactor     4.0545        19.633        .10013E-02   -1.5305    
  10  Prefactor     .10000E-03    98.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4294        3.4688        .16054E-03   -1.5396    
  12  Prefactor     17.216        52.220        .96415E-04   -1.4878    
  13  Prefactor     3.6238        2.9986        .11132E-03   -1.5327    
  14  norm          .10000E-03    3.1078        .15890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.003        26.583        .75722E-04   -1.4649    
  16  norm          .42259        .54879        .44827E-03   -1.5578    
  17  Prefactor     2.1015        3.7928        .13060E-03   -1.5418    
  18  norm          8.5469        9.2599        .13712E-03   -1.5123    
  19  Prefactor     .10000E-03    .90489        .69134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33769        16.607        .23358E-02   -1.5592    
  21  Prefactor     .10000E-03    4.8567        .16064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    11.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     32.013        24.742        .70819E-04   -1.4576    
  24  Prefactor     .10000E-03    22.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.8989        .14418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .94310        .20793        .23719E-03   -.94962    
  27  Prefactor     .84757        .19618        .25212E-03   -.97998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8007e-09
Minuit parameter uncertainties:
  1  6.86188
  2  0.613466
  3  1.42893e-05
  4  1.16197e-06
  5  30.0045
  6  4.2707e-07
  7  6.85484
  8  2.89764
  9  17.8533
  10  0.000111497
  11  3.46909
  12  52.3587
  13  2.99874
  14  2.70988e-05
  15  26.5947
  16  0.548797
  17  3.79325
  18  9.26143
  19  1.49959e-07
  20  4.73698
  21  2.49664e-06
  22  1.39486e-05
  23  24.7498
  24  1.00354e-05
  25  1.61679e-06
  26  0.208111
  27  0.196346
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.722e+01  5.236e+01  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:  8.476e-01  1.963e-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:  9.431e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/49932/likelihoodResults_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.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): 0
logL (Free Index) = 5600.62676016
delta logL = 0.59691723889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5600.61911544
delta logL = 0.60456195874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0730       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9561       1.0000          .0000       10.000    
     3 'Normalizat'    .90504       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86632       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5600.619     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      301 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0297        353.57        .70555E-03   -.12762E-04
   2  Index         2.9585        6.4791        .46762E-02    .32437E-04
   3  Normalizat    .90488        .20218        .24113E-03   -.47571E-04
   4  Prefactor     .86629        .20376        .24936E-03   -.33966E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.02968
  Index      = 2.95847
  Normalizat = 0.904885
  Prefactor  = 0.866295
 **********
 **   18 **HESSE 
 **********

 FCN=   5600.619     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0297        18.598        .28222E-04   -1.5141    
   2  Index         2.9585        .89510        .18705E-03   -.42060    
   3  Normalizat    .90488        .19305        .96453E-05   -.96289    
   4  Prefactor     .86629        .19342        .99743E-05   -.97329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98263e-12
Minuit parameter uncertainties:
  1  18.6116
  2  0.900944
  3  0.193199
  4  0.193577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49932': 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) = 5600.61911049
delta logL = 0.604566907533

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  8.030e+00  1.861e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.958e+00  9.009e-01  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:  8.663e-01  1.936e-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:  9.049e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.96 +/- 0.90
Photon Flux (Free Index): 5.20e-08 +/- 5.19e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.02e-05

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/49932/cmap_HighResolution_445132801_445392001_4FGL_J0910.8+3859_daily_bin794.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='6.05e-01', photon_flux2='5.20e-08', job_status='DONE', time_completed='2021-08-31 02:59:26.030362', photon_index_error2='0.90', photon_index2='2.96', ts='0.17', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.64e-08', energy_flux_error2='1.02e-05', EG='0.94', time_epoch_completed='1630403966.03', return_code='0', job_id='49932', GAL2='0.87', EG2='0.90', return_code2='0', photon_flux_error2='5.19e-08', ts2='1.40', photon_index='2.00' WHERE bin_id='794' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:59:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 49932: <4FGL_J0910.8+3859_daily_bin794> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin794> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:45:20 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:45: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:45:22 2021
Terminated at Tue Aug 31 02:59:26 2021
Results reported at Tue Aug 31 02:59:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin794 137.709 38.9999 445132801 445392001 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 :                                   796.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            846 sec.

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

