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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1746
RA = 171.491, Dec = 20.0912
tmin = 691891201, tmax = 692150401
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='722623', job_status='RUN', time_executed='2022-12-08 00:48:33.044689', time_epoch_executed='1670489313.04' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722623

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722623/ft1_4FGL_J1125.9+2005_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722623/ft1_4FGL_J1125.9+2005_daily_bin1746.fits outfile=/scratch/kocevski/722623/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1746.fits ra=171.491 dec=20.0912 rad=12.0 tmin=691891201.0 tmax=692150401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.71
user 4.43
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.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/722623/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.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.32
sys 0.17

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/722623/ltcube_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.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/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits
.....................!
real 12.17
user 11.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722623/ltcube_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits outfile=/scratch/kocevski/722623/expmap_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.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/722623/ltcube_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits
.....................!
real 191.78
user 185.83
sys 5.41

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1125.9+2005 @ 171.491 20.0912

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits outfile=/scratch/kocevski/722623/cmap_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.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=171.491 yref=20.0912 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits outfile=/scratch/kocevski/722623/cmap_HighResolution_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.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=171.491 yref=20.0912 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/722623/Model_4FGL_J1125.9+2005_daily_bin1746.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/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits.....................!
real 63.91
user 62.45
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits', '/scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits', expMap='/scratch/kocevski/722623/expmap_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits', expCube='/scratch/kocevski/722623/ltcube_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/722623/Model_4FGL_J1125.9+2005_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.9+2005'

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/722623/ft1_filtered_4FGL_J1125.9+2005_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/722623/ft2_4FGL_J1125.9+2005_daily_bin1746.fits
Exposure map: /scratch/kocevski/722623/expmap_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits
Exposure cube: /scratch/kocevski/722623/ltcube_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/722623/Model_4FGL_J1125.9+2005_daily_bin1746.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) = 6860.5599221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53716E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .54401E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.217       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.8253       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.576       1.0000          .0000       .10000E+07
     6 'Prefactor '    .76937E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24388E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .57194       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.6023       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4992       1.0000          .0000       .10000E+07
    11 'norm      '    13.097       1.0000          .0000       .10000E+07
    12 'Prefactor '    .77760E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11088E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19040E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    22.271       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0333       1.0000          .0000       .10000E+07
    17 'Prefactor '    .59230E-07   1.0000          .0000       .10000E+07
    18 'norm      '    21.328       1.0000          .0000       .10000E+07
    19 'Prefactor '    .82891E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16970E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .51407       1.0000          .0000       .10000E+07
    22 'Normalizat'    .93484       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95595       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6860.552     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1903 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57065E-07    17.254       -.19772E-06** at limit **
   2  Prefactor      .0000        .74812       -.37539E-08** at limit **
   3  Prefactor     16.193        7.3451        .59093E-07    .48102E-01
   4  Prefactor     9.7788        4.9835        .48224E-07   -.56308E-01
   5  Prefactor     12.594        6.7704       -.50865E-07    .25736E-01
   6  Prefactor     .43854E-08    15.076       -.16736E-10** at limit **
   7  Prefactor     .51562E-05    56.837        .42051E-06** at limit **
   8  norm          .57193        .95946       -.10702E-07   -.13547E-03
   9  Prefactor     7.6033        3.6762        .31122E-07    .75087E-02
  10  Prefactor     2.5159        7.5135       -.13029E-06    .99270E-02
  11  norm          13.168        8.9913        .41481E-07    .11298    
  12  Prefactor     .22204E-09    2.7066        .37676E-07** at limit **
  13  Prefactor     .11846E-06    3.4488        .42616E-07** at limit **
  14  Prefactor     .12557E-06    3.3311       -.16906E-07** at limit **
  15  Prefactor     22.172        2.6424       -.15475E-07   -.78379E-01
  16  Prefactor     4.0259        4.3480       -.18269E-07   -.33650E-03
  17  Prefactor      .0000        1.0641       -.40399E-07** at limit **
  18  norm          21.332        3.4415        .14185E-07    .12456E-01
  19  Prefactor     .19429E-08    201.37       -.22614E-05** at limit **
  20  Prefactor      .0000        3.0866       -.75863E-07** at limit **
  21  Prefactor     .51562        1.2531        .32060E-07    .29251E-02
  22  Normalizat    .93506        .19875        .35139E-05    .43551E-03
  23  Prefactor     .95574        .19513       -.18357E-05    .27651E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.70655e-08
  Prefactor  = 0
  Prefactor  = 16.1932
  Prefactor  = 9.77882
  Prefactor  = 12.5936
  Prefactor  = 4.38538e-09
  Prefactor  = 5.15621e-06
  norm       = 0.571929
  Prefactor  = 7.6033
  Prefactor  = 2.5159
  norm       = 13.168
  Prefactor  = 2.22045e-10
  Prefactor  = 1.18461e-07
  Prefactor  = 1.25566e-07
  Prefactor  = 22.1718
  Prefactor  = 4.02593
  Prefactor  = 0
  norm       = 21.3322
  Prefactor  = 1.94289e-09
  Prefactor  = 0
  Prefactor  = 0.515622
  Normalizat = 0.935061
  Prefactor  = 0.955741
 **********
 **   18 **HESSE 
 **********

 FCN=   6860.552     FROM HESSE     STATUS=OK           432 CALLS     2335 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57065E-07    17.526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .75271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.193        7.7263        .24844E-03   -1.5627    
   4  Prefactor     9.7788        10.372        .31944E-03   -1.5645    
   5  Prefactor     12.594        12.837        .28221E-03   -1.5637    
   6  Prefactor     .43854E-08    15.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51562E-05    9.2553        .13097E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .57193        .98429        .71780E-03   -1.5693    
   9  Prefactor     7.6033        3.6790        .36348E-03   -1.5653    
  10  Prefactor     2.5159        7.6383        .64620E-03   -1.5676    
  11  norm          13.168        12.230        .27653E-03   -1.5635    
  12  Prefactor     .22204E-09    2.7835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11846E-06    3.8814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12557E-06    3.8369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.172        22.679        .21196E-03   -1.5614    
  16  Prefactor     4.0259        4.3649        .50187E-03   -1.5668    
  17  Prefactor      .0000        1.0644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.332        3.5260        .21659E-03   -1.5616    
  19  Prefactor     .19429E-08    8.9775        .78944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.2448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .51562        1.3931        .32805E-02   -1.5694    
  22  Normalizat    .93506        .17981        .45345E-01   -.95239    
  23  Prefactor     .95574        .17108        .45714E-01   -.94220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1215e-07
Minuit parameter uncertainties:
  1  0.00200041
  2  3.52923e-06
  3  7.72627
  4  10.3724
  5  12.8373
  6  0.000517168
  7  0.0138163
  8  0.984294
  9  3.67898
  10  7.63831
  11  12.2296
  12  4.90746e-05
  13  0.00135619
  14  0.00138813
  15  22.6794
  16  4.36487
  17  4.31698e-06
  18  3.52595
  19  0.000264727
  20  4.47467e-06
  21  1.39311
  22  0.179924
  23  0.171177
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.220e-10  4.907e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  9.557e-01  1.712e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  9.351e-01  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 4.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/722623/likelihoodResults_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.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) = 6860.55306496
delta logL = -0.00130985340456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6860.55175669
delta logL = -1.59119645105e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30115E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .99255       1.0000          .0000       10.000    
     3 'Normalizat'    .93477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6860.552     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      265 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    .30660E-02    .42118E-03** at limit **
   2  Index         3.3294        7.8186        .46174        .48012E-08
   3  Normalizat    .93506        .29262E-03    .45344E-01   -.64817E-03
   4  Prefactor     .95574        .30303E-03    .45716E-01   -.69244E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Index      = 3.32942
  Normalizat = 0.935059
  Prefactor  = 0.955741
 **********
 **   18 **HESSE 
 **********

 FCN=   6860.552     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    .23742E-01    .63846E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3294        6.1021        .50000       -.34067    
   3  Normalizat    .93506        .81230E-03    .26073E-03   -.95239    
   4  Prefactor     .95574        .84126E-03    .26594E-03   -.94220    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16799e-11
Minuit parameter uncertainties:
  1  8.21257e-06
  2  1252.66
  3  0.000812299
  4  0.000841263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722623': 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) = 6860.5517551
delta logL = -6.90306478646e-10

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  7.216e-10  8.213e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.329e+00  1.253e+03  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  9.557e-01  8.413e-04  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  9.351e-01  8.123e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 171.491 20.091

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/722623/cmap_HighResolution_691891201_692150401_4FGL_J1125.9+2005_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2022-12-08 00:59:34.636523', job_id='722623', GAL2='0.96', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1670489974.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.90e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1746' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:59:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 722623: <4FGL_J1125.9+2005_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:13 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:14 2022
Terminated at Thu Dec  8 00:59:35 2022
Results reported at Thu Dec  8 00:59:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1746 171.491 20.0912 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.9+2005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

