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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1776
RA = 186.392, Dec = -28.8625
tmin = 699667201, tmax = 699926401
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='832550', job_status='RUN', time_executed='2023-03-08 00:38:36.405955', time_epoch_executed='1678264716.41' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832550

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832550/ft1_4FGL_J1225.5-2851_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832550/ft1_4FGL_J1225.5-2851_daily_bin1776.fits outfile=/scratch/kocevski/832550/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1776.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.67
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.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/832550/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 897

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832550/ltcube_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.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/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits
.....................!
real 12.00
user 11.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832550/ltcube_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.fits outfile=/scratch/kocevski/832550/expmap_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.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/832550/ltcube_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.fits
.....................!
real 189.97
user 185.65
sys 4.00

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/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits outfile=/scratch/kocevski/832550/cmap_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits outfile=/scratch/kocevski/832550/cmap_HighResolution_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832550/ft2_4FGL_J1225.5-2851_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832550/Model_4FGL_J1225.5-2851_daily_bin1776.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/832550/ft1_filtered_4FGL_J1225.5-2851_daily_bin1776.fits.....................!
real 156.45
user 155.02
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4965       1.0000          .0000       .10000E+07
     2 'norm      '    28.124       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18731E-02   1.0000          .0000       .10000E+07
     4 'norm      '    11.340       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22766E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .89738       1.0000          .0000       .10000E+07
     7 'Prefactor '    55.992       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74288E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .98790E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.947       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.620       1.0000          .0000       .10000E+07
    12 'norm      '    1.0581       1.0000          .0000       .10000E+07
    13 'Prefactor '    71.875       1.0000          .0000       .10000E+07
    14 'norm      '    12.510       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58220E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .85650E-04   1.0000          .0000       .10000E+07
    17 'norm      '    2.9921       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2595       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94481       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=   9421.627     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1420 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5421        5.2411        .61484E-07    .21919E-03
   2  norm          28.405        15.042        .44176E-05   -.35604E-01
   3  Prefactor     .11102E-09    5.3164        .25111E-06** at limit **
   4  norm          11.259        4.7857       -.11179E-06    .21647E-03
   5  Prefactor      .0000        6.1015       -.20952E-05** at limit **
   6  Prefactor     .90195        11.368       -.10863E-04    .72393E-02
   7  Prefactor     56.761        31.574       -.15780E-05   -.31865E-02
   8  Prefactor     .73275E-08    6.9899        .46109E-06** at limit **
   9  Prefactor     .18319E-08    21.156        .91884E-06** at limit **
  10  Prefactor     21.925        6.6489       -.20611E-05   -.49467E-01
  11  Prefactor     23.612        4.0495        .98171E-06    .12075    
  12  norm          1.0577        .81489        .31943E-07    .18130E-02
  13  Prefactor     74.722        67.690        .97073E-06    .94045E-03
  14  norm          12.434        6.5821       -.18530E-06   -.91854E-04
  15  Prefactor      .0000        2.6834       -.34546E-06** at limit **
  16  norm          .16653E-07    7.0960        .10504E-05** at limit **
  17  norm          2.9896        3.9716        .38186E-06   -.16914E-02
  18  Normalizat    1.2582        .27134        .27192E-05   -.40874E-04
  19  Prefactor     .94486        .11963        .13746E-05   -.78899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.5421
  norm       = 28.4053
  Prefactor  = 1.11022e-10
  norm       = 11.2592
  Prefactor  = 0
  Prefactor  = 0.901949
  Prefactor  = 56.7611
  Prefactor  = 7.32747e-09
  Prefactor  = 1.83187e-09
  Prefactor  = 21.9253
  Prefactor  = 23.6117
  norm       = 1.05772
  Prefactor  = 74.7221
  norm       = 12.4342
  Prefactor  = 0
  norm       = 1.66533e-08
  norm       = 2.98961
  Normalizat = 1.25818
  Prefactor  = 0.944862
 **********
 **   18 **HESSE 
 **********

 FCN=   9421.627     FROM HESSE     STATUS=OK           310 CALLS     1730 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5421        5.2482        .36605E-03   -1.5653    
   2  norm          28.405        23.801        .18860E-03   -1.5601    
   3  Prefactor     .11102E-09    5.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.259        4.7868        .29725E-03   -1.5641    
   5  Prefactor      .0000        6.0810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .90195        27.733        .45941E-03   -1.5689    
   7  Prefactor     56.761        31.610        .13365E-03   -1.5557    
   8  Prefactor     .73275E-08    7.0632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18319E-08    21.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.925        18.380        .21352E-03   -1.5614    
  11  Prefactor     23.612        12.837        .20581E-03   -1.5611    
  12  norm          1.0577        .83357        .11936E-02   -1.5687    
  13  Prefactor     74.722        67.662        .11796E-03   -1.5535    
  14  norm          12.434        6.5975        .28296E-03   -1.5637    
  15  Prefactor      .0000        2.6736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-07    7.1466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9896        3.9841        .58661E-03   -1.5673    
  18  Normalizat    1.2582        .22732        .81539E-01   -.84823    
  19  Prefactor     .94486        .99592E-01    .45574E-01   -.94591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84102e-07
Minuit parameter uncertainties:
  1  5.24816
  2  23.8006
  3  4.51313e-05
  4  4.78677
  5  5.63382e-06
  6  10.0028
  7  31.6105
  8  0.000454462
  9  0.000394157
  10  18.3799
  11  12.8372
  12  0.833574
  13  67.6625
  14  6.59751
  15  5.64104e-06
  16  0.000689767
  17  3.98406
  18  0.2275
  19  0.0996111
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.193e+01  1.838e+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:  9.449e-01  9.961e-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.258e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.43
Ra Dec: 186.392 -28.863
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.45e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.17e-05

TS (Fixed Index): 2.43
Ra Dec: 186.392 -28.863
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832550/likelihoodResults_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.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) = 9421.29255643
delta logL = 0.334839705227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9421.25441402
delta logL = 0.372982120178

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.639       1.0000          .0000       .10000E+07
     2 'Index     '    1.8935       1.0000          .0000       10.000    
     3 'Normalizat'    1.2825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93761       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9421.254     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      272 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.641        24.984        .72274E-05   -.65682E-02
   2  Index         1.8936        .55753        .99440E-02   -.27057E-03
   3  Normalizat    1.2825        .26553        .35803E-03    .15102E-03
   4  Prefactor     .93760        .11924        .18368E-03    .33760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.6406
  Index      = 1.89359
  Normalizat = 1.2825
  Prefactor  = 0.937605
 **********
 **   18 **HESSE 
 **********

 FCN=   9421.254     FROM HESSE     STATUS=OK            23 CALLS      295 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.641        24.993        .14455E-05   -1.5597    
   2  Index         1.8936        .55776        .39776E-03   -.67038    
   3  Normalizat    1.2825        .26572        .14321E-04   -.84090    
   4  Prefactor     .93760        .11934        .36736E-04   -.94839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5542e-09
Minuit parameter uncertainties:
  1  24.9935
  2  0.55966
  3  0.266005
  4  0.119375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832550': 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) = 9421.254414
delta logL = 0.372982141727

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  3.064e+01  2.499e+01  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  1.894e+00  5.597e-01  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:  9.376e-01  1.194e-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:  1.283e+00  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 186.392 -28.863
Photon Index (Free Index): 1.89 +/- 0.56
Photon Flux (Free Index): 2.83e-08 +/- 3.05e-08
Energy Flux (Free Index): 2.58e-05 +/- 3.02e-05

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/832550/cmap_HighResolution_699667201_699926401_4FGL_J1225.5-2851_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='4.45e-08', energy_flux2='2.58e-05', photon_flux_error='3.72e-08', dlogl='3.73e-01', energy_flux='1.40e-05', photon_flux2='2.83e-08', job_status='DONE', time_completed='2023-03-08 00:51:10.457371', photon_index_error2='0.56', photon_index2='1.89', ts='2.43', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='3.02e-05', EG='1.26', time_epoch_completed='1678265470.46', return_code='0', job_id='832550', GAL2='0.94', EG2='1.28', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.05e-08', ts2='3.18', photon_index='2.43' WHERE bin_id='1776' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:51:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 832550: <4FGL_J1225.5-2851_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:27 2023
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:28 2023
Terminated at Wed Mar  8 00:51:11 2023
Results reported at Wed Mar  8 00:51:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1776 186.392 -28.8625 699667201 699926401 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 :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

