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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1712
RA = 137.709, Dec = 38.9999
tmin = 683078401, tmax = 683337601
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='78326', job_status='RUN', time_executed='2022-09-16 14:34:20.327330', time_epoch_executed='1663364060.33' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78326/ft1_4FGL_J0910.8+3859_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits


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

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

Done.
real 4.87
user 4.55
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.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/78326/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/78326/ft1_filtered_4FGL_J0910.8+3859_daily_bin1712.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.56
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78326/ft1_filtered_4FGL_J0910.8+3859_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/78326/ltcube_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.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/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits
.....................!
real 15.15
user 14.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78326/ft1_filtered_4FGL_J0910.8+3859_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/78326/ltcube_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.fits outfile=/scratch/kocevski/78326/expmap_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.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/78326/ltcube_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.fits
.....................!
real 194.10
user 187.14
sys 6.37

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/78326/ft1_filtered_4FGL_J0910.8+3859_daily_bin1712.fits scfile=/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits outfile=/scratch/kocevski/78326/cmap_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78326/ft1_filtered_4FGL_J0910.8+3859_daily_bin1712.fits scfile=/scratch/kocevski/78326/ft2_4FGL_J0910.8+3859_daily_bin1712.fits outfile=/scratch/kocevski/78326/cmap_HighResolution_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.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.60
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3594       1.0000          .0000       .10000E+07
     2 'norm      '    1.1346       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11718E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0769       1.0000          .0000       .10000E+07
     5 'Prefactor '    34.413       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17653E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.0385       1.0000          .0000       .10000E+07
     8 'Prefactor '    .63938E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21013E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9382       1.0000          .0000       .10000E+07
    11 'norm      '    1.3142       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21707E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .18689       1.0000          .0000       .10000E+07
    14 'Prefactor '    .91222       1.0000          .0000       .10000E+07
    15 'norm      '    10.306       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10787       1.0000          .0000       .10000E+07
    17 'Prefactor '    .69500E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .58731E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .19820E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .32365E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .24378E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .16320E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1030       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97036       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=   5779.386     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1958 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3885        7.1721        .26342E-07    .56478E-03
   2  norm          1.1334        .56749        .64976E-07   -.76105E-02
   3  Prefactor     .38743E-05    7.4163       -.63969E-06** at limit **
   4  Prefactor     1.0638        3.7726       -.10251E-06    .53536E-03
   5  Prefactor     35.358        32.423        .67664E-07   -.41857E-01
   6  Prefactor     .53846E-07    4.7919        .17280E-06** at limit **
   7  norm          3.0694        5.4875        .30292E-06   -.25592E-03
   8  Prefactor     .22204E-09    7.9069       -.84810E-06** at limit **
   9  Prefactor     .44192E-06    4.8919       -.49122E-06** at limit **
  10  Prefactor     4.9144        4.3630       -.34263E-07    .10094E-02
  11  norm          1.3155        1.3054       -.72186E-07   -.43649E-03
  12  Prefactor     .30315E-05    3.4472       -.57697E-06** at limit **
  13  norm          .18661        .73908        .13589E-06** at limit **
  14  Prefactor     .92070        5.9287       -.10450E-07   -.78224E-02
  15  norm          10.654        9.7169        .50698E-06    .33034E-03
  16  Prefactor     .95065E-01    18.751       -.12966E-05** at limit **
  17  Prefactor      .0000        1.6478       -.12644E-07** at limit **
  18  Prefactor     .94639E-05    7.4649       -.53701E-06** at limit **
  19  norm          .31791E-06    4.8199       -.46227E-06** at limit **
  20  Prefactor     .52736E-07    8.2498       -.60147E-06** at limit **
  21  Prefactor     .48239E-07    4.4907       -.50165E-06** at limit **
  22  Prefactor     .11102E-09    4.8011        .18150E-06** at limit **
  23  Normalizat    1.1020        .21579       -.85968E-05    .12935E-03
  24  Prefactor     .96997        .21356        .35969E-05    .83805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38852
  norm       = 1.13336
  Prefactor  = 3.87429e-06
  Prefactor  = 1.06377
  Prefactor  = 35.3578
  Prefactor  = 5.38458e-08
  norm       = 3.0694
  Prefactor  = 2.22045e-10
  Prefactor  = 4.41924e-07
  Prefactor  = 4.91441
  norm       = 1.31545
  Prefactor  = 3.03146e-06
  norm       = 0.186611
  Prefactor  = 0.920704
  norm       = 10.6537
  Prefactor  = 0.0950655
  Prefactor  = 0
  Prefactor  = 9.46387e-06
  norm       = 3.17912e-07
  Prefactor  = 5.27356e-08
  Prefactor  = 4.82392e-08
  Prefactor  = 1.11022e-10
  Normalizat = 1.10202
  Prefactor  = 0.969966
 **********
 **   18 **HESSE 
 **********

 FCN=   5779.386     FROM HESSE     STATUS=OK           451 CALLS     2409 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3885        7.2745        .39779E-03   -1.5657    
   2  norm          1.1334        .57199        .88380E-03   -1.5687    
   3  Prefactor     .38743E-05    20.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0638        3.8656        .11638E-02   -1.5687    
   5  Prefactor     35.358        33.741        .17049E-03   -1.5589    
   6  Prefactor     .53846E-07    9.4153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0694        5.5452        .58184E-03   -1.5673    
   8  Prefactor     .22204E-09    7.9326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44192E-06    16.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9144        4.4242        .45235E-03   -1.5664    
  11  norm          1.3155        1.3195        .96074E-03   -1.5685    
  12  Prefactor     .30315E-05    17.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .18661        .79771        .12014E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .92070        5.8536        .44919E-03   -1.5689    
  15  norm          10.654        9.7300        .31187E-03   -1.5643    
  16  Prefactor     .95065E-01    1.6193        .58867E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.6470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .94639E-05    25.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .31791E-06    16.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .52736E-07    22.306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .48239E-07    16.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11102E-09    9.5554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1020        .18289        .54586E-01   -.89687    
  24  Prefactor     .96997        .18182        .45896E-01   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61068e-06
Minuit parameter uncertainties:
  1  7.27447
  2  0.571987
  3  0.0178343
  4  3.86559
  5  33.7411
  6  0.00142386
  7  5.54522
  8  8.65971e-05
  9  0.00535826
  10  4.42416
  11  1.31948
  12  0.0145763
  13  0.771651
  14  4.64305
  15  9.73006
  16  0.784694
  17  8.45836e-06
  18  0.0308328
  19  0.00461386
  20  0.00216961
  21  0.00178561
  22  7.17372e-05
  23  0.182999
  24  0.181934
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.419e-07  5.358e-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:  9.700e-01  1.819e-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.102e+00  1.830e-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: 4.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/78326/likelihoodResults_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.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) = 5779.38842876
delta logL = -0.00237936005942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5779.38604994
delta logL = -5.42685484106e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97249E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5124       1.0000          .0000       10.000    
     3 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97005       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.

 FCN=   5779.386     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      254 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    9.9682        .42118E-03** at limit **
   2  Index         .83167        7.8259        .50000       -.36380E-10
   3  Normalizat    1.1020        .44161E-02    .54586E-01    .64220E-03
   4  Prefactor     .96997        .45299E-02    .45892E-01    .10418E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 0.831673
  Normalizat = 1.10201
  Prefactor  = 0.969974
 **********
 **   18 **HESSE 
 **********

 FCN=   5779.386     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      279 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    50.017        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .83167        5.1778        .50000       -.98571    
   3  Normalizat    1.1020        .99206E-02    .24136E-03   -.89687    
   4  Prefactor     .96997        .10179E-01    .26077E-03   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80853e-11
Minuit parameter uncertainties:
  1  0.000197141
  2  456030
  3  0.00992065
  4  0.0101788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78326': 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) = 5779.38604939
delta logL = 1.2720192899e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.665e-10  1.971e-04  0.000e+00  1.000e+06 ( 1.000e-14)
319        Index:  8.317e-01  4.560e+05  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.700e-01  1.018e-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.102e+00  9.921e-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/78326/cmap_HighResolution_683078401_683337601_4FGL_J0910.8+3859_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2022-09-16 14:45:00.872843', job_id='78326', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1663364700.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.27e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1712' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:45:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 78326: <4FGL_J0910.8+3859_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1712> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:30:20 2022
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:34:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:34:03 2022
Terminated at Fri Sep 16 14:45:01 2022
Results reported at Fri Sep 16 14:45:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1712 137.709 38.9999 683078401 683337601 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 :                                   641.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            881 sec.

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

