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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1338
RA = 137.709, Dec = 38.9999
tmin = 586137601, tmax = 586396801
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='53349', job_status='RUN', time_executed='2021-08-31 02:56:15.731666', time_epoch_executed='1630403775.73' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53349

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53349/ft1_4FGL_J0910.8+3859_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53349/ft1_4FGL_J0910.8+3859_daily_bin1338.fits outfile=/scratch/kocevski/53349/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1338.fits ra=137.709 dec=38.9999 rad=12.0 tmin=586137601.0 tmax=586396801.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 6.55
user 4.29
sys 2.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53349/ft1_filtered_4FGL_J0910.8+3859_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/53349/ltcube_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.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/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits
.....................!
real 12.47
user 9.85
sys 2.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53349/ft1_filtered_4FGL_J0910.8+3859_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/53349/ltcube_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.fits outfile=/scratch/kocevski/53349/expmap_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.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/53349/ltcube_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.fits
.....................!
real 196.47
user 187.68
sys 7.18

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/53349/ft1_filtered_4FGL_J0910.8+3859_daily_bin1338.fits scfile=/scratch/kocevski/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits outfile=/scratch/kocevski/53349/cmap_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.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 2.49
user 0.38
sys 2.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53349/ft1_filtered_4FGL_J0910.8+3859_daily_bin1338.fits scfile=/scratch/kocevski/53349/ft2_4FGL_J0910.8+3859_daily_bin1338.fits outfile=/scratch/kocevski/53349/cmap_HighResolution_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.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 2.49
user 0.38
sys 2.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2611       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0424       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62227       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.665       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4208       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.487       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.451       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .86357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.824       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .38159E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .37290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6614       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6923       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .66785       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9154       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.3804       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14922E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9642       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.9274       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1450       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1717       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=   6214.820     FROM MIGRAD    STATUS=CONVERGED    650 CALLS     3405 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2608        7.5781       -.19235E-06   -.31508E-04
   2  norm          2.0421        .75027       -.99667E-08    .95220E-04
   3  Prefactor     .10000E-03    4.9143        .10613E-06** at limit **
   4  Prefactor     .62063        2.2317       -.18537E-06   -.21796E-03
   5  Prefactor     .10000E-03    11.236       -.17030E-05** at limit **
   6  Prefactor     .10000E-03    8.3991       -.72234E-06** at limit **
   7  norm          13.665        7.5127       -.49397E-06   -.33678E-05
   8  Prefactor     4.4214        3.0928       -.47553E-06   -.68451E-04
   9  Prefactor     15.488        24.435        .14110E-05    .14422E-04
  10  Prefactor     26.465        72.640        .21415E-04    .23960E-04
  11  Prefactor     .86306        3.1702       -.14289E-06   -.18439E-03
  12  Prefactor     30.827        26.724        .20386E-05    .23143E-04
  13  Prefactor     .10000E-03    2.2106       -.61392E-07** at limit **
  14  norm          .10000E-03    1.0769       -.98081E-08** at limit **
  15  Prefactor     .10000E-03    10.340        .77730E-07** at limit **
  16  norm          .37271        .42048        .21825E-09    .97874E-05
  17  Prefactor     1.6638        3.6548        .43753E-07   -.41621E-04
  18  norm          1.6930        2.3584        .88192E-06   -.22609E-02
  19  Prefactor     .66934        2.5285       -.11598E-06   -.54518E-04
  20  Prefactor     8.9164        5.9438       -.24876E-06    .23410E-06
  21  Prefactor     .10000E-03    9.5248        .16719E-05** at limit **
  22  norm          3.3641        11.981        .25118E-05    .57303E-04
  23  Prefactor     .10000E-03    14.722        .59611E-07** at limit **
  24  Prefactor     3.9484        83.849       -.48005E-04   -.25467E-04
  25  Prefactor     7.9287        9.8552        .43630E-07    .15064E-04
  26  Normalizat    1.1446        .20073        .21814E-05   -.97303E-05
  27  Prefactor     1.1721        .19592       -.11137E-05    .17964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.26085
  norm       = 2.04214
  Prefactor  = 0.0001
  Prefactor  = 0.620628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.6647
  Prefactor  = 4.42138
  Prefactor  = 15.4882
  Prefactor  = 26.4646
  Prefactor  = 0.863059
  Prefactor  = 30.8268
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.372709
  Prefactor  = 1.66382
  norm       = 1.69304
  Prefactor  = 0.669343
  Prefactor  = 8.91637
  Prefactor  = 0.0001
  norm       = 3.36414
  Prefactor  = 0.0001
  Prefactor  = 3.94842
  Prefactor  = 7.92869
  Normalizat = 1.14462
  Prefactor  = 1.17208
 **********
 **   18 **HESSE 
 **********

 FCN=   6214.820     FROM HESSE     STATUS=OK           506 CALLS     3911 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2608        7.5300        .22426E-03   -1.5347    
   2  norm          2.0421        .74876        .38450E-04   -1.5422    
   3  Prefactor     .10000E-03    4.9203        .17061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .62063        2.2143        .21129E-03   -1.5550    
   5  Prefactor     .10000E-03    11.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.665        7.5076        .10836E-03   -1.4968    
   8  Prefactor     4.4214        3.0827        .10713E-03   -1.5287    
   9  Prefactor     15.488        24.461        .10178E-03   -1.4921    
  10  Prefactor     26.465        72.653        .77892E-04   -1.4679    
  11  Prefactor     .86306        3.1286        .25941E-03   -1.5522    
  12  Prefactor     30.827        26.753        .72167E-04   -1.4597    
  13  Prefactor     .10000E-03    2.2891        .22773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6580        .30659E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .37271        .40967        .42772E-03   -1.5586    
  17  Prefactor     1.6638        3.7363        .16341E-03   -1.5450    
  18  norm          1.6930        6.2644        .16177E-02   -1.5448    
  19  Prefactor     .66934        2.5097        .21668E-03   -1.5544    
  20  Prefactor     8.9164        5.9458        .13424E-03   -1.5111    
  21  Prefactor     .10000E-03    9.6431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.3641        11.926        .22008E-03   -1.5341    
  23  Prefactor     .10000E-03    14.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9484        84.687        .20259E-03   -1.5311    
  25  Prefactor     7.9287        9.8599        .14241E-03   -1.5145    
  26  Normalizat    1.1446        .24204        .25901E-03   -.88332    
  27  Prefactor     1.1721        .23598        .27113E-03   -.87195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18945e-08
Minuit parameter uncertainties:
  1  7.53223
  2  0.748761
  3  2.65146e-08
  4  2.21463
  5  1.57797e-05
  6  1.24808e-05
  7  7.50807
  8  3.08277
  9  24.4765
  10  72.8977
  11  3.1292
  12  26.7632
  13  2.68793e-06
  14  9.23428e-05
  15  1.83937e-05
  16  0.409672
  17  3.73686
  18  6.26685
  19  2.51008
  20  5.94616
  21  4.29521e-05
  22  11.9342
  23  9.35047e-05
  24  36.6307
  25  9.86188
  26  0.242281
  27  0.236193
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  3.083e+01  2.676e+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:  1.172e+00  2.362e-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.145e+00  2.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.81e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.10e-05

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) = 6214.74504891
delta logL = 0.0748869169111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6214.74232604
delta logL = 0.0776097853059

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.663       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7726       1.0000          .0000       10.000    
     3 'Normalizat'    1.1477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1704       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=   6214.742     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      301 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.629        42.691        .31430E-03    .37401E-04
   2  Index         1.7718        .56675        .80353E-02    .30230E-03
   3  Normalizat    1.1477        .21440        .25870E-03    .43550E-04
   4  Prefactor     1.1704        .22763        .27130E-03    .13284E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.6287
  Index      = 1.7718
  Normalizat = 1.14771
  Prefactor  = 1.17042
 **********
 **   18 **HESSE 
 **********

 FCN=   6214.742     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.629        41.660        .12572E-04   -1.4432    
   2  Index         1.7718        .55329        .16071E-02   -.70186    
   3  Normalizat    1.1477        .21458        .10348E-04   -.88234    
   4  Prefactor     1.1704        .22784        .10852E-04   -.87246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50146e-11
Minuit parameter uncertainties:
  1  41.6894
  2  0.555247
  3  0.214745
  4  0.228032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53349': 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) = 6214.74232324
delta logL = 0.0776125877783

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.063e+01  4.169e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.772e+00  5.552e-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.170e+00  2.280e-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.148e+00  2.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.61
Ra Dec: 137.709 39.000
Photon Index (Free Index): 1.77 +/- 0.56
Photon Flux (Free Index): 1.50e-08 +/- 1.54e-08
Energy Flux (Free Index): 1.96e-05 +/- 2.85e-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/53349/cmap_HighResolution_586137601_586396801_4FGL_J0910.8+3859_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.81e-08', energy_flux2='1.96e-05', photon_flux_error='1.57e-08', dlogl='7.76e-02', energy_flux='1.27e-05', photon_flux2='1.50e-08', job_status='DONE', time_completed='2021-08-31 03:09:17.779415', photon_index_error2='0.56', photon_index2='1.77', ts='4.46', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.85e-05', EG='1.14', time_epoch_completed='1630404557.78', return_code='0', job_id='53349', GAL2='1.17', EG2='1.15', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='1.54e-08', ts2='4.61', photon_index='2.00' WHERE bin_id='1338' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:09:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 53349: <4FGL_J0910.8+3859_daily_bin1338> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1338 137.709 38.9999 586137601 586396801 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 :                                   808.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

