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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1771
RA = 140.885, Dec = 38.8743
tmin = 698371201, tmax = 698630401
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='542164', job_status='RUN', time_executed='2023-02-21 00:31:42.675622', time_epoch_executed='1676968302.68' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542164

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542164/ft1_4FGL_J0923.5+3852_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542164/ft1_4FGL_J0923.5+3852_daily_bin1771.fits outfile=/scratch/kocevski/542164/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1771.fits ra=140.885 dec=38.8743 rad=12.0 tmin=698371201.0 tmax=698630401.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.04
user 2.84
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.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/542164/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/542164/ft1_filtered_4FGL_J0923.5+3852_daily_bin1771.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542164/ft1_filtered_4FGL_J0923.5+3852_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/542164/ltcube_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.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/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits
.....................!
real 12.20
user 11.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542164/ft1_filtered_4FGL_J0923.5+3852_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542164/ltcube_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.fits outfile=/scratch/kocevski/542164/expmap_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.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/542164/ltcube_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.fits
.....................!
real 189.31
user 185.09
sys 3.87

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/542164/ft1_filtered_4FGL_J0923.5+3852_daily_bin1771.fits scfile=/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits outfile=/scratch/kocevski/542164/cmap_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542164/ft1_filtered_4FGL_J0923.5+3852_daily_bin1771.fits scfile=/scratch/kocevski/542164/ft2_4FGL_J0923.5+3852_daily_bin1771.fits outfile=/scratch/kocevski/542164/cmap_HighResolution_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.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.54
user 0.38
sys 0.15

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 436.536830507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 429.946041615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11405E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    27.225       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10131E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35220E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .10142E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31836E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    55.077       1.0000          .0000       .10000E+07
     8 'norm      '    19.827       1.0000          .0000       .10000E+07
     9 'Prefactor '    .69986E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .10464E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34362E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .59891E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .73625E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21587E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .96472E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    237.09       1.0000          .0000       .10000E+07
    17 'norm      '    .16663E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0175       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.2078       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.4647       1.0000          .0000       .10000E+07
    21 'norm      '    13.454       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.1622       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.7987       1.0000          .0000       .10000E+07
    24 'norm      '    9.8914       1.0000          .0000       .10000E+07
    25 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    .64085       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=   429.9438     FROM MIGRAD    STATUS=CONVERGED    227 CALLS      694 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23568E-05    34.668       -.63560E-06** at limit **
   2  Prefactor     27.309        12.650       -.31069E-07   -.35848E-02
   3  Prefactor     .16048E-06    25.717       -.98719E-07** at limit **
   4  Prefactor      .0000        10.040        .51138E-08** at limit **
   5  norm          .16653E-09    5.5809       -.60875E-07** at limit **
   6  Prefactor      .0000        87.863        .40862E-07** at limit **
   7  Prefactor     55.105        27.921       -.36217E-06    .60109E-01
   8  norm          19.841        3.8162        .85628E-07   -.43620E-02
   9  Prefactor     .20739E-06    55.193       -.43273E-06** at limit **
  10  norm          .55511E-10    1.9533       -.49090E-07** at limit **
  11  Prefactor     .75605E-01    1033.1       -.15150E-04** at limit **
  12  norm          .29668E-05    30.878        .36547E-06** at limit **
  13  Prefactor      .0000        9.3054       -.14376E-07** at limit **
  14  Prefactor     .13878E-08    105.10        .54653E-06** at limit **
  15  Prefactor     .99920E-09    20.826        .20138E-06** at limit **
  16  Prefactor     239.85        93.640       -.25638E-06   -.64174    
  17  norm          .41744E-07    94.744       -.30017E-06** at limit **
  18  Prefactor     .58858E-05    164.36        .40178E-05** at limit **
  19  Prefactor     6.7271        15.411        .26168E-06    .12004E-01
  20  Prefactor     1.4647        1.0750         .0000         .0000    
  21  norm          6.8235        1125.5        .16096E-05   -.58609E-01
  22  Prefactor     1.1622        1.1510         .0000         .0000    
  23  Prefactor     1.7987        1.0451         .0000         .0000    
  24  norm          9.9395        1.9046       -.24714E-07   -.27169E-02
  25  Normalizat    .10000E-01    .78728        .31097E-04** at limit **
  26  Prefactor     .64064        .28004       -.43498E-05   -.63865E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35678e-06
  Prefactor  = 27.3094
  Prefactor  = 1.60483e-07
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 55.1051
  norm       = 19.8406
  Prefactor  = 2.0739e-07
  norm       = 5.55112e-11
  Prefactor  = 0.0756045
  norm       = 2.96679e-06
  Prefactor  = 0
  Prefactor  = 1.38778e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 239.851
  norm       = 4.17444e-08
  Prefactor  = 5.88585e-06
  Prefactor  = 6.72713
  Prefactor  = 1.46472
  norm       = 6.82353
  Prefactor  = 1.16222
  Prefactor  = 1.79868
  norm       = 9.93949
  Normalizat = 0.01
  Prefactor  = 0.640641
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   429.9438     FROM HESSE     STATUS=FAILED        93 CALLS      787 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23568E-05    35.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.309        12.064        .19169E-03   -1.5603    
   3  Prefactor     .16048E-06    25.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        10.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    5.5835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        87.865        .16355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     55.105        25.239        .13476E-03   -1.5559    
   8  norm          19.841        33.338        .22465E-03   -1.5619    
   9  Prefactor     .20739E-06    56.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    1.9336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .75605E-01    14.227        .98633E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .29668E-05    31.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        9.3083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13878E-08    105.11        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .99920E-09    20.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     239.85        146.49        .64952E-04   -1.5398    
  17  norm          .41744E-07    97.355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .58858E-05    656.67        .12882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7271        21526.        .37338E-03   -1.5656    
  20  Prefactor     63038.        63037.         .0000       -1.5684    
  21  norm          6.8235        .71266        .16096E-05   -1.5656    
  22  Prefactor     1.1622        1.1510         .0000       -1.5686    
  23  Prefactor     1.7987        1.0451         .0000       -1.5681    
  24  norm          9.9395        1.0037       -.24714E-07   -1.5645    
  25  Normalizat    .10000E-01    .25505        .31097E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .64064        .98971       -.43498E-05   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.6399e-09
Minuit parameter uncertainties:
  1  0.0183256
  2  12.0641
  3  0.00407212
  4  1.87733e-05
  5  5.64421e-05
  6  3.462e-05
  7  25.239
  8  33.3381
  9  0.00686666
  10  2.51502e-05
  11  2.07426
  12  0.0194513
  13  2.08052e-05
  14  0.000761181
  15  0.000286494
  16  146.494
  17  0.00403178
  18  0.124353
  19  763.832
  20  1.075
  21  0.712658
  22  1.15103
  23  1.04507
  24  1.00372
  25  2.52833e-06
  26  1.01885
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 429.943766403

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.967e-06  1.945e-02  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:  6.406e-01  1.019e+00  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.000e-02  2.528e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 7.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542164/likelihoodResults_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.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) = 429.958720483
delta logL = -0.0149540793693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 429.943772481
delta logL = -6.07799455565e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10025E-03   1.0000          .0000       .10000E+07
     2 'alpha     '    .57928       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64117       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=   429.9438     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      231 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77716E-08    21.319        .42118E-03** at limit **
   2  alpha         4.6461        3.5329        .50000       -.86686E-10
   3  Normalizat    .10000E-01    .51337        .17134    ** at limit **
   4  Prefactor     .64065        .28163        .41613E-01    .28174E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.77156e-09
  alpha      = 4.64614
  Normalizat = 0.01
  Prefactor  = 0.64065
 **********
 **   18 **HESSE 
 **********

 FCN=   429.9438     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77716E-08    21.389        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6461        3.5328        .50000        1.0323    
   3  Normalizat    .10000E-01    .60079        .90976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .64065        .25242        .21030E-03   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44436e-09
Minuit parameter uncertainties:
  1  0.000816028
  2  1.28221
  3  2.63164e-05
  4  0.252867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542164': 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) = 429.943766358
delta logL = 4.57656597064e-08

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  7.772e-09  8.160e-04  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  4.646e+00  1.282e+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:  6.407e-01  2.529e-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.000e-02  2.632e-05  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/542164/cmap_HighResolution_698371201_698630401_4FGL_J0923.5+3852_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-04', job_status='DONE', photon_flux_upper_limit='7.38e-07', time_completed='2023-02-21 00:37:12.894205', job_id='542164', GAL2='0.64', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1676968632.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.64', dlogl='4.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1771' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:37:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 542164: <4FGL_J0923.5+3852_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:28 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:29 2023
Terminated at Tue Feb 21 00:37:13 2023
Results reported at Tue Feb 21 00:37:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1771 140.885 38.8743 698371201 698630401 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 :                                   332.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   404 sec.
    Turnaround time :                            405 sec.

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

