aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 27 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1752
RA = 137.709, Dec = 38.9999
tmin = 693446401, tmax = 693705601
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='259133', job_status='RUN', time_executed='2022-12-26 00:41:13.906309', time_epoch_executed='1672044073.91' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259133

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259133/ft1_4FGL_J0910.8+3859_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259133/ft1_4FGL_J0910.8+3859_daily_bin1752.fits outfile=/scratch/kocevski/259133/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1752.fits ra=137.709 dec=38.9999 rad=12.0 tmin=693446401.0 tmax=693705601.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.54
user 3.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.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/259133/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/259133/ltcube_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.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/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits
.....................!
real 15.86
user 15.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/259133/ltcube_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits outfile=/scratch/kocevski/259133/expmap_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.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/259133/ltcube_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits
.....................!
real 192.92
user 187.00
sys 5.29

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/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits scfile=/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits outfile=/scratch/kocevski/259133/cmap_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits scfile=/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits outfile=/scratch/kocevski/259133/cmap_HighResolution_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits', '/scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits', expMap='/scratch/kocevski/259133/expmap_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits', expCube='/scratch/kocevski/259133/ltcube_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259133/Model_4FGL_J0910.8+3859_daily_bin1752.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  0.000e+00  1.000e+06 ( 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/259133/ft1_filtered_4FGL_J0910.8+3859_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/259133/ft2_4FGL_J0910.8+3859_daily_bin1752.fits
Exposure map: /scratch/kocevski/259133/expmap_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits
Exposure cube: /scratch/kocevski/259133/ltcube_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259133/Model_4FGL_J0910.8+3859_daily_bin1752.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) = 6076.75703542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.527       1.0000          .0000       .10000E+07
     2 'norm      '    .40135E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39668E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.0453       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47390E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.0987       1.0000          .0000       .10000E+07
     7 'norm      '    .30087E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17756E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25783E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7798       1.0000          .0000       .10000E+07
    11 'norm      '    .67982       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.8057       1.0000          .0000       .10000E+07
    13 'norm      '    .21371       1.0000          .0000       .10000E+07
    14 'Prefactor '    .87713E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .55406E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35838       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75562E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.0490       1.0000          .0000       .10000E+07
    19 'norm      '    .37495E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    15.452       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56885       1.0000          .0000       .10000E+07
    22 'Prefactor '    .49852E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .92720       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6076.729     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2018 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.501        8.9410       -.54626E-07    .26733E-01
   2  norm           .0000        .19890       -.55852E-07** at limit **
   3  Prefactor     .55655E-06    28.360       -.78128E-06** at limit **
   4  Prefactor     4.0234        2.8137        .11224E-06   -.28603E-02
   5  Prefactor     .15765E-07    11.509       -.60515E-06** at limit **
   6  Prefactor     6.1085        8.6902       -.27687E-06   -.25069E-02
   7  norm           .0000        1.2561        .24099E-07** at limit **
   8  Prefactor     .41178E-06    9.6298       -.56500E-06** at limit **
   9  Prefactor     .10802E-06    9.8041        .68567E-06** at limit **
  10  Prefactor     2.7773        2.3925        .13165E-06   -.38496E-02
  11  norm          .67876        1.3036       -.19532E-06    .23612E-02
  12  Prefactor     8.8299        9.0356        .94928E-07    .85146E-01
  13  norm          .21376        .23060        .17458E-07** at limit **
  14  Prefactor      .0000        .63531        .40702E-07** at limit **
  15  norm          .12274E-06    7.1172        .23816E-06** at limit **
  16  Prefactor     .35738        1.2349       -.34071E-07   -.88479E-03
  17  Prefactor      .0000        1.6249       -.15772E-06** at limit **
  18  Prefactor     6.0415        6.7733       -.58293E-07    .99605E-03
  19  norm          .88818E-08    5.0897       -.24789E-06** at limit **
  20  Prefactor     15.645        3.4732        .37446E-07   -.18741E-01
  21  Prefactor     .15600E-05    126.33       -.31935E-05** at limit **
  22  Prefactor     .70605E-06    6.4178        .35408E-06** at limit **
  23  Normalizat    .92753        .17243        .69388E-05   -.20265E-03
  24  Prefactor     1.0013        .18778       -.33566E-05   -.13121E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.501
  norm       = 0
  Prefactor  = 5.56555e-07
  Prefactor  = 4.02342
  Prefactor  = 1.57652e-08
  Prefactor  = 6.10851
  norm       = 0
  Prefactor  = 4.11782e-07
  Prefactor  = 1.08025e-07
  Prefactor  = 2.77734
  norm       = 0.678755
  Prefactor  = 8.82987
  norm       = 0.213759
  Prefactor  = 0
  norm       = 1.22735e-07
  Prefactor  = 0.357377
  Prefactor  = 0
  Prefactor  = 6.04147
  norm       = 8.88178e-09
  Prefactor  = 15.6447
  Prefactor  = 1.56003e-06
  Prefactor  = 7.06046e-07
  Normalizat = 0.927526
  Prefactor  = 1.00133
 **********
 **   18 **HESSE 
 **********

 FCN=   6076.729     FROM HESSE     STATUS=OK           441 CALLS     2459 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.501        9.0058        .19419E-03   -1.5605    
   2  norm           .0000        .19554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55655E-06    30.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0234        2.8221        .50109E-03   -1.5668    
   5  Prefactor     .15765E-07    20.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1085        8.7083        .40631E-03   -1.5659    
   7  norm           .0000        1.2564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .41178E-06    21.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10802E-06    10.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7773        2.4201        .61007E-03   -1.5675    
  11  norm          .67876        1.3197        .62362E-03   -1.5691    
  12  Prefactor     8.8299        12.864        .33754E-03   -1.5649    
  13  norm          .21376        .24727        .85451E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .63227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12274E-06    7.5371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35738        1.2672        .94476E-03   -1.5696    
  17  Prefactor      .0000        1.6252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0415        6.7745        .40800E-03   -1.5659    
  19  norm          .88818E-08    5.1226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.645        21.267        .25453E-03   -1.5629    
  21  Prefactor     .15600E-05    129.18        .72066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .70605E-06    9.0618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92753        .15370        .45248E-01   -.95500    
  24  Prefactor     1.0013        .16401        .45244E-01   -.92685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21888e-07
Minuit parameter uncertainties:
  1  9.00577
  2  7.97223e-07
  3  0.00824562
  4  2.82211
  5  0.00113868
  6  8.70831
  7  6.68231e-07
  8  0.00590732
  9  0.00209995
  10  2.42015
  11  1.31974
  12  12.8641
  13  0.247271
  14  8.1169e-08
  15  0.00192341
  16  1.26723
  17  2.69144e-06
  18  6.77451
  19  0.000427251
  20  21.2667
  21  0.0283932
  22  0.00505895
  23  0.153773
  24  0.164092
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  1.001e+00  1.641e-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.275e-01  1.538e-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: 3.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259133/likelihoodResults_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.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): 0
logL (Free Index) = 6076.7761352
delta logL = -0.0467691894237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6076.72936601
delta logL = -6.63931132294e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15488E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .29512       1.0000          .0000       10.000    
     3 'Normalizat'    .92751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6076.729     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      198 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96589E-08    13.376       -.67809E-05** at limit **
   2  Index         1.6975        5.7859        .25761E-03    .80513E-09
   3  Normalizat    .92753        .17044        .20121E-06   -.69321E-03
   4  Prefactor     1.0013        .18558       -.47046E-05   -.82065E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.65894e-09
  Index      = 1.69754
  Normalizat = 0.927527
  Prefactor  = 1.00132
 **********
 **   18 **HESSE 
 **********

 FCN=   6076.729     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      231 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96589E-08    1.1787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6975        5.1944        .36716       -.72147    
   3  Normalizat    .92753        .11600E-02    .45252E-01   -.95500    
   4  Prefactor     1.0013        .12595E-02    .45224E-01   -.92685    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.32481e-11
Minuit parameter uncertainties:
  1  0.000213288
  2  5283.36
  3  0.00116002
  4  0.00125955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259133': 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) = 6076.729366
delta logL = 4.61204763269e-09

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  1.001e+00  1.260e-03  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.275e-01  1.160e-03  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/259133/cmap_HighResolution_693446401_693705601_4FGL_J0910.8+3859_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-03', job_status='DONE', photon_flux_upper_limit='3.22e-08', time_completed='2022-12-26 00:52:15.016036', job_id='259133', GAL2='1.00', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1672044735.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.61e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1752' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:52:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 259133: <4FGL_J0910.8+3859_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:40:14 2022
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:40:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:40:31 2022
Terminated at Mon Dec 26 00:52:15 2022
Results reported at Mon Dec 26 00:52:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1752 137.709 38.9999 693446401 693705601 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 :                                   661.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            721 sec.

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

