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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1762
RA = 186.392, Dec = -28.8625
tmin = 696038401, tmax = 696297601
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='109098', job_status='RUN', time_executed='2023-01-25 00:56:06.886435', time_epoch_executed='1674636966.89' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109098/ft1_4FGL_J1225.5-2851_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109098/ft1_4FGL_J1225.5-2851_daily_bin1762.fits outfile=/scratch/kocevski/109098/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1762.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=696038401.0 tmax=696297601.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.59
user 2.85
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.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/109098/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.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.44
user 0.28
sys 0.16

Number of photons that the gtmktime cut: 1217

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/109098/ltcube_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.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/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits
.....................!
real 12.39
user 10.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/109098/ltcube_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits outfile=/scratch/kocevski/109098/expmap_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.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/109098/ltcube_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits
.....................!
real 158.82
user 151.46
sys 4.24

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/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits outfile=/scratch/kocevski/109098/cmap_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.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.49
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits outfile=/scratch/kocevski/109098/cmap_HighResolution_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.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.49
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/109098/Model_4FGL_J1225.5-2851_daily_bin1762.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/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits.....................!
real 177.82
user 174.02
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits', '/scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits', expMap='/scratch/kocevski/109098/expmap_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits', expCube='/scratch/kocevski/109098/ltcube_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/109098/Model_4FGL_J1225.5-2851_daily_bin1762.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/109098/ft1_filtered_4FGL_J1225.5-2851_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/109098/ft2_4FGL_J1225.5-2851_daily_bin1762.fits
Exposure map: /scratch/kocevski/109098/expmap_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits
Exposure cube: /scratch/kocevski/109098/ltcube_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/109098/Model_4FGL_J1225.5-2851_daily_bin1762.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) = 12587.8476943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61107       1.0000          .0000       .10000E+07
     2 'norm      '    8.2767       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7660       1.0000          .0000       .10000E+07
     4 'norm      '    3.9932       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.264       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9848       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10409E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .32697E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26161E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .66819E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .23260E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .81608       1.0000          .0000       .10000E+07
    13 'Prefactor '    32.743       1.0000          .0000       .10000E+07
    14 'norm      '    1.4576       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2978       1.0000          .0000       .10000E+07
    16 'norm      '    1.3567       1.0000          .0000       .10000E+07
    17 'norm      '    6.8075       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3066       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87486       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=   12587.80     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1391 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61104        4.3020        .34271E-06    .30434E-03
   2  norm          8.3020        1.1632       -.42523E-09   -.28662E-01
   3  Prefactor     1.8078        13.343       -.15372E-05    .10809E-02
   4  norm          3.9868        3.9306        .18116E-07    .12598E-02
   5  Prefactor     11.261        4.6575       -.12083E-07    .52351E-03
   6  Prefactor     4.8633        7.1969       -.18523E-06   -.58382E-03
   7  Prefactor     .55511E-10    27.816       -.81969E-07** at limit **
   8  Prefactor     .11102E-09    8.9762       -.11588E-06** at limit **
   9  Prefactor     .16653E-09    20.286        .69198E-06** at limit **
  10  Prefactor      .0000        4.8317        .13294E-06** at limit **
  11  Prefactor     .11102E-09    11.973       -.69643E-06** at limit **
  12  norm          .81454        .55846       -.71233E-07   -.14284E-02
  13  Prefactor     37.794        50.320       -.16730E-05   -.13840E-03
  14  norm          1.3545        3.1953        .32815E-06   -.37523E-03
  15  Prefactor     2.2782        2.9671        .42082E-07    .38718E-03
  16  norm          1.3586        2.3129        .16091E-07    .19087E-03
  17  norm          6.8348        5.7188       -.54033E-08   -.58084E-03
  18  Normalizat    1.3050        .20932        .18909E-05    .10037E-04
  19  Prefactor     .87503        .93692E-01   -.62268E-06   -.14026E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.611042
  norm       = 8.30199
  Prefactor  = 1.80784
  norm       = 3.98684
  Prefactor  = 11.2608
  Prefactor  = 4.86331
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 0.81454
  Prefactor  = 37.7938
  norm       = 1.35451
  Prefactor  = 2.27824
  norm       = 1.35865
  norm       = 6.8348
  Normalizat = 1.30504
  Prefactor  = 0.87503
 **********
 **   18 **HESSE 
 **********

 FCN=   12587.80     FROM HESSE     STATUS=OK           312 CALLS     1703 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61104        4.2351        .68242E-03   -1.5692    
   2  norm          8.3020        15.996        .34823E-03   -1.5650    
   3  Prefactor     1.8078        15.248        .78792E-03   -1.5681    
   4  norm          3.9868        4.1854        .50446E-03   -1.5668    
   5  Prefactor     11.261        4.6590        .29825E-03   -1.5641    
   6  Prefactor     4.8633        7.2282        .45019E-03   -1.5664    
   7  Prefactor     .55511E-10    27.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.9655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    20.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.8499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    11.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .81454        .56081        .51744E-03   -1.5690    
  13  Prefactor     37.794        50.797        .17478E-03   -1.5585    
  14  norm          1.3545        3.3350        .89123E-03   -1.5685    
  15  Prefactor     2.2782        3.0276        .67677E-03   -1.5678    
  16  norm          1.3586        2.3519        .93789E-03   -1.5685    
  17  norm          6.8348        5.7225        .38432E-03   -1.5656    
  18  Normalizat    1.3050        .17548        .73077E-01   -.83416    
  19  Prefactor     .87503        .78310E-01    .44684E-01   -.97019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52109e-08
Minuit parameter uncertainties:
  1  3.21733
  2  15.9957
  3  10.5008
  4  4.1854
  5  4.65899
  6  7.22823
  7  6.03432e-05
  8  6.23325e-05
  9  0.000119657
  10  1.23876e-05
  11  8.06837e-05
  12  0.560811
  13  50.7972
  14  3.33498
  15  3.0276
  16  2.35188
  17  5.72254
  18  0.175562
  19  0.0783204
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  0.000e+00  1.239e-05  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:  8.750e-01  7.832e-02  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:  1.305e+00  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/109098/likelihoodResults_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.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) = 12587.7996712
delta logL = -0.000192335399333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12587.7994794
delta logL = -4.95561835123e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10187E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.3018       1.0000          .0000       10.000    
     3 'Normalizat'    1.3049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87509       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=   12587.80     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      265 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .72694E-02    .42118E-03** at limit **
   2  Index         3.2145        7.5914        .50000        .36380E-09
   3  Normalizat    1.3050        .26537E-03    .73078E-01   -.84283E-03
   4  Prefactor     .87503        .12182E-03    .44687E-01   -.44733E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 3.21453
  Normalizat = 1.30503
  Prefactor  = 0.875033
 **********
 **   18 **HESSE 
 **********

 FCN=   12587.80     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .51898E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2145        6.1564        .50000       -.36515    
   3  Normalizat    1.3050        .70701E-03    .32338E-03   -.83416    
   4  Prefactor     .87503        .32487E-03    .17629E-03   -.97019    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.60879e-12
Minuit parameter uncertainties:
  1  7.00151e-06
  2  5290.51
  3  0.000707011
  4  0.00032487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109098': 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) = 12587.7994789
delta logL = -8.45830072649e-10

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.220e-10  7.002e-06  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  3.215e+00  5.291e+03  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:  8.750e-01  3.249e-04  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:  1.305e+00  7.070e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/109098/cmap_HighResolution_696038401_696297601_4FGL_J1225.5-2851_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2023-01-25 01:08:48.984534', job_id='109098', GAL2='0.88', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1674637728.98', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-8.46e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1762' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:08:49 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 109098: <4FGL_J1225.5-2851_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1762> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jan 25 00:55:17 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:55:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:55:48 2023
Terminated at Wed Jan 25 01:08:49 2023
Results reported at Wed Jan 25 01:08:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1762 186.392 -28.8625 696038401 696297601 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 :                                   752.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             382.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            812 sec.

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

