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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1665
RA = 346.922, Dec = 14.8644
tmin = 670896001, tmax = 671155201
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='358125', job_status='RUN', time_executed='2022-04-09 00:43:53.897892', time_epoch_executed='1649490233.9' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/358125/ft1_4FGL_J2307.6+1451_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/358125/ft2_4FGL_J2307.6+1451_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358125/ft1_4FGL_J2307.6+1451_daily_bin1665.fits outfile=/scratch/kocevski/358125/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1665.fits ra=346.922 dec=14.8644 rad=12.0 tmin=670896001.0 tmax=671155201.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.35
user 5.08
sys 0.23

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

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

Number of photons that the gtmktime cut: 670

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358125/ft1_filtered_4FGL_J2307.6+1451_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358125/ft2_4FGL_J2307.6+1451_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/358125/ltcube_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.fits outfile=/scratch/kocevski/358125/expmap_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.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/358125/ltcube_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.fits
.....................!
real 190.46
user 184.93
sys 5.18

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/358125/ft1_filtered_4FGL_J2307.6+1451_daily_bin1665.fits scfile=/scratch/kocevski/358125/ft2_4FGL_J2307.6+1451_daily_bin1665.fits outfile=/scratch/kocevski/358125/cmap_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358125/ft1_filtered_4FGL_J2307.6+1451_daily_bin1665.fits scfile=/scratch/kocevski/358125/ft2_4FGL_J2307.6+1451_daily_bin1665.fits outfile=/scratch/kocevski/358125/cmap_HighResolution_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9488       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .58912       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2573       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4765       1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.949       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.481       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.928       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .51933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.193       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.959       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1970       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3565       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82809       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=   7581.254     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2691 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9489        10.569       -.26227E-06   -.79981E-05
   2  Prefactor     .10000E-03    8.8334        .15327E-05** at limit **
   3  Prefactor     .58907        .20590        .22447E-07    .12231E-04
   4  Prefactor     4.2576        4.7691       -.25856E-06   -.13531E-04
   5  norm          2.4766        1.6298       -.76537E-07   -.65281E-05
   6  Prefactor     78.948        43.112       -.14081E-05   -.51269E-05
   7  Prefactor     10.479        10.672        .15861E-05    .16752E-04
   8  Prefactor     17.927        23.440       -.40171E-06   -.37489E-05
   9  Prefactor     .51929        .19816        .12552E-07   -.22385E-03
  10  Prefactor     .10000E-03    7.5653       -.21602E-05** at limit **
  11  Prefactor     18.113        34.543       -.68006E-06   -.50250E-05
  12  Prefactor     .10000E-03    5.6878       -.32531E-06** at limit **
  13  Prefactor     .10000E-03    8.7519        .15976E-05** at limit **
  14  Prefactor     31.956        25.131       -.27050E-06    .44369E-05
  15  Prefactor     3.1948        2.1983        .10402E-06   -.63760E-03
  16  Prefactor     .10000E-03    2.1926        .10677E-06** at limit **
  17  Prefactor     .10000E-03    8.1043        .19959E-06** at limit **
  18  norm          .10000E-03    6.0317        .98895E-06** at limit **
  19  Prefactor     .10000E-03    2.1837        .11017E-06** at limit **
  20  Prefactor     .10000E-03    10.242       -.33355E-05** at limit **
  21  norm          .10000E-03    11.255        .11225E-05** at limit **
  22  Prefactor     .10000E-03    4.7587        .14085E-06** at limit **
  23  Normalizat    1.3570        .21572       -.21072E-06   -.14273E-04
  24  Prefactor     .82785        .11723        .39663E-07   -.27733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.94894
  Prefactor  = 0.0001
  Prefactor  = 0.58907
  Prefactor  = 4.25759
  norm       = 2.47656
  Prefactor  = 78.9482
  Prefactor  = 10.4794
  Prefactor  = 17.9271
  Prefactor  = 0.519289
  Prefactor  = 0.0001
  Prefactor  = 18.1127
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.9559
  Prefactor  = 3.19481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.35698
  Prefactor  = 0.827854
 **********
 **   18 **HESSE 
 **********

 FCN=   7581.254     FROM HESSE     STATUS=OK           397 CALLS     3088 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9489        10.561        .18079E-03   -1.5263    
   2  Prefactor     .10000E-03    8.8628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .58907        .20528        .22078E-04   -1.5554    
   4  Prefactor     4.2576        4.7657        .19528E-03   -1.5295    
   5  norm          2.4766        1.6338        .87001E-04   -1.5393    
   6  Prefactor     78.948        43.166        .45198E-04   -1.3929    
   7  Prefactor     10.479        10.686        .12376E-03   -1.5060    
   8  Prefactor     17.927        23.445        .94592E-04   -1.4861    
   9  Prefactor     .51929        .19721        .21311E-04   -1.5564    
  10  Prefactor     .10000E-03    7.6157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.113        34.722        .93901E-04   -1.4857    
  12  Prefactor     .10000E-03    5.7792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.8036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.956        25.137        .70878E-04   -1.4577    
  15  Prefactor     3.1948        8.0795        .11331E-02   -1.5350    
  16  Prefactor     .10000E-03    2.1942        .12591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.1167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.2633        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1886        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    11.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.7860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3570        .25712        .30888E-03   -.81881    
  24  Prefactor     .82785        .13796        .21283E-03   -.98710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93345e-10
Minuit parameter uncertainties:
  1  10.5652
  2  1.33986e-06
  3  0.205285
  4  4.76611
  5  1.63379
  6  43.1833
  7  10.6882
  8  23.4565
  9  0.197215
  10  5.6093e-06
  11  34.7605
  12  2.3245e-06
  13  3.31002e-06
  14  25.1457
  15  8.08225
  16  2.72408e-07
  17  6.34189e-07
  18  6.54069e-06
  19  1.06858e-07
  20  4.68525e-06
  21  2.15728e-06
  22  4.89588e-07
  23  0.257366
  24  0.138014
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  2.324e-06  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:  8.279e-01  1.380e-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.357e+00  2.574e-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: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/358125/likelihoodResults_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.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) = 7581.25508055
delta logL = -0.000824681595986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7581.25425674
delta logL = -8.73962562764e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11564E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1483       1.0000          .0000       10.000    
     3 'Normalizat'    1.3570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82785       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=   7581.254     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.185        .90712E-02** at limit **
   2  Index         2.1118        8.6342        .50000        .46315E-04
   3  Normalizat    1.3570        .20157E-01    .69815E-01    .46602E-04
   4  Prefactor     .82785        .11221E-01    .44079E-01    .11418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.11183
  Normalizat = 1.35697
  Prefactor  = 0.827854
 **********
 **   18 **HESSE 
 **********

 FCN=   7581.254     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      235 TOTAL
                     EDM=   .24E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    291.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1118        8.8845        .20000       -.61583    
   3  Normalizat    1.3570        .39411E-01    .30888E-03   -.81881    
   4  Prefactor     .82785        .21946E-01    .21283E-03   -.98710    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000241358
Minuit parameter uncertainties:
  1  0.00146518
  2  1375
  3  0.0394114
  4  0.0219464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358125': 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) = 7581.25425499
delta logL = 8.76040758158e-07

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.465e-03  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.112e+00  1.375e+03  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:  8.279e-01  2.195e-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:  1.357e+00  3.941e-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/358125/cmap_HighResolution_670896001_671155201_4FGL_J2307.6+1451_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2022-04-09 00:56:01.627438', job_id='358125', GAL2='0.83', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1649490961.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='8.76e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1665' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:56:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 358125: <4FGL_J2307.6+1451_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:40:12 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:40:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:40:13 2022
Terminated at Sat Apr  9 00:56:02 2022
Results reported at Sat Apr  9 00:56:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1665 346.922 14.8644 670896001 671155201 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 :                                   730.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             235.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

