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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin801
RA = 137.709, Dec = 38.9999
tmin = 446947201, tmax = 447206401
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='49942', job_status='RUN', time_executed='2021-08-31 02:47:08.647768', time_epoch_executed='1630403228.65' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='801'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49942

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49942/ft1_4FGL_J0910.8+3859_daily_bin801.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49942/ft1_4FGL_J0910.8+3859_daily_bin801.fits outfile=/scratch/kocevski/49942/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin801.fits ra=137.709 dec=38.9999 rad=12.0 tmin=446947201.0 tmax=447206401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.98
user 3.16
sys 3.75

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49942/ft1_filtered_4FGL_J0910.8+3859_daily_bin801.fits" evtable="EVENTS" scfile=/scratch/kocevski/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits sctable="SC_DATA" outfile=/scratch/kocevski/49942/ltcube_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.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/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits
.....................!
real 16.71
user 12.14
sys 4.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49942/ft1_filtered_4FGL_J0910.8+3859_daily_bin801.fits evtable="EVENTS" scfile=/scratch/kocevski/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits sctable="SC_DATA" expcube=/scratch/kocevski/49942/ltcube_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.fits outfile=/scratch/kocevski/49942/expmap_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.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/49942/ltcube_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.fits
.....................!
real 199.69
user 189.52
sys 9.68

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/49942/ft1_filtered_4FGL_J0910.8+3859_daily_bin801.fits scfile=/scratch/kocevski/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits outfile=/scratch/kocevski/49942/cmap_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.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 4.19
user 0.38
sys 3.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49942/ft1_filtered_4FGL_J0910.8+3859_daily_bin801.fits scfile=/scratch/kocevski/49942/ft2_4FGL_J0910.8+3859_daily_bin801.fits outfile=/scratch/kocevski/49942/cmap_HighResolution_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.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.16
user 0.38
sys 3.76

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0320       1.0000         .10000E-03   10000.    
     2 'norm      '    .91119       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.280       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.197       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9545       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39013       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.729       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5542       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.241       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .26275       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5765       1.0000         .10000E-03   10000.    
    16 'norm      '    .39099       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.333       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0694       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.149       1.0000         .10000E-03   10000.    
    22 'norm      '    .13818E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.783       1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.840       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.6746       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96574       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .99064       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=   6567.529     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     3376 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0300        6.2437        .23058E-06    .31911E-04
   2  norm          .91110        .56943       -.39869E-07   -.71077E-04
   3  Prefactor     .10000E-03    4.4044       -.90484E-07** at limit **
   4  Prefactor     3.1651        2.0289       -.42873E-07   -.10389E-04
   5  Prefactor     13.278        23.489        .51937E-06    .23632E-04
   6  Prefactor     11.199        10.621       -.11165E-06    .13182E-04
   7  norm          5.9550        5.0593       -.55369E-09    .38754E-05
   8  Prefactor     .38978        1.4082        .24450E-06   -.13982E-03
   9  Prefactor     19.740        18.912       -.12542E-05   -.47804E-04
  10  Prefactor     .10000E-03    21.134       -.27783E-06** at limit **
  11  Prefactor     1.5546        2.9714        .18513E-06   -.14841E-06
  12  Prefactor     40.244        30.237       -.21211E-05    .56255E-05
  13  Prefactor     .10000E-03    .98062       -.57794E-07** at limit **
  14  norm          .26397        .87309        .28347E-06    .11259E-03
  15  Prefactor     1.5773        34.496        .19589E-04   -.90540E-04
  16  norm          .39079        .28185        .25636E-07    .39834E-03
  17  Prefactor     .10000E-03    1.0239       -.11473E-08** at limit **
  18  norm          11.337        7.7105       -.11634E-05    .68141E-04
  19  Prefactor     .10000E-03    .40560        .58777E-07** at limit **
  20  Prefactor     2.0702        3.2096        .16208E-06    .36672E-05
  21  Prefactor     13.149        10.483        .10102E-06    .14667E-04
  22  norm          .10000E-03    11.038        .21591E-05** at limit **
  23  Prefactor     24.793        24.466       -.10042E-05   -.71343E-04
  24  Prefactor     25.859        33.016       -.27826E-05   -.58559E-04
  25  Prefactor     6.6757        6.3956        .83121E-07    .26567E-04
  26  Normalizat    .96552        .16338       -.27287E-05   -.16375E-03
  27  Prefactor     .99081        .16605        .28553E-05    .18978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02997
  norm       = 0.911101
  Prefactor  = 0.0001
  Prefactor  = 3.16513
  Prefactor  = 13.2784
  Prefactor  = 11.1991
  norm       = 5.95501
  Prefactor  = 0.38978
  Prefactor  = 19.7399
  Prefactor  = 0.0001
  Prefactor  = 1.55456
  Prefactor  = 40.2438
  Prefactor  = 0.0001
  norm       = 0.263969
  Prefactor  = 1.57726
  norm       = 0.39079
  Prefactor  = 0.0001
  norm       = 11.3367
  Prefactor  = 0.0001
  Prefactor  = 2.07018
  Prefactor  = 13.1491
  norm       = 0.000100003
  Prefactor  = 24.7932
  Prefactor  = 25.8588
  Prefactor  = 6.67565
  Normalizat = 0.965525
  Prefactor  = 0.99081
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.529     FROM HESSE     STATUS=OK           502 CALLS     3878 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0300        6.2123        .17926E-03   -1.5259    
   2  norm          .91110        .56606        .45060E-04   -1.5517    
   3  Prefactor     .10000E-03    4.4177        .16603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1651        2.0271        .88891E-04   -1.5352    
   5  Prefactor     13.278        23.419        .10992E-03   -1.4979    
   6  Prefactor     11.199        10.593        .11972E-03   -1.5039    
   7  norm          5.9550        5.0506        .16208E-03   -1.5220    
   8  Prefactor     .38978        1.3940        .17515E-03   -1.5583    
   9  Prefactor     19.740        18.888        .90173E-04   -1.4819    
  10  Prefactor     .10000E-03    21.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5546        2.9423        .18555E-03   -1.5459    
  12  Prefactor     40.244        30.338        .63188E-04   -1.4438    
  13  Prefactor     .10000E-03    1.0068        .15666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .26397        .99316        .13253E-02   -1.5605    
  15  Prefactor     1.5773        35.797        .16919E-02   -1.5457    
  16  norm          .39079        .28042        .35160E-04   -1.5583    
  17  Prefactor     .10000E-03    1.0480        .15927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.337        7.7880        .11900E-03   -1.5034    
  19  Prefactor     .10000E-03    .40658        .50396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0702        3.1783        .17276E-03   -1.5420    
  21  Prefactor     13.149        10.490        .11046E-03   -1.4983    
  22  norm          .10000E-03    11.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.793        24.446        .80465E-04   -1.4712    
  24  Prefactor     25.859        32.952        .78806E-04   -1.4690    
  25  Prefactor     6.6757        6.3998        .15532E-03   -1.5191    
  26  Normalizat    .96552        .18387        .23993E-03   -.94194    
  27  Prefactor     .99081        .18920        .25403E-03   -.93036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93477e-10
Minuit parameter uncertainties:
  1  6.21308
  2  0.56606
  3  1.10973e-05
  4  2.02718
  5  23.435
  6  10.5953
  7  5.05099
  8  1.3941
  9  18.8939
  10  2.94748e-05
  11  2.94253
  12  30.3493
  13  3.97387e-06
  14  0.993221
  15  15.0379
  16  0.280421
  17  3.55698e-07
  18  7.78874
  19  2.12252e-06
  20  3.17856
  21  10.4912
  22  0.000374986
  23  24.4563
  24  32.9752
  25  6.40046
  26  0.183994
  27  0.18933
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.024e+01  3.035e+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.908e-01  1.893e-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:  9.655e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.60
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.37e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.25e-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) = 6567.33804324
delta logL = 0.191174917798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6567.33790605
delta logL = 0.191312108959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.193       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6446       1.0000          .0000       10.000    
     3 'Normalizat'    .97530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98538       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=   6567.338     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      273 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.155        41.987        .27497E-03    .38865E-05
   2  Index         1.6447        .53646        .92269E-02    .14691E-03
   3  Normalizat    .97531        .17170        .23887E-03   -.33649E-04
   4  Prefactor     .98538        .18440        .25464E-03    .30314E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.1547
  Index      = 1.64472
  Normalizat = 0.975305
  Prefactor  = 0.985381
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.338     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.155        41.583        .10999E-04   -1.4249    
   2  Index         1.6447        .53133        .18454E-02   -.73563    
   3  Normalizat    .97531        .17181        .95548E-05   -.93862    
   4  Prefactor     .98538        .18455        .10186E-04   -.93218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37041e-11
Minuit parameter uncertainties:
  1  41.6055
  2  0.533163
  3  0.171907
  4  0.184666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49942': 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) = 6567.33790561
delta logL = 0.191312545443

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.315e+01  4.161e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.645e+00  5.332e-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.854e-01  1.847e-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:  9.753e-01  1.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.99
Ra Dec: 137.709 39.000
Photon Index (Free Index): 1.64 +/- 0.53
Photon Flux (Free Index): 1.56e-08 +/- 1.58e-08
Energy Flux (Free Index): 3.04e-05 +/- 3.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/49942/cmap_HighResolution_446947201_447206401_4FGL_J0910.8+3859_daily_bin801.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.37e-08', energy_flux2='3.04e-05', photon_flux_error='1.79e-08', dlogl='1.91e-01', energy_flux='1.65e-05', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-08-31 03:00:50.841834', photon_index_error2='0.53', photon_index2='1.64', ts='7.60', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.94e-05', EG='0.97', time_epoch_completed='1630404050.84', return_code='0', job_id='49942', GAL2='0.99', EG2='0.98', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='1.58e-08', ts2='7.99', photon_index='2.00' WHERE bin_id='801' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:00:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 49942: <4FGL_J0910.8+3859_daily_bin801> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin801 137.709 38.9999 446947201 447206401 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 :                                   876.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

