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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1713
RA = 140.885, Dec = 38.8743
tmin = 683337601, tmax = 683596801
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='81609', job_status='RUN', time_executed='2022-09-16 14:43:43.286488', time_epoch_executed='1663364623.29' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81609/ft1_4FGL_J0923.5+3852_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81609/ft1_4FGL_J0923.5+3852_daily_bin1713.fits outfile=/scratch/kocevski/81609/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1713.fits ra=140.885 dec=38.8743 rad=12.0 tmin=683337601.0 tmax=683596801.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.61
user 3.29
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/81609/ltcube_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.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/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits
.....................!
real 14.97
user 14.49
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/81609/ltcube_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits outfile=/scratch/kocevski/81609/expmap_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.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/81609/ltcube_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits
.....................!
real 192.38
user 186.15
sys 5.04

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/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits scfile=/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits outfile=/scratch/kocevski/81609/cmap_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits scfile=/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits outfile=/scratch/kocevski/81609/cmap_HighResolution_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.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.57
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits', '/scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits', expMap='/scratch/kocevski/81609/expmap_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits', expCube='/scratch/kocevski/81609/ltcube_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81609/Model_4FGL_J0923.5+3852_daily_bin1713.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/81609/ft1_filtered_4FGL_J0923.5+3852_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/81609/ft2_4FGL_J0923.5+3852_daily_bin1713.fits
Exposure map: /scratch/kocevski/81609/expmap_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits
Exposure cube: /scratch/kocevski/81609/ltcube_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81609/Model_4FGL_J0923.5+3852_daily_bin1713.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6357.92862206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86857       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9846       1.0000          .0000       .10000E+07
     3 'Prefactor '    44.206       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12683       1.0000          .0000       .10000E+07
     5 'norm      '    .11288E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0013       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1653       1.0000          .0000       .10000E+07
     8 'norm      '    .55284       1.0000          .0000       .10000E+07
     9 'Prefactor '    30.768       1.0000          .0000       .10000E+07
    10 'norm      '    .43854E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12268E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .55706E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .40690E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .38703E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.3238       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.9764       1.0000          .0000       .10000E+07
    17 'norm      '    .11594E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .21736E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .84493E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.3020       1.0000          .0000       .10000E+07
    21 'norm      '    7.3419       1.0000          .0000       .10000E+07
    22 'Prefactor '    .53888E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .16126E-03   1.0000          .0000       .10000E+07
    24 'norm      '    16.516       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.2801       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .84398       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=   6357.896     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     2317 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37668        788.19        .30693E-05   -.10824E-02
   2  Prefactor     4.0998        5.8407       -.20366E-06   -.25236E-02
   3  Prefactor     43.468        40.002       -.12853E-06   -.35704E-01
   4  Prefactor      .0000        33.217        .80204E-07** at limit **
   5  norm           .0000        2.0711        .28150E-08** at limit **
   6  Prefactor     7.0877        10.054        .72143E-07    .26635E-02
   7  Prefactor     3.1533        3.2038       -.11790E-07   -.54759E-03
   8  norm          .55268        1.7316        .29479E-08    .24489E-04
   9  Prefactor     31.078        18.251        .94527E-07    .87829E-02
  10  norm           .0000        .87771E-01    .64100E-09** at limit **
  11  Prefactor      .0000        .53009        .34379E-08** at limit **
  12  norm          .59286E-07    27.026        .14782E-06** at limit **
  13  Prefactor      .0000        .90207        .48601E-08** at limit **
  14  Prefactor     .22204E-09    10.936       -.33981E-07** at limit **
  15  Prefactor     9.4899        10.645       -.58709E-08    .18297E-01
  16  Prefactor     4.6070        10.167        .43494E-07   -.44075E-01
  17  norm          .52858E-06    54.753       -.24823E-06** at limit **
  18  Prefactor     .18319E-08    13.780       -.69473E-07** at limit **
  19  Prefactor     .99920E-09    10.430        .32773E-07** at limit **
  20  Prefactor     6.2072        11.711       -.23848E-07    .27333E-03
  21  norm          7.2890        11.162       -.59293E-07   -.13615E-02
  22  Prefactor      .0000        2.1615        .12674E-08** at limit **
  23  Prefactor      .0000        1.9370       -.19944E-08** at limit **
  24  norm          16.562        11.270        .18456E-07   -.27176E-02
  25  Normalizat    1.2807        .21201       -.58372E-06   -.62293E-04
  26  Prefactor     .84397        .22260        .40835E-06   -.44518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.37668
  Prefactor  = 4.09976
  Prefactor  = 43.4677
  Prefactor  = 0
  norm       = 0
  Prefactor  = 7.08773
  Prefactor  = 3.1533
  norm       = 0.552678
  Prefactor  = 31.0783
  norm       = 0
  Prefactor  = 0
  norm       = 5.92859e-08
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 9.48994
  Prefactor  = 4.60698
  norm       = 5.28577e-07
  Prefactor  = 1.83187e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 6.20722
  norm       = 7.28899
  Prefactor  = 0
  Prefactor  = 0
  norm       = 16.562
  Normalizat = 1.28068
  Prefactor  = 0.843967
 **********
 **   18 **HESSE 
 **********

 FCN=   6357.896     FROM HESSE     STATUS=OK           518 CALLS     2835 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37668        2055.0        .47958E-03   -1.5696    
   2  Prefactor     4.0998        8.8109        .50502E-03   -1.5667    
   3  Prefactor     43.468        55.126        .15042E-03   -1.5576    
   4  Prefactor      .0000        10.683        .80022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.0726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.0877        33.237        .37890E-03   -1.5655    
   7  Prefactor     3.1533        3.2199        .56942E-03   -1.5672    
   8  norm          .55268        1.7528        .73563E-03   -1.5693    
   9  Prefactor     31.078        23.735        .18031E-03   -1.5596    
  10  norm           .0000        .87745E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .52995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .59286E-07    26.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .90212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    10.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.4899        12.888        .32797E-03   -1.5646    
  16  Prefactor     4.6070        34.329        .45058E-03   -1.5665    
  17  norm          .52858E-06    56.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18319E-08    13.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .99920E-09    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2072        11.720        .39962E-03   -1.5658    
  21  norm          7.2890        11.187        .36992E-03   -1.5654    
  22  Prefactor      .0000        2.1575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        1.9399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          16.562        11.282        .24618E-03   -1.5627    
  25  Normalizat    1.2807        .17726        .51408E-01   -.84145    
  26  Prefactor     .84397        .18707        .66355E-01   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35037e-07
Minuit parameter uncertainties:
  1  55.6638
  2  8.81092
  3  55.1262
  4  2.50325e-05
  5  1.84518e-06
  6  30.6973
  7  3.21986
  8  1.7528
  9  23.7353
  10  4.24421e-08
  11  2.25616e-07
  12  0.00251971
  13  6.70975e-07
  14  9.70696e-05
  15  12.8877
  16  25.1519
  17  0.0108921
  18  0.000319154
  19  0.00020476
  20  11.7203
  21  11.1865
  22  1.13174e-06
  23  7.82814e-07
  24  11.2822
  25  0.17734
  26  0.187208
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  5.929e-08  2.520e-03  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:  8.440e-01  1.872e-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.281e+00  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 8.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81609/likelihoodResults_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.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) = 6357.92062994
delta logL = -0.024879198073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6357.89395765
delta logL = 0.00179309700161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30259       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4069       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84542       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.

 FCN=   6357.894     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      231 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28717        27.604        .75249E-02    .33687E-02
   2  alpha         3.3877        3.9038        .45240        .21991E-04
   3  Normalizat    1.2777        .15304E-01    .51457E-01   -.16950E-05
   4  Prefactor     .84556        .16487E-01    .66296E-01    .15003E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.287172
  alpha      = 3.38771
  Normalizat = 1.27769
  Prefactor  = 0.845558
 **********
 **   18 **HESSE 
 **********

 FCN=   6357.894     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      266 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28717        3556.5        .23578E-03   -1.5697    
   2  alpha         3.3877        2.7986        .16878        .36300    
   3  Normalizat    1.2777        .18228        .22750E-03   -.84235    
   4  Prefactor     .84556        .11907        .29328E-03   -.98070    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.36638e-06
Minuit parameter uncertainties:
  1  63.9548
  2  72.7838
  3  0.182374
  4  0.119111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81609': 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) = 6357.89394064
delta logL = 0.00181010346842

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.872e-01  6.395e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  3.388e+00  7.278e+01  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:  8.456e-01  1.191e-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.278e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/81609/cmap_HighResolution_683337601_683596801_4FGL_J0923.5+3852_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='8.13e-08', time_completed='2022-09-16 14:55:29.451652', job_id='81609', GAL2='0.85', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1663365329.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.81e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1713' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:55:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 81609: <4FGL_J0923.5+3852_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1713> 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) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:28 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:28 2022
Terminated at Fri Sep 16 14:55:29 2022
Results reported at Fri Sep 16 14:55:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1713 140.885 38.8743 683337601 683596801 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 :                                   706.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            914 sec.

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

