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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1666
RA = 346.922, Dec = 14.8644
tmin = 671155201, tmax = 671414401
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='414562', job_status='RUN', time_executed='2022-04-12 00:37:56.013984', time_epoch_executed='1649749076.01' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414562/ft1_4FGL_J2307.6+1451_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414562/ft1_4FGL_J2307.6+1451_daily_bin1666.fits outfile=/scratch/kocevski/414562/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1666.fits ra=346.922 dec=14.8644 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.21
user 4.94
sys 0.25

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

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

Number of photons that the gtmktime cut: 730

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414562/ft1_filtered_4FGL_J2307.6+1451_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414562/ltcube_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.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/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits
.....................!
real 11.65
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414562/ft1_filtered_4FGL_J2307.6+1451_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414562/ltcube_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.fits outfile=/scratch/kocevski/414562/expmap_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.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/414562/ltcube_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.fits
.....................!
real 190.85
user 185.04
sys 5.48

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/414562/ft1_filtered_4FGL_J2307.6+1451_daily_bin1666.fits scfile=/scratch/kocevski/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits outfile=/scratch/kocevski/414562/cmap_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414562/ft1_filtered_4FGL_J2307.6+1451_daily_bin1666.fits scfile=/scratch/kocevski/414562/ft2_4FGL_J2307.6+1451_daily_bin1666.fits outfile=/scratch/kocevski/414562/cmap_HighResolution_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2422       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.916       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4896       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .32370       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.780       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.689       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51951E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .59631       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.9691       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2230       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.0672       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1442       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92185       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=   8159.750     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2721 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9514        .14090E-06** at limit **
   2  Prefactor     .10000E-03    11.336        .35715E-06** at limit **
   3  Prefactor     1.2422        .25401       -.20623E-07   -.32619E-02
   4  Prefactor     .10000E-03    10.543        .18394E-06** at limit **
   5  norm          4.2759        1.9958       -.13281E-07   -.15156E-03
   6  Prefactor     19.917        19.443       -.81280E-07   -.22448E-04
   7  Prefactor     2.8156        10.995        .27751E-06   -.23617E-04
   8  Prefactor     1.4889        16.007        .11660E-04   -.17949E-03
   9  Prefactor     .32359        .13468       -.27673E-07   -.16454E-02
  10  Prefactor     13.780        11.862        .22640E-07   -.70103E-04
  11  Prefactor     36.670        34.525        .12352E-05   -.11233E-03
  12  Prefactor     .10000E-03    3.7885        .40928E-06** at limit **
  13  Prefactor     2.3977        5.9514        .39390E-07   -.63650E-04
  14  Prefactor     .10000E-03    21.467        .34511E-06** at limit **
  15  Prefactor     .58161        3.3822       -.50575E-06   -.33596E-04
  16  Prefactor     .10000E-03    5.4732        .46294E-06** at limit **
  17  Prefactor     .10000E-03    8.9260       -.12847E-06** at limit **
  18  norm          2.9792        10.964       -.28359E-05   -.34870E-03
  19  Prefactor     5.2071        9.8677        .18685E-05    .33691E-03
  20  Prefactor     .10000E-03    15.994        .23718E-07** at limit **
  21  norm          8.0679        11.929       -.11277E-07   -.12303E-04
  22  Prefactor     .10000E-03    5.1131        .67244E-07** at limit **
  23  Normalizat    1.1445        .21646        .12821E-05   -.62960E-04
  24  Prefactor     .92164        .11663       -.13460E-05   -.39510E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.2422
  Prefactor  = 0.0001
  norm       = 4.27589
  Prefactor  = 19.9165
  Prefactor  = 2.81556
  Prefactor  = 1.48891
  Prefactor  = 0.323586
  Prefactor  = 13.7796
  Prefactor  = 36.6699
  Prefactor  = 0.0001
  Prefactor  = 2.39774
  Prefactor  = 0.0001
  Prefactor  = 0.581611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.97916
  Prefactor  = 5.20708
  Prefactor  = 0.0001
  norm       = 8.06788
  Prefactor  = 0.0001
  Normalizat = 1.14446
  Prefactor  = 0.921638
 **********
 **   18 **HESSE 
 **********

 FCN=   8159.750     FROM HESSE     STATUS=OK           403 CALLS     3124 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2422        .25415        .19602E-04   -1.5485    
   4  Prefactor     .10000E-03    10.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2759        1.9895        .82015E-04   -1.5294    
   6  Prefactor     19.917        19.444        .89748E-04   -1.4815    
   7  Prefactor     2.8156        10.928        .24235E-03   -1.5372    
   8  Prefactor     1.4889        16.215        .17564E-02   -1.5464    
   9  Prefactor     .32359        .13343        .20174E-04   -1.5594    
  10  Prefactor     13.780        11.859        .10790E-03   -1.4965    
  11  Prefactor     36.670        34.412        .66166E-04   -1.4496    
  12  Prefactor     .10000E-03    10.103        .33771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3977        5.9188        .26434E-03   -1.5398    
  14  Prefactor     .10000E-03    21.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .58161        15.901        .30912E-02   -1.5555    
  16  Prefactor     .10000E-03    5.5220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.9324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.9792        10.843        .23564E-03   -1.5363    
  19  Prefactor     5.2071        9.7476        .17589E-03   -1.5252    
  20  Prefactor     .10000E-03    16.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.0679        11.924        .14116E-03   -1.5140    
  22  Prefactor     .10000E-03    5.1650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1445        .25792        .32653E-03   -.88337    
  24  Prefactor     .92164        .13905        .20292E-03   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57581e-08
Minuit parameter uncertainties:
  1  2.17571e-06
  2  9.76729e-06
  3  0.254153
  4  4.9493e-06
  5  1.98951
  6  19.4499
  7  10.936
  8  9.83026
  9  0.133428
  10  11.8607
  11  34.4309
  12  1.08404e-05
  13  5.9202
  14  5.91072e-05
  15  6.08339
  16  4.472e-05
  17  3.58413e-05
  18  10.8506
  19  9.75059
  20  0.000143228
  21  11.9277
  22  5.54301e-05
  23  0.25821
  24  0.139108
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.084e-05  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.216e-01  1.391e-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.144e+00  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/414562/likelihoodResults_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.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) = 8159.75060273
delta logL = -0.000469164008791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8159.75013365
delta logL = -8.33206286188e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1915       1.0000          .0000       10.000    
     3 'Normalizat'    1.1445       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92162       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=   8159.750     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      226 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .62135E-01    .62818E-01** at limit **
   2  Index         2.1986        5.2961        .50000       -.54002E-05
   3  Normalizat    1.1445        .70559E-03    .73783E-01    .21756E-03
   4  Prefactor     .92164        .40017E-03    .45280E-01    .32013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.19859
  Normalizat = 1.14446
  Prefactor  = 0.921641
 **********
 **   18 **HESSE 
 **********

 FCN=   8159.750     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.315        .32679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1986        5.1222        .50000       -.59473    
   3  Normalizat    1.1445        .70447E-02    .32653E-03   -.88337    
   4  Prefactor     .92164        .40000E-02    .20292E-03   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.91778e-08
Minuit parameter uncertainties:
  1  0.000529009
  2  86.3902
  3  0.00704472
  4  0.00400003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414562': 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) = 8159.75013355
delta logL = 2.1381310944e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.216e-01  4.000e-03  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.144e+00  7.045e-03  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/414562/cmap_HighResolution_671155201_671414401_4FGL_J2307.6+1451_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2022-04-12 00:50:40.479746', job_id='414562', GAL2='0.92', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1649749840.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1666' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:50:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 414562: <4FGL_J2307.6+1451_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:43 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:44 2022
Terminated at Tue Apr 12 00:50:41 2022
Results reported at Tue Apr 12 00:50:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1666 346.922 14.8644 671155201 671414401 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 :                                   766.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            898 sec.

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

