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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1748
RA = 149.416, Dec = 55.3838
tmin = 692409601, tmax = 692668801
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='881862', job_status='RUN', time_executed='2022-12-14 00:26:57.583230', time_epoch_executed='1671006417.58' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881862/ft1_4FGL_J0957.6+5523_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881862/ft2_4FGL_J0957.6+5523_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881862/ft1_4FGL_J0957.6+5523_daily_bin1748.fits outfile=/scratch/kocevski/881862/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1748.fits ra=149.416 dec=55.3838 rad=12.0 tmin=692409601.0 tmax=692668801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.61
user 3.39
sys 0.20

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

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

Number of photons that the gtmktime cut: 676

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881862/ft1_filtered_4FGL_J0957.6+5523_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881862/ft2_4FGL_J0957.6+5523_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881862/ltcube_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.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/881862/ft2_4FGL_J0957.6+5523_daily_bin1748.fits
.....................!
real 11.79
user 11.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881862/ft1_filtered_4FGL_J0957.6+5523_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881862/ft2_4FGL_J0957.6+5523_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881862/ltcube_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.fits outfile=/scratch/kocevski/881862/expmap_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.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/881862/ltcube_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.fits
.....................!
real 189.89
user 184.92
sys 4.62

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881862/ft1_filtered_4FGL_J0957.6+5523_daily_bin1748.fits scfile=/scratch/kocevski/881862/ft2_4FGL_J0957.6+5523_daily_bin1748.fits outfile=/scratch/kocevski/881862/cmap_HighResolution_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62069       1.0000          .0000       .10000E+07
     2 'norm      '    4.0910       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2896       1.0000          .0000       .10000E+07
     4 'Prefactor '    32.730       1.0000          .0000       .10000E+07
     5 'norm      '    2.8797       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14511E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8496       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19812E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37102       1.0000          .0000       .10000E+07
    10 'Prefactor '    .77407E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    36.379       1.0000          .0000       .10000E+07
    12 'norm      '    .16450E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19320E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .72603       1.0000          .0000       .10000E+07
    15 'norm      '    23.068       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6028       1.0000          .0000       .10000E+07
    17 'norm      '    1.4672       1.0000          .0000       .10000E+07
    18 'norm      '    2.1805       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.5140       1.0000          .0000       .10000E+07
    20 'norm      '    4.5292       1.0000          .0000       .10000E+07
    21 'Prefactor '    .43466E-02   1.0000          .0000       .10000E+07
    22 'norm      '    4.3568       1.0000          .0000       .10000E+07
    23 'norm      '    1.4509       1.0000          .0000       .10000E+07
    24 'Prefactor '    .43488       1.0000          .0000       .10000E+07
    25 'norm      '    5.3376       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.4581       1.0000          .0000       .10000E+07
    27 'Prefactor '    15.953       1.0000          .0000       .10000E+07
    28 'Normalizat'    .68140       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1904       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=   7400.663     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2652 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62457        7.8152        .83775E-06   -.29498E-02
   2  norm          4.0851        6.0876       -.38384E-07   -.14782E-02
   3  Prefactor     6.2412        10.320        .17243E-06    .28498E-01
   4  Prefactor     33.000        3.0739        .10563E-06   -.10780E-01
   5  norm          2.8812        .93765       -.29408E-07    .18209E-02
   6  Prefactor      .0000        1.7917        .37389E-07** at limit **
   7  Prefactor     6.9557        5.2784        .15871E-06   -.18215E-02
   8  Prefactor      .0000        1.2843        .12188E-06** at limit **
   9  Prefactor     .19207E-07    89.745       -.16773E-05** at limit **
  10  Prefactor     .11777        20.037        .65763E-06** at limit **
  11  Prefactor     36.424        8.1063        .16981E-06   -.43078E-02
  12  norm          .55511E-10    2.3141       -.30794E-06** at limit **
  13  Prefactor     .66613E-09    14.495       -.57744E-06** at limit **
  14  norm          .72620        .38836       -.27202E-07    .28288E-02
  15  norm          23.031        4.3093        .96264E-07   -.10721    
  16  Prefactor     1.6216        4.1983       -.12156E-06    .37965E-03
  17  norm          1.4684        .62077        .64438E-08   -.14179E-02
  18  norm          2.1822        1.7222        .75228E-09   -.24408E-03
  19  Prefactor     2.8389        4.7056        .50525E-06   -.78075E-02
  20  norm          4.5137        10.614       -.47742E-06   -.14356E-01
  21  Prefactor     .21094E-08    10.921       -.32967E-06** at limit **
  22  norm          4.3622        2.1074       -.64062E-09   -.94565E-03
  23  norm          1.4490        1.0897        .40476E-07   -.24660E-02
  24  Prefactor     .46835E-06    128.68       -.31700E-05** at limit **
  25  norm          5.3209        2.3930        .72560E-07   -.47705E-02
  26  Prefactor     10.212        69.578        .27998E-05    .64479E-03
  27  Prefactor     16.357        5.7353        .21176E-06   -.31091E-01
  28  Normalizat    .67832        .17925        .29179E-05   -.27656E-03
  29  Prefactor     1.1920        .19726       -.10009E-05   -.22218E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.624571
  norm       = 4.08513
  Prefactor  = 6.24117
  Prefactor  = 32.9997
  norm       = 2.88123
  Prefactor  = 0
  Prefactor  = 6.95568
  Prefactor  = 0
  Prefactor  = 1.92069e-08
  Prefactor  = 0.117766
  Prefactor  = 36.4244
  norm       = 5.55112e-11
  Prefactor  = 6.66134e-10
  norm       = 0.726198
  norm       = 23.031
  Prefactor  = 1.62158
  norm       = 1.46841
  norm       = 2.1822
  Prefactor  = 2.83891
  norm       = 4.51369
  Prefactor  = 2.10942e-09
  norm       = 4.36218
  norm       = 1.44901
  Prefactor  = 4.68348e-07
  norm       = 5.32085
  Prefactor  = 10.2118
  Prefactor  = 16.3571
  Normalizat = 0.678318
  Prefactor  = 1.19196
 **********
 **   18 **HESSE 
 **********

 FCN=   7400.663     FROM HESSE     STATUS=OK           631 CALLS     3283 TOTAL
                     EDM=   .92E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62457        7.8147        .67395E-03   -1.5692    
   2  norm          4.0851        6.1879        .49820E-03   -1.5668    
   3  Prefactor     6.2412        11.889        .40001E-03   -1.5658    
   4  Prefactor     33.000        21.965        .17482E-03   -1.5593    
   5  norm          2.8812        .95198        .59867E-03   -1.5674    
   6  Prefactor      .0000        1.7902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9557        10.916        .38312E-03   -1.5655    
   8  Prefactor      .0000        1.2856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19207E-07    95.635        .92924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11777        2.9841        .97190E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.424        9.5863        .16581E-03   -1.5587    
  12  norm          .55511E-10    2.3165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .66613E-09    14.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .72620        .39082        .58620E-03   -1.5691    
  15  norm          23.031        13.556        .20826E-03   -1.5612    
  16  Prefactor     1.6216        4.2751        .83692E-03   -1.5682    
  17  norm          1.4684        .62584        .88719E-03   -1.5684    
  18  norm          2.1822        1.7233        .69689E-03   -1.5678    
  19  Prefactor     2.8389        54.017        .64411E-03   -1.5674    
  20  norm          4.5137        11.216        .47281E-03   -1.5665    
  21  Prefactor     .21094E-08    10.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.3622        2.1065        .48232E-03   -1.5666    
  23  norm          1.4490        1.0919        .89406E-04   -1.5684    
  24  Prefactor     .46835E-06    132.36        .85552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.3209        2.4754        .43477E-03   -1.5662    
  26  Prefactor     10.212        68.510        .36700E-03   -1.5644    
  27  Prefactor     16.357        23.805        .25049E-03   -1.5627    
  28  Normalizat    .67832        .16375        .64496E-01   -1.0476    
  29  Prefactor     1.1920        .17095        .57399E-01   -.86579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22512e-07
Minuit parameter uncertainties:
  1  4.41854
  2  6.18788
  3  11.8895
  4  21.9653
  5  0.951983
  6  3.04642e-06
  7  10.9163
  8  5.72839e-06
  9  0.00270964
  10  1.18562
  11  9.58627
  12  1.78065e-05
  13  0.000194932
  14  0.390819
  15  13.5564
  16  4.27513
  17  0.625845
  18  1.72334
  19  24.7672
  20  11.2161
  21  0.000305544
  22  2.10654
  23  1.09186
  24  0.0157473
  25  2.47537
  26  52.9011
  27  23.8049
  28  0.163869
  29  0.171029
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  7.262e-01  3.908e-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.192e+00  1.710e-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.783e-01  1.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.02
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.32e-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) = 7400.22929338
delta logL = 0.433953700116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7400.22027351
delta logL = 0.442973568196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60654       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4784       1.0000          .0000       5.0000    
     3 'Normalizat'    .69227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1856       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=   7400.220     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60652        .34368        .68644E-03   -.15806E-02
   2  alpha         1.4784        .33730        .30764       -.39234E-04
   3  Normalizat    .69227        .14457        .63908E-01    .29341E-04
   4  Prefactor     1.1856        .16657        .57546E-01    .55775E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.606523
  alpha      = 1.47842
  Normalizat = 0.692266
  Prefactor  = 1.18563
 **********
 **   18 **HESSE 
 **********

 FCN=   7400.220     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60652        .41300        .36933E-05   -1.5692    
   2  alpha         1.4784        .43998        .12423E-01   -.42096    
   3  Normalizat    .69227        .16587        .28274E-03   -1.0420    
   4  Prefactor     1.1856        .19129        .25446E-03   -.86775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.28901e-10
Minuit parameter uncertainties:
  1  0.413003
  2  0.442753
  3  0.165992
  4  0.191406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881862': 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) = 7400.2202735
delta logL = 0.442973571273

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  6.065e-01  4.130e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.478e+00  4.428e-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.186e+00  1.914e-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.923e-01  1.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.89
Ra Dec: 149.416 55.384
Photon Index (Free Index): 1.48 +/- 0.44
Photon Flux (Free Index): 2.22e-08 +/- 1.75e-08
Energy Flux (Free Index): 4.12e-05 +/- 3.52e-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/881862/cmap_HighResolution_692409601_692668801_4FGL_J0957.6+5523_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='4.12e-05', photon_flux_error='1.92e-08', dlogl='4.43e-01', energy_flux='2.45e-05', photon_flux2='2.22e-08', job_status='DONE', time_completed='2022-12-14 00:40:54.128682', photon_index_error2='0.44', photon_index2='1.48', ts='13.02', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='0.68', time_epoch_completed='1671007254.13', return_code='0', job_id='881862', GAL2='1.19', EG2='0.69', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='1.75e-08', ts2='13.89', photon_index='1.90' WHERE bin_id='1748' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:40:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 881862: <4FGL_J0957.6+5523_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:31 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:33 2022
Terminated at Wed Dec 14 00:40:54 2022
Results reported at Wed Dec 14 00:40:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1748 149.416 55.3838 692409601 692668801 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 :                                   838.07 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             330.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

