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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1777
RA = 150.294, Dec = 29.188
tmin = 699926401, tmax = 700185601
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='911227', job_status='RUN', time_executed='2023-03-11 00:26:11.662904', time_epoch_executed='1678523171.66' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911227/ft1_4FGL_J1001.1+2911_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911227/ft1_4FGL_J1001.1+2911_daily_bin1777.fits outfile=/scratch/kocevski/911227/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1777.fits ra=150.294 dec=29.188 rad=12.0 tmin=699926401.0 tmax=700185601.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.65
user 3.44
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.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/911227/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/911227/ltcube_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.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/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits
.....................!
real 12.55
user 12.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/911227/ltcube_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits outfile=/scratch/kocevski/911227/expmap_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.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/911227/ltcube_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits
.....................!
real 189.33
user 185.20
sys 3.81

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

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits outfile=/scratch/kocevski/911227/cmap_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.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=150.294 yref=29.188 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits outfile=/scratch/kocevski/911227/cmap_HighResolution_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.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=150.294 yref=29.188 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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/911227/Model_4FGL_J1001.1+2911_daily_bin1777.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/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits.....................!
real 51.64
user 50.37
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits', '/scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits', expMap='/scratch/kocevski/911227/expmap_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits', expCube='/scratch/kocevski/911227/ltcube_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/911227/Model_4FGL_J1001.1+2911_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/911227/ft1_filtered_4FGL_J1001.1+2911_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/911227/ft2_4FGL_J1001.1+2911_daily_bin1777.fits
Exposure map: /scratch/kocevski/911227/expmap_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits
Exposure cube: /scratch/kocevski/911227/ltcube_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/911227/Model_4FGL_J1001.1+2911_daily_bin1777.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) = 5960.42231626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5478       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39820E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17329E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20920E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    24.860       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40221E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.3828       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.2544       1.0000          .0000       .10000E+07
     9 'norm      '    12.503       1.0000          .0000       .10000E+07
    10 'Prefactor '    .70999E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.635       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.8911       1.0000          .0000       .10000E+07
    13 'norm      '    9.0702       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57118E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11849E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.6933       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14172E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20963E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1279       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5960.416     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1504 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5481        1.3258       -.37431E-07    .58211E-03
   2  Prefactor     .55511E-10    3.8493        .75260E-07** at limit **
   3  Prefactor     .11052E-06    12.912        .90917E-07** at limit **
   4  Prefactor     .17431E-07    12.812        .18887E-06** at limit **
   5  Prefactor     25.266        52.405       -.28798E-07   -.19798E-02
   6  Prefactor      .0000        9.3391       -.36007E-06** at limit **
   7  Prefactor     6.2274        6.8693        .63793E-07   -.31946E-03
   8  Prefactor     1.2548        1.6571       -.10948E-07    .26712E-03
   9  norm          12.523        5.8438        .18646E-07    .20577E-01
  10  Prefactor      .0000        1.4678       -.44826E-07** at limit **
  11  Prefactor     32.654        3.2215        .57870E-08   -.23672E-01
  12  Prefactor     5.8966        3.7020       -.20670E-06    .12774E-02
  13  norm          9.0621        8.9633       -.27984E-07   -.26857E-02
  14  Prefactor     .20561E-06    8.3718       -.21802E-07** at limit **
  15  Prefactor     .69611E-07    11.662       -.17814E-07** at limit **
  16  Prefactor     7.7379        7.2403        .29087E-07   -.12881E-01
  17  Prefactor      .0000        .82693       -.39119E-07** at limit **
  18  Prefactor      .0000        24.927        .35288E-06** at limit **
  19  Normalizat    1.1279        .20099        .37785E-05    .27984E-04
  20  Prefactor     1.0196        .21916       -.63787E-05    .37825E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54809
  Prefactor  = 5.55112e-11
  Prefactor  = 1.10523e-07
  Prefactor  = 1.74305e-08
  Prefactor  = 25.2657
  Prefactor  = 0
  Prefactor  = 6.22742
  Prefactor  = 1.25477
  norm       = 12.5233
  Prefactor  = 0
  Prefactor  = 32.6541
  Prefactor  = 5.89665
  norm       = 9.06214
  Prefactor  = 2.05613e-07
  Prefactor  = 6.9611e-08
  Prefactor  = 7.73791
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.12788
  Prefactor  = 1.01963
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.416     FROM HESSE     STATUS=OK           333 CALLS     1837 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5481        1.3333        .85606E-03   -1.5683    
   2  Prefactor     .55511E-10    3.8226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11052E-06    17.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17431E-07    13.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.266        52.536        .20061E-03   -1.5607    
   6  Prefactor      .0000        9.1357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2274        6.8679        .39705E-03   -1.5658    
   8  Prefactor     1.2548        1.6880        .99707E-03   -1.5686    
   9  norm          12.523        9.2969        .28303E-03   -1.5637    
  10  Prefactor      .0000        1.4664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.654        36.002        .17507E-03   -1.5594    
  12  Prefactor     5.8966        3.6962        .41351E-03   -1.5659    
  13  norm          9.0621        9.0107        .33255E-03   -1.5648    
  14  Prefactor     .20561E-06    16.582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .69611E-07    14.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.7379        9.2285        .36130E-03   -1.5652    
  17  Prefactor      .0000        .82603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        23.999        .16974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1279        .17245        .36964E-01   -.88862    
  20  Prefactor     1.0196        .18833        .60397E-01   -.92078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21544e-08
Minuit parameter uncertainties:
  1  1.33329
  2  2.25718e-05
  3  0.00277096
  4  0.000971382
  5  52.5365
  6  1.14453e-05
  7  6.86792
  8  1.68796
  9  9.29689
  10  3.72104e-06
  11  36.0025
  12  3.69617
  13  9.01072
  14  0.00369291
  15  0.00200423
  16  9.22855
  17  1.95816e-06
  18  3.32302e-05
  19  0.172533
  20  0.188447
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.255e+00  1.688e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.020e+00  1.884e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.128e+00  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.98
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 7.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/911227/likelihoodResults_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.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) = 5960.38891883
delta logL = 0.0273933877907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.0829056
delta logL = 1.33340661879

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5959.083     FROM MIGRAD    STATUS=CONVERGED    221 CALLS      462 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25897E-03    .16917E-03    .19230E-04** at limit **
   2  Index         7.4468        .26759        .11137       -.13737E-03
   3  Normalizat    1.0188        .17275        .43508E-01    .26504E-03
   4  Prefactor     1.1124        .18976        .58190E-01    .34413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00025897
  Index      = 7.44682
  Normalizat = 1.01876
  Prefactor  = 1.11241
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.083     FROM HESSE     STATUS=OK            31 CALLS      493 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25897E-03    .39380E-03    .76232E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.4468        .71065        .45166E-02   -16.219    
   3  Normalizat    1.0188        .20347        .23754E-03   -.92405    
   4  Prefactor     1.1124        .22510        .25733E-03   -.89071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10715e-08
Minuit parameter uncertainties:
  1  0.000393798
  2  0.713837
  3  0.20363
  4  0.225296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911227': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.0829027
delta logL = 1.33340951182

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.590e-04  3.938e-04  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  7.447e+00  7.138e-01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.112e+00  2.253e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.019e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 150.294 29.188
Photon Index (Free Index): 7.45 +/- 0.71
Photon Flux (Free Index): 8.44e-08 +/- 5.38e-08
Energy Flux (Free Index): 9.94e-06 +/- 6.33e-06

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/911227/cmap_HighResolution_699926401_700185601_4FGL_J1001.1+2911_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', comment='SUCCESS', energy_flux2='9.94e-06', dlogl='1.33e+00', photon_flux2='8.44e-08', job_status='DONE', time_completed='2023-03-11 00:35:18.808390', photon_index_error2='0.71', photon_index2='7.45', ts='0.98', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.74e-08', energy_flux_error2='6.33e-06', EG='1.13', time_epoch_completed='1678523718.81', return_code='0', job_id='911227', GAL2='1.11', EG2='1.02', return_code2='0', photon_flux_error2='5.38e-08', ts2='3.92', photon_index='2.27' WHERE bin_id='1777' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:35:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0181>
Subject: Job 911227: <4FGL_J1001.1+2911_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 00:25:29 2023
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:25:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:25:34 2023
Terminated at Sat Mar 11 00:35:19 2023
Results reported at Sat Mar 11 00:35:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1777 150.294 29.188 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   549.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            590 sec.

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

