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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1474
RA = 137.709, Dec = 38.9999
tmin = 621388801, tmax = 621648001
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='53565', job_status='RUN', time_executed='2021-08-31 02:56:13.633768', time_epoch_executed='1630403773.63' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53565/ft1_4FGL_J0910.8+3859_daily_bin1474.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53565/ft2_4FGL_J0910.8+3859_daily_bin1474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53565/ft1_4FGL_J0910.8+3859_daily_bin1474.fits outfile=/scratch/kocevski/53565/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1474.fits ra=137.709 dec=38.9999 rad=12.0 tmin=621388801.0 tmax=621648001.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 3.46
user 3.04
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53565/ft2_4FGL_J0910.8+3859_daily_bin1474.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/53565/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1474.fits evtable="EVENTS" outfile="/scratch/kocevski/53565/ft1_filtered_4FGL_J0910.8+3859_daily_bin1474.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.73
user 0.31
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53565/ft1_filtered_4FGL_J0910.8+3859_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/53565/ft2_4FGL_J0910.8+3859_daily_bin1474.fits sctable="SC_DATA" expcube=/scratch/kocevski/53565/ltcube_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.fits outfile=/scratch/kocevski/53565/expmap_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.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/53565/ltcube_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.fits
.....................!
real 191.88
user 185.50
sys 4.50

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/53565/ft1_filtered_4FGL_J0910.8+3859_daily_bin1474.fits scfile=/scratch/kocevski/53565/ft2_4FGL_J0910.8+3859_daily_bin1474.fits outfile=/scratch/kocevski/53565/cmap_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53565/ft1_filtered_4FGL_J0910.8+3859_daily_bin1474.fits scfile=/scratch/kocevski/53565/ft2_4FGL_J0910.8+3859_daily_bin1474.fits outfile=/scratch/kocevski/53565/cmap_HighResolution_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.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.71
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8533       1.0000         .10000E-03   10000.    
     2 'norm      '    .97392       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8032       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .75485       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.564       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .90109       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0918       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10959E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3495       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.761       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      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .67155E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11776E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.7599       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.4317       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .30358       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=   2641.591     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     2851 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8506        8.4431       -.30927E-06    .37840E-04
   2  norm          .97390        .61348        .23626E-07    .17247E-03
   3  Prefactor     3.7975        24.696       -.31668E-05    .53141E-04
   4  Prefactor     .75391        4.7671        .85685E-06    .26104E-03
   5  Prefactor     15.570        16.898       -.67319E-06   -.28639E-04
   6  Prefactor     .10000E-03    3.6934       -.47684E-08** at limit **
   7  norm          .10000E-03    5.3363        .10002E-06** at limit **
   8  Prefactor     .90176        2.2525        .40435E-06    .14278E-03
   9  Prefactor     6.0895        19.952        .89136E-06    .86793E-05
  10  Prefactor     .10000E-03    30.510        .40179E-06** at limit **
  11  Prefactor     .10000E-03    2.2914        .32928E-07** at limit **
  12  Prefactor     .10000E-03    30.153       -.12258E-06** at limit **
  13  Prefactor     7.3486        5.8165        .98538E-07    .89021E-06
  14  norm          .10000E-03    .74990        .19567E-07** at limit **
  15  Prefactor     31.770        28.538       -.79512E-06   -.29479E-04
  16  norm          .10000E-03    .41044        .84470E-07** at limit **
  17  Prefactor     .10000E-03    3.3616        .92321E-07** at limit **
  18  norm          .10000E-03    19.281       -.59667E-06** at limit **
  19  Prefactor     .10000E-03    1.9200       -.10703E-07** at limit **
  20  Prefactor     .10000E-03    1.7345        .21787E-07** at limit **
  21  Prefactor     .10099E-03    25.874       -.76600E-06** at limit **
  22  norm          .10000E-03    12.012        .30045E-07** at limit **
  23  Prefactor     .10000E-03    21.399        .36436E-06** at limit **
  24  Prefactor     .10000E-03    29.448       -.53954E-06** at limit **
  25  Prefactor     4.8171        88.503       -.13715E-05   -.82685E-05
  26  Normalizat    1.4316        .25205       -.22913E-06    .38385E-04
  27  Prefactor     .30353        .21852       -.15241E-05    .39552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.85061
  norm       = 0.973901
  Prefactor  = 3.79753
  Prefactor  = 0.753907
  Prefactor  = 15.5702
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.901756
  Prefactor  = 6.08952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.34857
  norm       = 0.0001
  Prefactor  = 31.7701
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100992
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.81711
  Normalizat = 1.43158
  Prefactor  = 0.303531
 **********
 **   18 **HESSE 
 **********

 FCN=   2641.591     FROM HESSE     STATUS=OK           498 CALLS     3349 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8506        8.3763        .12348E-03   -1.5080    
   2  norm          .97390        .61580        .29384E-04   -1.5511    
   3  Prefactor     3.7975        26.319        .20698E-03   -1.5318    
   4  Prefactor     .75391        8.1119        .14894E-02   -1.5534    
   5  Prefactor     15.570        16.919        .10152E-03   -1.4919    
   6  Prefactor     .10000E-03    3.6995        .96466E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.5037        .23184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .90176        1.9826        .11957E-02   -1.5518    
   9  Prefactor     6.0895        19.965        .16267E-03   -1.5214    
  10  Prefactor     .10000E-03    30.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3019        .75981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3486        5.8139        .10192E-03   -1.5166    
  14  norm          .10000E-03    .75021        .43468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.770        28.543        .35549E-03   -1.4580    
  16  norm          .10000E-03    .63616        .63423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.4332        .18345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    19.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.9319        .69484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.7351        .66109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10099E-03    30.611        .81221E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    12.013        .17401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    21.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    29.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.8171        89.726        .18442E-03   -1.5269    
  26  Normalizat    1.4316        .26480        .18982E-03   -.79720    
  27  Prefactor     .30353        .22469        .34883E-03   -1.2206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11146e-10
Minuit parameter uncertainties:
  1  8.37732
  2  0.615805
  3  20.0069
  4  4.94647
  5  16.9243
  6  4.71429e-06
  7  1.18053e-06
  8  1.98269
  9  19.9873
  10  2.84637e-05
  11  1.11997e-06
  12  3.98118e-05
  13  5.81431
  14  4.42979e-08
  15  28.5553
  16  2.01137e-06
  17  8.49928e-07
  18  6.54329e-05
  19  3.28886e-06
  20  1.18837e-07
  21  0.0110293
  22  2.51296e-06
  23  2.68325e-05
  24  2.83645e-05
  25  41.652
  26  0.265057
  27  0.225333
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.981e-05  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:  3.035e-01  2.253e-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.432e+00  2.651e-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: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53565/likelihoodResults_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.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) = 2641.59120087
delta logL = -0.000157069083798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2641.59104426
delta logL = -4.55498138763e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2257       1.0000          .0000       10.000    
     3 'Normalizat'    1.4316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .30354       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=   2641.591     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      275 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10081E-03    115.54        .18142E-02** at limit **
   2  Index         2.1822        5.3250        .50000        .87061E-05
   3  Normalizat    1.4316        .12646E-01    .18981E-03   -.56899E-05
   4  Prefactor     .30353        .11388E-01    .34884E-03   -.12384E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010081
  Index      = 2.18215
  Normalizat = 1.43158
  Prefactor  = 0.303531
 **********
 **   18 **HESSE 
 **********

 FCN=   2641.591     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10081E-03    520.16        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1822        8.9012        .50000       -.59870    
   3  Normalizat    1.4316        .27488E-01    .75926E-05   -.79720    
   4  Prefactor     .30353        .24753E-01    .13954E-04   -1.2206    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.33346e-09
Minuit parameter uncertainties:
  1  0.0414245
  2  406.591
  3  0.0274885
  4  0.0247542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53565': 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) = 2641.59104413
delta logL = -3.23834683513e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.008e-04  4.142e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.182e+00  4.066e+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:  3.035e-01  2.475e-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.432e+00  2.749e-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/53565/cmap_HighResolution_621388801_621648001_4FGL_J0910.8+3859_daily_bin1474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-08-31 03:05:02.766586', job_id='53565', GAL2='0.30', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630404302.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.30', dlogl='-3.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1474' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:05:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 53565: <4FGL_J0910.8+3859_daily_bin1474> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1474 137.709 38.9999 621388801 621648001 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 :                                   522.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            553 sec.

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

