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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1711
RA = 140.895, Dec = 41.4283
tmin = 682819201, tmax = 683078401
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='81621', job_status='RUN', time_executed='2022-09-16 14:40:58.794841', time_epoch_executed='1663364458.79' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81621

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81621/ft1_4FGL_J0923.5+4125_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81621/ft1_4FGL_J0923.5+4125_daily_bin1711.fits outfile=/scratch/kocevski/81621/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1711.fits ra=140.895 dec=41.4283 rad=12.0 tmin=682819201.0 tmax=683078401.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.61
user 4.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.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/81621/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.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.54
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 517

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/81621/ltcube_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.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/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits
.....................!
real 13.68
user 13.24
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/81621/ltcube_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits outfile=/scratch/kocevski/81621/expmap_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.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/81621/ltcube_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits
.....................!
real 191.17
user 185.82
sys 4.66

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/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits scfile=/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits outfile=/scratch/kocevski/81621/cmap_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits scfile=/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits outfile=/scratch/kocevski/81621/cmap_HighResolution_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.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.57
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits', '/scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits', expMap='/scratch/kocevski/81621/expmap_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits', expCube='/scratch/kocevski/81621/ltcube_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81621/Model_4FGL_J0923.5+4125_daily_bin1711.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/81621/ft1_filtered_4FGL_J0923.5+4125_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/81621/ft2_4FGL_J0923.5+4125_daily_bin1711.fits
Exposure map: /scratch/kocevski/81621/expmap_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits
Exposure cube: /scratch/kocevski/81621/ltcube_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81621/Model_4FGL_J0923.5+4125_daily_bin1711.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) = 5868.37829954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33745E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .76383E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.814       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88115E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .40556E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .55482       1.0000          .0000       .10000E+07
     7 'Prefactor '    .87135E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14096E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9309       1.0000          .0000       .10000E+07
    10 'norm      '    5.4398       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.7584       1.0000          .0000       .10000E+07
    12 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0385       1.0000          .0000       .10000E+07
    14 'norm      '    .17136E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40326       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.2435       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.3730       1.0000          .0000       .10000E+07
    18 'Prefactor '    .16624E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .10406       1.0000          .0000       .10000E+07
    20 'Prefactor '    15.137       1.0000          .0000       .10000E+07
    21 'Prefactor '    .51651       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.7644       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13322E-03   1.0000          .0000       .10000E+07
    24 'norm      '    32.896       1.0000          .0000       .10000E+07
    25 'Prefactor '    4.8773       1.0000          .0000       .10000E+07
    26 'Prefactor '    18.390       1.0000          .0000       .10000E+07
    27 'norm      '    8.0511       1.0000          .0000       .10000E+07
    28 'Normalizat'    .44328       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.6003       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=   5868.305     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     2763 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14877E-07    8.0959        .18631E-06** at limit **
   2  Prefactor     .33307E-09    5.3572        .92940E-07** at limit **
   3  Prefactor     39.776        34.557       -.69563E-06    .22987E-01
   4  Prefactor     .26090E-08    5.0361       -.11098E-06** at limit **
   5  norm           .0000        3.5828        .90878E-08** at limit **
   6  norm          .52957        .94551        .86517E-08   -.18161E-02
   7  Prefactor     .28344E-06    1.6935        .52785E-07** at limit **
   8  Prefactor     .42349E-06    16.920        .41060E-06** at limit **
   9  Prefactor     4.9211        3.1413       -.10963E-07    .23097E-03
  10  norm          5.4453        3.1258        .21716E-07    .34000E-03
  11  Prefactor     4.8444        3.8099       -.23264E-07   -.13920E-01
  12  norm           .0000        .26785        .73690E-08** at limit **
  13  Prefactor     1.0375        2.1649        .19203E-07    .91084E-04
  14  norm          .39413E-08    6.8294        .12986E-06** at limit **
  15  Prefactor     .40411        1.1486       -.10478E-06   -.12491E-02
  16  Prefactor     4.2383        10.366       -.18560E-06   -.16146E-01
  17  Prefactor     7.4048        4.9261       -.33082E-08    .21709E-02
  18  Prefactor     .18952E-06    21.768       -.22216E-06** at limit **
  19  norm          .25324E-04    15.762       -.37404E-06** at limit **
  20  Prefactor     15.403        11.656       -.70525E-06    .20838E-02
  21  Prefactor     .49035        1.2380       -.38049E-07   -.23718E-02
  22  Prefactor     2.0305        181.81        .55585E-05    .28566E-02
  23  Prefactor     .72775E-07    13.800       -.54317E-06** at limit **
  24  norm          32.860        3.9487       -.44378E-07   -.74745E-01
  25  Prefactor     4.8457        6.5939        .16292E-07    .34196E-02
  26  Prefactor     18.419        9.2683       -.53912E-07   -.88263E-02
  27  norm          8.0688        8.4285       -.41413E-07   -.36868E-03
  28  Normalizat    .44482        .21248       -.30825E-05    .52915E-04
  29  Prefactor     1.5990        .23551        .61640E-05    .11705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4877e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 39.7761
  Prefactor  = 2.60902e-09
  norm       = 0
  norm       = 0.529567
  Prefactor  = 2.8344e-07
  Prefactor  = 4.23495e-07
  Prefactor  = 4.92112
  norm       = 5.44529
  Prefactor  = 4.84443
  norm       = 0
  Prefactor  = 1.03752
  norm       = 3.94129e-09
  Prefactor  = 0.404109
  Prefactor  = 4.2383
  Prefactor  = 7.40479
  Prefactor  = 1.89515e-07
  norm       = 2.53237e-05
  Prefactor  = 15.4033
  Prefactor  = 0.490354
  Prefactor  = 2.03051
  Prefactor  = 7.27751e-08
  norm       = 32.8597
  Prefactor  = 4.8457
  Prefactor  = 18.4191
  norm       = 8.06883
  Normalizat = 0.444819
  Prefactor  = 1.59898
 **********
 **   18 **HESSE 
 **********

 FCN=   5868.305     FROM HESSE     STATUS=OK           637 CALLS     3400 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14877E-07    8.1718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    5.2120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.776        35.497        .16053E-03   -1.5582    
   4  Prefactor     .26090E-08    5.0463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .52957        21.138        .73376E-03   -1.5693    
   7  Prefactor     .28344E-06    16.494        .14288E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .42349E-06    18.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9211        3.2120        .45269E-03   -1.5664    
  10  norm          5.4453        3.1287        .43059E-03   -1.5661    
  11  Prefactor     4.8444        17.435        .46101E-03   -1.5664    
  12  norm           .0000        .20286        .17002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0375        2.5102        .12315E-02   -1.5688    
  14  norm          .39413E-08    6.8452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .40411        1.2640        .31565E-02   -1.5695    
  16  Prefactor     4.2383        10.773        .48890E-03   -1.5667    
  17  Prefactor     7.4048        5.0888        .36913E-03   -1.5654    
  18  Prefactor     .18952E-06    22.525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .25324E-04    15.541        .10228E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.403        27.503        .25717E-03   -1.5629    
  21  Prefactor     .49035        5.5363        .77065E-02   -1.5694    
  22  Prefactor     2.0305        203.94        .52010E-03   -1.5679    
  23  Prefactor     .72775E-07    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          32.860        16.249        .17438E-03   -1.5593    
  25  Prefactor     4.8457        7.6683        .45523E-03   -1.5664    
  26  Prefactor     18.419        9.3574        .23328E-03   -1.5622    
  27  norm          8.0688        8.4400        .35312E-03   -1.5651    
  28  Normalizat    .44482        .20410        .78823E-01   -1.1505    
  29  Prefactor     1.5990        .21175        .51767E-01   -.74804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48341e-07
Minuit parameter uncertainties:
  1  0.000697757
  2  7.99474e-05
  3  35.4973
  4  0.000229503
  5  1.20438e-05
  6  6.69156
  7  0.00432446
  8  0.00558109
  9  3.212
  10  3.12874
  11  17.4348
  12  1.95902e-07
  13  2.51025
  14  0.000327786
  15  1.26401
  16  10.7735
  17  5.08879
  18  0.00413235
  19  0.0396771
  20  27.5031
  21  3.2953
  22  40.7001
  23  0.00203196
  24  16.2488
  25  7.66827
  26  9.35744
  27  8.43996
  28  0.204443
  29  0.211873
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  4.041e-01  1.264e+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.599e+00  2.119e-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:  4.448e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81621/likelihoodResults_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.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) = 5868.26499005
delta logL = 0.0395445057247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5868.2540098
delta logL = 0.0505247565479

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5868.254     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      277 TOTAL
                     EDM=   .54E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59914        1.4023        .13697E-04   -.11122E-03
   2  Index         1.9105        1.2079        .17771E-01   -.12219E-05
   3  Normalizat    .44733        .19582        .34813E-03   -.56823E-05
   4  Prefactor     1.5962        .23162        .22898E-03    .13902E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.599142
  Index      = 1.91053
  Normalizat = 0.447331
  Prefactor  = 1.59624
 **********
 **   18 **HESSE 
 **********

 FCN=   5868.254     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .46E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59914        1.3924        .54788E-06   -1.5692    
   2  Index         1.9105        1.2005        .71083E-03   -.66606    
   3  Normalizat    .44733        .19590        .13925E-04   -1.1492    
   4  Prefactor     1.5962        .23171        .91591E-05   -.74879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64236e-13
Minuit parameter uncertainties:
  1  1.39237
  2  1.22003
  3  0.196197
  4  0.231865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81621': 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) = 5868.2540084
delta logL = 0.0505261574735

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.991e-01  1.392e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  1.911e+00  1.220e+00  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.596e+00  2.319e-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:  4.473e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 140.895 41.428

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/81621/cmap_HighResolution_682819201_683078401_4FGL_J0923.5+4125_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2022-09-16 14:53:41.107108', job_id='81621', GAL2='1.60', fit_tolerance='1e-08', EG2='0.45', EG='0.44', time_epoch_completed='1663365221.11', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.60', dlogl='5.05e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1711' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:53:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 81621: <4FGL_J0923.5+4125_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 14:40:15 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:35 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:35 2022
Terminated at Fri Sep 16 14:53:41 2022
Results reported at Fri Sep 16 14:53:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1711 140.895 41.4283 682819201 683078401 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 :                                   763.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            806 sec.

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

