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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1750
RA = 171.491, Dec = 20.0912
tmin = 692928001, tmax = 693187201
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='6812', job_status='RUN', time_executed='2022-12-20 00:36:19.668076', time_epoch_executed='1671525379.67' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6812/ft1_4FGL_J1125.9+2005_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6812/ft1_4FGL_J1125.9+2005_daily_bin1750.fits outfile=/scratch/kocevski/6812/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1750.fits ra=171.491 dec=20.0912 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.21
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.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/6812/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/6812/ft1_filtered_4FGL_J1125.9+2005_daily_bin1750.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.57
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6812/ft1_filtered_4FGL_J1125.9+2005_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/6812/ltcube_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.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/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits
.....................!
real 12.18
user 11.74
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6812/ft1_filtered_4FGL_J1125.9+2005_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6812/ltcube_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.fits outfile=/scratch/kocevski/6812/expmap_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.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/6812/ltcube_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.fits
.....................!
real 192.03
user 185.84
sys 5.57

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/6812/ft1_filtered_4FGL_J1125.9+2005_daily_bin1750.fits scfile=/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits outfile=/scratch/kocevski/6812/cmap_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6812/ft1_filtered_4FGL_J1125.9+2005_daily_bin1750.fits scfile=/scratch/kocevski/6812/ft2_4FGL_J1125.9+2005_daily_bin1750.fits outfile=/scratch/kocevski/6812/cmap_HighResolution_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3210       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8732       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.863       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40042       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2204       1.0000          .0000       .10000E+07
     6 'Prefactor '    .99206E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14919E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .73876E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22217       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30448E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.6317       1.0000          .0000       .10000E+07
    12 'Prefactor '    .83600E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .90875E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42022E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.2694       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.6734       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20780       1.0000          .0000       .10000E+07
    18 'norm      '    29.055       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.8131       1.0000          .0000       .10000E+07
    20 'Prefactor '    .46826E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .38947E-06   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0388       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0502       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=   6628.624     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1455 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3273        5.5294        .25247E-06    .21348E-02
   2  Prefactor     2.8741        2.0541        .10819E-06   -.89481E-03
   3  Prefactor     22.851        1.6397       -.71449E-07   -.91575E-01
   4  Prefactor     .25517        4.1457        .35275E-06    .16790E-01
   5  Prefactor     4.4104        8.3318        .37078E-06    .14650E-01
   6  Prefactor     .24147E-07    8.4130       -.16299E-05** at limit **
   7  Prefactor     .13878E-08    19.353        .84501E-06** at limit **
   8  norm           .0000        1.2839       -.11405E-06** at limit **
   9  Prefactor     .19755        6.0363       -.21916E-05** at limit **
  10  Prefactor      .0000        1.7191        .10193E-05** at limit **
  11  norm          2.5899        1.3392       -.14167E-06   -.55677E-02
  12  Prefactor      .0000        2.4897       -.35155E-06** at limit **
  13  Prefactor     .17319E-07    12.992        .56393E-06** at limit **
  14  Prefactor     .78826E-08    6.1156        .12643E-05** at limit **
  15  Prefactor     5.4896        1.1567        .52957E-07   -.86546E-03
  16  Prefactor     8.7089        3.2405        .47986E-07    .14208    
  17  Prefactor     .20810        .87252        .75127E-07** at limit **
  18  norm          29.048        3.8953        .10624E-06    .72167E-02
  19  Prefactor     4.3000        1.8526       -.11051E-06    .95883E-02
  20  Prefactor      .0000        1.1259       -.24903E-06** at limit **
  21  Prefactor      .0000        .53431        .23313E-06** at limit **
  22  Normalizat    1.0391        .21026       -.78925E-05    .52266E-04
  23  Prefactor     1.0495        .21923        .13920E-04    .13417E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.32725
  Prefactor  = 2.87409
  Prefactor  = 22.8509
  Prefactor  = 0.255174
  Prefactor  = 4.41036
  Prefactor  = 2.41474e-08
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 0.197553
  Prefactor  = 0
  norm       = 2.58995
  Prefactor  = 0
  Prefactor  = 1.73195e-08
  Prefactor  = 7.88258e-09
  Prefactor  = 5.48964
  Prefactor  = 8.70888
  Prefactor  = 0.208102
  norm       = 29.0478
  Prefactor  = 4.29996
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.03914
  Prefactor  = 1.04945
 **********
 **   18 **HESSE 
 **********

 FCN=   6628.624     FROM HESSE     STATUS=OK           428 CALLS     1883 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3273        5.5627        .55522E-03   -1.5671    
   2  Prefactor     2.8741        2.0678        .59940E-03   -1.5674    
   3  Prefactor     22.851        10.779        .20919E-03   -1.5612    
   4  Prefactor     .25517        6.7603        .89438E-02   -1.5698    
   5  Prefactor     4.4104        12.826        .49027E-03   -1.5666    
   6  Prefactor     .24147E-07    8.5413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13878E-08    19.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.2635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19755        1.3518        .51643E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5899        16.100        .62833E-03   -1.5676    
  12  Prefactor      .0000        2.5070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17319E-07    13.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .78826E-08    6.1871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4896        16.108        .43762E-03   -1.5661    
  16  Prefactor     8.7089        9.0761        .34012E-03   -1.5649    
  17  Prefactor     .20810        .73508        .34797E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          29.048        3.9535        .18555E-03   -1.5600    
  19  Prefactor     4.3000        24.135        .51665E-03   -1.5666    
  20  Prefactor      .0000        1.1253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .53373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0391        .19059        .41374E-01   -.91731    
  23  Prefactor     1.0495        .18772        .61926E-01   -.91099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63493e-07
Minuit parameter uncertainties:
  1  5.56269
  2  2.06777
  3  10.7793
  4  2.62684
  5  12.8265
  6  0.00090822
  7  0.000329518
  8  4.01107e-06
  9  1.03355
  10  6.75197e-06
  11  12.9149
  12  1.17294e-05
  13  0.000956911
  14  0.00044138
  15  16.1079
  16  9.07609
  17  0.735081
  18  3.9535
  19  20.3745
  20  7.27194e-06
  21  1.55549e-06
  22  0.190712
  23  0.187839
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.173e-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:  1.049e+00  1.878e-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:  1.039e+00  1.907e-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: 3.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6812/likelihoodResults_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.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) = 6628.62638878
delta logL = -0.00209343679853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6628.62429549
delta logL = -1.49580955622e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31863E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.6037       1.0000          .0000       10.000    
     3 'Normalizat'    1.0391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0494       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=   6628.624     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      302 TOTAL
                     EDM=   .80E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .15809E-02    .42118E-03** at limit **
   2  Index         2.8806        8.5453        .50000        .22737E-09
   3  Normalizat    1.0391        .17696E-03    .59084E-01   -.23467E-03
   4  Prefactor     1.0495        .18720E-03    .61926E-01   -.23008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.88056
  Normalizat = 1.03913
  Prefactor  = 1.04945
 **********
 **   18 **HESSE 
 **********

 FCN=   6628.624     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      331 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99804E-02    .79671E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8806        8.1202        .50000       -.43773    
   3  Normalizat    1.0391        .44390E-03    .26128E-03   -.91731    
   4  Prefactor     1.0495        .46960E-03    .27387E-03   -.91099    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.07429e-13
Minuit parameter uncertainties:
  1  1.75707e-06
  2  3265.83
  3  0.000443899
  4  0.000469597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6812': 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) = 6628.62429534
delta logL = -6.0026650317e-11

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  5.551e-11  1.757e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.881e+00  3.266e+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:  1.049e+00  4.696e-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:  1.039e+00  4.439e-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/6812/cmap_HighResolution_692928001_693187201_4FGL_J1125.9+2005_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.81e-08', time_completed='2022-12-20 00:46:41.775973', job_id='6812', GAL2='1.05', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671526001.78', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-6.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1750' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:46:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 6812: <4FGL_J1125.9+2005_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:17 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:18 2022
Terminated at Tue Dec 20 00:46:42 2022
Results reported at Tue Dec 20 00:46:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1750 171.491 20.0912 692928001 693187201 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 :                                   623.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            685 sec.

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

