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


Performing analysis on: 4FGL_J0910.8+3859_weekly_bin759
RA = 137.709, Dec = 38.9999
tmin = 698025601, tmax = 698630401
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='584185', job_status='RUN', time_executed='2023-02-21 03:11:38.949500', time_epoch_executed='1676977898.95' WHERE source_name='4FGL J0910.8+3859' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584185

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584185/ft1_4FGL_J0910.8+3859_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584185/ft1_4FGL_J0910.8+3859_weekly_bin759.fits outfile=/scratch/kocevski/584185/ft1_filteredMKT_4FGL_J0910.8+3859_weekly_bin759.fits ra=137.709 dec=38.9999 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.49
user 8.17
sys 0.29

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

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

Number of photons that the gtmktime cut: 643

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584185/ft1_filtered_4FGL_J0910.8+3859_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/584185/ltcube_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.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/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits
.....................!
real 26.57
user 26.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584185/ft1_filtered_4FGL_J0910.8+3859_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/584185/ltcube_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.fits outfile=/scratch/kocevski/584185/expmap_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.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/584185/ltcube_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.fits
.....................!
real 190.23
user 185.16
sys 4.71

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/584185/ft1_filtered_4FGL_J0910.8+3859_weekly_bin759.fits scfile=/scratch/kocevski/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits outfile=/scratch/kocevski/584185/cmap_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584185/ft1_filtered_4FGL_J0910.8+3859_weekly_bin759.fits scfile=/scratch/kocevski/584185/ft2_4FGL_J0910.8+3859_weekly_bin759.fits outfile=/scratch/kocevski/584185/cmap_HighResolution_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.348       1.0000          .0000       .10000E+07
     2 'norm      '    .78212       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20716E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1512       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10124E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14384E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .40146E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    30.285       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.970       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.893       1.0000          .0000       .10000E+07
    11 'norm      '    .54678E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .65598E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40457E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7251       1.0000          .0000       .10000E+07
    15 'norm      '    4.5452       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19905E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4491       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.4403       1.0000          .0000       .10000E+07
    19 'norm      '    .10684E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14880E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.574       1.0000          .0000       .10000E+07
    22 'Prefactor '    6.2335       1.0000          .0000       .10000E+07
    23 'Normalizat'    .75057       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1453       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=   7065.878     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2028 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.360        1.3131        .16455E-07   -.34991E-02
   2  norm          .78215        .39971        .55269E-07    .26353E-02
   3  Prefactor      .0000        2.3198        .11614E-06** at limit **
   4  Prefactor     4.1520        2.2103       -.45832E-07   -.67666E-03
   5  Prefactor     .84155E-07    13.776        .27660E-06** at limit **
   6  Prefactor      .0000        3.3153        .15322E-06** at limit **
   7  norm           .0000        1.1679       -.13977E-06** at limit **
   8  Prefactor     30.515        3.8551        .42401E-07   -.85331E-01
   9  Prefactor     20.981        4.2260        .73792E-07   -.10403    
  10  Prefactor     14.908        5.0055        .44955E-08    .13948E-02
  11  norm           .0000        .65000        .96408E-07** at limit **
  12  Prefactor     .15882E-06    17.420        .15700E-06** at limit **
  13  norm           .0000        .80640        .10954E-06** at limit **
  14  Prefactor     1.7253        2.6276        .42724E-07   -.40826E-03
  15  norm          4.5344        6.6287       -.11087E-06   -.74678E-02
  16  Prefactor      .0000        .92250        .16756E-07** at limit **
  17  Prefactor     1.4479        3.2054       -.95925E-08   -.49391E-04
  18  Prefactor     6.4394        3.8981       -.14785E-06   -.11538E-01
  19  norm          .77716E-08    5.9255        .27477E-06** at limit **
  20  Prefactor     .11935E-07    6.4470        .15570E-06** at limit **
  21  Prefactor     12.741        1.9605        .93890E-08   -.76623E-02
  22  Prefactor     6.2296        5.1188       -.21894E-06   -.29339E-01
  23  Normalizat    .75019        .18340        .64937E-05    .29890E-04
  24  Prefactor     1.1454        .18649       -.47984E-05    .13276E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3597
  norm       = 0.78215
  Prefactor  = 0
  Prefactor  = 4.15204
  Prefactor  = 8.41549e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 30.5148
  Prefactor  = 20.9813
  Prefactor  = 14.9081
  norm       = 0
  Prefactor  = 1.58817e-07
  norm       = 0
  Prefactor  = 1.72531
  norm       = 4.53436
  Prefactor  = 0
  Prefactor  = 1.44792
  Prefactor  = 6.43937
  norm       = 7.77156e-09
  Prefactor  = 1.19349e-08
  Prefactor  = 12.7412
  Prefactor  = 6.22961
  Normalizat = 0.750191
  Prefactor  = 1.1454
 **********
 **   18 **HESSE 
 **********

 FCN=   7065.878     FROM HESSE     STATUS=OK           457 CALLS     2485 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.360        8.1116        .21650E-03   -1.5616    
   2  norm          .78215        .40773        .54278E-03   -1.5690    
   3  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1520        2.2235        .49447E-03   -1.5667    
   5  Prefactor     .84155E-07    13.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.3244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.1708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.515        23.989        .18174E-03   -1.5597    
   9  Prefactor     20.981        27.011        .21844E-03   -1.5616    
  10  Prefactor     14.908        5.0650        .25927E-03   -1.5631    
  11  norm           .0000        .64990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15882E-06    17.807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .34084        .21367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7253        3.3226        .79926E-03   -1.5682    
  15  norm          4.5344        6.7079        .47196E-03   -1.5665    
  16  Prefactor      .0000        .92314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4479        3.2372        .89480E-03   -1.5684    
  18  Prefactor     6.4394        6.5234        .39525E-03   -1.5657    
  19  norm          .77716E-08    5.9413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11935E-07    6.4739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.741        20.364        .28224E-03   -1.5637    
  22  Prefactor     6.2296        6.3057        .40183E-03   -1.5658    
  23  Normalizat    .75019        .16008        .61747E-01   -1.0194    
  24  Prefactor     1.1454        .15960        .54082E-01   -.88028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46384e-07
Minuit parameter uncertainties:
  1  8.11161
  2  0.407725
  3  1.26958e-05
  4  2.22346
  5  0.00216486
  6  5.72322e-06
  7  2.26725e-06
  8  23.989
  9  27.0115
  10  5.06503
  11  4.97288e-08
  12  0.00336353
  13  1.78302e-06
  14  3.32256
  15  6.7079
  16  1.64966e-07
  17  3.23716
  18  6.52343
  19  0.000429965
  20  0.000556237
  21  20.3641
  22  6.3057
  23  0.160179
  24  0.159671
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  2.098e+01  2.701e+01  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.145e+00  1.597e-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:  7.502e-01  1.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.24e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 8.61e-06 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/584185/likelihoodResults_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.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) = 7065.86904713
delta logL = 0.00878544344596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7065.86410505
delta logL = 0.0137275215457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.723       1.0000          .0000       .10000E+07
     2 'Index     '    2.2530       1.0000          .0000       10.000    
     3 'Normalizat'    .74320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1490       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=   7065.864     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      293 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.723        45.184        .95053E-05    .24416E-02
   2  Index         2.2533        2.1085        .14209E-01    .22851E-04
   3  Normalizat    .74320        .18821        .27426E-03    .87051E-06
   4  Prefactor     1.1490        .18845        .23876E-03    .28569E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7231
  Index      = 2.25328
  Normalizat = 0.743201
  Prefactor  = 1.14904
 **********
 **   18 **HESSE 
 **********

 FCN=   7065.864     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.723        32.943        .19011E-05   -1.5624    
   2  Index         2.2533        1.5669        .56835E-03   -.58158    
   3  Normalizat    .74320        .18044        .10970E-04   -1.0221    
   4  Prefactor     1.1490        .18596        .95505E-05   -.87914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62826e-10
Minuit parameter uncertainties:
  1  32.943
  2  1.60614
  3  0.180583
  4  0.186068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584185': 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) = 7065.86410502
delta logL = 0.013727550785

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.772e+01  3.294e+01  0.000e+00  1.000e+06 ( 1.000e-14)
319        Index:  2.253e+00  1.606e+00  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.149e+00  1.861e-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:  7.432e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.25 +/- 1.61
Photon Flux (Free Index): 1.89e-08 +/- 5.13e-08
Energy Flux (Free Index): 7.70e-06 +/- 9.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/584185/cmap_HighResolution_698025601_698630401_4FGL_J0910.8+3859_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', comment='SUCCESS', photon_flux='1.24e-08', energy_flux2='7.70e-06', photon_flux_error='1.59e-08', dlogl='1.37e-02', energy_flux='8.61e-06', photon_flux2='1.89e-08', job_status='DONE', time_completed='2023-02-21 03:24:13.923954', photon_index_error2='1.61', photon_index2='2.25', ts='1.33', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='6.16e-08', energy_flux_error2='9.60e-06', EG='0.75', time_epoch_completed='1676978653.92', return_code='0', job_id='584185', GAL2='1.15', EG2='0.74', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='5.13e-08', ts2='1.37', photon_index='2.00' WHERE bin_id='759' AND source_name='4FGL J0910.8+3859' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:24:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 584185: <4FGL_J0910.8+3859_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0910.8+3859_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:10:22 2023
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:10:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:10:24 2023
Terminated at Tue Feb 21 03:24:14 2023
Results reported at Tue Feb 21 03:24:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_weekly_bin759 137.709 38.9999 698025601 698630401 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 :                                   752.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             296.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

