/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 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7443
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1292
RA = 137.709, Dec = 38.9999
tmin = 574214401, tmax = 574473601
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='53276', job_status='RUN', time_executed='2021-08-31 02:55:52.778704', time_epoch_executed='1630403752.78' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53276

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53276/ft1_4FGL_J0910.8+3859_daily_bin1292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53276/ft1_4FGL_J0910.8+3859_daily_bin1292.fits outfile=/scratch/kocevski/53276/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1292.fits ra=137.709 dec=38.9999 rad=12.0 tmin=574214401.0 tmax=574473601.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.20
user 3.35
sys 0.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53276/ft1_filtered_4FGL_J0910.8+3859_daily_bin1292.fits" evtable="EVENTS" scfile=/scratch/kocevski/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits sctable="SC_DATA" outfile=/scratch/kocevski/53276/ltcube_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.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/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits
.....................!
real 14.74
user 13.73
sys 0.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53276/ft1_filtered_4FGL_J0910.8+3859_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits sctable="SC_DATA" expcube=/scratch/kocevski/53276/ltcube_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.fits outfile=/scratch/kocevski/53276/expmap_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.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/53276/ltcube_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.fits
.....................!
real 193.64
user 185.68
sys 5.25

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/53276/ft1_filtered_4FGL_J0910.8+3859_daily_bin1292.fits scfile=/scratch/kocevski/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits outfile=/scratch/kocevski/53276/cmap_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.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.14
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53276/ft1_filtered_4FGL_J0910.8+3859_daily_bin1292.fits scfile=/scratch/kocevski/53276/ft2_4FGL_J0910.8+3859_daily_bin1292.fits outfile=/scratch/kocevski/53276/cmap_HighResolution_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.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.15
user 0.38
sys 0.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .66178       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4806       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2603       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.2797       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5277       1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.050       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18727E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .23183E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.9301       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10731E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.537       1.0000         .10000E-03   10000.    
    22 'norm      '    17.460       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12124E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.9770       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0661       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0542       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=   6253.157     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3453 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4769       -.62392E-07** at limit **
   2  norm          1.7790        .67552        .26176E-07    .92811E-03
   3  Prefactor     .67033        12.348       -.16607E-05    .34165E-05
   4  Prefactor     1.4803        3.3383       -.31551E-06   -.55707E-03
   5  Prefactor     3.2633        26.954       -.29790E-05   -.29707E-04
   6  Prefactor     .10000E-03    8.1389        .15973E-06** at limit **
   7  norm          5.2802        4.8874       -.11666E-06   -.15981E-03
   8  Prefactor     2.5272        2.7279       -.29942E-06   -.55579E-03
   9  Prefactor     41.059        27.532       -.47739E-06    .47625E-05
  10  Prefactor     .10000E-03    38.626        .10490E-04** at limit **
  11  Prefactor     .10000E-03    1.3075        .93966E-08** at limit **
  12  Prefactor     .10000E-03    27.259        .14095E-04** at limit **
  13  Prefactor     .10000E-03    .90009        .43206E-09** at limit **
  14  norm          .10000E-03    .84607       -.36127E-07** at limit **
  15  Prefactor     .10023E-03    21.102        .14715E-05** at limit **
  16  norm          .10000E-03    .27892       -.13644E-08** at limit **
  17  Prefactor     .10000E-03    1.1219        .54029E-08** at limit **
  18  norm          2.9161        8.5223       -.34469E-05   -.53720E-03
  19  Prefactor     .10000E-03    1.0873        .62448E-07** at limit **
  20  Prefactor     .10000E-03    5.1508       -.96514E-07** at limit **
  21  Prefactor     17.537        10.763       -.21114E-07   -.12176E-06
  22  norm          17.476        16.361       -.32531E-05    .27308E-03
  23  Prefactor     .10000E-03    31.384       -.22706E-04** at limit **
  24  Prefactor     5.9850        23.129       -.36543E-05    .44040E-04
  25  Prefactor     .10000E-03    3.5909       -.37018E-07** at limit **
  26  Normalizat    1.0659        .17221        .14279E-05    .75522E-04
  27  Prefactor     1.0543        .17539        .20462E-06    .14009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.77899
  Prefactor  = 0.670326
  Prefactor  = 1.48028
  Prefactor  = 3.26327
  Prefactor  = 0.0001
  norm       = 5.28022
  Prefactor  = 2.52723
  Prefactor  = 41.0586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010023
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.91612
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5375
  norm       = 17.4759
  Prefactor  = 0.000100001
  Prefactor  = 5.98504
  Prefactor  = 0.0001
  Normalizat = 1.06594
  Prefactor  = 1.05426
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.157     FROM HESSE     STATUS=OK           504 CALLS     3957 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5168        .16327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7790        .67447        .37757E-04   -1.5441    
   3  Prefactor     .67033        45.887        .45040E-02   -1.5544    
   4  Prefactor     1.4803        3.1456        .17960E-03   -1.5465    
   5  Prefactor     3.2633        26.770        .22429E-03   -1.5347    
   6  Prefactor     .10000E-03    8.2726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2802        4.8810        .16239E-03   -1.5248    
   8  Prefactor     2.5272        2.7177        .12806E-03   -1.5390    
   9  Prefactor     41.059        27.508        .62565E-04   -1.4426    
  10  Prefactor     .10000E-03    38.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3124        .88287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .90555        .73218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5104        .14143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10023E-03    162.61        .61330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .26766        .12001E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.7812        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.9161        7.8837        .23731E-03   -1.5366    
  19  Prefactor     .10000E-03    1.1348        .16078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3610        .35006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.537        10.769        .95641E-04   -1.4870    
  22  norm          17.476        16.177        .95850E-04   -1.4872    
  23  Prefactor     .10000E-03    30.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.9850        23.096        .16424E-03   -1.5219    
  25  Prefactor     .10000E-03    3.5994        .14634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0659        .19780        .23937E-03   -.90853    
  27  Prefactor     1.0543        .20401        .25422E-03   -.90942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91272e-09
Minuit parameter uncertainties:
  1  5.10516e-06
  2  0.674475
  3  11.1003
  4  3.14598
  5  18.7042
  6  6.13934e-06
  7  4.88137
  8  2.71783
  9  27.5164
  10  2.0978e-05
  11  1.54283e-06
  12  2.6387e-06
  13  4.06951e-07
  14  6.28827e-06
  15  0.0122632
  16  1.27744e-05
  17  1.70249e-06
  18  7.88649
  19  6.71981e-06
  20  1.59029e-05
  21  10.7701
  22  16.1813
  23  0.000399715
  24  23.1308
  25  2.40462e-06
  26  0.197942
  27  0.204163
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  2.639e-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:  1.054e+00  2.042e-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.066e+00  1.979e-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: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53276/likelihoodResults_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.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) = 6253.15763851
delta logL = -0.000175624219992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6253.157463
delta logL = -1.17010131362e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9214       1.0000          .0000       10.000    
     3 'Normalizat'    1.0659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0543       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.

 FCN=   6253.157     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    706.85        .90712E-02** at limit **
   2  Index         1.9388        7.2909        .50000       -.56465E-05
   3  Normalizat    1.0659        .23297E-01    .39596E-01    .86933E-05
   4  Prefactor     1.0543        .24736E-01    .57491E-01    .69030E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.93882
  Normalizat = 1.06594
  Prefactor  = 1.05426
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.157     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1747.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9388        5.9066        .50000       -.65889    
   3  Normalizat    1.0659        .39547E-01    .23937E-03   -.90853    
   4  Prefactor     1.0543        .41968E-01    .25422E-03   -.90942    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.64457e-09
Minuit parameter uncertainties:
  1  0.000638328
  2  33.6575
  3  0.0395482
  4  0.0419698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53276': 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) = 6253.15746297
delta logL = -8.6744876171e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  6.383e-04  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.939e+00  3.366e+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:  1.054e+00  4.197e-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.066e+00  3.955e-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/53276/cmap_HighResolution_574214401_574473601_4FGL_J0910.8+3859_daily_bin1292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-03', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-08-31 03:10:09.154804', job_id='53276', GAL2='1.05', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630404609.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-8.67e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1292' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:10:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 53276: <4FGL_J0910.8+3859_daily_bin1292> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1292> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 02:55:27 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:55:29 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:55:29 2021
Terminated at Tue Aug 31 03:10:09 2021
Results reported at Tue Aug 31 03:10:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1292 137.709 38.9999 574214401 574473601 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 :                                   861.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

