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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1426
RA = 193.733, Dec = 11.6495
tmin = 608947201, tmax = 609206401
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='999627', job_status='RUN', time_executed='2021-09-06 09:44:07.275669', time_epoch_executed='1630946647.28' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/999627

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/999627/ft1_4FGL_J1254.9+1138_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/999627/ft1_4FGL_J1254.9+1138_daily_bin1426.fits outfile=/scratch/kocevski/999627/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1426.fits ra=193.733 dec=11.6495 rad=12.0 tmin=608947201.0 tmax=609206401.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.17
user 2.92
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/999627/ltcube_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.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/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits
.....................!
real 13.08
user 12.59
sys 0.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/999627/ltcube_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits outfile=/scratch/kocevski/999627/expmap_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.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/999627/ltcube_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits
.....................!
real 192.04
user 185.50
sys 5.95

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/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits scfile=/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits outfile=/scratch/kocevski/999627/cmap_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits scfile=/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits outfile=/scratch/kocevski/999627/cmap_HighResolution_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.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.53
user 0.37
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits', '/scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits', expMap='/scratch/kocevski/999627/expmap_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits', expCube='/scratch/kocevski/999627/ltcube_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/999627/Model_4FGL_J1254.9+1138_daily_bin1426.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/999627/ft1_filtered_4FGL_J1254.9+1138_daily_bin1426.fits
Spacecraft file(s): /scratch/kocevski/999627/ft2_4FGL_J1254.9+1138_daily_bin1426.fits
Exposure map: /scratch/kocevski/999627/expmap_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits
Exposure cube: /scratch/kocevski/999627/ltcube_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/999627/Model_4FGL_J1254.9+1138_daily_bin1426.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) = 3230.6922207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3889       1.0000         .10000E-03   10000.    
     2 'Prefactor '    99.708       1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.394       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    97.450       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.360       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12897E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.325       1.0000         .10000E-03   10000.    
    15 'Prefactor '    51.596       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7956       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.970       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .30721       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2771       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=   3230.673     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1999 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3831        4.5084       -.49852E-06   -.25522E-03
   2  Prefactor     99.685        71.568       -.18390E-04   -.71395E-05
   3  norm          .10000E-03    2.3042        .87566E-07** at limit **
   4  Prefactor     51.385        49.946       -.79465E-05   -.45763E-05
   5  norm          .10000E-03    25.078        .42009E-06** at limit **
   6  Prefactor     97.435        150.40       -.13999E-04   -.16961E-05
   7  norm          .10000E-03    .59276        .41484E-07** at limit **
   8  Prefactor     10.359        11.861        .97013E-07   -.30686E-04
   9  Prefactor     .10000E-03    20.926       -.12159E-06** at limit **
  10  norm          .10000E-03    2.2396        .42459E-07** at limit **
  11  Prefactor     .10000E-03    121.19       -.47442E-04** at limit **
  12  Prefactor     .10000E-03    98.637        .50087E-04** at limit **
  13  Prefactor     .10000E-03    2.3094       -.80205E-07** at limit **
  14  Prefactor     13.291        21.332        .23370E-05   -.18139E-03
  15  Prefactor     51.578        24.897        .24042E-06   -.82791E-04
  16  Prefactor     9.7814        27.348       -.57030E-05   -.21426E-04
  17  Prefactor     19.947        35.492       -.19449E-04   -.58134E-05
  18  Prefactor     .10000E-03    60.070       -.97049E-05** at limit **
  19  Normalizat    .30832        .32309        .54126E-05    .74294E-05
  20  Prefactor     1.2763        .26981        .89747E-06   -.11190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.38306
  Prefactor  = 99.685
  norm       = 0.0001
  Prefactor  = 51.3846
  norm       = 0.0001
  Prefactor  = 97.4354
  norm       = 0.0001
  Prefactor  = 10.3592
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.291
  Prefactor  = 51.5783
  Prefactor  = 9.78139
  Prefactor  = 19.9466
  Prefactor  = 0.0001
  Normalizat = 0.308316
  Prefactor  = 1.27626
 **********
 **   18 **HESSE 
 **********

 FCN=   3230.673     FROM HESSE     STATUS=OK           289 CALLS     2288 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3831        4.4374        .11126E-03   -1.5289    
   2  Prefactor     99.685        71.587        .20130E-03   -1.3708    
   3  norm          .10000E-03    2.3059        .84259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.385        49.939        .27971E-03   -1.4273    
   5  norm          .10000E-03    25.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     97.435        150.41        .20360E-03   -1.3731    
   7  norm          .10000E-03    .59658        .42723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.359        11.841        .12448E-03   -1.5064    
   9  Prefactor     .10000E-03    20.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2864        .83000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    121.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    98.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3143        .84339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.291        21.166        .10973E-03   -1.4979    
  15  Prefactor     51.578        24.729        .55834E-04   -1.4270    
  16  Prefactor     9.7814        27.356        .12803E-03   -1.5082    
  17  Prefactor     19.947        35.470        .89627E-04   -1.4814    
  18  Prefactor     .10000E-03    60.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .30832        .30312        .44672E-03   -1.2234    
  20  Prefactor     1.2763        .26064        .20306E-03   -.84016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97265e-10
Minuit parameter uncertainties:
  1  4.43772
  2  71.6492
  3  1.67151e-05
  4  49.9797
  5  2.21397e-05
  6  151.007
  7  2.81365e-06
  8  11.8432
  9  4.12047e-05
  10  8.66173e-06
  11  1.56067e-05
  12  0.00047029
  13  6.9909e-06
  14  21.1777
  15  24.7339
  16  27.3913
  17  35.5074
  18  1.83659e-05
  19  0.304746
  20  0.260908
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.329e+01  2.118e+01  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.276e+00  2.609e-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:  3.083e-01  3.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 2.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/999627/likelihoodResults_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.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) = 3230.63393159
delta logL = 0.0391932958009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3230.62903047
delta logL = 0.0440944143756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.802       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1609       1.0000          .0000       10.000    
     3 'Normalizat'    .29508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2836       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=   3230.629     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      212 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.787        730.16        .29152E-02    .27435E-04
   2  Index         3.1623        5.3476        .21762        .23185E-04
   3  Normalizat    .29536        .93819E-01    .10303        .57589E-04
   4  Prefactor     1.2837        .89045E-01    .32901E-01    .77642E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7869
  Index      = 3.16233
  Normalizat = 0.295361
  Prefactor  = 1.2837
 **********
 **   18 **HESSE 
 **********

 FCN=   3230.629     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.787        20.328        .11661E-03   -1.5021    
   2  Index         3.1623        1.3409        .10548E-01   -.37636    
   3  Normalizat    .29536        .29415        .45618E-03   -1.2311    
   4  Prefactor     1.2837        .25927        .20254E-03   -.83793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15331e-09
Minuit parameter uncertainties:
  1  20.3403
  2  1.3602
  3  0.295701
  4  0.25953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/999627': 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) = 3230.62902663
delta logL = 0.0440982568934

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.179e+01  2.034e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        Index:  3.162e+00  1.360e+00  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.284e+00  2.595e-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:  2.954e-01  2.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/999627/cmap_HighResolution_608947201_609206401_4FGL_J1254.9+1138_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', job_status='DONE', photon_flux_upper_limit='2.45e-07', time_completed='2021-09-06 09:52:59.242592', job_id='999627', GAL2='1.28', fit_tolerance='1e-08', EG2='0.30', EG='0.31', time_epoch_completed='1630947179.24', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='4.41e-02', ts2='0.71', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1426' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:52:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 999627: <4FGL_J1254.9+1138_daily_bin1426> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1426> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Mon Sep  6 09:41:42 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 09:41:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 09:41:44 2021
Terminated at Mon Sep  6 09:52:59 2021
Results reported at Mon Sep  6 09:52:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1426 193.733 11.6495 608947201 609206401 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 :                                   447.00 sec.
    Max Memory :                                 1102 MB
    Average Memory :                             254.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            677 sec.

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

