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


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin714
RA = 193.733, Dec = 11.6495
tmin = 670809601, 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='426750', job_status='RUN', time_executed='2022-04-12 01:21:43.213185', time_epoch_executed='1649751703.21' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/426750

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=670809601.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>=670809601.0 && nMetStart<671414401.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/426750/ft1_4FGL_J1254.9+1138_weekly_bin714.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/426750/ft1_4FGL_J1254.9+1138_weekly_bin714.fits outfile=/scratch/kocevski/426750/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin714.fits ra=193.733 dec=11.6495 rad=12.0 tmin=670809601.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 11.63
user 11.25
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.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/426750/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin714.fits evtable="EVENTS" outfile="/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1145

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/426750/ltcube_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.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/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits
.....................!
real 25.55
user 25.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/426750/ltcube_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits outfile=/scratch/kocevski/426750/expmap_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.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/426750/ltcube_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits
.....................!
real 191.21
user 186.64
sys 4.21

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits outfile=/scratch/kocevski/426750/cmap_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.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=193.733 yref=11.6495 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.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits outfile=/scratch/kocevski/426750/cmap_HighResolution_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.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=193.733 yref=11.6495 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.57
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/426750/Model_4FGL_J1254.9+1138_weekly_bin714.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/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits.....................!
real 93.17
user 91.72
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits', '/scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits', expMap='/scratch/kocevski/426750/expmap_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits', expCube='/scratch/kocevski/426750/ltcube_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/426750/Model_4FGL_J1254.9+1138_weekly_bin714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/426750/ft1_filtered_4FGL_J1254.9+1138_weekly_bin714.fits
Spacecraft file(s): /scratch/kocevski/426750/ft2_4FGL_J1254.9+1138_weekly_bin714.fits
Exposure map: /scratch/kocevski/426750/expmap_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits
Exposure cube: /scratch/kocevski/426750/ltcube_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/426750/Model_4FGL_J1254.9+1138_weekly_bin714.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) = 12422.4141163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .93022       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0186       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.0746       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.978       1.0000         .10000E-03   10000.    
    10 'norm      '    .92282       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24110E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42551E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.531       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12713E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.550       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97027       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12422.34     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     1817 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .59701       -.24068E-08** at limit **
   2  Prefactor     .10000E-03    6.1202        .90988E-07** at limit **
   3  norm          .93076        1.5846        .36483E-06    .25424E-03
   4  Prefactor     .10000E-03    7.0715        .32375E-07** at limit **
   5  norm          .10000E-03    5.7779       -.89649E-08** at limit **
   6  Prefactor     .10000E-03    47.346       -.82444E-06** at limit **
   7  norm          1.0186        .39573       -.10825E-07   -.67381E-03
   8  Prefactor     9.0747        6.3927        .51681E-07   -.71581E-05
   9  Prefactor     14.977        15.527        .43874E-06   -.46172E-04
  10  norm          .92319        1.0979        .18746E-06   -.10388E-03
  11  Prefactor     .10000E-03    6.3452       -.24590E-07** at limit **
  12  Prefactor     .10000E-03    8.1509       -.97824E-07** at limit **
  13  Prefactor     .10000E-03    1.4844        .11410E-06** at limit **
  14  Prefactor     .12908        2.0926        .37935E-07   -.24585E-03
  15  Prefactor     16.507        9.2986        .96053E-06    .22109E-04
  16  Prefactor     .10000E-03    2.8456        .35493E-06** at limit **
  17  Prefactor     .10000E-03    68.595        .25011E-05** at limit **
  18  Prefactor     24.551        24.671        .12656E-05   -.29299E-04
  19  Normalizat    .97006        .13285       -.15389E-05    .11107E-04
  20  Prefactor     1.0201        .11198        .57483E-07   -.16305E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.930761
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.01858
  Prefactor  = 9.07467
  Prefactor  = 14.9774
  norm       = 0.923193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.129082
  Prefactor  = 16.5066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5508
  Normalizat = 0.970058
  Prefactor  = 1.0201
 **********
 **   18 **HESSE 
 **********

 FCN=   12422.34     FROM HESSE     STATUS=OK           307 CALLS     2124 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .61049        .84081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93076        1.4431        .17643E-02   -1.5515    
   4  Prefactor     .10000E-03    7.0805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.7788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    47.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0186        .38408        .40734E-04   -1.5506    
   8  Prefactor     9.0747        6.3856        .13305E-03   -1.5105    
   9  Prefactor     14.977        15.552        .51746E-03   -1.4934    
  10  norm          .92319        1.0715        .11842E-03   -1.5516    
  11  Prefactor     .10000E-03    6.3502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.1545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.065        .26441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12908        2.4346        .12545       -1.5636    
  15  Prefactor     16.507        9.8275        .98508E-04   -1.4895    
  16  Prefactor     .10000E-03    21.984        .36076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    70.925        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     24.551        24.559        .80846E-04   -1.4717    
  19  Normalizat    .97006        .15304        .25634E-03   -.94040    
  20  Prefactor     1.0201        .13145        .22327E-03   -.92062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53776e-10
Minuit parameter uncertainties:
  1  1.93096e-06
  2  7.74826e-07
  3  1.44315
  4  3.6989e-06
  5  1.58459e-06
  6  3.4125e-05
  7  0.384076
  8  6.38609
  9  15.5566
  10  1.07153
  11  3.41814e-06
  12  6.64084e-06
  13  2.91398e-06
  14  1.12081
  15  9.82845
  16  9.96533e-05
  17  1.41502e-05
  18  24.5691
  19  0.153109
  20  0.13149
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.291e-01  1.121e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.020e+00  1.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.701e-01  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/426750/likelihoodResults_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.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) = 12422.1817982
delta logL = 0.157085682626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12422.0392459
delta logL = 0.299638025595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0812       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4586       1.0000          .0000       10.000    
     3 'Normalizat'    .93476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0382       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12422.04     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      246 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0866        24.137        .11578E-01    .21781E-02
   2  Index         4.4544        4.0827        .23310        .14425E-03
   3  Normalizat    .93469        .24474E-01    .45344E-01   -.93835E-05
   4  Prefactor     1.0382        .21938E-01    .40657E-01   -.63047E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08655
  Index      = 4.45443
  Normalizat = 0.934693
  Prefactor  = 1.03819
 **********
 **   18 **HESSE 
 **********

 FCN=   12422.04     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0866        91.024        .14477E-03   -1.5499    
   2  Index         4.4544        5.4514        .14197E-01   -.10933    
   3  Normalizat    .93469        .13075        .26063E-03   -.95252    
   4  Prefactor     1.0382        .11524        .22153E-03   -.91467    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77139e-06
Minuit parameter uncertainties:
  1  19.9203
  2  13.6101
  3  0.130794
  4  0.115268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/426750': 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) = 12422.0392437
delta logL = 0.299640222245

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.087e+00  1.992e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        Index:  4.454e+00  1.361e+01  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.038e+00  1.153e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.347e-01  1.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 193.733 11.649

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/426750/cmap_HighResolution_670809601_671414401_4FGL_J1254.9+1138_weekly_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2022-04-12 01:36:53.445033', job_id='426750', GAL2='1.04', fit_tolerance='1e-08', EG2='0.93', EG='0.97', time_epoch_completed='1649752613.45', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.00e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='714' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 12 01:36:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 426750: <4FGL_J1254.9+1138_weekly_bin714> in cluster <slac> Done

Job <4FGL_J1254.9+1138_weekly_bin714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Apr 12 01:20:27 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 01:20:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 01:20:29 2022
Terminated at Tue Apr 12 01:36:54 2022
Results reported at Tue Apr 12 01:36:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_weekly_bin714 193.733 11.6495 670809601 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.9+1138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   911.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            987 sec.

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

