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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1676
RA = 346.922, Dec = 14.8644
tmin = 673747201, tmax = 674006401
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='68767', job_status='RUN', time_executed='2022-05-12 01:31:23.164888', time_epoch_executed='1652344283.16' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68767/ft1_4FGL_J2307.6+1451_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68767/ft1_4FGL_J2307.6+1451_daily_bin1676.fits outfile=/scratch/kocevski/68767/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1676.fits ra=346.922 dec=14.8644 rad=12.0 tmin=673747201.0 tmax=674006401.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.88
user 3.61
sys 0.23

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

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

Number of photons that the gtmktime cut: 773

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68767/ft1_filtered_4FGL_J2307.6+1451_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68767/ltcube_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.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/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits
.....................!
real 16.07
user 15.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68767/ft1_filtered_4FGL_J2307.6+1451_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68767/ltcube_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.fits outfile=/scratch/kocevski/68767/expmap_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.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/68767/ltcube_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.fits
.....................!
real 194.61
user 186.59
sys 5.20

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/68767/ft1_filtered_4FGL_J2307.6+1451_daily_bin1676.fits scfile=/scratch/kocevski/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits outfile=/scratch/kocevski/68767/cmap_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.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 9.39
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68767/ft1_filtered_4FGL_J2307.6+1451_daily_bin1676.fits scfile=/scratch/kocevski/68767/ft2_4FGL_J2307.6+1451_daily_bin1676.fits outfile=/scratch/kocevski/68767/cmap_HighResolution_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.869       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4051       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .95531       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8286       1.0000         .10000E-03   10000.    
     5 'norm      '    .12137E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.197       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .82336       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4416       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.091       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.844       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11763E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    74.751       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11042E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.799       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63867       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1245       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=   8115.886     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2677 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.870        15.844        .42339E-06   -.54582E-05
   2  Prefactor     6.4051        7.3139        .50562E-07    .20661E-04
   3  Prefactor     .95531        .23988        .14199E-07   -.15442E-03
   4  Prefactor     4.8287        5.2272        .50163E-07    .19161E-04
   5  norm          .10000E-03    .85519        .17052E-06** at limit **
   6  Prefactor     .10000E-03    11.295       -.45042E-05** at limit **
   7  Prefactor     72.197        17.693        .11073E-05   -.49355E-04
   8  Prefactor     .10000E-03    3.9303       -.46075E-06** at limit **
   9  Prefactor     .82336        .17543        .10645E-07    .18018E-04
  10  Prefactor     8.4417        11.336       -.12294E-06   -.54944E-04
  11  Prefactor     .10000E-03    12.053       -.26618E-05** at limit **
  12  Prefactor     .10000E-03    1.7003        .52515E-07** at limit **
  13  Prefactor     .10000E-03    4.4559       -.91075E-06** at limit **
  14  Prefactor     22.091        26.954       -.84743E-07   -.69737E-05
  15  Prefactor     11.844        6.5984       -.48565E-06   -.17769E-02
  16  Prefactor     .10000E-03    15.902        .49174E-05** at limit **
  17  Prefactor     .10000E-03    14.132        .41318E-05** at limit **
  18  norm          74.758        15.562        .26112E-05   -.31852E-03
  19  Prefactor     .10000E-03    8.7402        .16175E-05** at limit **
  20  Prefactor     15.799        27.046       -.16455E-05   -.49235E-04
  21  norm          .10000E-03    18.526       -.43477E-05** at limit **
  22  Prefactor     .10000E-03    1.9861        .80665E-08** at limit **
  23  Normalizat    .63871        .23804       -.35600E-05   -.91530E-04
  24  Prefactor     1.1245        .13269        .51758E-06   -.13067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.8696
  Prefactor  = 6.40508
  Prefactor  = 0.955311
  Prefactor  = 4.82871
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 72.1973
  Prefactor  = 0.0001
  Prefactor  = 0.823363
  Prefactor  = 8.44173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0906
  Prefactor  = 11.8443
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 74.7583
  Prefactor  = 0.000100001
  Prefactor  = 15.7991
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.638707
  Prefactor  = 1.12452
 **********
 **   18 **HESSE 
 **********

 FCN=   8115.886     FROM HESSE     STATUS=OK           397 CALLS     3074 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.870        15.880        .87678E-04   -1.4794    
   2  Prefactor     6.4051        7.3130        .15859E-03   -1.5202    
   3  Prefactor     .95531        .24015        .20288E-04   -1.5512    
   4  Prefactor     4.8287        5.2290        .18307E-03   -1.5268    
   5  norm          .10000E-03    4.1485        .16077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     72.197        17.525        .47248E-04   -1.4007    
   8  Prefactor     .10000E-03    3.9311        .17442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .82336        .17513        .16534E-04   -1.5526    
  10  Prefactor     8.4417        11.329        .13797E-03   -1.5127    
  11  Prefactor     .10000E-03    12.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.7051        .11472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.091        26.940        .85221E-04   -1.4768    
  15  Prefactor     11.844        6.8214        .58200E-03   -1.5020    
  16  Prefactor     .10000E-03    15.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          74.758        15.217        .46440E-04   -1.3977    
  19  Prefactor     .10000E-03    8.8055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.799        27.055        .10076E-03   -1.4913    
  21  norm          .10000E-03    18.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.9882        .12399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .63871        .25606        .43335E-03   -1.0636    
  24  Prefactor     1.1245        .14536        .19789E-03   -.88687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29175e-09
Minuit parameter uncertainties:
  1  15.8829
  2  7.31405
  3  0.24015
  4  5.22951
  5  0.000255407
  6  5.06277e-06
  7  17.5264
  8  8.95333e-07
  9  0.17513
  10  11.3323
  11  4.23642e-06
  12  5.52105e-07
  13  4.12899e-06
  14  26.9553
  15  6.82189
  16  0.000279453
  17  2.25153e-05
  18  15.2181
  19  0.000172528
  20  27.0755
  21  2.28281e-05
  22  1.41879e-06
  23  0.256537
  24  0.145411
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  5.521e-07  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:  1.125e+00  1.454e-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.387e-01  2.565e-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: 4.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68767/likelihoodResults_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.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) = 8115.88873962
delta logL = -0.00273340266995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8115.88600766
delta logL = -1.44028672366e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10955E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1514       1.0000          .0000       10.000    
     3 'Normalizat'    .63864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1246       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=   8115.886     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      220 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5186        .90712E-02** at limit **
   2  Index         1.5499        6.2207        .50000        .78876E-07
   3  Normalizat    .63871        .88064E-02    .97783E-01    .16270E-03
   4  Prefactor     1.1245        .52370E-02    .36720E-01    .23944E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.54991
  Normalizat = 0.638708
  Prefactor  = 1.12452
 **********
 **   18 **HESSE 
 **********

 FCN=   8115.886     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      251 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.492        .14670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5499        8.7416        .50000       -.76152    
   3  Normalizat    .63871        .23122E-01    .43335E-03   -1.0636    
   4  Prefactor     1.1245        .13794E-01    .19789E-03   -.88687    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.76602e-10
Minuit parameter uncertainties:
  1  0.000109478
  2  289.449
  3  0.0231223
  4  0.0137936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68767': 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) = 8115.88599487
delta logL = 1.1356442883e-05

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.095e-04  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  1.550e+00  2.894e+02  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.125e+00  1.379e-02  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.387e-01  2.312e-02  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/68767/cmap_HighResolution_673747201_674006401_4FGL_J2307.6+1451_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2022-05-12 01:45:00.958786', job_id='68767', GAL2='1.12', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1652345100.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.14e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1676' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:45:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 68767: <4FGL_J2307.6+1451_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:26 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:30:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:30:32 2022
Terminated at Thu May 12 01:45:01 2022
Results reported at Thu May 12 01:45:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1676 346.922 14.8644 673747201 674006401 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 :                                   792.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            875 sec.

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

