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 95 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1699
RA = 346.922, Dec = 14.8644
tmin = 679708801, tmax = 679968001
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='1445', job_status='RUN', time_executed='2022-07-20 00:37:30.377753', time_epoch_executed='1658302650.38' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1445

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1445/ft1_4FGL_J2307.6+1451_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1445/ft1_4FGL_J2307.6+1451_daily_bin1699.fits outfile=/scratch/kocevski/1445/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1699.fits ra=346.922 dec=14.8644 rad=12.0 tmin=679708801.0 tmax=679968001.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.83
user 3.62
sys 0.20

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

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

Number of photons that the gtmktime cut: 905

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1445/ltcube_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.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/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits
.....................!
real 12.03
user 11.61
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1445/ltcube_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits outfile=/scratch/kocevski/1445/expmap_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.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/1445/ltcube_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits
.....................!
real 191.33
user 184.99
sys 5.97

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/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits scfile=/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits outfile=/scratch/kocevski/1445/cmap_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits scfile=/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits outfile=/scratch/kocevski/1445/cmap_HighResolution_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.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.61
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits', '/scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits', expMap='/scratch/kocevski/1445/expmap_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits', expCube='/scratch/kocevski/1445/ltcube_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1445/Model_4FGL_J2307.6+1451_daily_bin1699.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  1.000e-04  1.000e+04 ( 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/1445/ft1_filtered_4FGL_J2307.6+1451_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1445/ft2_4FGL_J2307.6+1451_daily_bin1699.fits
Exposure map: /scratch/kocevski/1445/expmap_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1445/ltcube_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1445/Model_4FGL_J2307.6+1451_daily_bin1699.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) = 9828.07832453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4186       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.655       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43715       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2465       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.231       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.210       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6878       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9581       1.0000         .10000E-03   10000.    
    11 'Prefactor '    73.653       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9472       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3443       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4468       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.349       1.0000         .10000E-03   10000.    
    18 'norm      '    .56482       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.0364       1.0000         .10000E-03   10000.    
    21 'norm      '    .10337E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1515       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96794       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9828.029     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2775 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4200        13.239        .38753E-06   -.14291E-04
   2  Prefactor     14.659        19.672       -.91391E-07   -.90955E-05
   3  Prefactor     .43717        .19578       -.11842E-07   -.12025E-02
   4  Prefactor     3.2474        6.2866        .25059E-06   -.10007E-05
   5  norm          .10000E-03    1.1762       -.12891E-06** at limit **
   6  Prefactor     23.228        32.582        .63162E-06   -.61191E-05
   7  Prefactor     38.207        14.962        .22079E-06    .21257E-03
   8  Prefactor     .10000E-03    8.1817        .12266E-06** at limit **
   9  Prefactor     1.6878        .23431       -.14363E-07   -.17518E-02
  10  Prefactor     1.9587        3.4793        .39335E-05    .58233E-04
  11  Prefactor     73.635        36.696        .14370E-05   -.57638E-04
  12  Prefactor     4.9462        6.3153        .11783E-06   -.98531E-04
  13  Prefactor     .10000E-03    4.2540       -.64127E-07** at limit **
  14  Prefactor     .10000E-03    17.212        .44326E-06** at limit **
  15  Prefactor     1.3690        7.4002        .27855E-06   -.17580E-03
  16  Prefactor     5.4357        8.3725        .99008E-06   -.12993E-03
  17  Prefactor     19.310        20.408       -.66982E-07   -.18866E-03
  18  norm          .63632        18.502       -.14231E-04    .97350E-04
  19  Prefactor     .10000E-03    3.5079       -.37463E-07** at limit **
  20  Prefactor     9.0286        16.505       -.26421E-06   -.11139E-03
  21  norm          .10000E-03    16.006        .96913E-06** at limit **
  22  Prefactor     .10000E-03    2.3184        .13873E-06** at limit **
  23  Normalizat    1.1513        .21637        .27779E-05   -.15748E-03
  24  Prefactor     .96792        .11411       -.21913E-05   -.74185E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.42002
  Prefactor  = 14.6594
  Prefactor  = 0.437174
  Prefactor  = 3.24735
  norm       = 0.0001
  Prefactor  = 23.2278
  Prefactor  = 38.2067
  Prefactor  = 0.0001
  Prefactor  = 1.68783
  Prefactor  = 1.95871
  Prefactor  = 73.6351
  Prefactor  = 4.94615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.36901
  Prefactor  = 5.43574
  Prefactor  = 19.31
  norm       = 0.636316
  Prefactor  = 0.0001
  Prefactor  = 9.02862
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15129
  Prefactor  = 0.967918
 **********
 **   18 **HESSE 
 **********

 FCN=   9828.029     FROM HESSE     STATUS=OK           405 CALLS     3180 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4200        13.220        .13816E-03   -1.5128    
   2  Prefactor     14.659        19.708        .10463E-03   -1.4942    
   3  Prefactor     .43717        .19373        .27212E-04   -1.5576    
   4  Prefactor     3.2474        6.2728        .22479E-03   -1.5348    
   5  norm          .10000E-03    2.2140        .20183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.228        32.698        .83106E-04   -1.4744    
   7  Prefactor     38.207        14.531        .64840E-04   -1.4471    
   8  Prefactor     .10000E-03    8.1932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6878        .23557        .16427E-04   -1.5448    
  10  Prefactor     1.9587        4.7323        .14824E-02   -1.5428    
  11  Prefactor     73.635        36.700        .46782E-04   -1.3990    
  12  Prefactor     4.9462        6.3097        .18082E-03   -1.5263    
  13  Prefactor     .10000E-03    4.2612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3690        7.0969        .37777E-03   -1.5474    
  16  Prefactor     5.4357        8.3055        .17217E-03   -1.5242    
  17  Prefactor     19.310        20.004        .91053E-04   -1.4829    
  18  norm          .63632        28.158        .43125E-02   -1.5548    
  19  Prefactor     .10000E-03    3.5301        .18083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.0286        16.461        .13333E-03   -1.5107    
  21  norm          .10000E-03    16.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.3276        .14743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1513        .25000        .35070E-03   -.88122    
  24  Prefactor     .96792        .13411        .21574E-03   -.93807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38943e-09
Minuit parameter uncertainties:
  1  13.2247
  2  19.7169
  3  0.193726
  4  6.2741
  5  8.26557e-06
  6  32.7236
  7  14.5323
  8  1.27071e-05
  9  0.235567
  10  4.73319
  11  36.7114
  12  6.31057
  13  4.51568e-06
  14  0.000145345
  15  6.23497
  16  8.30727
  17  20.0109
  18  8.46943
  19  3.6749e-05
  20  16.4692
  21  9.08787e-05
  22  1.77148e-05
  23  0.250258
  24  0.13416
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  4.946e+00  6.311e+00  1.000e-04  1.000e+04 ( 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:  9.679e-01  1.342e-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.151e+00  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.77
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1445/likelihoodResults_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.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) = 9827.83132318
delta logL = 0.197874834872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9827.81391031
delta logL = 0.215287711855

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7353       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6920       1.0000          .0000       10.000    
     3 'Normalizat'    1.1346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97243       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=   9827.814     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      260 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7324        66.394        .61548E-02    .86777E-03
   2  Index         2.6926        3.0274        .13285        .19970E-03
   3  Normalizat    1.1344        .63679E-01    .79696E-01    .25651E-04
   4  Prefactor     .97245        .33116E-01    .45922E-01    .35963E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.73236
  Index      = 2.6926
  Normalizat = 1.1344
  Prefactor  = 0.972452
 **********
 **   18 **HESSE 
 **********

 FCN=   9827.814     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7324        7.0075        .16112E-03   -1.5377    
   2  Index         2.6926        1.1595        .74043E-02   -.47966    
   3  Normalizat    1.1344        .23377        .35279E-03   -.88655    
   4  Prefactor     .97245        .13304        .21521E-03   -.93653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48895e-11
Minuit parameter uncertainties:
  1  7.00957
  2  1.17317
  3  0.233983
  4  0.133085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1445': 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) = 9827.81390947
delta logL = 0.215288548485

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.732e+00  7.010e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.693e+00  1.173e+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:  9.725e-01  1.331e-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.134e+00  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 346.922 14.864
Photon Index (Free Index): 2.69 +/- 1.17
Photon Flux (Free Index): 4.66e-08 +/- 5.18e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.29e-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/1445/cmap_HighResolution_679708801_679968001_4FGL_J2307.6+1451_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.15e-01', photon_flux2='4.66e-08', job_status='DONE', time_completed='2022-07-20 00:52:12.272959', photon_index_error2='1.17', photon_index2='2.69', ts='0.77', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1658303532.27', return_code='0', job_id='1445', GAL2='0.97', EG2='1.13', return_code2='0', photon_flux_error2='5.18e-08', ts2='1.20', photon_index='2.18' WHERE bin_id='1699' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:52:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 1445: <4FGL_J2307.6+1451_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:45 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:47 2022
Terminated at Wed Jul 20 00:52:13 2022
Results reported at Wed Jul 20 00:52:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1699 346.922 14.8644 679708801 679968001 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 :                                   883.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            988 sec.

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

