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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1776
RA = 346.922, Dec = 14.8644
tmin = 699667201, tmax = 699926401
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='846298', job_status='RUN', time_executed='2023-03-08 01:28:11.776892', time_epoch_executed='1678267691.78' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846298

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846298/ft1_4FGL_J2307.6+1451_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846298/ft1_4FGL_J2307.6+1451_daily_bin1776.fits outfile=/scratch/kocevski/846298/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1776.fits ra=346.922 dec=14.8644 rad=12.0 tmin=699667201.0 tmax=699926401.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.95
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 710

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846298/ft1_filtered_4FGL_J2307.6+1451_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/846298/ltcube_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.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/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits
.....................!
real 13.18
user 12.80
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846298/ft1_filtered_4FGL_J2307.6+1451_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/846298/ltcube_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.fits outfile=/scratch/kocevski/846298/expmap_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.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/846298/ltcube_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.fits
.....................!
real 191.21
user 185.55
sys 5.12

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/846298/ft1_filtered_4FGL_J2307.6+1451_daily_bin1776.fits scfile=/scratch/kocevski/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits outfile=/scratch/kocevski/846298/cmap_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846298/ft1_filtered_4FGL_J2307.6+1451_daily_bin1776.fits scfile=/scratch/kocevski/846298/ft2_4FGL_J2307.6+1451_daily_bin1776.fits outfile=/scratch/kocevski/846298/cmap_HighResolution_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.165       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.041       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2277       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0057       1.0000         .10000E-03   10000.    
     5 'norm      '    .69389E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.579       1.0000          .0000       .10000E+07
     7 'Prefactor '    .43101E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50198       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12839       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.4933       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.9682       1.0000          .0000       .10000E+07
    12 'Prefactor '    .33232E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19952E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .94969E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .27526E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.2528       1.0000          .0000       .10000E+07
    17 'Prefactor '    28.179       1.0000          .0000       .10000E+07
    18 'norm      '    2.0151       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50913E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .78906       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0943       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=   7824.243     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1592 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.144        1.1852        .77011E-08    .19173E-02
   2  Prefactor     23.012        2.2287       -.39097E-08   -.58767E-01
   3  Prefactor     2.2279        .33560       -.10069E-07    .12257E-03
   4  Prefactor     7.0023        6.2680       -.81343E-06    .27812E-04
   5  norm           .0000        .59618        .24232E-07** at limit **
   6  Prefactor     19.577        1.5944       -.52008E-08   -.12664E-01
   7  Prefactor     .20156E-06    1.5809       -.28748E-06** at limit **
   8  Prefactor     .50206        .17189       -.46662E-06    .22611E-02
   9  Prefactor     .10015E-05    1.3490        .20670E-06** at limit **
  10  Prefactor     6.4913        1.0412        .12836E-07   -.39045E-02
  11  Prefactor     3.9457        2.2918       -.10772E-07   -.18640E-01
  12  Prefactor     .18485E-07    3.0710       -.77963E-06** at limit **
  13  Prefactor     .96645E-07    2.6405       -.25350E-07** at limit **
  14  Prefactor      .0000        16.851        .26451E-06** at limit **
  15  norm          .24425E-08    4.6604        .45642E-06** at limit **
  16  Prefactor     2.2639        8.2829       -.13551E-06    .12858E-01
  17  Prefactor     28.454        25.572        .10541E-06   -.19128E-01
  18  norm          2.0028        1.3609        .61175E-07    .11945E-01
  19  Prefactor      .0000        2.3179       -.16033E-06** at limit **
  20  Normalizat    .78903        .25596       -.20666E-05    .50796E-04
  21  Prefactor     1.0943        .14403        .63127E-06    .93302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1444
  Prefactor  = 23.0117
  Prefactor  = 2.22791
  Prefactor  = 7.00232
  norm       = 0
  Prefactor  = 19.5773
  Prefactor  = 2.01561e-07
  Prefactor  = 0.502059
  Prefactor  = 1.00153e-06
  Prefactor  = 6.49134
  Prefactor  = 3.94574
  Prefactor  = 1.84852e-08
  Prefactor  = 9.66449e-08
  Prefactor  = 0
  norm       = 2.44249e-09
  Prefactor  = 2.26387
  Prefactor  = 28.4545
  norm       = 2.00284
  Prefactor  = 0
  Normalizat = 0.789029
  Prefactor  = 1.0943
 **********
 **   18 **HESSE 
 **********

 FCN=   7824.243     FROM HESSE     STATUS=OK           361 CALLS     1953 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.144        17.288        .31403E-03   -1.5644    
   2  Prefactor     23.012        18.120        .20838E-03   -1.5612    
   3  Prefactor     2.2279        .34716        .42574E-02   -1.5409    
   4  Prefactor     7.0023        6.2634        .37892E-02   -1.5179    
   5  norm           .0000        .59465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.577        21.726        .22607E-03   -1.5619    
   7  Prefactor     .20156E-06    3.6122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .50206        .17695        .45822E-02   -1.5566    
   9  Prefactor     .10015E-05    42.415        .13222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.4913        8.9644        .39361E-03   -1.5657    
  11  Prefactor     3.9457        24.432        .50610E-03   -1.5668    
  12  Prefactor     .18485E-07    3.2975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .96645E-07    3.7865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        16.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .24425E-08    4.6939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2639        8.6027        .68427E-03   -1.5678    
  17  Prefactor     28.454        26.427        .18841E-03   -1.5601    
  18  norm          2.0028        9.5378        .72888E-03   -1.5680    
  19  Prefactor      .0000        2.3103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78903        .23075        .87865E-01   -1.0048    
  21  Prefactor     1.0943        .12625        .37807E-01   -.89649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23726e-07
Minuit parameter uncertainties:
  1  17.2878
  2  18.1197
  3  0.347156
  4  6.26398
  5  9.75209e-07
  6  21.7265
  7  0.00170664
  8  0.176949
  9  0.0130354
  10  8.96444
  11  19.6372
  12  0.000493936
  13  0.00120981
  14  2.70448e-05
  15  0.000215359
  16  8.60278
  17  26.4275
  18  8.74133
  19  8.10661e-06
  20  0.231035
  21  0.126286
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  6.491e+00  8.964e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.094e+00  1.263e-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.890e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846298/likelihoodResults_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.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): 0
logL (Free Index) = 7823.16489134
delta logL = 1.07793891867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7823.1166245
delta logL = 1.12620575863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4470       1.0000          .0000       .10000E+07
     2 'Index     '    3.3589       1.0000          .0000       10.000    
     3 'Normalizat'    .68983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1261       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=   7823.117     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      297 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4445        12.117        .89571E-03    .92324E-02
   2  Index         3.3603        1.7708        .10329        .22337E-03
   3  Normalizat    .69011        .56936E-01    .93259E-01    .36999E-04
   4  Prefactor     1.1260        .32620E-01    .36671E-01   -.12506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44451
  Index      = 3.36029
  Normalizat = 0.690113
  Prefactor  = 1.12598
 **********
 **   18 **HESSE 
 **********

 FCN=   7823.117     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      330 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4445        27.381        .65116E-05   -1.5684    
   2  Index         3.3603        3.2343        .35920E-02   -.33412    
   3  Normalizat    .69011        .26970        .41322E-03   -1.0428    
   4  Prefactor     1.1260        .15579        .19144E-03   -.88641    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.59411e-07
Minuit parameter uncertainties:
  1  12.5783
  2  3.56254
  3  0.270215
  4  0.155849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846298': 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) = 7823.11661815
delta logL = 1.12621211016

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.445e+00  1.258e+01  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  3.360e+00  3.563e+00  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:  1.126e+00  1.558e-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:  6.901e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.07
Ra Dec: 346.922 14.864
Photon Index (Free Index): 3.36 +/- 3.56
Photon Flux (Free Index): 1.28e-07 +/- 9.44e-08
Energy Flux (Free Index): 2.21e-05 +/- 2.21e-05

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/846298/cmap_HighResolution_699667201_699926401_4FGL_J2307.6+1451_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='2.21e-05', dlogl='1.13e+00', photon_flux2='1.28e-07', job_status='DONE', time_completed='2023-03-08 01:38:31.396439', photon_index_error2='3.56', photon_index2='3.36', ts='0.66', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='2.21e-05', EG='0.79', time_epoch_completed='1678268311.4', return_code='0', job_id='846298', GAL2='1.13', EG2='0.69', return_code2='102', photon_flux_error2='9.44e-08', ts2='3.07', photon_index='2.18' WHERE bin_id='1776' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:38:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 846298: <4FGL_J2307.6+1451_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 01:25:16 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:25:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:25:18 2023
Terminated at Wed Mar  8 01:38:31 2023
Results reported at Wed Mar  8 01:38:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1776 346.922 14.8644 699667201 699926401 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 :                                   621.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            795 sec.

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

