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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1725
RA = 346.922, Dec = 14.8644
tmin = 686448001, tmax = 686707201
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='892977', job_status='RUN', time_executed='2022-10-06 01:10:19.460722', time_epoch_executed='1665043819.46' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892977/ft1_4FGL_J2307.6+1451_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892977/ft1_4FGL_J2307.6+1451_daily_bin1725.fits outfile=/scratch/kocevski/892977/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1725.fits ra=346.922 dec=14.8644 rad=12.0 tmin=686448001.0 tmax=686707201.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.68
user 4.37
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.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/892977/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.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.58
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 754

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/892977/ltcube_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.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/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits
.....................!
real 14.48
user 14.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/892977/ltcube_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits outfile=/scratch/kocevski/892977/expmap_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.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/892977/ltcube_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits
.....................!
real 196.24
user 187.87
sys 6.02

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

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits outfile=/scratch/kocevski/892977/cmap_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.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=346.922 yref=14.8644 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits outfile=/scratch/kocevski/892977/cmap_HighResolution_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.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=346.922 yref=14.8644 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892977/Model_4FGL_J2307.6+1451_daily_bin1725.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/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits.....................!
real 88.95
user 86.64
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits', '/scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits', expMap='/scratch/kocevski/892977/expmap_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits', expCube='/scratch/kocevski/892977/ltcube_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892977/Model_4FGL_J2307.6+1451_daily_bin1725.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892977/ft1_filtered_4FGL_J2307.6+1451_daily_bin1725.fits
Spacecraft file(s): /scratch/kocevski/892977/ft2_4FGL_J2307.6+1451_daily_bin1725.fits
Exposure map: /scratch/kocevski/892977/expmap_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits
Exposure cube: /scratch/kocevski/892977/ltcube_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892977/Model_4FGL_J2307.6+1451_daily_bin1725.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) = 7532.69339975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.014       1.0000          .0000       .10000E+07
     2 'Prefactor '    .67354E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .92047       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0693       1.0000         .10000E-03   10000.    
     5 'norm      '    .47906E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    65.106       1.0000          .0000       .10000E+07
     7 'Prefactor '    22.646       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .57437       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29199E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    45.774       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19599       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.720       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14837E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .52336       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.536       1.0000          .0000       .10000E+07
    17 'Prefactor '    72.554       1.0000          .0000       .10000E+07
    18 'norm      '    .85238E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3410       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7532.691     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1678 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.909        1.8862        .11438E-06    .70081E-02
   2  Prefactor     .24925E-07    6.9300       -.11875E-05** at limit **
   3  Prefactor     .92075        .28943        .60265E-06   -.32460E-02
   4  Prefactor     6.1211        6.2269        .61199E-05   -.45514E-03
   5  norm           .0000        .63364        .72537E-06** at limit **
   6  Prefactor     64.522        34.241       -.72649E-05    .51001E-01
   7  Prefactor     22.658        5.6092        .19433E-05    .15618    
   8  Prefactor     5.5712        .43748        .33303E-06   -.55342E-02
   9  Prefactor     .23537E-07    71.936        .59483E-05** at limit **
  10  Prefactor     .16653E-09    2.7296        .12656E-05** at limit **
  11  Prefactor     45.729        2.5266        .11676E-06   -.74845E-01
  12  Prefactor     .19226        11.735       -.65636E-05** at limit **
  13  Prefactor     10.772        4.9991        .17571E-05    .10177E-01
  14  Prefactor     .18374E-07    7.2242        .16353E-05** at limit **
  15  norm          .34252        39.691       -.17244E-04    .14145E-01
  16  Prefactor     12.594        9.6326        .35804E-05   -.73219E-02
  17  Prefactor     73.073        28.853        .54834E-05    .50976E-01
  18  norm          .16653E-09    4.1134        .10700E-05** at limit **
  19  Prefactor     3.3832        6.2629        .65021E-06   -.26480E-02
  20  Normalizat    1.2679        .30430        .26860E-04   -.12831E-03
  21  Prefactor     .74850        .16082       -.20567E-04    .44634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.9086
  Prefactor  = 2.49245e-08
  Prefactor  = 0.920752
  Prefactor  = 6.12114
  norm       = 0
  Prefactor  = 64.5223
  Prefactor  = 22.6577
  Prefactor  = 5.57122
  Prefactor  = 2.35367e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 45.7289
  Prefactor  = 0.192256
  Prefactor  = 10.772
  Prefactor  = 1.83742e-08
  norm       = 0.342519
  Prefactor  = 12.5942
  Prefactor  = 73.0725
  norm       = 1.66533e-10
  Prefactor  = 3.38319
  Normalizat = 1.26786
  Prefactor  = 0.748497
 **********
 **   18 **HESSE 
 **********

 FCN=   7532.691     FROM HESSE     STATUS=OK           371 CALLS     2049 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.909        22.762        .18256E-03   -1.5599    
   2  Prefactor     .24925E-07    7.5338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .92075        .30461        .56425E-02   -1.5516    
   4  Prefactor     6.1211        6.2320        .40743E-02   -1.5213    
   5  norm           .0000        .63335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     64.522        45.940        .12394E-03   -1.5547    
   7  Prefactor     22.658        14.733        .21019E-03   -1.5613    
   8  Prefactor     5.5712        .43777        .33847E-02   -1.5236    
   9  Prefactor     .23537E-07    71.931        .71555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    2.7239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.729        27.241        .14782E-03   -1.5573    
  12  Prefactor     .19226        3.6555        .93192E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.772        12.325        .30576E-03   -1.5642    
  14  Prefactor     .18374E-07    7.9616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .34252        9.0640        .76394E-02   -1.5696    
  16  Prefactor     12.594        10.728        .28266E-03   -1.5637    
  17  Prefactor     73.073        44.372        .11741E-03   -1.5537    
  18  norm          .16653E-09    4.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3832        6.2841        .55348E-03   -1.5671    
  20  Normalizat    1.2679        .26640        .84845E-01   -.84531    
  21  Prefactor     .74850        .13809        .43042E-01   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41252e-07
Minuit parameter uncertainties:
  1  22.7623
  2  0.000866245
  3  0.30461
  4  6.23263
  5  2.90128e-06
  6  45.9407
  7  14.7328
  8  0.437772
  9  0.00260085
  10  4.03969e-05
  11  27.2411
  12  1.67666
  13  12.325
  14  0.000764445
  15  3.52398
  16  10.728
  17  44.3721
  18  5.44003e-05
  19  6.28415
  20  0.26669
  21  0.138153
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.665e-10  4.040e-05  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.485e-01  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.268e+00  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892977/likelihoodResults_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.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) = 7532.69118712
delta logL = -0.000313584508149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7532.69087506
delta logL = -1.52090160555e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95424E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .93353       1.0000          .0000       10.000    
     3 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74847       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7532.691     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      230 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87834        .42118E-03** at limit **
   2  Index         .51025        .96567       -.95948E-04     .0000    
   3  Normalizat    1.2679        1.0868       -.15826E-04    .29927E-04
   4  Prefactor     .74849        1.0980       -.12768E-04   -.56292E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.510252
  Normalizat = 1.26787
  Prefactor  = 0.748494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7532.691     FROM HESSE     STATUS=FAILED         9 CALLS      239 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .87834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .73672E-02    .96567       -.95948E-04   -1.1151    
   3  Normalizat    1.2679        1.0868       -.15826E-04   -.84531    
   4  Prefactor     .74849        1.0980       -.12768E-04   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.57414e-11
Minuit parameter uncertainties:
  1  1.65268e-06
  2  0.999704
  3  1.1073
  4  1.13267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892977': 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) = 7532.69087354
delta logL = 1.06410880107e-10

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  0.000e+00  1.653e-06  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  5.103e-01  9.997e-01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.485e-01  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.268e+00  1.107e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

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/892977/cmap_HighResolution_686448001_686707201_4FGL_J2307.6+1451_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2022-10-06 01:21:17.847920', job_id='892977', GAL2='0.75', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1665044477.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.06e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1725' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:21:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 892977: <4FGL_J2307.6+1451_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 01:05:48 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:07:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 01:07:03 2022
Terminated at Thu Oct  6 01:21:19 2022
Results reported at Thu Oct  6 01:21:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1725 346.922 14.8644 686448001 686707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   654.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            931 sec.

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

