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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1772
RA = 137.709, Dec = 38.9999
tmin = 698630401, tmax = 698889601
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='623453', job_status='RUN', time_executed='2023-02-24 01:08:49.055264', time_epoch_executed='1677229729.06' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623453

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623453/ft1_4FGL_J0910.8+3859_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623453/ft2_4FGL_J0910.8+3859_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623453/ft1_4FGL_J0910.8+3859_daily_bin1772.fits outfile=/scratch/kocevski/623453/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1772.fits ra=137.709 dec=38.9999 rad=12.0 tmin=698630401.0 tmax=698889601.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.03
user 2.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 67

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623453/ft1_filtered_4FGL_J0910.8+3859_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/623453/ft2_4FGL_J0910.8+3859_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/623453/ltcube_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.fits outfile=/scratch/kocevski/623453/expmap_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.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/623453/ltcube_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.fits
.....................!
real 191.05
user 185.02
sys 5.32

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/623453/ft1_filtered_4FGL_J0910.8+3859_daily_bin1772.fits scfile=/scratch/kocevski/623453/ft2_4FGL_J0910.8+3859_daily_bin1772.fits outfile=/scratch/kocevski/623453/cmap_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623453/ft1_filtered_4FGL_J0910.8+3859_daily_bin1772.fits scfile=/scratch/kocevski/623453/ft2_4FGL_J0910.8+3859_daily_bin1772.fits outfile=/scratch/kocevski/623453/cmap_HighResolution_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.194       1.0000          .0000       .10000E+07
     2 'norm      '    1.0990       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34817E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46779       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.175       1.0000          .0000       .10000E+07
     6 'Prefactor '    26.763       1.0000          .0000       .10000E+07
     7 'norm      '    .51922E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .58155E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .99647E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34450E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .70741E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    88.802       1.0000          .0000       .10000E+07
    13 'norm      '    3.9911       1.0000          .0000       .10000E+07
    14 'Prefactor '    .54223E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .24488       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19166E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16476E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .43595E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .12983       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.7451       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.0385       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.7887       1.0000          .0000       .10000E+07
    23 'Normalizat'    .97694       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .48367       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=   775.4624     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2333 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.469        17.612        .87103E-07   -.42933E-02
   2  norm          1.1443        1.0385        .10779E-07   -.64985E-02
   3  Prefactor     .10436E-07    27.955       -.31570E-06** at limit **
   4  Prefactor     1.6523        8.4034       -.78410E-07   -.13849E-02
   5  Prefactor     11.350        544.74        .11445E-05    .83684E-03
   6  Prefactor     32.339        60.501        .10141E-05   -.10679E-02
   7  norm           .0000        7.4534       -.15633E-06** at limit **
   8  Prefactor      .0000        86.014       -.68495E-07** at limit **
   9  Prefactor     .60507E-08    92.021        .53691E-07** at limit **
  10  Prefactor      .0000        5.3775       -.14872E-07** at limit **
  11  norm          .22204E-09    8.5419        .69316E-07** at limit **
  12  Prefactor     71.561        88.486        .71941E-06    .42899E-03
  13  norm          3.7837        2.3195       -.68277E-07   -.14218E-01
  14  Prefactor     .16653E-09    17.287        .92575E-06** at limit **
  15  norm          .43188E-07    41.889       -.19752E-05** at limit **
  16  Prefactor     .55511E-10    6.3126        .42443E-07** at limit **
  17  Prefactor     .41633E-08    55.733       -.88708E-06** at limit **
  18  Prefactor      .0000        19.629        .36285E-07** at limit **
  19  norm          .30531E-07    312.56       -.64641E-05** at limit **
  20  Prefactor     .74130E-06    759.55       -.95292E-06** at limit **
  21  Prefactor     .67446E-07    762.25       -.24163E-05** at limit **
  22  Prefactor     .10000E+07    47168.       -.10119E-04** at limit **
  23  Normalizat    .56763        .52519       -.44737E-05   -.49072E-04
  24  Prefactor     .50259        .38848       -.73939E-06   -.51304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.4686
  norm       = 1.14429
  Prefactor  = 1.04361e-08
  Prefactor  = 1.65226
  Prefactor  = 11.3503
  Prefactor  = 32.3393
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.05072e-09
  Prefactor  = 0
  norm       = 2.22045e-10
  Prefactor  = 71.5613
  norm       = 3.78371
  Prefactor  = 1.66533e-10
  norm       = 4.31877e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 4.16334e-09
  Prefactor  = 0
  norm       = 3.05311e-08
  Prefactor  = 7.41296e-07
  Prefactor  = 6.7446e-08
  Prefactor  = 1e+06
  Normalizat = 0.567629
  Prefactor  = 0.502594
 **********
 **   18 **HESSE 
 **********

 FCN=   775.4624     FROM HESSE     STATUS=OK           441 CALLS     2774 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.469        18.022        .20769E-03   -1.5607    
   2  norm          1.1443        1.0418        .56769E-03   -1.5687    
   3  Prefactor     .10436E-07    31.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6523        9.1307        .82018E-03   -1.5682    
   5  Prefactor     11.350        634.24        .20777E-03   -1.5775    
   6  Prefactor     32.339        61.170        .19334E-03   -1.5594    
   7  norm           .0000        8.8490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        80.450        .15229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .60507E-08    88.681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.0070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .22204E-09    8.1097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.561        88.925        .10612E-03   -1.5877    
  13  norm          3.7837        2.3327        .50460E-03   -1.5669    
  14  Prefactor     .16653E-09    17.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .43188E-07    56.610        .11026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    5.9775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41633E-08    55.097        .17280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        21.418        .15805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .30531E-07    354.15        .13189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .74130E-06    912.45        .79366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .67446E-07    810.69        .40836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E+07    48676.        .78185E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .56763        .47261        .68292E-01   -1.0938    
  24  Prefactor     .50259        .35473        .58307E-01   -1.1186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77262e-09
Minuit parameter uncertainties:
  1  18.0222
  2  1.04176
  3  0.00114797
  4  7.76822
  5  169.711
  6  61.1712
  7  1.56249e-05
  8  1.59242e-05
  9  0.00146421
  10  1.14417e-05
  11  7.97156e-05
  12  88.9263
  13  2.33273
  14  0.000110313
  15  0.00312739
  16  3.90071e-05
  17  0.000956513
  18  5.08105e-06
  19  0.0065739
  20  0.0520228
  21  0.0147926
  22  0.338866
  23  0.476021
  24  0.356305
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  6.051e-09  1.464e-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:  5.026e-01  3.563e-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:  5.676e-01  4.760e-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: 2.80e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623453/likelihoodResults_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.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) = 775.467763299
delta logL = -0.00536560315538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 775.462398581
delta logL = -8.85739041223e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87512E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.8054       1.0000          .0000       10.000    
     3 'Normalizat'    .56724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50266       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=   775.4624     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      267 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15987E-07    3.6139        .42118E-03** at limit **
   2  Index         1.9758        5.3494        .50000        .41211E-09
   3  Normalizat    .56763        .22704E-02    .68275E-01   -.83589E-04
   4  Prefactor     .50259        .18460E-02    .58308E-01   -.14435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59872e-08
  Index      = 1.97576
  Normalizat = 0.567632
  Prefactor  = 0.50259
 **********
 **   18 **HESSE 
 **********

 FCN=   775.4624     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      296 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15987E-07    18.058        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9758        5.4364        .50000       -.64958    
   3  Normalizat    .56763        .50639E-02    .30220E-03   -1.0938    
   4  Prefactor     .50259        .41198E-02    .25794E-03   -1.1186    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50636e-11
Minuit parameter uncertainties:
  1  0.00107408
  2  8837.64
  3  0.00506386
  4  0.00411976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623453': 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) = 775.462397696
delta logL = -1.45632839121e-10

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.599e-08  1.074e-03  0.000e+00  1.000e+06 ( 1.000e-14)
319        Index:  1.976e+00  8.838e+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:  5.026e-01  4.120e-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:  5.676e-01  5.064e-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/623453/cmap_HighResolution_698630401_698889601_4FGL_J0910.8+3859_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-02', job_status='DONE', photon_flux_upper_limit='2.80e-07', time_completed='2023-02-24 01:14:59.871578', job_id='623453', GAL2='0.50', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1677230099.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='-1.46e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1772' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:14:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 623453: <4FGL_J0910.8+3859_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:05:18 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:05:19 2023
Terminated at Fri Feb 24 01:15:00 2023
Results reported at Fri Feb 24 01:15:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1772 137.709 38.9999 698630401 698889601 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 :                                   371.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            582 sec.

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

