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 104 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_J0957.6+5523_daily_bin1769
RA = 149.416, Dec = 55.3838
tmin = 697852801, tmax = 698112001
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='430926', job_status='RUN', time_executed='2023-02-15 00:32:24.833534', time_epoch_executed='1676449944.83' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430926

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430926/ft1_4FGL_J0957.6+5523_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430926/ft1_4FGL_J0957.6+5523_daily_bin1769.fits outfile=/scratch/kocevski/430926/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1769.fits ra=149.416 dec=55.3838 rad=12.0 tmin=697852801.0 tmax=698112001.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.36
user 4.15
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.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/430926/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.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: 742

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/430926/ltcube_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.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/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits
.....................!
real 11.83
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/430926/ltcube_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits outfile=/scratch/kocevski/430926/expmap_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.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/430926/ltcube_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits
.....................!
real 191.16
user 186.77
sys 4.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 240 point sources and 0 extended sources

Setting source of interest to:
4FGL J0957.6+5523 @ 149.416 55.3838

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits outfile=/scratch/kocevski/430926/cmap_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.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=149.416 yref=55.3838 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits outfile=/scratch/kocevski/430926/cmap_HighResolution_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.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=149.416 yref=55.3838 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430926/Model_4FGL_J0957.6+5523_daily_bin1769.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/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits.....................!
real 72.53
user 71.29
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits', '/scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits', expMap='/scratch/kocevski/430926/expmap_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits', expCube='/scratch/kocevski/430926/ltcube_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430926/Model_4FGL_J0957.6+5523_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.6+5523'

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430926/ft1_filtered_4FGL_J0957.6+5523_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/430926/ft2_4FGL_J0957.6+5523_daily_bin1769.fits
Exposure map: /scratch/kocevski/430926/expmap_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits
Exposure cube: /scratch/kocevski/430926/ltcube_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430926/Model_4FGL_J0957.6+5523_daily_bin1769.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) = 7911.31232332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4249       1.0000          .0000       .10000E+07
     2 'norm      '    .33565E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.941       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16428E-01   1.0000          .0000       .10000E+07
     5 'norm      '    4.5635       1.0000          .0000       .10000E+07
     6 'Prefactor '    .43299E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .71399       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19085E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15758E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28161E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.768       1.0000          .0000       .10000E+07
    12 'norm      '    .53557E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27406E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.2331       1.0000          .0000       .10000E+07
    15 'norm      '    38.461       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    17 'norm      '    .44663       1.0000          .0000       .10000E+07
    18 'norm      '    4.1964       1.0000          .0000       .10000E+07
    19 'Prefactor '    .26691E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .11025E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    36.236       1.0000          .0000       .10000E+07
    22 'norm      '    1.6869       1.0000          .0000       .10000E+07
    23 'norm      '    1.5112       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12871E-01   1.0000          .0000       .10000E+07
    25 'norm      '    4.1500       1.0000          .0000       .10000E+07
    26 'Prefactor '    25.570       1.0000          .0000       .10000E+07
    27 'Prefactor '    5.4913       1.0000          .0000       .10000E+07
    28 'Normalizat'    .97788       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .93303       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7909.080     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1528 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3733        6.0546       -.22538E-07    .14306E-02
   2  norm          .23703E-07    3.4062       -.24582E-07** at limit **
   3  Prefactor     14.801        2.1191        .52674E-07   -.43504E-01
   4  Prefactor     .11661        72.042       -.99626E-06** at limit **
   5  norm          4.5643        1.0365       -.54814E-07   -.77683E-02
   6  Prefactor      .0000        .83969       -.52633E-07** at limit **
   7  Prefactor     .73331        1.8798       -.20987E-06    .10005E-01
   8  Prefactor     .19929E-07    3.7103       -.51976E-06** at limit **
   9  Prefactor     .24980E-08    3.8957       -.13329E-06** at limit **
  10  Prefactor     .11657E-08    8.2615       -.25868E-06** at limit **
  11  Prefactor     10.755        6.2008        .95159E-07   -.12750E-02
  12  norm          .22204E-09    5.5572        .30433E-06** at limit **
  13  Prefactor     .71221E-07    17.233        .20165E-06** at limit **
  14  norm          1.2337        .47759        .25598E-07    .52018E-02
  15  norm          38.452        1.0308        .32142E-09   -.24205E-01
  16  Prefactor      .0000        1.8180       -.15895E-06** at limit **
  17  norm          .44669        .34687       -.17567E-07   -.21604E-02
  18  norm          4.1982        2.6855       -.42658E-07   -.14047E-02
  19  Prefactor      .0000        16.553        .33301E-07** at limit **
  20  norm          .15394E-04    30.935        .25606E-06** at limit **
  21  Prefactor     36.347        1.1153        .16481E-08   -.33811E-01
  22  norm          1.6824        1.6062        .27475E-07    .76377E-03
  23  norm          1.5109        1.0120       -.11566E-07   -.97556E-03
  24  Prefactor     .41893E-05    24.438       -.61786E-06** at limit **
  25  norm          4.1453        1.9008        .21977E-07   -.24008E-03
  26  Prefactor     26.643        14.696       -.14071E-06   -.16450    
  27  Prefactor     5.6609        1.4974       -.38791E-07    .23649E-01
  28  Normalizat    .97690        .16354        .14916E-05   -.13468E-03
  29  Prefactor     .93359        .18115       -.48046E-05   -.15555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37327
  norm       = 2.37033e-08
  Prefactor  = 14.8015
  Prefactor  = 0.116612
  norm       = 4.56432
  Prefactor  = 0
  Prefactor  = 0.733313
  Prefactor  = 1.99285e-08
  Prefactor  = 2.498e-09
  Prefactor  = 1.16573e-09
  Prefactor  = 10.7549
  norm       = 2.22045e-10
  Prefactor  = 7.12208e-08
  norm       = 1.23366
  norm       = 38.4523
  Prefactor  = 0
  norm       = 0.446691
  norm       = 4.19816
  Prefactor  = 0
  norm       = 1.53942e-05
  Prefactor  = 36.3468
  norm       = 1.68235
  norm       = 1.51089
  Prefactor  = 4.18926e-06
  norm       = 4.14534
  Prefactor  = 26.6434
  Prefactor  = 5.6609
  Normalizat = 0.976903
  Prefactor  = 0.93359
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.080     FROM HESSE     STATUS=OK           617 CALLS     2145 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3733        6.1131        .54633E-03   -1.5671    
   2  norm          .23703E-07    3.6762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.801        10.139        .25885E-03   -1.5631    
   4  Prefactor     .11661        14.084        .10375E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.5643        1.0413        .47098E-04   -1.5665    
   6  Prefactor      .0000        .84227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .73331        8.2018        .59580E-03   -1.5691    
   8  Prefactor     .19929E-07    3.9646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24980E-08    3.9098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11657E-08    8.2297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.755        6.2401        .30507E-03   -1.5642    
  12  norm          .22204E-09    5.5326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .71221E-07    17.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2337        .47952        .83380E-03   -1.5686    
  15  norm          38.452        13.137        .16126E-03   -1.5584    
  16  Prefactor      .0000        1.8183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .44669        .34803        .84272E-03   -1.5695    
  18  norm          4.1982        2.7013        .49171E-03   -1.5667    
  19  Prefactor      .0000        16.413        .16631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .15394E-04    37.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     36.347        18.872        .16614E-03   -1.5587    
  22  norm          1.6824        1.8247        .81038E-03   -1.5682    
  23  norm          1.5109        1.0020        .86970E-03   -1.5683    
  24  Prefactor     .41893E-05    26.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.1453        1.9249        .49454E-03   -1.5667    
  26  Prefactor     26.643        34.981        .19780E-03   -1.5605    
  27  Prefactor     5.6609        16.578        .42853E-03   -1.5660    
  28  Normalizat    .97690        .15157        .45889E-01   -.93808    
  29  Prefactor     .93359        .16186        .45425E-01   -.94977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90472e-06
Minuit parameter uncertainties:
  1  6.11316
  2  0.000590161
  3  10.1393
  4  2.56306
  5  1.04129
  6  5.56995e-06
  7  4.90491
  8  0.000561799
  9  0.000197592
  10  0.000193796
  11  6.24013
  12  7.41608e-05
  13  0.00221972
  14  0.479517
  15  13.1367
  16  7.78196e-06
  17  0.348027
  18  2.70126
  19  2.65926e-06
  20  0.0483577
  21  18.8716
  22  1.82467
  23  1.00202
  24  0.0212174
  25  1.92494
  26  34.9814
  27  16.5777
  28  0.151642
  29  0.161948
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.234e+00  4.795e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
763    Prefactor:  9.336e-01  1.619e-01  0.000e+00  1.000e+01 ( 1.000e+00)
764        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
765        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
762   Normalization:  9.769e-01  1.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.32
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 6.06e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 4.16e-05 +/- 1.62e-05

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) = 7908.95196793
delta logL = 0.127552129376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7908.94512314
delta logL = 0.134396923241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2435       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1059       1.0000          .0000       5.0000    
     3 'Normalizat'    .95714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7660E+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=   7908.945     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      239 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2435        .45873        .34567E-05    .11965E-01
   2  alpha         2.1059        .39043        .10851E-01    .17184E-04
   3  Normalizat    .95712        .16274        .24502E-03   -.18653E-04
   4  Prefactor     .94547        .18005        .27867E-03    .55728E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24354
  alpha      = 2.1059
  Normalizat = 0.957123
  Prefactor  = 0.945468
 **********
 **   18 **HESSE 
 **********

 FCN=   7908.945     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2435        .45631        .13827E-06   -1.5686    
   2  alpha         2.1059        .38801        .43403E-03   -.15830    
   3  Normalizat    .95712        .16283        .98007E-05   -.94481    
   4  Prefactor     .94547        .18016        .11147E-04   -.94570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77423e-11
Minuit parameter uncertainties:
  1  0.45631
  2  0.389627
  3  0.162909
  4  0.180275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430926': 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) = 7908.94512313
delta logL = 0.134396928761

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.244e+00  4.563e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  2.106e+00  3.896e-01  0.000e+00  5.000e+00 ( 1.000e+00)
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
763    Prefactor:  9.455e-01  1.803e-01  0.000e+00  1.000e+01 ( 1.000e+00)
764        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
765        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
762   Normalization:  9.571e-01  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.53
Ra Dec: 149.416 55.384
Photon Index (Free Index): 2.11 +/- 0.39
Photon Flux (Free Index): 7.57e-08 +/- 3.98e-08
Energy Flux (Free Index): 3.61e-05 +/- 1.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/430926/cmap_HighResolution_697852801_698112001_4FGL_J0957.6+5523_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.06e-08', energy_flux2='3.61e-05', photon_flux_error='2.35e-08', dlogl='1.34e-01', energy_flux='4.16e-05', photon_flux2='7.57e-08', job_status='DONE', time_completed='2023-02-15 00:44:33.778583', photon_index_error2='0.39', photon_index2='2.11', ts='25.32', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='0.98', time_epoch_completed='1676450673.78', return_code='0', job_id='430926', GAL2='0.95', EG2='0.96', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='3.98e-08', ts2='25.53', photon_index='1.90' WHERE bin_id='1769' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:44:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 430926: <4FGL_J0957.6+5523_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 00:30:23 2023
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:30:24 2023
Terminated at Wed Feb 15 00:44:34 2023
Results reported at Wed Feb 15 00:44:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1769 149.416 55.3838 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.6+5523 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            851 sec.

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

