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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin1780
RA = 192.836, Dec = -2.0271
tmin = 700704001, tmax = 700963201
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='62624', job_status='RUN', time_executed='2023-03-20 00:53:47.870717', time_epoch_executed='1679298827.87' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62624/ft1_4FGL_J1251.3-0201_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62624/ft1_4FGL_J1251.3-0201_daily_bin1780.fits outfile=/scratch/kocevski/62624/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1780.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.10
user 3.85
sys 0.22

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

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

Number of photons that the gtmktime cut: 296

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62624/ltcube_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.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/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits
.....................!
real 13.14
user 12.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62624/ltcube_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits outfile=/scratch/kocevski/62624/expmap_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.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/62624/ltcube_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits
.....................!
real 191.07
user 185.56
sys 5.11

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/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits scfile=/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits outfile=/scratch/kocevski/62624/cmap_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits scfile=/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits outfile=/scratch/kocevski/62624/cmap_HighResolution_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62624/Model_4FGL_J1251.3-0201_daily_bin1780.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/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits......................!
real 33.30
user 31.98
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits', '/scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits', expMap='/scratch/kocevski/62624/expmap_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits', expCube='/scratch/kocevski/62624/ltcube_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62624/Model_4FGL_J1251.3-0201_daily_bin1780.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/62624/ft1_filtered_4FGL_J1251.3-0201_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62624/ft2_4FGL_J1251.3-0201_daily_bin1780.fits
Exposure map: /scratch/kocevski/62624/expmap_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62624/ltcube_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62624/Model_4FGL_J1251.3-0201_daily_bin1780.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3233.40962165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9872       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.782       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4254       1.0000          .0000       .10000E+07
     4 'norm      '    .58949E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .18013E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .19251       1.0000          .0000       .10000E+07
     7 'norm      '    1.6603       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.635       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16805E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.6572       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38303E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    68.691       1.0000          .0000       .10000E+07
    13 'norm      '    .45147E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .19342       1.0000          .0000       .10000E+07
    15 'Prefactor '    .30449E-05   1.0000          .0000       .10000E+07
    16 'norm      '    54.463       1.0000          .0000       .10000E+07
    17 'norm      '    26.340       1.0000          .0000       .10000E+07
    18 'Prefactor '    .46527E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.738       1.0000          .0000       .10000E+07
    20 'norm      '    7.8231       1.0000          .0000       .10000E+07
    21 'Normalizat'    .60229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98639       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=   3230.148     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1066 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5885        7.7766        .41474E-05   -.11205E-01
   2  Prefactor     26.281        16.950       -.56483E-05    .10643    
   3  Prefactor     5.2975        16.203        .26620E-05    .17382E-01
   4  norm           .0000        4.3227        .29038E-05** at limit **
   5  norm           .0000        1.5783        .15745E-06** at limit **
   6  norm          .11102E-09    45.210        .33306E-05** at limit **
   7  norm          1.6618        .80145        .45798E-07    .21340E-02
   8  Prefactor     13.495        10.729        .16398E-05    .94838E-03
   9  Prefactor     .11102E-09    10.492       -.62677E-06** at limit **
  10  norm          2.6512        2.0744        .39033E-07   -.66055E-03
  11  Prefactor     .55511E-10    3.2568        .52717E-06** at limit **
  12  Prefactor     67.236        65.271       -.49650E-05    .11077E-01
  13  norm          .25846E-06    12.503        .72553E-06** at limit **
  14  norm          .19470        .23442        .28086E-07** at limit **
  15  Prefactor     .47057E-06    12.973       -.83616E-05** at limit **
  16  norm          54.341        12.686        .28064E-05    .13569    
  17  norm          26.665        9.4712       -.30767E-05   -.43919E-01
  18  Prefactor     .14766E-07    50.211        .40999E-06** at limit **
  19  Prefactor     10.554        11.624        .14478E-05    .11630E-02
  20  norm          7.8205        2.7623       -.72787E-07   -.22756E-02
  21  Normalizat    .60539        .33270       -.76007E-05   -.55274E-04
  22  Prefactor     .98555        .23994       -.23134E-05   -.65296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58852
  Prefactor  = 26.2811
  Prefactor  = 5.29752
  norm       = 0
  norm       = 0
  norm       = 1.11022e-10
  norm       = 1.66183
  Prefactor  = 13.4953
  Prefactor  = 1.11022e-10
  norm       = 2.6512
  Prefactor  = 5.55112e-11
  Prefactor  = 67.2361
  norm       = 2.5846e-07
  norm       = 0.194701
  Prefactor  = 4.70568e-07
  norm       = 54.3406
  norm       = 26.665
  Prefactor  = 1.4766e-08
  Prefactor  = 10.5537
  norm       = 7.82048
  Normalizat = 0.605393
  Prefactor  = 0.98555
 **********
 **   18 **HESSE 
 **********

 FCN=   3230.148     FROM HESSE     STATUS=OK           388 CALLS     1454 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5885        174.72        .73476E-03   -1.5683    
   2  Prefactor     26.281        28.234        .19327E-03   -1.5605    
   3  Prefactor     5.2975        19.134        .43117E-03   -1.5662    
   4  norm           .0000        4.3048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.5756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    45.043        .11911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6618        .80808        .73344E-03   -1.5682    
   8  Prefactor     13.495        10.739        .27100E-03   -1.5634    
   9  Prefactor     .11102E-09    10.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6512        2.0776        .62506E-03   -1.5675    
  11  Prefactor     .55511E-10    3.2603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     67.236        66.399        .12066E-03   -1.5544    
  13  norm          .25846E-06    22.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .19470        .24979        .62468E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .47057E-06    22.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          54.341        20.701        .13551E-03   -1.5561    
  17  norm          26.665        21.283        .19488E-03   -1.5605    
  18  Prefactor     .14766E-07    50.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.554        11.831        .30550E-03   -1.5643    
  20  norm          7.8205        2.7712        .35826E-03   -1.5652    
  21  Normalizat    .60539        .28973        .76569E-01   -1.0776    
  22  Prefactor     .98555        .20460        .46097E-01   -.93213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08741e-07
Minuit parameter uncertainties:
  1  33.3208
  2  28.2344
  3  19.1346
  4  1.19085e-05
  5  8.6569e-06
  6  0.000128439
  7  0.808076
  8  10.739
  9  7.56128e-05
  10  2.0776
  11  2.81927e-05
  12  66.3998
  13  0.00479687
  14  0.249787
  15  0.00649521
  16  20.7014
  17  21.2826
  18  0.00173159
  19  11.8312
  20  2.77118
  21  0.290458
  22  0.204761
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  2.585e-07  4.797e-03  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:  9.856e-01  2.048e-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:  6.054e-01  2.905e-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: 6.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/62624/likelihoodResults_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.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) = 3230.14771081
delta logL = -3.34275564455e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3230.14767758
delta logL = -1.99486748897e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37207E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .84039       1.0000          .0000       5.0000    
     3 'Normalizat'    .60536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98558       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.

 FCN=   3230.148     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      263 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11657E-08    .43250        .42118E-03** at limit **
   2  alpha         2.6976        3.4029        .50000        .19327E-09
   3  Normalizat    .60540        .12250E-02    .76568E-01   -.75389E-04
   4  Prefactor     .98554        .92978E-03    .46087E-01   -.64673E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.16573e-09
  alpha      = 2.69762
  Normalizat = 0.605405
  Prefactor  = 0.985541
 **********
 **   18 **HESSE 
 **********

 FCN=   3230.148     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11657E-08    2.1663        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6976        3.6173        .50000        .79132E-01
   3  Normalizat    .60540        .27331E-02    .33902E-03   -1.0775    
   4  Prefactor     .98554        .20787E-02    .20418E-03   -.93213    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.31371e-12
Minuit parameter uncertainties:
  1  0.000100487
  2  24800.4
  3  0.00273307
  4  0.00207868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62624': 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) = 3230.14767737
delta logL = 4.91309037898e-09

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.166e-09  1.005e-04  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  2.698e+00  2.480e+04  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:  9.855e-01  2.079e-03  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:  6.054e-01  2.733e-03  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/62624/cmap_HighResolution_700704001_700963201_4FGL_J1251.3-0201_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-05', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2023-03-20 01:01:02.038524', job_id='62624', GAL2='0.99', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1679299262.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.91e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1780' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:01:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 62624: <4FGL_J1251.3-0201_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:19 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:50:21 2023
Terminated at Mon Mar 20 01:01:02 2023
Results reported at Mon Mar 20 01:01:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin1780 192.836 -2.0271 700704001 700963201 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 :                                   436.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            643 sec.

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

