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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1718
RA = 346.922, Dec = 14.8644
tmin = 684633601, tmax = 684892801
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='253735', job_status='RUN', time_executed='2022-09-17 00:23:14.771323', time_epoch_executed='1663399394.77' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253735/ft1_4FGL_J2307.6+1451_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253735/ft1_4FGL_J2307.6+1451_daily_bin1718.fits outfile=/scratch/kocevski/253735/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1718.fits ra=346.922 dec=14.8644 rad=12.0 tmin=684633601.0 tmax=684892801.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.28
user 3.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.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/253735/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.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.35
sys 0.17

Number of photons that the gtmktime cut: 680

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/253735/ltcube_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits outfile=/scratch/kocevski/253735/expmap_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.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/253735/ltcube_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits
.....................!
real 193.08
user 186.24
sys 5.06

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/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.fits scfile=/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits outfile=/scratch/kocevski/253735/cmap_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.fits scfile=/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits outfile=/scratch/kocevski/253735/cmap_HighResolution_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.fits', '/scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits', expMap='/scratch/kocevski/253735/expmap_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits', expCube='/scratch/kocevski/253735/ltcube_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253735/Model_4FGL_J2307.6+1451_daily_bin1718.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/253735/ft1_filtered_4FGL_J2307.6+1451_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/253735/ft2_4FGL_J2307.6+1451_daily_bin1718.fits
Exposure map: /scratch/kocevski/253735/expmap_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits
Exposure cube: /scratch/kocevski/253735/ltcube_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253735/Model_4FGL_J2307.6+1451_daily_bin1718.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) = 7231.37127074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.950       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51697E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45105       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.298       1.0000         .10000E-03   10000.    
     5 'norm      '    4.4574       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47951E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11331E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2274       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .92896       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25951E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    33.139       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0932       1.0000          .0000       .10000E+07
    13 'Prefactor '    30.588       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22871E-01   1.0000          .0000       .10000E+07
    15 'norm      '    15.635       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.6572       1.0000          .0000       .10000E+07
    17 'Prefactor '    .88990E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .30012E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .79727E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .80051       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88375       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=   7231.371     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1724 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.939        19.128       -.51690E-06   -.27537E-01
   2  Prefactor      .0000        5.9716       -.69364E-07** at limit **
   3  Prefactor     .45138        .29138        .91242E-06    .22340E-02
   4  Prefactor     14.300        3.8101        .71665E-06    .61781E-02
   5  norm          4.4579        2.3693        .11675E-06    .40233E-02
   6  Prefactor     .11102E-09    29.831        .97073E-07** at limit **
   7  Prefactor     .55511E-10    4.4897        .36833E-06** at limit **
   8  Prefactor     6.2272        .45441       -.83952E-08    .18292E-02
   9  Prefactor     .45563E-05    6179.7       -.51842E-04** at limit **
  10  Prefactor      .0000        43.992        .85651E-08** at limit **
  11  Prefactor     33.130        25.716       -.21968E-07    .21852E-01
  12  Prefactor     5.2148        9.0911        .29890E-07    .22262E-03
  13  Prefactor     30.695        27.585       -.11120E-05    .24064E-01
  14  Prefactor     .22204E-09    11.017       -.61912E-06** at limit **
  15  norm          15.609        15.056        .56710E-06    .24908E-01
  16  Prefactor     9.6367        11.716        .46549E-07   -.31550E-01
  17  Prefactor      .0000        34.803        .16689E-07** at limit **
  18  norm          .55511E-10    7.6675       -.38763E-06** at limit **
  19  Prefactor      .0000        4.7430        .11135E-06** at limit **
  20  Normalizat    .79960        .32728       -.26371E-05    .20715E-03
  21  Prefactor     .88405        .16732        .40687E-05    .44188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9386
  Prefactor  = 0
  Prefactor  = 0.45138
  Prefactor  = 14.3
  norm       = 4.45789
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 6.22725
  Prefactor  = 4.5563e-06
  Prefactor  = 0
  Prefactor  = 33.1302
  Prefactor  = 5.21477
  Prefactor  = 30.6954
  Prefactor  = 2.22045e-10
  norm       = 15.6088
  Prefactor  = 9.6367
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.7996
  Prefactor  = 0.88405
 **********
 **   18 **HESSE 
 **********

 FCN=   7231.371     FROM HESSE     STATUS=OK           375 CALLS     2099 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.939        21.705        .22396E-03   -1.5619    
   2  Prefactor      .0000        5.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .45138        .30832        .76465E-02   -1.5574    
   4  Prefactor     14.300        11.557        .26481E-02   -1.4951    
   5  norm          4.4579        2.3719        .47670E-03   -1.5666    
   6  Prefactor     .11102E-09    29.750        .15623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    4.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2272        .45589        .32826E-02   -1.5209    
   9  Prefactor     .45563E-05    76.147        .21137E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.4821        .97384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.130        26.992        .17374E-03   -1.5593    
  12  Prefactor     5.2148        9.1490        .44528E-03   -1.5662    
  13  Prefactor     30.695        29.001        .18084E-03   -1.5597    
  14  Prefactor     .22204E-09    10.986        .16855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.609        19.861        .25303E-03   -1.5629    
  16  Prefactor     9.6367        14.628        .32223E-03   -1.5646    
  17  Prefactor      .0000        34.785        .14235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    7.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.7628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .79960        .28945        .10519       -1.0008    
  21  Prefactor     .88405        .14621        .44798E-01   -.96701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24092e-07
Minuit parameter uncertainties:
  1  21.7049
  2  6.39447e-06
  3  0.30832
  4  11.5592
  5  2.37194
  6  0.000105619
  7  3.82215e-05
  8  0.455888
  9  0.0372536
  10  8.51641e-06
  11  26.9916
  12  9.14901
  13  29.0012
  14  9.59593e-05
  15  19.8613
  16  14.6276
  17  4.55656e-05
  18  3.40344e-05
  19  8.32101e-06
  20  0.290011
  21  0.146271
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  0.000e+00  8.516e-06  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:  8.840e-01  1.463e-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:  7.996e-01  2.900e-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: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253735/likelihoodResults_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.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) = 7231.39025231
delta logL = -0.019591499321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7230.85237594
delta logL = 0.518284864986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31004       1.0000          .0000       .10000E+07
     2 'Index     '    .43083E-05   1.0000          .0000       10.000    
     3 'Normalizat'    .76031       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90045       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.

 FCN=   7230.852     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      254 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31076        56.745        .16461E-02   -.62594E-02
   2  Index         .10686E-11    6.6659        .50000    ** at limit **
   3  Normalizat    .76009        .16607        .10777        .37396E-04
   4  Prefactor     .90046        .80107E-01    .45011E-01   -.41816E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.310757
  Index      = 1.06859e-12
  Normalizat = 0.760092
  Prefactor  = 0.900461
 **********
 **   18 **HESSE 
 **********

 FCN=   7230.852     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31076        .44309        .89013E-04   -1.5697    
   2  Index         .10686E-11    .87221        .44353E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .76009        .31143        .47794E-03   -1.0157    
   4  Prefactor     .90046        .16763        .23544E-03   -.96125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49457e-11
Minuit parameter uncertainties:
  1  0.443095
  2  1.96017e-06
  3  0.312164
  4  0.167722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253735': 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) = 7230.85237138
delta logL = 0.518289424805

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.108e-01  4.431e-01  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  1.069e-12  1.960e-06  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:  9.005e-01  1.677e-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:  7.601e-01  3.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 346.922 14.864
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.11e-09 +/- 4.43e-09
Energy Flux (Free Index): 1.56e-04 +/- 2.22e-04

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/253735/cmap_HighResolution_684633601_684892801_4FGL_J2307.6+1451_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', comment='SUCCESS', energy_flux2='1.56e-04', dlogl='5.18e-01', photon_flux2='3.11e-09', job_status='DONE', time_completed='2022-09-17 00:33:41.274676', photon_index_error2='0.00', photon_index2='0.00', ts='0.00', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='2.22e-04', EG='0.80', time_epoch_completed='1663400021.27', return_code='0', job_id='253735', GAL2='0.90', EG2='0.76', return_code2='0', photon_flux_error2='4.43e-09', ts2='1.05', photon_index='2.18' WHERE bin_id='1718' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:33:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 253735: <4FGL_J2307.6+1451_daily_bin1718> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1718> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:29 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:21:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:21:31 2022
Terminated at Sat Sep 17 00:33:42 2022
Results reported at Sat Sep 17 00:33:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1718 346.922 14.8644 684633601 684892801 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 :                                   624.38 sec.
    Max Memory :                                 1234 MB
    Average Memory :                             336.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            793 sec.

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

