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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1754
RA = 140.885, Dec = 38.8743
tmin = 693964801, tmax = 694224001
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='639348', job_status='RUN', time_executed='2023-01-01 01:00:37.634967', time_epoch_executed='1672563637.63' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639348

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639348/ft1_4FGL_J0923.5+3852_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639348/ft1_4FGL_J0923.5+3852_daily_bin1754.fits outfile=/scratch/kocevski/639348/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1754.fits ra=140.885 dec=38.8743 rad=12.0 tmin=693964801.0 tmax=694224001.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.90
user 3.64
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.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/639348/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 231

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/639348/ltcube_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.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/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits
.....................!
real 13.52
user 13.11
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/639348/ltcube_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits outfile=/scratch/kocevski/639348/expmap_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.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/639348/ltcube_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits
.....................!
real 191.13
user 185.51
sys 5.25

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

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits outfile=/scratch/kocevski/639348/cmap_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.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.885 yref=38.8743 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits outfile=/scratch/kocevski/639348/cmap_HighResolution_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.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.885 yref=38.8743 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639348/Model_4FGL_J0923.5+3852_daily_bin1754.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/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits.....................!
real 29.47
user 28.23
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits', '/scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits', expMap='/scratch/kocevski/639348/expmap_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits', expCube='/scratch/kocevski/639348/ltcube_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639348/Model_4FGL_J0923.5+3852_daily_bin1754.xml', optimizer='MINUIT')

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

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/639348/ft1_filtered_4FGL_J0923.5+3852_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/639348/ft2_4FGL_J0923.5+3852_daily_bin1754.fits
Exposure map: /scratch/kocevski/639348/expmap_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits
Exposure cube: /scratch/kocevski/639348/ltcube_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639348/Model_4FGL_J0923.5+3852_daily_bin1754.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) = 2483.81680159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73026E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.6896       1.0000          .0000       .10000E+07
     3 'Prefactor '    .41686E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.418       1.0000          .0000       .10000E+07
     5 'norm      '    .11017E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38160E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .48420E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .53901E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .79066E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .36215E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9750       1.0000          .0000       .10000E+07
    12 'norm      '    1.5771       1.0000          .0000       .10000E+07
    13 'Prefactor '    .31348       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22793E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8176       1.0000          .0000       .10000E+07
    16 'Prefactor '    .91079E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .23531E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55149       1.0000          .0000       .10000E+07
    19 'Prefactor '    .47491E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    3.7098       1.0000          .0000       .10000E+07
    21 'norm      '    .62513E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .14332E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .69395E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .10232E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1552       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2483.790     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2271 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14155E-07    9.6428       -.91337E-06** at limit **
   2  Prefactor     7.6688        5.5230        .66902E-07    .62294E-04
   3  Prefactor     .98876E-05    33.635       -.55894E-05** at limit **
   4  Prefactor     17.449        6.1700        .26653E-06    .81320E-01
   5  norm          .55511E-10    3.2932       -.22148E-06** at limit **
   6  Prefactor     .32160E-05    34.611        .21925E-06** at limit **
   7  Prefactor     .53790E-07    8.6947        .72522E-06** at limit **
   8  norm           .0000        1.1026       -.24713E-06** at limit **
   9  Prefactor     .31086E-08    26.374       -.23625E-05** at limit **
  10  norm           .0000        .46859        .61461E-07** at limit **
  11  Prefactor     5.9780        4.5140        .11293E-06   -.27651E-03
  12  norm          1.5781        15.741       -.81601E-06   -.69640E-03
  13  Prefactor     .31223        5.8993        .13823E-05    .20609E-03
  14  Prefactor      .0000        1.3706        .33754E-07** at limit **
  15  Prefactor     1.8217        1.6173        .10115E-06    .63106E-02
  16  Prefactor     .70499E-08    10.127       -.83023E-06** at limit **
  17  norm          .24480E-07    9.1133        .32191E-06** at limit **
  18  Prefactor     .51913E-04    141.01       -.13501E-04** at limit **
  19  Prefactor     .59786E-07    69.332       -.49313E-05** at limit **
  20  Prefactor     3.7410        2.3921        .52115E-07   -.17227E-01
  21  norm          .53513E-07    4.4562       -.10855E-05** at limit **
  22  Prefactor      .0000        2.8326        .23323E-06** at limit **
  23  Prefactor     .55678E-07    2.9690       -.61872E-06** at limit **
  24  norm          .72164E-09    6.1331        .11000E-05** at limit **
  25  Normalizat    1.1564        .28230       -.61789E-06    .34917E-04
  26  Prefactor     .74887        .30579        .97738E-05    .26203E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41553e-08
  Prefactor  = 7.66879
  Prefactor  = 9.88765e-06
  Prefactor  = 17.4485
  norm       = 5.55112e-11
  Prefactor  = 3.21598e-06
  Prefactor  = 5.37903e-08
  norm       = 0
  Prefactor  = 3.10862e-09
  norm       = 0
  Prefactor  = 5.97801
  norm       = 1.57806
  Prefactor  = 0.312233
  Prefactor  = 0
  Prefactor  = 1.82175
  Prefactor  = 7.04992e-09
  norm       = 2.44804e-08
  Prefactor  = 5.19125e-05
  Prefactor  = 5.97855e-08
  Prefactor  = 3.74104
  norm       = 5.35127e-08
  Prefactor  = 0
  Prefactor  = 5.56777e-08
  norm       = 7.21645e-10
  Normalizat = 1.15644
  Prefactor  = 0.748872
 **********
 **   18 **HESSE 
 **********

 FCN=   2483.790     FROM HESSE     STATUS=OK           502 CALLS     2773 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14155E-07    19.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6688        5.5363        .36139E-03   -1.5653    
   3  Prefactor     .98876E-05    55.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.449        18.000        .23971E-03   -1.5624    
   5  norm          .55511E-10    3.2909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .32160E-05    43.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53790E-07    9.1959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.1020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .31086E-08    27.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .46921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.9780        4.5842        .41055E-03   -1.5659    
  12  norm          1.5781        16.381        .84566E-03   -1.5683    
  13  Prefactor     .31223        3.5699        .31573E-02   -1.5697    
  14  Prefactor      .0000        1.3723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8217        25.966        .77436E-03   -1.5681    
  16  Prefactor     .70499E-08    19.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .24480E-07    9.5290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .51913E-04    229.45        .73690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .59786E-07    70.073        .15642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7410        11.196        .52406E-03   -1.5669    
  21  norm          .53513E-07    6.9974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        2.8337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55678E-07    7.3459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .72164E-09    6.1779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1564        .24844        .36098E-01   -.87960    
  26  Prefactor     .74887        .26730        .63232E-01   -1.0164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06542e-06
Minuit parameter uncertainties:
  1  0.00105894
  2  5.53632
  3  0.0469577
  4  17.9996
  5  2.9361e-05
  6  0.0237746
  7  0.00140651
  8  1.29917e-07
  9  0.000586124
  10  7.79777e-07
  11  4.58416
  12  10.1688
  13  2.11152
  14  2.13744e-06
  15  13.7556
  16  0.000745202
  17  0.000965508
  18  0.218288
  19  0.0040934
  20  11.1964
  21  0.00122409
  22  1.71687e-05
  23  0.00127895
  24  0.00013149
  25  0.248689
  26  0.267765
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.578e+00  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  7.489e-01  2.678e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.156e+00  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639348/likelihoodResults_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.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) = 2483.77343518
delta logL = 0.01636180286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2483.77295349
delta logL = 0.0168434926823

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4797       1.0000          .0000       .10000E+07
     2 'alpha     '    3.1957       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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=   2483.773     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      263 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4821        14.649        .24577E-04   -.88168E-02
   2  alpha         3.1961        4.0609        .46758E-01   -.41556E-04
   3  Normalizat    1.1500        .27509        .20590E-03    .53396E-03
   4  Prefactor     .75293        .30447        .27901E-03    .31746E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48211
  alpha      = 3.19605
  Normalizat = 1.15
  Prefactor  = 0.752925
 **********
 **   18 **HESSE 
 **********

 FCN=   2483.773     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4821        9.9745        .98309E-06   -1.5684    
   2  alpha         3.1961        3.9291        .18703E-02    .28215    
   3  Normalizat    1.1500        .27554        .41179E-04   -.88162    
   4  Prefactor     .75293        .30472        .55802E-04   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96623e-09
Minuit parameter uncertainties:
  1  7.68983
  2  3.18621
  3  0.275888
  4  0.305406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639348': 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) = 2483.77295317
delta logL = 0.0168438158985

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.482e+00  7.690e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  3.196e+00  3.186e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  7.529e-01  3.054e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.150e+00  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 140.885 38.874

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/639348/cmap_HighResolution_693964801_694224001_4FGL_J0923.5+3852_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2023-01-01 01:08:35.806162', job_id='639348', GAL2='0.75', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1672564115.81', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.68e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1754' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:08:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 639348: <4FGL_J0923.5+3852_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 00:55:21 2023
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:57:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:57:14 2023
Terminated at Sun Jan  1 01:08:36 2023
Results reported at Sun Jan  1 01:08:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1754 140.885 38.8743 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            795 sec.

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

