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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1765
RA = 149.416, Dec = 55.3838
tmin = 696816001, tmax = 697075201
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='631270', job_status='RUN', time_executed='2023-02-03 00:47:52.118296', time_epoch_executed='1675414072.12' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631270

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631270/ft1_4FGL_J0957.6+5523_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631270/ft1_4FGL_J0957.6+5523_daily_bin1765.fits outfile=/scratch/kocevski/631270/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1765.fits ra=149.416 dec=55.3838 rad=12.0 tmin=696816001.0 tmax=697075201.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.68
user 3.44
sys 0.22

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

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

Number of photons that the gtmktime cut: 582

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/631270/ltcube_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.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/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits
.....................!
real 14.62
user 14.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631270/ltcube_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits outfile=/scratch/kocevski/631270/expmap_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.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/631270/ltcube_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits
.....................!
real 192.98
user 187.70
sys 4.71

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/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits scfile=/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits outfile=/scratch/kocevski/631270/cmap_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits scfile=/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits outfile=/scratch/kocevski/631270/cmap_HighResolution_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits', '/scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits', expMap='/scratch/kocevski/631270/expmap_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits', expCube='/scratch/kocevski/631270/ltcube_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631270/Model_4FGL_J0957.6+5523_daily_bin1765.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/631270/ft1_filtered_4FGL_J0957.6+5523_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631270/ft2_4FGL_J0957.6+5523_daily_bin1765.fits
Exposure map: /scratch/kocevski/631270/expmap_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631270/ltcube_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631270/Model_4FGL_J0957.6+5523_daily_bin1765.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) = 6418.67064758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.077       1.0000          .0000       .10000E+07
     2 'norm      '    .87472       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12568E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20815E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .37632E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22020E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .55912E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85359E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.111       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4621       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.347       1.0000          .0000       .10000E+07
    12 'norm      '    .18067E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.6364       1.0000          .0000       .10000E+07
    14 'norm      '    1.3604       1.0000          .0000       .10000E+07
    15 'norm      '    .34352E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25382E-01   1.0000          .0000       .10000E+07
    17 'norm      '    1.0992       1.0000          .0000       .10000E+07
    18 'norm      '    4.0318       1.0000          .0000       .10000E+07
    19 'Prefactor '    61.941       1.0000          .0000       .10000E+07
    20 'norm      '    8.1517       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.8023       1.0000          .0000       .10000E+07
    22 'norm      '    3.3091       1.0000          .0000       .10000E+07
    23 'norm      '    1.6556       1.0000          .0000       .10000E+07
    24 'Prefactor '    .39705       1.0000          .0000       .10000E+07
    25 'norm      '    2.8126       1.0000          .0000       .10000E+07
    26 'Prefactor '    46.093       1.0000          .0000       .10000E+07
    27 'Prefactor '    8.2173       1.0000          .0000       .10000E+07
    28 'Normalizat'    .65966       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1977       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=   6418.603     FROM MIGRAD    STATUS=CONVERGED    257 CALLS     2739 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.085        7.2994       -.16157E-06   -.13812E-01
   2  norm          .88368        3.2761        .31717E-06    .56337E-02
   3  Prefactor     .33307E-09    11.632       -.66695E-06** at limit **
   4  Prefactor     .98810E-08    3.5317        .52385E-06** at limit **
   5  norm          .70887E-02    11.367        .86080E-06** at limit **
   6  Prefactor      .0000        2.0438        .28903E-07** at limit **
   7  Prefactor     .55511E-10    3.2195        .96297E-07** at limit **
   8  Prefactor      .0000        1.2133       -.20064E-06** at limit **
   9  Prefactor     11.221        3.0671       -.93487E-07    .66053E-02
  10  Prefactor     4.4680        7.9020        .44769E-06    .20103E-02
  11  Prefactor     16.409        6.8753        .11750E-06    .21477E-04
  12  norm          .11102E-09    4.0579        .56954E-06** at limit **
  13  Prefactor     10.284        20.346        .44547E-06   -.59406E-01
  14  norm          1.3580        .49878        .21733E-07   -.19553E-02
  15  norm          .49960E-08    6.9872        .78391E-06** at limit **
  16  Prefactor     .32010E-01    3.2770       -.49369E-06** at limit **
  17  norm          1.1004        .54706        .64212E-07    .85716E-03
  18  norm          4.0355        2.4620       -.60118E-07   -.97156E-03
  19  Prefactor     63.041        24.097        .75031E-07    .12491    
  20  norm          8.1556        7.5343       -.18205E-06    .10014E-02
  21  Prefactor     4.7908        2.9357       -.20719E-07    .19623E-01
  22  norm          3.3123        1.8478        .44878E-07   -.10064E-02
  23  norm          1.6544        1.3184       -.10944E-06   -.19421E-02
  24  Prefactor     .18369E-06    35.830        .19870E-05** at limit **
  25  norm          2.8122        1.8779        .67718E-07    .66761E-03
  26  Prefactor     48.883        52.757       -.26964E-06   -.33017E-02
  27  Prefactor     8.2074        2.6914        .99792E-07    .10072E-02
  28  Normalizat    .65654        .18691       -.12834E-04    .60637E-05
  29  Prefactor     1.1988        .20570        .10372E-04    .32601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0847
  norm       = 0.88368
  Prefactor  = 3.33067e-10
  Prefactor  = 9.88098e-09
  norm       = 0.00708869
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 11.2213
  Prefactor  = 4.46796
  Prefactor  = 16.4091
  norm       = 1.11022e-10
  Prefactor  = 10.2843
  norm       = 1.35797
  norm       = 4.996e-09
  Prefactor  = 0.0320105
  norm       = 1.10042
  norm       = 4.03545
  Prefactor  = 63.0405
  norm       = 8.15563
  Prefactor  = 4.79082
  norm       = 3.31235
  norm       = 1.65445
  Prefactor  = 1.83686e-07
  norm       = 2.81225
  Prefactor  = 48.8832
  Prefactor  = 8.20739
  Normalizat = 0.656535
  Prefactor  = 1.19884
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.603     FROM HESSE     STATUS=OK           635 CALLS     3374 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.085        9.1408        .28800E-03   -1.5638    
   2  norm          .88368        4.7895        .47524E-03   -1.5689    
   3  Prefactor     .33307E-09    11.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .98810E-08    7.4320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .70887E-02    .31237        .28252E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    3.2277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.221        15.268        .30031E-03   -1.5641    
  10  Prefactor     4.4680        8.2155        .47645E-03   -1.5666    
  11  Prefactor     16.409        7.1074        .24745E-03   -1.5627    
  12  norm          .11102E-09    7.5550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.284        31.902        .32257E-03   -1.5644    
  14  norm          1.3580        .49896        .74646E-03   -1.5685    
  15  norm          .49960E-08    7.0700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32010E-01    2.1762        .87627E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1004        .54648        .91387E-03   -1.5687    
  18  norm          4.0355        2.4769        .50196E-03   -1.5668    
  19  Prefactor     63.041        32.353        .12707E-03   -1.5549    
  20  norm          8.1556        8.5395        .35091E-03   -1.5651    
  21  Prefactor     4.7908        10.271        .45885E-03   -1.5664    
  22  norm          3.3123        1.9757        .55626E-03   -1.5672    
  23  norm          1.6544        1.3296        .81990E-03   -1.5682    
  24  Prefactor     .18369E-06    39.761        .89830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.8122        1.9039        .60626E-03   -1.5674    
  26  Prefactor     48.883        52.454        .14731E-03   -1.5568    
  27  Prefactor     8.2074        14.364        .34950E-03   -1.5651    
  28  Normalizat    .65654        .16231        .62085E-01   -1.0563    
  29  Prefactor     1.1988        .17502        .54390E-01   -.86367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.62252e-07
Minuit parameter uncertainties:
  1  9.14077
  2  4.11457
  3  0.000121455
  4  0.000542546
  5  0.0941128
  6  2.93642e-06
  7  3.18178e-05
  8  3.88785e-07
  9  15.2676
  10  8.21557
  11  7.10744
  12  5.368e-05
  13  31.9023
  14  0.498959
  15  0.000376346
  16  0.52787
  17  0.546482
  18  2.47691
  19  32.3535
  20  8.53951
  21  10.2706
  22  1.97573
  23  1.32955
  24  0.00540528
  25  1.90392
  26  52.4543
  27  14.3644
  28  0.162424
  29  0.175103
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.358e+00  4.990e-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:  1.199e+00  1.751e-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:  6.565e-01  1.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.40
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 6.67e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 4.58e-05 +/- 1.68e-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) = 6418.60250902
delta logL = 0.000187216488484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6418.60250518
delta logL = 0.000191053986782

Fit tolerance = 1e-08

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

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

 FCN=   6418.603     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3586        .79513        .74727E-03   -.12606E-02
   2  alpha         1.8941        .47523        .22638        .69886E-05
   3  Normalizat    .65688        .15085        .62071E-01    .26766E-04
   4  Prefactor     1.1986        .17319        .54394E-01    .31445E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3586
  alpha      = 1.89409
  Normalizat = 0.656879
  Prefactor  = 1.19864
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.603     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3586        .49685        .32904E-05   -1.5685    
   2  alpha         1.8941        .31375        .94384E-02   -.24480    
   3  Normalizat    .65688        .17474        .27460E-03   -1.0562    
   4  Prefactor     1.1986        .20124        .24050E-03   -.86373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77475e-14
Minuit parameter uncertainties:
  1  0.496852
  2  0.314628
  3  0.174883
  4  0.201365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631270': 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) = 6418.60250478
delta logL = 0.000191450477359

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.359e+00  4.969e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.894e+00  3.146e-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:  1.199e+00  2.014e-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:  6.569e-01  1.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.39
Ra Dec: 149.416 55.384
Photon Index (Free Index): 1.89 +/- 0.31
Photon Flux (Free Index): 6.63e-08 +/- 3.00e-08
Energy Flux (Free Index): 4.61e-05 +/- 2.35e-05

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/631270/cmap_HighResolution_696816001_697075201_4FGL_J0957.6+5523_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.67e-08', energy_flux2='4.61e-05', photon_flux_error='2.45e-08', dlogl='1.91e-04', energy_flux='4.58e-05', photon_flux2='6.63e-08', job_status='DONE', time_completed='2023-02-03 01:01:03.419143', photon_index_error2='0.31', photon_index2='1.89', ts='30.40', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.66', time_epoch_completed='1675414863.42', return_code='0', job_id='631270', GAL2='1.20', EG2='0.66', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='3.00e-08', ts2='30.39', photon_index='1.90' WHERE bin_id='1765' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:01:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 631270: <4FGL_J0957.6+5523_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:15 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:45:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:45:28 2023
Terminated at Fri Feb  3 01:01:04 2023
Results reported at Fri Feb  3 01:01:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1765 149.416 55.3838 696816001 697075201 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 :                                   793.16 sec.
    Max Memory :                                 1225 MB
    Average Memory :                             316.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            949 sec.

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

