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 122 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin1772
RA = 192.836, Dec = -2.0271
tmin = 698630401, tmax = 698889601
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='632062', job_status='RUN', time_executed='2023-02-24 01:37:35.206518', time_epoch_executed='1677231455.21' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632062

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632062/ft1_4FGL_J1251.3-0201_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632062/ft1_4FGL_J1251.3-0201_daily_bin1772.fits outfile=/scratch/kocevski/632062/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1772.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=698630401.0 tmax=698889601.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.02
user 2.80
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.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/632062/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 300

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/632062/ltcube_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.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/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits
.....................!
real 12.57
user 12.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/632062/ltcube_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits outfile=/scratch/kocevski/632062/expmap_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.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/632062/ltcube_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits
.....................!
real 191.43
user 186.54
sys 4.53

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

Setting source of interest to:
4FGL J1251.3-0201 @ 192.836 -2.0271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits outfile=/scratch/kocevski/632062/cmap_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.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=192.836 yref=-2.0271 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits outfile=/scratch/kocevski/632062/cmap_HighResolution_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.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=192.836 yref=-2.0271 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632062/Model_4FGL_J1251.3-0201_daily_bin1772.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/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits....................!
real 34.26
user 32.87
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits', '/scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits', expMap='/scratch/kocevski/632062/expmap_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits', expCube='/scratch/kocevski/632062/ltcube_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/632062/Model_4FGL_J1251.3-0201_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1251.3-0201'

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  5.916e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/632062/ft1_filtered_4FGL_J1251.3-0201_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/632062/ft2_4FGL_J1251.3-0201_daily_bin1772.fits
Exposure map: /scratch/kocevski/632062/expmap_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits
Exposure cube: /scratch/kocevski/632062/ltcube_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/632062/Model_4FGL_J1251.3-0201_daily_bin1772.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) = 3453.53109567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    138.60       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14666E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18820E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .77414E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .12676E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .46508E-01   1.0000          .0000       .10000E+07
     7 'norm      '    1.5049       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11821E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22936E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .27364E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .39922E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    100.91       1.0000          .0000       .10000E+07
    13 'norm      '    .79922E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .67374E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16199       1.0000          .0000       .10000E+07
    16 'norm      '    51.783       1.0000          .0000       .10000E+07
    17 'norm      '    11.043       1.0000          .0000       .10000E+07
    18 'Prefactor '    41.070       1.0000          .0000       .10000E+07
    19 'Prefactor '    .84505       1.0000          .0000       .10000E+07
    20 'norm      '    3.0740       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3453.468     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1752 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     139.77        35.962       -.40275E-07   -.15271    
   2  Prefactor     .10714E-05    193.88        .57353E-07** at limit **
   3  Prefactor     .45908E-07    13.128       -.10750E-07** at limit **
   4  norm           .0000        2.7680       -.13372E-07** at limit **
   5  norm          .22410E-06    7.5162       -.22024E-07** at limit **
   6  norm           .0000        69.011        .26821E-07** at limit **
   7  norm          1.5069        1.4603       -.19752E-08    .91304E-04
   8  Prefactor     .27756E-09    23.045       -.23114E-07** at limit **
   9  Prefactor     .62006E-07    12.502       -.20379E-07** at limit **
  10  norm           .0000        2.2837        .19005E-07** at limit **
  11  Prefactor     .38858E-09    11.880       -.10278E-07** at limit **
  12  Prefactor     104.62        82.637       -.11956E-06    .56644E-01
  13  norm          .32196E-08    17.638        .45527E-08** at limit **
  14  norm          .62754E-01    .28474        .66897E-07** at limit **
  15  Prefactor     .17958E-06    104.16       -.48126E-07** at limit **
  16  norm          52.377        10.250        .30466E-08   -.12225E-01
  17  norm          10.998        12.455       -.47876E-08    .36721E-03
  18  Prefactor     40.820        32.608       -.98869E-08   -.44201E-02
  19  Prefactor     .87112        3.0964       -.13143E-07   -.32011E-02
  20  norm          3.0751        1.8099        .38110E-08    .38080E-03
  21  Normalizat    1.2313        .39267        .21883E-05    .22968E-04
  22  Prefactor     1.0037        .26627       -.13986E-05    .14474E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 139.773
  Prefactor  = 1.07142e-06
  Prefactor  = 4.59077e-08
  norm       = 0
  norm       = 2.24099e-07
  norm       = 0
  norm       = 1.50689
  Prefactor  = 2.77556e-10
  Prefactor  = 6.2006e-08
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 104.618
  norm       = 3.21965e-09
  norm       = 0.0627537
  Prefactor  = 1.79579e-07
  norm       = 52.3772
  norm       = 10.9978
  Prefactor  = 40.8196
  Prefactor  = 0.871121
  norm       = 3.07511
  Normalizat = 1.23132
  Prefactor  = 1.00368
 **********
 **   18 **HESSE 
 **********

 FCN=   3453.468     FROM HESSE     STATUS=OK           380 CALLS     2132 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     139.77        100.85        .84947E-04   -1.5472    
   2  Prefactor     .10714E-05    194.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .45908E-07    14.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.7690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .22410E-06    15.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        69.006        .15682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5069        1.4808        .87213E-03   -1.5683    
   8  Prefactor     .27756E-09    23.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .62006E-07    15.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.2794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38858E-09    11.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     104.62        89.601        .99556E-04   -1.5503    
  13  norm          .32196E-08    18.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .62754E-01    .23976        .12589E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .17958E-06    178.64        .12496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          52.377        23.158        .13898E-03   -1.5563    
  17  norm          10.998        12.500        .30123E-03   -1.5642    
  18  Prefactor     40.820        32.565        .15605E-03   -1.5580    
  19  Prefactor     .87112        27.674        .49636E-03   -1.5689    
  20  norm          3.0751        1.8111        .57828E-03   -1.5673    
  21  Normalizat    1.2313        .34073        .73133E-01   -.85640    
  22  Prefactor     1.0037        .22617        .44256E-01   -.92607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95759e-06
Minuit parameter uncertainties:
  1  100.847
  2  0.0288609
  3  0.00163747
  4  2.23873e-06
  5  0.00373288
  6  2.20753e-05
  7  1.48081
  8  0.000161151
  9  0.0019602
  10  3.6786e-06
  11  0.000137376
  12  89.6021
  13  0.000480873
  14  0.239757
  15  0.011328
  16  23.1576
  17  12.5004
  18  32.5653
  19  9.81996
  20  1.8111
  21  0.34135
  22  0.226387
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  3.220e-09  4.809e-04  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.004e+00  2.264e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.231e+00  3.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.836 -2.027
Photon Flux Upper Limit: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632062/likelihoodResults_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3453.49413548
delta logL = -0.0265199003979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3453.36971385
delta logL = 0.0979017235654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29426       1.0000          .0000       .10000E+07
     2 'alpha     '    4.8014       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0280       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3453.370     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      471 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29386        77.211        .70296E-05   -.35450E-02
   2  alpha         4.8026        4.8982        .91545E-01   -.62248E-05
   3  Normalizat    1.1742        .33111        .33037E-03   -.14384E-04
   4  Prefactor     1.0279        .21840        .24293E-03    .21106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.29386
  alpha      = 4.80263
  Normalizat = 1.1742
  Prefactor  = 1.02791
 **********
 **   18 **HESSE 
 **********

 FCN=   3453.370     FROM HESSE     STATUS=OK            25 CALLS      496 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29386        2.8755        .28118E-06   -1.5697    
   2  alpha         4.8026        4.8791        .36618E-02    1.1708    
   3  Normalizat    1.1742        .39674        .13215E-04   -.87404    
   4  Prefactor     1.0279        .26841        .97173E-05   -.91805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53077e-11
Minuit parameter uncertainties:
  1  1.83846
  2  2.85322
  3  0.397756
  4  0.26876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632062': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3453.36971343
delta logL = 0.0979021452918

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  2.939e-01  1.838e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  4.803e+00  2.853e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.558e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.028e+00  2.688e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.174e+00  3.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.836 -2.027

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/632062/cmap_HighResolution_698630401_698889601_4FGL_J1251.3-0201_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-05', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2023-02-24 01:45:13.995237', job_id='632062', GAL2='1.03', fit_tolerance='1e-08', EG2='1.17', EG='1.23', time_epoch_completed='1677231914.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.79e-02', ts2='0.22', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1772' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:45:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 632062: <4FGL_J1251.3-0201_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:35:21 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:35:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:35:23 2023
Terminated at Fri Feb 24 01:45:14 2023
Results reported at Fri Feb 24 01:45:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin1772 192.836 -2.0271 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1251.3-0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   459.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            593 sec.

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

