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 26 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_J1125.9+2005_daily_bin1762
RA = 171.491, Dec = 20.0912
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='107776', job_status='RUN', time_executed='2023-01-25 00:52:04.658120', time_epoch_executed='1674636724.66' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107776

Creating custom pfile directory:
/scratch/kocevski/107776/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/107776/ft1_4FGL_J1125.9+2005_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/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107776/ft1_4FGL_J1125.9+2005_daily_bin1762.fits outfile=/scratch/kocevski/107776/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1762.fits ra=171.491 dec=20.0912 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.68
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_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/107776/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_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.53
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107776/ltcube_696038401_696297601_4FGL_J1125.9+2005_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/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits
.....................!
real 12.99
user 12.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107776/ltcube_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits outfile=/scratch/kocevski/107776/expmap_696038401_696297601_4FGL_J1125.9+2005_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/107776/ltcube_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits
.....................!
real 192.72
user 185.56
sys 5.75

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/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits outfile=/scratch/kocevski/107776/cmap_696038401_696297601_4FGL_J1125.9+2005_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=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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits outfile=/scratch/kocevski/107776/cmap_HighResolution_696038401_696297601_4FGL_J1125.9+2005_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=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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107776/Model_4FGL_J1125.9+2005_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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits.....................!
real 66.88
user 64.61
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits', '/scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits', expMap='/scratch/kocevski/107776/expmap_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits', expCube='/scratch/kocevski/107776/ltcube_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107776/Model_4FGL_J1125.9+2005_daily_bin1762.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/107776/ft1_filtered_4FGL_J1125.9+2005_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107776/ft2_4FGL_J1125.9+2005_daily_bin1762.fits
Exposure map: /scratch/kocevski/107776/expmap_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107776/ltcube_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107776/Model_4FGL_J1125.9+2005_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) = 7163.73593997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29216E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .29687E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.310       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.022       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.458       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0499       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15405E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.4486       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59472       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9651       1.0000          .0000       .10000E+07
    11 'norm      '    9.2575       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32856E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .64517E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .83472E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.276       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.0999       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.1587       1.0000          .0000       .10000E+07
    18 'norm      '    53.740       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.4081       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15958E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .47340E-06   1.0000          .0000       .10000E+07
    22 'Normalizat'    .77453       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3052       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=   7163.719     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1908 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32752E-08    3.8821        .56949E-06** at limit **
   2  Prefactor     .55511E-10    2.0936        .36217E-07** at limit **
   3  Prefactor     17.334        4.1668        .70445E-06   -.10589E-01
   4  Prefactor     10.945        9.3628       -.23540E-05   -.64971E-01
   5  Prefactor     20.412        8.6432        .12618E-05   -.15199E-01
   6  Prefactor     .97446        15.502       -.11698E-05   -.21997E-02
   7  Prefactor     .68834E-08    48.000        .30305E-06** at limit **
   8  norm          1.4491        1.2635       -.26144E-06   -.41324E-02
   9  Prefactor     .59686        3.8441        .67559E-06   -.15934E-02
  10  Prefactor     4.9886        6.0954        .53353E-07    .15180E-02
  11  norm          9.2238        9.9173        .11430E-05   -.25441E-01
  12  Prefactor     .10547E-08    4.1376       -.93177E-06** at limit **
  13  Prefactor     .30775E-06    19.790       -.37685E-05** at limit **
  14  Prefactor     .51048E-06    22.114        .63309E-05** at limit **
  15  Prefactor     18.347        1.6036       -.28233E-06    .85156E-02
  16  Prefactor     9.0684        8.1103        .20043E-05    .12002E-01
  17  Prefactor     2.1585        2.5825       -.84587E-07   -.42365E-02
  18  norm          53.668        5.4246        .79857E-07    .96133E-02
  19  Prefactor     6.4701        1.4132       -.24218E-06    .88578E-02
  20  Prefactor     .51070E-08    13.581       -.41082E-06** at limit **
  21  Prefactor     .55511E-10    1.1123        .91570E-07** at limit **
  22  Normalizat    .77490        .22603       -.92392E-05   -.14511E-03
  23  Prefactor     1.3053        .23017        .48031E-05   -.19744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.27516e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 17.3335
  Prefactor  = 10.9446
  Prefactor  = 20.4117
  Prefactor  = 0.974465
  Prefactor  = 6.88338e-09
  norm       = 1.44911
  Prefactor  = 0.596863
  Prefactor  = 4.98859
  norm       = 9.2238
  Prefactor  = 1.05471e-09
  Prefactor  = 3.07754e-07
  Prefactor  = 5.10481e-07
  Prefactor  = 18.3475
  Prefactor  = 9.06835
  Prefactor  = 2.15847
  norm       = 53.6681
  Prefactor  = 6.47013
  Prefactor  = 5.10703e-09
  Prefactor  = 5.55112e-11
  Normalizat = 0.774898
  Prefactor  = 1.30533
 **********
 **   18 **HESSE 
 **********

 FCN=   7163.719     FROM HESSE     STATUS=OK           430 CALLS     2338 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32752E-08    3.9470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    2.0757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.334        8.9764        .24046E-03   -1.5625    
   4  Prefactor     10.945        15.532        .30153E-03   -1.5642    
   5  Prefactor     20.412        17.559        .22116E-03   -1.5618    
   6  Prefactor     .97446        16.235        .12084E-02   -1.5688    
   7  Prefactor     .68834E-08    48.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4491        1.2794        .89503E-03   -1.5684    
   9  Prefactor     .59686        4.0800        .69703E-03   -1.5693    
  10  Prefactor     4.9886        6.1012        .45110E-03   -1.5663    
  11  norm          9.2238        11.346        .32915E-03   -1.5647    
  12  Prefactor     .10547E-08    4.1655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .30775E-06    23.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51048E-06    27.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.347        26.685        .23400E-03   -1.5622    
  16  Prefactor     9.0684        8.9853        .33200E-03   -1.5648    
  17  Prefactor     2.1585        2.7573        .70085E-03   -1.5679    
  18  norm          53.668        5.5199        .13642E-03   -1.5561    
  19  Prefactor     6.4701        12.192        .39625E-03   -1.5657    
  20  Prefactor     .51070E-08    1.9660        .67693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    1.1081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .77490        .19774        .73829E-01   -1.0101    
  23  Prefactor     1.3053        .19365        .61209E-01   -.83149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87446e-06
Minuit parameter uncertainties:
  1  0.00022716
  2  1.81414e-05
  3  8.9764
  4  15.5325
  5  17.5586
  6  7.9551
  7  0.00115019
  8  1.27935
  9  3.12103
  10  6.10125
  11  11.346
  12  0.000132168
  13  0.00534683
  14  0.00745339
  15  26.6848
  16  8.98533
  17  2.75731
  18  5.51994
  19  12.1923
  20  0.00020051
  21  1.16989e-05
  22  0.197927
  23  0.193752
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.055e-09  1.322e-04  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:  1.305e+00  1.938e-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:  7.749e-01  1.979e-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: 5.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107776/likelihoodResults_696038401_696297601_4FGL_J1125.9+2005_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) = 7163.72125751
delta logL = -0.00234412106965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7163.71891347
delta logL = -7.90887497715e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18469E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.5031       1.0000          .0000       10.000    
     3 'Normalizat'    .77490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3054       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=   7163.719     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      251 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    .19727        .42118E-03** at limit **
   2  Index         .64205        8.4776        .23524       -.28030E-08
   3  Normalizat    .77490        .20967E-02    .73828E-01   -.49393E-03
   4  Prefactor     1.3053        .22026E-02    .61209E-01   -.94217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Index      = 0.642053
  Normalizat = 0.774901
  Prefactor  = 1.30532
 **********
 **   18 **HESSE 
 **********

 FCN=   7163.719     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      278 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    1.5158        .82190E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64205        5.3201        .50000       -1.0584    
   3  Normalizat    .77490        .58062E-02    .32678E-03   -1.0101    
   4  Prefactor     1.3053        .61083E-02    .27068E-03   -.83149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.54961e-09
Minuit parameter uncertainties:
  1  7.34808e-05
  2  31635.5
  3  0.00580619
  4  0.00610827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107776': 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) = 7163.71891339
delta logL = -8.74024408404e-10

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  8.882e-10  7.348e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  6.421e-01  3.164e+04  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:  1.305e+00  6.108e-03  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:  7.749e-01  5.806e-03  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/107776/cmap_HighResolution_696038401_696297601_4FGL_J1125.9+2005_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2023-01-25 01:03:23.894614', job_id='107776', GAL2='1.31', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1674637403.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='-8.74e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1762' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:03:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 107776: <4FGL_J1125.9+2005_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:19 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:29 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:51:29 2023
Terminated at Wed Jan 25 01:03:24 2023
Results reported at Wed Jan 25 01:03:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1762 171.491 20.0912 696038401 696297601 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 :                                   679.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            785 sec.

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

