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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1749
RA = 149.416, Dec = 55.3838
tmin = 692668801, tmax = 692928001
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='947827', job_status='RUN', time_executed='2022-12-17 00:33:07.291731', time_epoch_executed='1671265987.29' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947827/ft1_4FGL_J0957.6+5523_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947827/ft1_4FGL_J0957.6+5523_daily_bin1749.fits outfile=/scratch/kocevski/947827/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1749.fits ra=149.416 dec=55.3838 rad=12.0 tmin=692668801.0 tmax=692928001.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.66
user 3.40
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.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/947827/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/947827/ft1_filtered_4FGL_J0957.6+5523_daily_bin1749.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/947827/ft1_filtered_4FGL_J0957.6+5523_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/947827/ltcube_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.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/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits
.....................!
real 12.91
user 12.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947827/ft1_filtered_4FGL_J0957.6+5523_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/947827/ltcube_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.fits outfile=/scratch/kocevski/947827/expmap_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.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/947827/ltcube_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.fits
.....................!
real 191.44
user 186.24
sys 4.84

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/947827/ft1_filtered_4FGL_J0957.6+5523_daily_bin1749.fits scfile=/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits outfile=/scratch/kocevski/947827/cmap_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/947827/ft1_filtered_4FGL_J0957.6+5523_daily_bin1749.fits scfile=/scratch/kocevski/947827/ft2_4FGL_J0957.6+5523_daily_bin1749.fits outfile=/scratch/kocevski/947827/cmap_HighResolution_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6361       1.0000          .0000       .10000E+07
     2 'norm      '    .19945E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5443       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.769       1.0000          .0000       .10000E+07
     5 'norm      '    1.2733       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11009E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50203E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.8141       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.215       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10300E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    52.811       1.0000          .0000       .10000E+07
    12 'norm      '    .16361E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28767E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.0961       1.0000          .0000       .10000E+07
    15 'norm      '    13.803       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14137E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .46346       1.0000          .0000       .10000E+07
    18 'norm      '    4.3662       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10571E-01   1.0000          .0000       .10000E+07
    20 'norm      '    7.2228       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.6097       1.0000          .0000       .10000E+07
    22 'norm      '    5.9464       1.0000          .0000       .10000E+07
    23 'norm      '    3.0223       1.0000          .0000       .10000E+07
    24 'Prefactor '    .50232       1.0000          .0000       .10000E+07
    25 'norm      '    3.2800       1.0000          .0000       .10000E+07
    26 'Prefactor '    .17221E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .70591E-05   1.0000          .0000       .10000E+07
    28 'Normalizat'    .54618       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3966       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=   7229.701     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     2092 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6334        5.2450        .98434E-07    .10831E-02
   2  norm          .55511E-10    3.8649        .12482E-06** at limit **
   3  Prefactor     7.5225        9.8841       -.31517E-05   -.11414E-01
   4  Prefactor     13.005        1.6199       -.18957E-07   -.15564E-02
   5  norm          1.2723        .70463        .41779E-07   -.14680E-01
   6  Prefactor      .0000        1.5310       -.45665E-07** at limit **
   7  Prefactor     .16653E-09    7.8800       -.68578E-06** at limit **
   8  Prefactor     4.8391        4.3968        .53175E-06   -.66282E-02
   9  Prefactor     17.166        3.4038       -.17443E-06   -.18350E-01
  10  Prefactor      .0000        2.9129       -.13383E-07** at limit **
  11  Prefactor     52.840        10.840       -.66874E-06   -.20629E-01
  12  norm          .55511E-10    2.4785        .14967E-06** at limit **
  13  Prefactor     .83339E-06    9.1568       -.54889E-06** at limit **
  14  norm          1.0961        .49443        .70166E-07   -.32205E-01
  15  norm          13.577        2.2061       -.23190E-06    .22875E-01
  16  Prefactor      .0000        1.9835       -.98998E-07** at limit **
  17  norm          .46351        .43871        .63742E-07   -.24028E-01
  18  norm          4.3718        2.8261       -.16027E-06    .88336E-02
  19  Prefactor     .11435E-07    73.654       -.13939E-05** at limit **
  20  norm          7.2376        1.0246       -.14145E-07    .45835E-02
  21  Prefactor     6.7305        2.8334       -.42250E-06    .79934E-02
  22  norm          5.9292        2.6244        .10362E-06    .10703E-02
  23  norm          3.0220        1.5366       -.58787E-07    .87212E-02
  24  Prefactor     .12350E-05    64.319        .60326E-05** at limit **
  25  norm          3.2804        2.1511        .43407E-07    .11563E-02
  26  Prefactor     .70061E-06    9.6857       -.75797E-06** at limit **
  27  Prefactor     .16098E-07    11.953        .89941E-06** at limit **
  28  Normalizat    .54562        .17229        .41832E-05    .21514E-03
  29  Prefactor     1.3973        .20015        .45215E-06    .31524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.63339
  norm       = 5.55112e-11
  Prefactor  = 7.52247
  Prefactor  = 13.0054
  norm       = 1.27228
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 4.83911
  Prefactor  = 17.166
  Prefactor  = 0
  Prefactor  = 52.8402
  norm       = 5.55112e-11
  Prefactor  = 8.33389e-07
  norm       = 1.09607
  norm       = 13.5766
  Prefactor  = 0
  norm       = 0.463506
  norm       = 4.37182
  Prefactor  = 1.14353e-08
  norm       = 7.23765
  Prefactor  = 6.73049
  norm       = 5.92919
  norm       = 3.02202
  Prefactor  = 1.23496e-06
  norm       = 3.28035
  Prefactor  = 7.00606e-07
  Prefactor  = 1.60982e-08
  Normalizat = 0.545621
  Prefactor  = 1.39729
 **********
 **   18 **HESSE 
 **********

 FCN=   7229.701     FROM HESSE     STATUS=OK           619 CALLS     2711 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6334        5.2712        .46719E-03   -1.5665    
   2  norm          .55511E-10    3.8572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5225        9.9577        .36488E-03   -1.5653    
   4  Prefactor     13.005        19.946        .28006E-03   -1.5636    
   5  norm          1.2723        .71078        .98496E-03   -1.5685    
   6  Prefactor      .0000        1.5250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    7.8661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.8391        4.4394        .45828E-03   -1.5664    
   9  Prefactor     17.166        18.843        .24112E-03   -1.5625    
  10  Prefactor      .0000        2.9165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.840        11.508        .13762E-03   -1.5563    
  12  norm          .55511E-10    2.4805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .83339E-06    17.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0961        .49561        .87628E-03   -1.5687    
  15  norm          13.577        14.664        .26934E-03   -1.5634    
  16  Prefactor      .0000        1.9826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .46351        .47660        .12306E-02   -1.5694    
  18  norm          4.3718        2.8404        .48179E-03   -1.5666    
  19  Prefactor     .11435E-07    73.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.2376        11.393        .37299E-03   -1.5654    
  21  Prefactor     6.7305        23.731        .39009E-03   -1.5656    
  22  norm          5.9292        3.5824        .41155E-03   -1.5659    
  23  norm          3.0220        1.5406        .58349E-03   -1.5673    
  24  Prefactor     .12350E-05    76.639        .78476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.2804        2.1566        .55885E-03   -1.5672    
  26  Prefactor     .70061E-06    15.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .16098E-07    12.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .54562        .15962        .71643E-01   -1.1035    
  29  Prefactor     1.3973        .17756        .55148E-01   -.80458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87443e-07
Minuit parameter uncertainties:
  1  5.27124
  2  2.83897e-05
  3  9.95776
  4  19.946
  5  0.710782
  6  4.39703e-06
  7  7.38729e-05
  8  4.43945
  9  18.8433
  10  9.87985e-06
  11  11.508
  12  2.79437e-05
  13  0.00757248
  14  0.495608
  15  14.6638
  16  6.67501e-06
  17  0.476601
  18  2.84037
  19  0.00183095
  20  11.3935
  21  23.7312
  22  3.58237
  23  1.54064
  24  0.0194572
  25  2.15656
  26  0.00662423
  27  0.000883473
  28  0.159752
  29  0.177636
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.096e+00  4.956e-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.397e+00  1.776e-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:  5.456e-01  1.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.51
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 3.69e-05 +/- 1.67e-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) = 7229.67860248
delta logL = 0.0222684595201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7229.67784023
delta logL = 0.0230307083339

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0928       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9882       1.0000          .0000       5.0000    
     3 'Normalizat'    .54038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4005       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=   7229.678     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      199 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0923        9.5753        .85972E-03    .83453E-03
   2  alpha         1.9881        3.3077        .30729        .12358E-04
   3  Normalizat    .54043        .10486        .71954E-01    .46204E-04
   4  Prefactor     1.4005        .98099E-01    .55090E-01    .52913E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09233
  alpha      = 1.98808
  Normalizat = 0.54043
  Prefactor  = 1.40049
 **********
 **   18 **HESSE 
 **********

 FCN=   7229.678     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0923        .48836        .38008E-05   -1.5687    
   2  alpha         1.9881        .41052        .11713E-01   -.20623    
   3  Normalizat    .54043        .16867        .31855E-03   -1.1058    
   4  Prefactor     1.4005        .19806        .24356E-03   -.80366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45391e-11
Minuit parameter uncertainties:
  1  0.488361
  2  0.412471
  3  0.168829
  4  0.198172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947827': 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) = 7229.67783963
delta logL = 0.0230313108941

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.092e+00  4.884e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.988e+00  4.125e-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.400e+00  1.982e-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:  5.404e-01  1.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.53
Ra Dec: 149.416 55.384
Photon Index (Free Index): 1.99 +/- 0.41
Photon Flux (Free Index): 5.85e-08 +/- 3.36e-08
Energy Flux (Free Index): 3.40e-05 +/- 1.97e-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/947827/cmap_HighResolution_692668801_692928001_4FGL_J0957.6+5523_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='3.40e-05', photon_flux_error='2.43e-08', dlogl='2.30e-02', energy_flux='3.69e-05', photon_flux2='5.85e-08', job_status='DONE', time_completed='2022-12-17 00:45:52.084204', photon_index_error2='0.41', photon_index2='1.99', ts='16.51', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='0.55', time_epoch_completed='1671266752.08', return_code='0', job_id='947827', GAL2='1.40', EG2='0.54', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='3.36e-08', ts2='16.53', photon_index='1.90' WHERE bin_id='1749' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:45:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 947827: <4FGL_J0957.6+5523_daily_bin1749> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:30:19 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:30:21 2022
Terminated at Sat Dec 17 00:45:52 2022
Results reported at Sat Dec 17 00:45:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1749 149.416 55.3838 692668801 692928001 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 :                                   767.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             290.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

