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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin748
RA = 137.709, Dec = 38.9999
tmin = 433209601, tmax = 433468801
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='48927', job_status='RUN', time_executed='2021-08-31 02:42:53.714328', time_epoch_executed='1630402973.71' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48927/ft1_4FGL_J0910.8+3859_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48927/ft1_4FGL_J0910.8+3859_daily_bin748.fits outfile=/scratch/kocevski/48927/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin748.fits ra=137.709 dec=38.9999 rad=12.0 tmin=433209601.0 tmax=433468801.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 11.21
user 5.72
sys 5.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.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/48927/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/48927/ft1_filtered_4FGL_J0910.8+3859_daily_bin748.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 5.70
user 0.32
sys 5.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48927/ft1_filtered_4FGL_J0910.8+3859_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/48927/ltcube_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.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/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits
.....................!
real 17.67
user 11.43
sys 6.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48927/ft1_filtered_4FGL_J0910.8+3859_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/48927/ltcube_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.fits outfile=/scratch/kocevski/48927/expmap_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.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/48927/ltcube_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.fits
.....................!
real 196.65
user 185.76
sys 10.07

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/48927/ft1_filtered_4FGL_J0910.8+3859_daily_bin748.fits scfile=/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits outfile=/scratch/kocevski/48927/cmap_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.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 5.69
user 0.36
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48927/ft1_filtered_4FGL_J0910.8+3859_daily_bin748.fits scfile=/scratch/kocevski/48927/ft2_4FGL_J0910.8+3859_daily_bin748.fits outfile=/scratch/kocevski/48927/cmap_HighResolution_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.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 5.26
user 0.38
sys 4.69

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.219       1.0000         .10000E-03   10000.    
     2 'norm      '    .84444       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0854       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2276       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.8298       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3535       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4864       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.134       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .33387       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1530       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.2360       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .79578       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1476       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=   5733.769     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     2828 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.220        7.6364       -.60180E-08   -.78893E-04
   2  norm          .84442        .49377        .24895E-08   -.12440E-03
   3  Prefactor     .10000E-03    3.5782        .57747E-07** at limit **
   4  Prefactor     3.0858        2.8829        .41575E-06    .37225E-03
   5  Prefactor     7.2277        19.684        .10432E-06   -.98411E-05
   6  Prefactor     .10000E-03    4.1278       -.75114E-06** at limit **
   7  norm          5.8303        5.3923        .20376E-05   -.12257E-02
   8  Prefactor     3.3535        2.3400       -.52504E-07   -.61846E-04
   9  Prefactor     .10001E-03    42.295        .42304E-05** at limit **
  10  Prefactor     .10000E-03    28.525       -.20402E-05** at limit **
  11  Prefactor     1.4869        2.8455        .33295E-06   -.78309E-04
  12  Prefactor     .10002E-03    51.432       -.55061E-05** at limit **
  13  Prefactor     .10000E-03    2.3009        .26631E-07** at limit **
  14  norm          .10000E-03    .95156       -.20347E-08** at limit **
  15  Prefactor     .10000E-03    34.999        .43097E-05** at limit **
  16  norm          .10000E-03    .96109E-01   -.27441E-08** at limit **
  17  Prefactor     .10000E-03    .67014       -.73537E-09** at limit **
  18  norm          10.121        7.5666        .11012E-05    .66261E-03
  19  Prefactor     .33337        1.1112        .30615E-06   -.74441E-03
  20  Prefactor     7.1531        4.3474        .10798E-06   -.90943E-04
  21  Prefactor     .10000E-03    2.5171       -.52675E-08** at limit **
  22  norm          7.2365        12.860        .14995E-05   -.23987E-03
  23  Prefactor     .10000E-03    7.0501       -.14475E-06** at limit **
  24  Prefactor     .10000E-03    20.832       -.48654E-06** at limit **
  25  Prefactor     .10000E-03    4.2250        .70873E-06** at limit **
  26  Normalizat    .79573        .16167       -.10802E-05   -.98378E-04
  27  Prefactor     1.1476        .17529       -.22119E-06   -.11348E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2199
  norm       = 0.844425
  Prefactor  = 0.0001
  Prefactor  = 3.08581
  Prefactor  = 7.22767
  Prefactor  = 0.0001
  norm       = 5.8303
  Prefactor  = 3.3535
  Prefactor  = 0.000100008
  Prefactor  = 0.000100002
  Prefactor  = 1.48686
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1208
  Prefactor  = 0.333366
  Prefactor  = 7.15311
  Prefactor  = 0.0001
  norm       = 7.23653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.795735
  Prefactor  = 1.14759
 **********
 **   18 **HESSE 
 **********

 FCN=   5733.769     FROM HESSE     STATUS=OK           488 CALLS     3316 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.220        7.6095        .12534E-03   -1.5068    
   2  norm          .84442        .48922        .38444E-04   -1.5524    
   3  Prefactor     .10000E-03    3.5805        .13983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0858        2.8796        .11696E-03   -1.5357    
   5  Prefactor     7.2277        19.643        .14920E-03   -1.5170    
   6  Prefactor     .10000E-03    4.1876        .15079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8303        5.7548        .83166E-03   -1.5225    
   8  Prefactor     3.3535        2.3358        .92245E-04   -1.5342    
   9  Prefactor     .10001E-03    44.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4869        2.8087        .17070E-03   -1.5464    
  12  Prefactor     .10002E-03    54.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3814        .22348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .98055        .14411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .10083        .45752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .68212        .60463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.121        7.6620        .12587E-03   -1.5072    
  19  Prefactor     .33337        1.2152        .13771E-02   -1.5593    
  20  Prefactor     7.1531        4.3436        .11862E-03   -1.5173    
  21  Prefactor     .10000E-03    2.5187        .11733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.2365        12.965        .74556E-03   -1.5170    
  23  Prefactor     .10000E-03    7.0576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    20.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.2790        .15268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .79573        .18677        .24788E-03   -1.0023    
  27  Prefactor     1.1476        .20467        .23157E-03   -.87960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15854e-09
Minuit parameter uncertainties:
  1  7.61018
  2  0.489226
  3  5.23652e-07
  4  2.87971
  5  19.6609
  6  6.24676e-05
  7  5.75539
  8  2.33589
  9  0.00115913
  10  0.000467626
  11  2.80891
  12  0.00195933
  13  8.24865e-06
  14  4.08573e-07
  15  0.000550764
  16  1.20553e-07
  17  7.57833e-07
  18  7.66272
  19  1.21531
  20  4.34377
  21  4.12308e-07
  22  12.9699
  23  1.5235e-05
  24  8.71617e-05
  25  6.55003e-05
  26  0.186917
  27  0.204809
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.959e-03  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.148e+00  2.048e-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:  7.957e-01  1.869e-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.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48927/likelihoodResults_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.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) = 5733.76931237
delta logL = -8.75573987287e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5733.67108228
delta logL = 0.0981425304644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94968       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3677       1.0000          .0000       10.000    
     3 'Normalizat'    .77312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1594       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=   5733.671     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      284 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94964        59.574        .12987E-01    .12435E-02
   2  Index         3.3676        3.5168        .10070        .16170E-03
   3  Normalizat    .77313        .30873E-01    .43258E-01    .17329E-04
   4  Prefactor     1.1594        .34153E-01    .52143E-01    .40852E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.949641
  Index      = 3.36764
  Normalizat = 0.773132
  Prefactor  = 1.15942
 **********
 **   18 **HESSE 
 **********

 FCN=   5733.671     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94964        230.13        .15885E-03   -1.5513    
   2  Index         3.3676        5.3337        .86260E-02   -.33257    
   3  Normalizat    .77313        .13912        .25117E-03   -1.0107    
   4  Prefactor     1.1594        .15213        .23053E-03   -.87589    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.24016e-06
Minuit parameter uncertainties:
  1  29.6808
  2  11.0167
  3  0.139184
  4  0.152191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48927': 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) = 5733.67108228
delta logL = 0.098142539865

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  9.496e-01  2.968e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  3.368e+00  1.102e+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.159e+00  1.522e-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:  7.731e-01  1.392e-01  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/48927/cmap_HighResolution_433209601_433468801_4FGL_J0910.8+3859_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-08-31 02:56:42.915757', job_id='48927', GAL2='1.16', fit_tolerance='1e-08', EG2='0.77', EG='0.80', time_epoch_completed='1630403802.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.81e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='748' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:56:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 48927: <4FGL_J0910.8+3859_daily_bin748> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin748> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 02:41:15 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:41:17 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:41:17 2021
Terminated at Tue Aug 31 02:56:44 2021
Results reported at Tue Aug 31 02:56:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin748 137.709 38.9999 433209601 433468801 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 :                                   897.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            929 sec.

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

