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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin600
RA = 137.709, Dec = 38.9999
tmin = 394848001, tmax = 395107201
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='48723', job_status='RUN', time_executed='2021-08-31 02:42:37.836917', time_epoch_executed='1630402957.84' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48723

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48723/ft1_4FGL_J0910.8+3859_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48723/ft1_4FGL_J0910.8+3859_daily_bin600.fits outfile=/scratch/kocevski/48723/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin600.fits ra=137.709 dec=38.9999 rad=12.0 tmin=394848001.0 tmax=395107201.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 10.69
user 4.81
sys 5.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48723/ft1_filtered_4FGL_J0910.8+3859_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/48723/ltcube_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.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/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits
.....................!
real 16.97
user 11.09
sys 5.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48723/ft1_filtered_4FGL_J0910.8+3859_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/48723/ltcube_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.fits outfile=/scratch/kocevski/48723/expmap_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.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/48723/ltcube_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.fits
.....................!
real 198.41
user 185.89
sys 10.45

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/48723/ft1_filtered_4FGL_J0910.8+3859_daily_bin600.fits scfile=/scratch/kocevski/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits outfile=/scratch/kocevski/48723/cmap_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.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.32
user 0.36
sys 4.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48723/ft1_filtered_4FGL_J0910.8+3859_daily_bin600.fits scfile=/scratch/kocevski/48723/ft2_4FGL_J0910.8+3859_daily_bin600.fits outfile=/scratch/kocevski/48723/cmap_HighResolution_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.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 4.73
user 0.37
sys 4.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12224E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5696       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.5293       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7609       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6817       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .36378       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4971       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7252       1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.945       1.0000         .10000E-03   10000.    
    22 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    41.280       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.8654       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1590       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91695       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=   5791.694     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3367 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5058        .14590E-06** at limit **
   2  norm          1.9201        .71939        .72743E-08   -.15973E-03
   3  Prefactor     .10000E-03    25.945       -.45520E-06** at limit **
   4  Prefactor     3.5686        3.2510        .79267E-07   -.74663E-04
   5  Prefactor     .10000E-03    14.590        .19089E-05** at limit **
   6  Prefactor     .10000E-03    3.2057        .19165E-07** at limit **
   7  norm          9.5290        7.4473        .11417E-06   -.12611E-04
   8  Prefactor     4.7622        3.9997        .13561E-06   -.74091E-04
   9  Prefactor     .10000E-03    10.357       -.12938E-07** at limit **
  10  Prefactor     .10000E-03    99.432       -.14166E-05** at limit **
  11  Prefactor     1.6817        3.6638        .13521E-06   -.84967E-04
  12  Prefactor     .10000E-03    17.745        .26196E-05** at limit **
  13  Prefactor     .10000E-03    1.7451       -.49865E-08** at limit **
  14  norm          .10000E-03    .99169       -.43619E-08** at limit **
  15  Prefactor     .31232        11.550        .86635E-06   -.19188E-03
  16  norm          .10000E-03    .14817        .69998E-08** at limit **
  17  Prefactor     .10000E-03    1.1787        .62385E-08** at limit **
  18  norm          4.5008        7.6878       -.27458E-06   -.69946E-03
  19  Prefactor     .10000E-03    1.7825       -.96038E-07** at limit **
  20  Prefactor     3.7235        3.8352        .12881E-06   -.10888E-02
  21  Prefactor     25.947        14.963        .24263E-06   -.45169E-05
  22  norm          .10000E-03    6.2431       -.58697E-07** at limit **
  23  Prefactor     .10000E-03    15.723       -.42434E-05** at limit **
  24  Prefactor     41.294        43.623        .83323E-05    .26165E-04
  25  Prefactor     2.8696        10.673        .51149E-06   -.36848E-03
  26  Normalizat    1.1587        .18781       -.15502E-05    .22205E-04
  27  Prefactor     .91724        .18061        .34435E-06   -.10166E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 1.92007
  Prefactor  = 0.0001
  Prefactor  = 3.56859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.52902
  Prefactor  = 4.76223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.68172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.312325
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.50084
  Prefactor  = 0.0001
  Prefactor  = 3.72349
  Prefactor  = 25.947
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.2938
  Prefactor  = 2.86964
  Normalizat = 1.15867
  Prefactor  = 0.917244
 **********
 **   18 **HESSE 
 **********

 FCN=   5791.694     FROM HESSE     STATUS=OK           498 CALLS     3865 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.780        .36220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9201        .70651        .37318E-04   -1.5431    
   3  Prefactor     .10000E-03    26.900        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5686        3.2126        .12316E-03   -1.5330    
   5  Prefactor     .10000E-03    14.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.2096        .13307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.5290        7.4373        .12982E-03   -1.5090    
   8  Prefactor     4.7622        4.0247        .12727E-03   -1.5271    
   9  Prefactor     .10000E-03    10.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    99.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6817        3.6484        .20606E-03   -1.5449    
  12  Prefactor     .10000E-03    17.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.7866        .19593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5254        .14592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .31232        119.96        .46672E-02   -1.5596    
  16  norm          .10000E-03    .17193        .56823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.1916        .80546E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.5008        9.0868        .94929E-03   -1.5284    
  19  Prefactor     .10000E-03    3.8969        .19238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7235        4.5159        .85505E-03   -1.5322    
  21  Prefactor     25.947        14.981        .78646E-04   -1.4689    
  22  norm          .10000E-03    6.2470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     41.294        43.803        .62391E-04   -1.4422    
  25  Prefactor     2.8696        16.203        .12007E-02   -1.5369    
  26  Normalizat    1.1587        .22117        .24039E-03   -.87890    
  27  Prefactor     .91724        .20934        .27029E-03   -.95541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24099e-09
Minuit parameter uncertainties:
  1  0.000495536
  2  0.706513
  3  2.79724e-05
  4  3.21272
  5  1.24211e-05
  6  1.30637e-06
  7  7.43798
  8  4.02492
  9  6.1195e-06
  10  8.37611e-06
  11  3.64888
  12  8.92763e-06
  13  1.09113e-06
  14  6.23724e-06
  15  12.2647
  16  2.12477e-08
  17  6.89496e-07
  18  9.08955
  19  1.35562e-05
  20  4.51628
  21  14.9833
  22  1.40683e-05
  23  9.77915e-05
  24  43.8371
  25  13.6429
  26  0.22135
  27  0.20952
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.172e-01  2.095e-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.159e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/48723/likelihoodResults_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.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) = 5791.69395956
delta logL = -0.000268036032139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5791.69369268
delta logL = -1.15087004815e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10689E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1498       1.0000          .0000       10.000    
     3 'Normalizat'    1.1587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91725       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=   5791.694     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      268 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10167E-03    59.484        .18142E-02** at limit **
   2  Index         2.0830        6.9209        .50000        .24841E-04
   3  Normalizat    1.1587        .91226E-02    .24039E-03   -.47103E-03
   4  Prefactor     .91724        .92918E-02    .27029E-03   -.43902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101672
  Index      = 2.08296
  Normalizat = 1.15866
  Prefactor  = 0.917245
 **********
 **   18 **HESSE 
 **********

 FCN=   5791.694     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10167E-03    259.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0830        5.1088        .50000       -.62292    
   3  Normalizat    1.1587        .19404E-01    .48078E-04   -.87890    
   4  Prefactor     .91724        .19763E-01    .54058E-04   -.95541    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06433e-08
Minuit parameter uncertainties:
  1  0.0418808
  2  237.114
  3  0.0194038
  4  0.0197636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48723': 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) = 5791.69369204
delta logL = -5.11414327775e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.172e-01  1.976e-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.159e+00  1.940e-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/48723/cmap_HighResolution_394848001_395107201_4FGL_J0910.8+3859_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2021-08-31 02:57:15.752705', job_id='48723', GAL2='0.92', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630403835.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-5.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='600' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:57:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 48723: <4FGL_J0910.8+3859_daily_bin600> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin600 137.709 38.9999 394848001 395107201 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 :                                   930.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            980 sec.

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

