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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1765
RA = 138.056, Dec = 41.4563
tmin = 696816001, tmax = 697075201
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='629967', job_status='RUN', time_executed='2023-02-03 00:43:08.844256', time_epoch_executed='1675413788.84' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629967/ft1_4FGL_J0912.2+4127_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629967/ft1_4FGL_J0912.2+4127_daily_bin1765.fits outfile=/scratch/kocevski/629967/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1765.fits ra=138.056 dec=41.4563 rad=12.0 tmin=696816001.0 tmax=697075201.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.66
user 3.40
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.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/629967/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 580

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/629967/ltcube_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.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/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits
.....................!
real 13.94
user 13.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/629967/ltcube_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits outfile=/scratch/kocevski/629967/expmap_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.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/629967/ltcube_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits
.....................!
real 194.04
user 186.94
sys 5.30

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 212 point sources and 0 extended sources

Setting source of interest to:
4FGL J0912.2+4127 @ 138.056 41.4563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits outfile=/scratch/kocevski/629967/cmap_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.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=138.056 yref=41.4563 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits outfile=/scratch/kocevski/629967/cmap_HighResolution_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.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=138.056 yref=41.4563 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/629967/Model_4FGL_J0912.2+4127_daily_bin1765.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/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits....................!
real 61.38
user 58.75
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits', '/scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits', expMap='/scratch/kocevski/629967/expmap_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits', expCube='/scratch/kocevski/629967/ltcube_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/629967/Model_4FGL_J0912.2+4127_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0912.2+4127'

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/629967/ft1_filtered_4FGL_J0912.2+4127_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/629967/ft2_4FGL_J0912.2+4127_daily_bin1765.fits
Exposure map: /scratch/kocevski/629967/expmap_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits
Exposure cube: /scratch/kocevski/629967/ltcube_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/629967/Model_4FGL_J0912.2+4127_daily_bin1765.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) = 6487.5297421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6759       1.0000          .0000       .10000E+07
     2 'norm      '    .56102       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20591E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7361       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11371E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .43499E-04   1.0000          .0000       .10000E+07
     7 'norm      '    7.3395       1.0000          .0000       .10000E+07
     8 'norm      '    .59410       1.0000          .0000       .10000E+07
     9 'Prefactor '    .56251E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    78.652       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12214E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .64372E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    68.554       1.0000          .0000       .10000E+07
    14 'norm      '    .17888E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9564       1.0000          .0000       .10000E+07
    16 'norm      '    .30050E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6945       1.0000          .0000       .10000E+07
    18 'Prefactor '    .33239E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.5896       1.0000          .0000       .10000E+07
    20 'norm      '    .12494E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12303E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    20.620       1.0000          .0000       .10000E+07
    23 'Prefactor '    76.559       1.0000          .0000       .10000E+07
    24 'Prefactor '    29.050       1.0000          .0000       .10000E+07
    25 'norm      '    .10810E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    .94401       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1246       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6487.485     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     3008 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6683        6.3622        .11361E-07    .30120E-03
   2  norm          .56108        .41784        .91648E-08   -.13174E-02
   3  Prefactor      .0000        10.132        .30231E-06** at limit **
   4  Prefactor     4.7474        3.1535        .65864E-07    .60880E-03
   5  Prefactor     .22204E-08    9.6869        .26490E-06** at limit **
   6  Prefactor     .17475E-05    16.069       -.13713E-06** at limit **
   7  norm          7.3207        6.4109        .75936E-07    .10327E-02
   8  norm          .60717        6.3887        .17606E-07    .24396E-03
   9  Prefactor     .19984E-08    6.8380        .31657E-06** at limit **
  10  Prefactor     78.761        9.6613       -.32184E-08    .22406E-01
  11  Prefactor     .24880E-05    21.079        .53272E-06** at limit **
  12  norm           .0000        1.3309        .51688E-07** at limit **
  13  Prefactor     68.753        25.090       -.64858E-07    .92093E-01
  14  norm           .0000        .47145       -.70390E-07** at limit **
  15  Prefactor     3.9680        3.5194        .27947E-06    .95573E-03
  16  norm          .27756E-08    5.1755        .26388E-06** at limit **
  17  Prefactor     2.6891        2.9556       -.38668E-07   -.12797E-02
  18  Prefactor      .0000        2.9311       -.32704E-06** at limit **
  19  Prefactor     6.5097        2.8025       -.45939E-07    .70219E-02
  20  norm          .37748E-08    5.8725        .17337E-06** at limit **
  21  Prefactor     .37303E-07    17.844       -.38895E-06** at limit **
  22  Prefactor     20.646        9.6547       -.83103E-07   -.26459E-01
  23  Prefactor     75.936        43.051       -.30882E-06    .45271E-01
  24  Prefactor     29.054        4.3633       -.16552E-08    .90888E-01
  25  norm          .14433E-08    4.8513        .37323E-07** at limit **
  26  Normalizat    .94423        .22139        .33856E-05   -.23803E-05
  27  Prefactor     1.1244        .22049       -.66254E-05   -.23494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66826
  norm       = 0.561081
  Prefactor  = 0
  Prefactor  = 4.74736
  Prefactor  = 2.22045e-09
  Prefactor  = 1.74755e-06
  norm       = 7.32065
  norm       = 0.607171
  Prefactor  = 1.9984e-09
  Prefactor  = 78.7607
  Prefactor  = 2.48801e-06
  norm       = 0
  Prefactor  = 68.7532
  norm       = 0
  Prefactor  = 3.96797
  norm       = 2.77556e-09
  Prefactor  = 2.68912
  Prefactor  = 0
  Prefactor  = 6.50972
  norm       = 3.77476e-09
  Prefactor  = 3.73035e-08
  Prefactor  = 20.6461
  Prefactor  = 75.9357
  Prefactor  = 29.054
  norm       = 1.44329e-09
  Normalizat = 0.944227
  Prefactor  = 1.12444
 **********
 **   18 **HESSE 
 **********

 FCN=   6487.485     FROM HESSE     STATUS=OK           548 CALLS     3556 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6683        6.3949        .52656E-03   -1.5670    
   2  norm          .56108        .41972        .72795E-03   -1.5693    
   3  Prefactor      .0000        9.9417        .16998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7474        3.1709        .46212E-03   -1.5664    
   5  Prefactor     .22204E-08    9.6939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17475E-05    22.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.3207        6.4290        .36998E-03   -1.5654    
   8  norm          .60717        6.4279        .69758E-03   -1.5692    
   9  Prefactor     .19984E-08    6.8524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     78.761        75.856        .11276E-03   -1.5530    
  11  Prefactor     .24880E-05    27.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.3289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.753        42.021        .12078E-03   -1.5542    
  14  norm           .0000        .46507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9680        3.5811        .50688E-03   -1.5668    
  16  norm          .27756E-08    5.1917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.6891        3.0384        .62038E-03   -1.5675    
  18  Prefactor      .0000        2.9292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.5097        14.228        .39069E-03   -1.5657    
  20  norm          .37748E-08    5.8869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .37303E-07    18.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.646        10.255        .22029E-03   -1.5617    
  23  Prefactor     75.936        46.269        .11430E-03   -1.5534    
  24  Prefactor     29.054        15.495        .18556E-03   -1.5600    
  25  norm          .14433E-08    4.8601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .94423        .19436        .45462E-01   -.94923    
  27  Prefactor     1.1244        .18859        .59958E-01   -.88689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51178e-07
Minuit parameter uncertainties:
  1  6.39487
  2  0.419722
  3  1.80596e-05
  4  3.17086
  5  0.000293096
  6  0.0124881
  7  6.42899
  8  3.95113
  9  0.000234024
  10  75.8565
  11  0.0165328
  12  2.29699e-07
  13  42.0213
  14  6.49223e-07
  15  3.58111
  16  0.000240766
  17  3.03838
  18  1.40615e-05
  19  14.2282
  20  0.000297574
  21  0.00166237
  22  10.2555
  23  46.2688
  24  15.4948
  25  0.000169033
  26  0.194506
  27  0.188705
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.488e-06  1.653e-02  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.124e+00  1.887e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  9.442e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629967/likelihoodResults_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.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) = 6487.48466202
delta logL = 7.29430121282e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6485.75277655
delta logL = 1.7318927649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54450E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.7747       1.0000          .0000       10.000    
     3 'Normalizat'    .80843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6487.485     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      353 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36152E-01    .42118E-03** at limit **
   2  Index         .23998        .32855       -.26945E-05     .0000    
   3  Normalizat    .94423        1.2315       -.11924E-05    .23188E-04
   4  Prefactor     1.1244        1.0596        .32498E-05    .49662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.239975
  Normalizat = 0.944226
  Prefactor  = 1.12444
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6487.485     FROM HESSE     STATUS=FAILED         9 CALLS      362 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36152E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98602E-01    .32855       -.26945E-05   -7.5429    
   3  Normalizat    .94423        1.2315       -.11924E-05   -.94923    
   4  Prefactor     1.1244        1.0596        .32498E-05   -.88689    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.4514e-12
Minuit parameter uncertainties:
  1  7.12786e-08
  2  0.331124
  3  1.27166
  4  1.08058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629967': 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): 101
logL (Free Index) = 6487.48466927
delta logL = 4.38631104771e-08

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  0.000e+00  7.128e-08  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.400e-01  3.311e-01  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.124e+00  1.081e+00  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  9.442e-01  1.272e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.056 41.456

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/629967/cmap_HighResolution_696816001_697075201_4FGL_J0912.2+4127_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2023-02-03 00:56:50.738169', job_id='629967', GAL2='1.12', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1675414610.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='4.39e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1765' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:56:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 629967: <4FGL_J0912.2+4127_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 00:40:26 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:41:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:41:37 2023
Terminated at Fri Feb  3 00:56:51 2023
Results reported at Fri Feb  3 00:56:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1765 138.056 41.4563 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0912.2+4127 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   817.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            985 sec.

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

