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 64 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0140.6+8736_daily_bin1692
RA = 25.1688, Dec = 87.6062
tmin = 677894401, tmax = 678153601
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='403570', job_status='RUN', time_executed='2022-06-29 04:02:32.208653', time_epoch_executed='1656500552.21' WHERE source_name='4FGL J0140.6+8736' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403570/ft1_4FGL_J0140.6+8736_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403570/ft1_4FGL_J0140.6+8736_daily_bin1692.fits outfile=/scratch/kocevski/403570/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin1692.fits ra=25.1688 dec=87.6062 rad=12.0 tmin=677894401.0 tmax=678153601.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.58
user 4.24
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.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/403570/ft1_filteredMKT_4FGL_J0140.6+8736_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 1369

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403570/ltcube_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.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/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits
.....................!
real 12.73
user 12.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403570/ltcube_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits outfile=/scratch/kocevski/403570/expmap_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.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/403570/ltcube_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits
.....................!
real 191.67
user 185.82
sys 5.43

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

Setting source of interest to:
4FGL J0140.6+8736 @ 25.1688 87.6062

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits outfile=/scratch/kocevski/403570/cmap_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.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=25.1688 yref=87.6062 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits outfile=/scratch/kocevski/403570/cmap_HighResolution_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.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=25.1688 yref=87.6062 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403570/Model_4FGL_J0140.6+8736_daily_bin1692.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/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits.....................!
real 187.07
user 184.42
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits', '/scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits', expMap='/scratch/kocevski/403570/expmap_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits', expCube='/scratch/kocevski/403570/ltcube_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403570/Model_4FGL_J0140.6+8736_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0140.6+8736'

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.998e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/403570/ft1_filtered_4FGL_J0140.6+8736_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/403570/ft2_4FGL_J0140.6+8736_daily_bin1692.fits
Exposure map: /scratch/kocevski/403570/expmap_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits
Exposure cube: /scratch/kocevski/403570/ltcube_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403570/Model_4FGL_J0140.6+8736_daily_bin1692.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) = 14094.2412265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7485       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7456       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.206       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26039       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.394       1.0000         .10000E-03   10000.    
    11 'norm      '    .21519       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4865       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0780       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14093.84     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1324 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.480         .0000    ** at limit **
   2  Prefactor     5.7494        6.8250         .0000       -.36683E-03
   3  Prefactor     .10000E-03    3.5946         .0000    ** at limit **
   4  Prefactor     .10000E-03    2.5042         .0000    ** at limit **
   5  norm          1.7201        28.782         .0000       -.83564E-03
   6  Prefactor     23.199        10.745         .0000        .55620E-04
   7  Prefactor     .38411        8.3310         .0000        .47089E-03
   8  norm          1.4284        4.7914         .0000        .46465E-01
   9  Prefactor     .10000E-03    5.2074         .0000    ** at limit **
  10  Prefactor     23.390        12.202         .0000        .14971E-03
  11  norm          .21645        1.4322         .0000        .24555E-02
  12  Prefactor     .10000E-03    4.7723         .0000    ** at limit **
  13  Prefactor     .10000E-03    28.072         .0000    ** at limit **
  14  Prefactor     1.4870        16.206         .0000        .93685E-02
  15  Normalizat    1.0778        .16051         .0000       -.35113E-04
  16  Prefactor     .99455        .60619E-01     .0000       -.21181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.74944
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.72011
  Prefactor  = 23.1992
  Prefactor  = 0.384112
  norm       = 1.42837
  Prefactor  = 0.0001
  Prefactor  = 23.3897
  norm       = 0.216446
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 1.48698
  Normalizat = 1.07783
  Prefactor  = 0.994547
 **********
 **   18 **HESSE 
 **********

 FCN=   14093.84     FROM HESSE     STATUS=OK           209 CALLS     1533 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7494        6.8187        .16752E-03   -1.5228    
   3  Prefactor     .10000E-03    3.6058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7201        28.923        .31744E-03   -1.5446    
   6  Prefactor     23.199        10.751        .83150E-04   -1.4744    
   7  Prefactor     .38411        93.502        .59909E-02   -1.5584    
   8  norm          1.4284        4.7667        .18001E-02   -1.5469    
   9  Prefactor     .10000E-03    5.2109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.390        11.874        .82816E-04   -1.4740    
  11  norm          .21645        3.4246        .26655E-02   -1.5615    
  12  Prefactor     .10000E-03    4.7934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4870        16.451        .17590E-02   -1.5464    
  15  Normalizat    1.0778        .17580        .38032E-03   -.90467    
  16  Prefactor     .99455        .66407E-01    .15261E-03   -.92912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6153e-08
Minuit parameter uncertainties:
  1  5.69277e-05
  2  6.8196
  3  4.25797e-06
  4  3.81045e-06
  5  14.1144
  6  10.7518
  7  12.0033
  8  4.76795
  9  6.43515e-06
  10  11.8755
  11  1.72163
  12  1.56654e-05
  13  0.000708986
  14  9.89494
  15  0.175897
  16  0.0664121
Done.

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

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.000e-04  5.693e-05  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  2.064e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  9.945e-01  6.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.078e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 25.169 87.606
Photon Flux Upper Limit: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403570/likelihoodResults_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.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) = 14093.8355864
delta logL = -0.000201300990739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14093.835385
delta logL = 7.24703568267e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0337       1.0000          .0000       10.000    
     3 'Normalizat'    1.0778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14093.84     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    5.3332        .90712E-02** at limit **
   2  Index         2.0074        5.9932        .50000        .73822E-05
   3  Normalizat    1.0778        .20907E-02    .85889E-01    .84579E-04
   4  Prefactor     .99455        .81339E-03    .34536E-01    .13083E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.00737
  Normalizat = 1.07783
  Prefactor  = 0.994547
 **********
 **   18 **HESSE 
 **********

 FCN=   14093.84     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    74.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0074        5.6181        .50000       -.64166    
   3  Normalizat    1.0778        .78202E-02    .38032E-03   -.90467    
   4  Prefactor     .99455        .30493E-02    .15261E-03   -.92912    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.71241e-08
Minuit parameter uncertainties:
  1  0.00160678
  2  106.646
  3  0.00782017
  4  0.00304932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403570': 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) = 14093.8353849
delta logL = 1.24991856865e-07

Extracting fit parameters...

4FGL J0140.6+8736
   Spectrum: PowerLaw
70     Prefactor:  1.000e-04  1.607e-03  1.000e-04  1.000e+04 ( 1.000e-14)
71         Index:  2.007e+00  1.066e+02  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  3.173e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  9.945e-01  3.049e-03  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.078e+00  7.820e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 25.169 87.606

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/403570/cmap_HighResolution_677894401_678153601_4FGL_J0140.6+8736_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2022-06-29 04:24:43.062145', job_id='403570', GAL2='0.99', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1656501883.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1692' AND source_name='4FGL J0140.6+8736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:24:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 403570: <4FGL_J0140.6+8736_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0140.6+8736_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:04:58 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:01:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:01:11 2022
Terminated at Wed Jun 29 04:24:43 2022
Results reported at Wed Jun 29 04:24:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0140.6+8736_daily_bin1692 25.1688 87.6062 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0140.6+8736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   999.51 sec.
    Max Memory :                                 1268 MB
    Average Memory :                             319.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1412 sec.
    Turnaround time :                            15585 sec.

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

