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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1714
RA = 186.392, Dec = -28.8625
tmin = 683596801, tmax = 683856001
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='119092', job_status='RUN', time_executed='2022-09-16 16:46:55.936207', time_epoch_executed='1663372015.94' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119092

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119092/ft1_4FGL_J1225.5-2851_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119092/ft1_4FGL_J1225.5-2851_daily_bin1714.fits outfile=/scratch/kocevski/119092/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1714.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.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/119092/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 851

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/119092/ltcube_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.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/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits
.....................!
real 15.01
user 14.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/119092/ltcube_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits outfile=/scratch/kocevski/119092/expmap_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.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/119092/ltcube_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits
.....................!
real 190.56
user 185.94
sys 4.14

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 183 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1225.5-2851 @ 186.392 -28.8625

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits outfile=/scratch/kocevski/119092/cmap_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.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=186.392 yref=-28.8625 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits outfile=/scratch/kocevski/119092/cmap_HighResolution_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.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=186.392 yref=-28.8625 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/119092/Model_4FGL_J1225.5-2851_daily_bin1714.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits.....................!
real 151.43
user 149.78
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits', '/scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits', expMap='/scratch/kocevski/119092/expmap_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits', expCube='/scratch/kocevski/119092/ltcube_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119092/Model_4FGL_J1225.5-2851_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.5-2851'

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.708e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/119092/ft1_filtered_4FGL_J1225.5-2851_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/119092/ft2_4FGL_J1225.5-2851_daily_bin1714.fits
Exposure map: /scratch/kocevski/119092/expmap_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits
Exposure cube: /scratch/kocevski/119092/ltcube_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119092/Model_4FGL_J1225.5-2851_daily_bin1714.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) = 9110.51474668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50982E-04   1.0000          .0000       .10000E+07
     2 'norm      '    16.166       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16669E-02   1.0000          .0000       .10000E+07
     4 'norm      '    5.4652       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.5406       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4942       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13581E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27930E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .82502E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4206       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33369       1.0000          .0000       .10000E+07
    12 'norm      '    .17986E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25379E-01   1.0000          .0000       .10000E+07
    14 'norm      '    10.348       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6537       1.0000          .0000       .10000E+07
    16 'norm      '    4.6943       1.0000          .0000       .10000E+07
    17 'norm      '    14.630       1.0000          .0000       .10000E+07
    18 'Normalizat'    .88576       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1568       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9110.420     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1101 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2166        .47261E-06** at limit **
   2  norm          15.917        5.0630        .30705E-06   -.95925E-02
   3  Prefactor     .20262E-07    10.795       -.15678E-05** at limit **
   4  norm          5.4884        4.6381       -.39818E-06    .27585E-04
   5  Prefactor     4.5143        4.1493        .72105E-07   -.31153E-03
   6  Prefactor     6.2949        10.910       -.12072E-05   -.35947E-02
   7  Prefactor     .27034E-07    11.002        .48217E-06** at limit **
   8  Prefactor      .0000        7.2847       -.11984E-05** at limit **
   9  Prefactor     .11102E-09    36.569       -.15884E-05** at limit **
  10  Prefactor     3.3820        1.2353        .67183E-07   -.18678E-02
  11  Prefactor     .24857        8.0607        .15874E-05** at limit **
  12  norm           .0000        .23617       -.58712E-07** at limit **
  13  Prefactor      .0000        40.750       -.11754E-05** at limit **
  14  norm          10.355        3.6100        .63852E-07   -.23700E-02
  15  Prefactor     3.6379        3.4296        .11617E-06    .53460E-03
  16  norm          4.6905        4.5234        .84720E-07   -.59350E-03
  17  norm          14.735        9.1247       -.75289E-09   -.13167E-02
  18  Normalizat    .88608        .25923       -.13866E-05    .35005E-05
  19  Prefactor     1.1569        .12011       -.26360E-05    .26192E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.917
  Prefactor  = 2.02616e-08
  norm       = 5.48841
  Prefactor  = 4.51426
  Prefactor  = 6.2949
  Prefactor  = 2.70339e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 3.38204
  Prefactor  = 0.248569
  norm       = 0
  Prefactor  = 0
  norm       = 10.3547
  Prefactor  = 3.63788
  norm       = 4.69046
  norm       = 14.7346
  Normalizat = 0.886085
  Prefactor  = 1.15692
 **********
 **   18 **HESSE 
 **********

 FCN=   9110.420     FROM HESSE     STATUS=OK           310 CALLS     1411 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.917        17.385        .24883E-03   -1.5628    
   3  Prefactor     .20262E-07    11.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4884        4.6452        .42958E-03   -1.5661    
   5  Prefactor     4.5143        4.1558        .47220E-03   -1.5665    
   6  Prefactor     6.2949        11.011        .39358E-03   -1.5658    
   7  Prefactor     .27034E-07    12.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        7.2837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    36.463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3820        16.413        .54669E-03   -1.5671    
  11  Prefactor     .24857        7.2977        .97610E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .23518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        40.663        .16706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.355        8.7824        .31124E-03   -1.5644    
  15  Prefactor     3.6379        9.2541        .52823E-03   -1.5670    
  16  norm          4.6905        4.5353        .46422E-03   -1.5665    
  17  norm          14.735        9.1408        .26159E-03   -1.5631    
  18  Normalizat    .88608        .22972        .92653E-01   -.96951    
  19  Prefactor     1.1569        .10500        .35744E-01   -.87667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20156e-08
Minuit parameter uncertainties:
  1  4.79037e-07
  2  17.3847
  3  0.000966865
  4  4.6452
  5  4.15578
  6  11.0115
  7  0.00114425
  8  2.64678e-05
  9  0.000134028
  10  14.9009
  11  2.69369
  12  3.96136e-07
  13  1.02854e-05
  14  8.78246
  15  9.25416
  16  4.53526
  17  9.14082
  18  0.229972
  19  0.105017
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  3.382e+00  1.490e+01  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.157e+00  1.050e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  8.861e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 186.392 -28.863
Photon Flux Upper Limit: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/119092/likelihoodResults_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.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) = 9110.34723691
delta logL = 0.0730897135309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9110.34193354
delta logL = 0.0783930869165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3921       1.0000          .0000       .10000E+07
     2 'Index     '    1.8653       1.0000          .0000       10.000    
     3 'Normalizat'    .89128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9110.342     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      260 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3692        487.51        .36865E-03    .26626E-03
   2  Index         1.8638        2.8851        .49779       -.63819E-05
   3  Normalizat    .89120        .41874E-01    .92412E-01    .43407E-04
   4  Prefactor     1.1543        .18413E-01    .35807E-01    .99672E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.36916
  Index      = 1.86379
  Normalizat = 0.8912
  Prefactor  = 1.15432
 **********
 **   18 **HESSE 
 **********

 FCN=   9110.342     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3692        18.038        .14746E-04   -1.5654    
   2  Index         1.8638        1.1170        .11650E-01   -.67801    
   3  Normalizat    .89120        .25472        .40933E-03   -.96770    
   4  Prefactor     1.1543        .11962        .16963E-03   -.87749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33591e-11
Minuit parameter uncertainties:
  1  18.038
  2  1.13293
  3  0.255067
  4  0.11965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119092': 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) = 9110.34192424
delta logL = 0.0784023869983

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  7.369e+00  1.804e+01  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  1.864e+00  1.133e+00  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.154e+00  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  8.912e-01  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 186.392 -28.863

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/119092/cmap_HighResolution_683596801_683856001_4FGL_J1225.5-2851_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2022-09-16 16:58:42.355150', job_id='119092', GAL2='1.15', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1663372722.36', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='7.84e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1714' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:58:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 119092: <4FGL_J1225.5-2851_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1714> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:17 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:46:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:46:15 2022
Terminated at Fri Sep 16 16:58:43 2022
Results reported at Fri Sep 16 16:58:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1714 186.392 -28.8625 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.5-2851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             381.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            806 sec.

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

