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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1159
RA = 137.709, Dec = 38.9999
tmin = 539740801, tmax = 540000001
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='51851', job_status='RUN', time_executed='2021-08-31 02:50:59.408316', time_epoch_executed='1630403459.41' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51851

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51851/ft1_4FGL_J0910.8+3859_daily_bin1159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51851/ft1_4FGL_J0910.8+3859_daily_bin1159.fits outfile=/scratch/kocevski/51851/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1159.fits ra=137.709 dec=38.9999 rad=12.0 tmin=539740801.0 tmax=540000001.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.41
user 3.87
sys 0.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51851/ft1_filtered_4FGL_J0910.8+3859_daily_bin1159.fits" evtable="EVENTS" scfile=/scratch/kocevski/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits sctable="SC_DATA" outfile=/scratch/kocevski/51851/ltcube_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.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/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits
.....................!
real 12.06
user 11.40
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51851/ft1_filtered_4FGL_J0910.8+3859_daily_bin1159.fits evtable="EVENTS" scfile=/scratch/kocevski/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits sctable="SC_DATA" expcube=/scratch/kocevski/51851/ltcube_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.fits outfile=/scratch/kocevski/51851/expmap_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.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/51851/ltcube_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.fits
.....................!
real 190.84
user 185.50
sys 4.92

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/51851/ft1_filtered_4FGL_J0910.8+3859_daily_bin1159.fits scfile=/scratch/kocevski/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits outfile=/scratch/kocevski/51851/cmap_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.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 0.90
user 0.39
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51851/ft1_filtered_4FGL_J0910.8+3859_daily_bin1159.fits scfile=/scratch/kocevski/51851/ft2_4FGL_J0910.8+3859_daily_bin1159.fits outfile=/scratch/kocevski/51851/cmap_HighResolution_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.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 0.85
user 0.38
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6616       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5577       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6450       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5008       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1360       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0646       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    59.511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11826E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .58751       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5151       1.0000         .10000E-03   10000.    
    18 'norm      '    10.104       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8304       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8898       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.899       1.0000         .10000E-03   10000.    
    22 'norm      '    .10287E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.439       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13691E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.244       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .83528       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .96558       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=   5859.186     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     3309 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6610        5.4291       -.42773E-06   -.16074E-03
   2  norm          1.5577        .61157        .97864E-08    .10977E-03
   3  Prefactor     .10000E-03    4.3468       -.20410E-07** at limit **
   4  Prefactor     2.6443        2.7973        .10420E-07   -.93899E-04
   5  Prefactor     .10000E-03    11.971       -.31955E-06** at limit **
   6  Prefactor     1.4935        15.616       -.30430E-06   -.89669E-04
   7  norm          3.1355        2.9460        .10912E-05   -.28227E-02
   8  Prefactor     .10000E-03    .96691       -.10914E-06** at limit **
   9  Prefactor     8.0684        15.471        .55494E-06    .29056E-05
  10  Prefactor     .10000E-03    37.767        .12086E-04** at limit **
  11  Prefactor     3.4982        3.9447        .43258E-06   -.28131E-04
  12  Prefactor     59.503        44.681       -.55492E-05   -.10719E-03
  13  Prefactor     .10000E-03    1.3571        .69190E-07** at limit **
  14  norm          .10000E-03    .92543        .13004E-06** at limit **
  15  Prefactor     .10000E-03    18.049       -.54220E-06** at limit **
  16  norm          .58758        .76629       -.35627E-06   -.47801E-03
  17  Prefactor     5.5165        4.6941        .91677E-06    .39566E-04
  18  norm          10.105        8.2407        .50117E-06    .58443E-04
  19  Prefactor     3.8307        2.7388       -.12017E-06    .68916E-04
  20  Prefactor     1.8898        2.9191       -.14316E-05   -.42785E-03
  21  Prefactor     18.899        11.966       -.14863E-07    .65784E-05
  22  norm          .10000E-03    6.9267       -.78022E-07** at limit **
  23  Prefactor     24.441        23.553        .20702E-05    .20038E-03
  24  Prefactor     .10000E-03    40.203       -.13352E-04** at limit **
  25  Prefactor     15.247        10.363       -.51597E-07    .10890E-05
  26  Normalizat    .83494        .16941       -.36784E-06    .12519E-03
  27  Prefactor     .96598        .17129        .45831E-06    .42176E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66096
  norm       = 1.55774
  Prefactor  = 0.0001
  Prefactor  = 2.64432
  Prefactor  = 0.0001
  Prefactor  = 1.49348
  norm       = 3.13554
  Prefactor  = 0.0001
  Prefactor  = 8.06837
  Prefactor  = 0.000100002
  Prefactor  = 3.49824
  Prefactor  = 59.5032
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.587583
  Prefactor  = 5.51651
  norm       = 10.1055
  Prefactor  = 3.83073
  Prefactor  = 1.88984
  Prefactor  = 18.8995
  norm       = 0.0001
  Prefactor  = 24.4408
  Prefactor  = 0.000100003
  Prefactor  = 15.2469
  Normalizat = 0.834939
  Prefactor  = 0.965979
 **********
 **   18 **HESSE 
 **********

 FCN=   5859.186     FROM HESSE     STATUS=OK           494 CALLS     3803 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6610        5.4182        .24263E-03   -1.5382    
   2  norm          1.5577        .61059        .35821E-04   -1.5458    
   3  Prefactor     .10000E-03    4.3529        .15578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6443        2.7853        .12389E-03   -1.5383    
   5  Prefactor     .10000E-03    11.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.4935        15.701        .34953E-03   -1.5464    
   7  norm          3.1355        5.6953        .11446E-02   -1.5354    
   8  Prefactor     .10000E-03    .98007        .73467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.0684        15.466        .14118E-03   -1.5140    
  10  Prefactor     .10000E-03    37.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4982        3.9395        .15389E-03   -1.5334    
  12  Prefactor     59.503        44.759        .52008E-04   -1.4164    
  13  Prefactor     .10000E-03    1.3756        .86924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7576        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .58758        .74826        .48634E-03   -1.5555    
  17  Prefactor     5.5165        4.7591        .94830E-04   -1.5238    
  18  norm          10.105        8.2302        .12606E-03   -1.5072    
  19  Prefactor     3.8307        2.7254        .98066E-04   -1.5316    
  20  Prefactor     1.8898        2.9039        .15649E-03   -1.5433    
  21  Prefactor     18.899        11.974        .92131E-04   -1.4838    
  22  norm          .10000E-03    6.9336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.441        23.717        .81029E-04   -1.4719    
  24  Prefactor     .10000E-03    40.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     15.247        10.395        .10258E-03   -1.4927    
  26  Normalizat    .83494        .19511        .24568E-03   -.98786    
  27  Prefactor     .96598        .19680        .24516E-03   -.93872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80728e-09
Minuit parameter uncertainties:
  1  5.41923
  2  0.610593
  3  9.40927e-07
  4  2.78548
  5  3.98862e-06
  6  9.68771
  7  5.69631
  8  2.81609e-06
  9  15.4738
  10  0.000511464
  11  3.93976
  12  44.7843
  13  6.87211e-06
  14  1.50815e-05
  15  8.97099e-05
  16  0.748274
  17  4.7594
  18  8.23113
  19  2.72549
  20  2.90407
  21  11.9752
  22  1.16804e-05
  23  23.7265
  24  0.000728188
  25  10.3966
  26  0.195274
  27  0.196949
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.950e+01  4.478e+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:  9.660e-01  1.969e-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:  8.349e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.02
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.84e-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) = 5859.06588003
delta logL = 0.120397267392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5859.04960034
delta logL = 0.136676957783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.500       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3423       1.0000          .0000       10.000    
     3 'Normalizat'    .81332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97820       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=   5859.050     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      308 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.445        59.657        .62987E-04   -.24006E-04
   2  Index         2.3425        .81342        .49568E-02    .12745E-03
   3  Normalizat    .81296        .18535        .24852E-03   -.30741E-04
   4  Prefactor     .97859        .19239        .24371E-03   -.15565E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.4453
  Index      = 2.34249
  Normalizat = 0.812962
  Prefactor  = 0.978594
 **********
 **   18 **HESSE 
 **********

 FCN=   5859.050     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.445        48.943        .25195E-05   -1.4435    
   2  Index         2.3425        .66751        .19827E-03   -.56037    
   3  Normalizat    .81296        .18320        .99407E-05   -.99590    
   4  Prefactor     .97859        .19142        .48743E-04   -.93447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37996e-10
Minuit parameter uncertainties:
  1  48.9916
  2  0.670303
  3  0.183342
  4  0.191554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51851': 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) = 5859.04959655
delta logL = 0.13668074989

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.045e+01  4.899e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.342e+00  6.703e-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:  9.786e-01  1.916e-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:  8.130e-01  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.34 +/- 0.67
Photon Flux (Free Index): 5.34e-08 +/- 4.81e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.41e-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/51851/cmap_HighResolution_539740801_540000001_4FGL_J0910.8+3859_daily_bin1159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.90e-05', photon_flux_error='2.64e-08', dlogl='1.37e-01', energy_flux='2.44e-05', photon_flux2='5.34e-08', job_status='DONE', time_completed='2021-08-31 03:03:01.801351', photon_index_error2='0.67', photon_index2='2.34', ts='4.02', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.83', time_epoch_completed='1630404181.8', return_code='0', job_id='51851', GAL2='0.98', EG2='0.81', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='4.81e-08', ts2='4.30', photon_index='2.00' WHERE bin_id='1159' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:03:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 51851: <4FGL_J0910.8+3859_daily_bin1159> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1159 137.709 38.9999 539740801 540000001 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 :                                   724.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            749 sec.

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

