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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1716
RA = 140.895, Dec = 41.4283
tmin = 684115201, tmax = 684374401
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='81628', job_status='RUN', time_executed='2022-09-16 14:41:38.699072', time_epoch_executed='1663364498.7' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81628/ft1_4FGL_J0923.5+4125_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81628/ft1_4FGL_J0923.5+4125_daily_bin1716.fits outfile=/scratch/kocevski/81628/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1716.fits ra=140.895 dec=41.4283 rad=12.0 tmin=684115201.0 tmax=684374401.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.12
user 3.85
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.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/81628/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 583

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/81628/ltcube_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.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/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits
.....................!
real 14.40
user 13.97
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/81628/ltcube_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits outfile=/scratch/kocevski/81628/expmap_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.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/81628/ltcube_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits
.....................!
real 194.00
user 187.65
sys 5.70

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits outfile=/scratch/kocevski/81628/cmap_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.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=140.895 yref=41.4283 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits outfile=/scratch/kocevski/81628/cmap_HighResolution_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.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=140.895 yref=41.4283 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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81628/Model_4FGL_J0923.5+4125_daily_bin1716.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/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits.....................!
real 55.02
user 53.62
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits', '/scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits', expMap='/scratch/kocevski/81628/expmap_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits', expCube='/scratch/kocevski/81628/ltcube_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81628/Model_4FGL_J0923.5+4125_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/81628/ft1_filtered_4FGL_J0923.5+4125_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/81628/ft2_4FGL_J0923.5+4125_daily_bin1716.fits
Exposure map: /scratch/kocevski/81628/expmap_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits
Exposure cube: /scratch/kocevski/81628/ltcube_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81628/Model_4FGL_J0923.5+4125_daily_bin1716.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) = 6432.25070691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16314E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .82444E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    22.071       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.102       1.0000          .0000       .10000E+07
     5 'norm      '    .41662E-04   1.0000          .0000       .10000E+07
     6 'norm      '    3.1589       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50305E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.622       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5949       1.0000          .0000       .10000E+07
    10 'norm      '    1.8773       1.0000          .0000       .10000E+07
    11 'Prefactor '    .74490E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .18892       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11541E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .59828E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.3262       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.255       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12168E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .51179E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .41810E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11816E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .25023E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    16.896       1.0000          .0000       .10000E+07
    23 'Prefactor '    .21929E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .81530E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .22068E-01   1.0000          .0000       .10000E+07
    26 'Prefactor '    .16820E-07   1.0000          .0000       .10000E+07
    27 'norm      '    1.9587       1.0000          .0000       .10000E+07
    28 'Normalizat'    .78672       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6432.212     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2131 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78271E-08    3.8175       -.22306E-07** at limit **
   2  Prefactor     .16653E-09    4.6607       -.16935E-07** at limit **
   3  Prefactor     21.843        7.2543        .27800E-07   -.73958E-01
   4  Prefactor     12.159        1.4230       -.25766E-08    .18382E-01
   5  norm          .83267E-09    1.3867        .15136E-07** at limit **
   6  norm          3.1373        3.3183       -.37080E-07   -.20143E-02
   7  Prefactor     .30587E-07    5.9149        .65107E-08** at limit **
   8  Prefactor     25.967        18.415        .95909E-07   -.36107E-01
   9  Prefactor     1.5801        2.6657       -.90815E-08    .74536E-03
  10  norm          1.8763        1.6118       -.96771E-08   -.13928E-02
  11  Prefactor     .77716E-09    6.5510        .55825E-07** at limit **
  12  norm          .18893        .29379        .51751E-08** at limit **
  13  Prefactor     .51070E-08    1.5739       -.36651E-07** at limit **
  14  norm          .84655E-07    4.3425       -.91326E-07** at limit **
  15  Prefactor     2.3254        1.6879        .64094E-07    .97551E-02
  16  Prefactor     16.245        2.5018        .96749E-08   -.10286E-01
  17  Prefactor     .10270E-07    1.2856       -.23434E-07** at limit **
  18  Prefactor     .10353E-06    6.4205        .44619E-08** at limit **
  19  norm          .13600E-07    3.0688       -.43932E-07** at limit **
  20  Prefactor     .20017E-06    5.1592        .19135E-07** at limit **
  21  Prefactor     .15599E-07    1.9622        .47293E-07** at limit **
  22  Prefactor     16.750        7.4193        .37487E-07   -.43652E-01
  23  Prefactor     .61062E-09    2.7999        .86640E-07** at limit **
  24  norm          .38858E-08    2.8742        .55979E-07** at limit **
  25  Prefactor     .30779E-01    1.4425        .26180E-07** at limit **
  26  Prefactor     .81068E-06    37.260       -.26607E-06** at limit **
  27  norm          1.9846        1.3341       -.40536E-08   -.76026E-04
  28  Normalizat    .78645        .17347        .26133E-06   -.64209E-04
  29  Prefactor     1.2312        .20332       -.10592E-05   -.11275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.82707e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 21.8425
  Prefactor  = 12.1585
  norm       = 8.32667e-10
  norm       = 3.13728
  Prefactor  = 3.05866e-08
  Prefactor  = 25.9672
  Prefactor  = 1.58009
  norm       = 1.87633
  Prefactor  = 7.77156e-10
  norm       = 0.188929
  Prefactor  = 5.10703e-09
  norm       = 8.46545e-08
  Prefactor  = 2.32536
  Prefactor  = 16.2446
  Prefactor  = 1.02696e-08
  Prefactor  = 1.03528e-07
  norm       = 1.36002e-08
  Prefactor  = 2.00173e-07
  Prefactor  = 1.55986e-08
  Prefactor  = 16.7498
  Prefactor  = 6.10623e-10
  norm       = 3.88578e-09
  Prefactor  = 0.0307788
  Prefactor  = 8.10685e-07
  norm       = 1.98456
  Normalizat = 0.786447
  Prefactor  = 1.23122
 **********
 **   18 **HESSE 
 **********

 FCN=   6432.212     FROM HESSE     STATUS=OK           633 CALLS     2764 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78271E-08    4.0564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    1.0011        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.843        24.273        .21292E-03   -1.5614    
   4  Prefactor     12.159        11.493        .28770E-03   -1.5638    
   5  norm          .83267E-09    3.2227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1373        3.3170        .57002E-03   -1.5673    
   7  Prefactor     .30587E-07    11.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.967        32.441        .20157E-03   -1.5606    
   9  Prefactor     1.5801        2.7457        .83958E-03   -1.5683    
  10  norm          1.8763        1.6052        .75963E-03   -1.5681    
  11  Prefactor     .77716E-09    11.791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .18893        .39587        .11826E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51070E-08    1.7442        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .84655E-07    5.6447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3254        1.7029        .67219E-03   -1.5677    
  16  Prefactor     16.245        9.2458        .24815E-03   -1.5627    
  17  Prefactor     .10270E-07    2.1705        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10353E-06    7.7702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13600E-07    3.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20017E-06    6.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .15599E-07    3.1782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.750        19.259        .24339E-03   -1.5626    
  23  Prefactor     .61062E-09    2.8143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .38858E-08    2.9238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .30779E-01    2.0302        .66978E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .81068E-06    4.3904        .54311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.9846        16.154        .74095E-03   -1.5680    
  28  Normalizat    .78645        .15581        .43437E-01   -1.0057    
  29  Prefactor     1.2312        .17663        .54401E-01   -.85376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40489e-07
Minuit parameter uncertainties:
  1  0.000356816
  2  2.42749e-05
  3  24.273
  4  11.4926
  5  0.000103097
  6  3.317
  7  0.00119367
  8  32.441
  9  2.74569
  10  1.60519
  11  0.000190551
  12  0.395869
  13  0.000189234
  14  0.00138261
  15  1.7029
  16  9.24583
  17  0.000298214
  18  0.0017937
  19  0.000428428
  20  0.00228129
  21  0.000445136
  22  19.2586
  23  8.19652e-05
  24  0.000213834
  25  0.499953
  26  0.00377317
  27  11.3241
  28  0.155898
  29  0.176717
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  2.325e+00  1.703e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.231e+00  1.767e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  7.864e-01  1.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.49
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.24e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 8.27e-06

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) = 6431.41069299
delta logL = 0.801411903775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6431.40533819
delta logL = 0.806766704446

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2976       1.0000          .0000       .10000E+07
     2 'Index     '    1.5756       1.0000          .0000       10.000    
     3 'Normalizat'    .80974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6431.405     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      200 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2976        1.7271        .67680E-03    .32928E-02
   2  Index         1.5756        .41367        .23155       -.15626E-03
   3  Normalizat    .80974        .14754        .43737E-01    .21683E-04
   4  Prefactor     1.2162        .17435        .54682E-01    .35736E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.29762
  Index      = 1.57565
  Normalizat = 0.809739
  Prefactor  = 1.21625
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.405     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2976        1.9257        .88169E-05   -1.5678    
   2  Index         1.5756        .53477        .87756E-02   -.75443    
   3  Normalizat    .80974        .17147        .24603E-03   -.99708    
   4  Prefactor     1.2162        .20284        .24178E-03   -.85833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08801e-10
Minuit parameter uncertainties:
  1  1.92574
  2  0.536707
  3  0.171588
  4  0.202974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81628': 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) = 6431.40533819
delta logL = 0.806766704473

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  2.298e+00  1.926e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  1.576e+00  5.367e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.216e+00  2.030e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  8.097e-01  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.12
Ra Dec: 140.895 41.428
Photon Index (Free Index): 1.58 +/- 0.54
Photon Flux (Free Index): 1.30e-08 +/- 1.35e-08
Energy Flux (Free Index): 3.20e-05 +/- 4.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/81628/cmap_HighResolution_684115201_684374401_4FGL_J0923.5+4125_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.24e-08', energy_flux2='3.20e-05', photon_flux_error='2.37e-08', dlogl='8.07e-01', energy_flux='1.13e-05', photon_flux2='1.30e-08', job_status='DONE', time_completed='2022-09-16 14:52:56.058902', photon_index_error2='0.54', photon_index2='1.58', ts='6.49', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='4.19e-05', EG='0.79', time_epoch_completed='1663365176.06', return_code='0', job_id='81628', GAL2='1.22', EG2='0.81', return_code2='0', energy_flux_error='8.27e-06', photon_flux_error2='1.35e-08', ts2='8.12', photon_index='2.36' WHERE bin_id='1716' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:52:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 81628: <4FGL_J0923.5+4125_daily_bin1716> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1716> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 14:40:16 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:40:40 2022
Terminated at Fri Sep 16 14:52:56 2022
Results reported at Fri Sep 16 14:52:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1716 140.895 41.4283 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            760 sec.

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

