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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1745
RA = 149.416, Dec = 55.3838
tmin = 691632001, tmax = 691891201
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='642929', job_status='RUN', time_executed='2022-12-05 00:29:01.605316', time_epoch_executed='1670228941.61' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642929/ft1_4FGL_J0957.6+5523_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642929/ft1_4FGL_J0957.6+5523_daily_bin1745.fits outfile=/scratch/kocevski/642929/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1745.fits ra=149.416 dec=55.3838 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.39
user 2.19
sys 0.17

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

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

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642929/ft1_filtered_4FGL_J0957.6+5523_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/642929/ltcube_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.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/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits
.....................!
real 13.32
user 12.82
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642929/ft1_filtered_4FGL_J0957.6+5523_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/642929/ltcube_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.fits outfile=/scratch/kocevski/642929/expmap_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.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/642929/ltcube_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.fits
.....................!
real 192.29
user 187.25
sys 4.43

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/642929/ft1_filtered_4FGL_J0957.6+5523_daily_bin1745.fits scfile=/scratch/kocevski/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits outfile=/scratch/kocevski/642929/cmap_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642929/ft1_filtered_4FGL_J0957.6+5523_daily_bin1745.fits scfile=/scratch/kocevski/642929/ft2_4FGL_J0957.6+5523_daily_bin1745.fits outfile=/scratch/kocevski/642929/cmap_HighResolution_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.534       1.0000          .0000       .10000E+07
     2 'norm      '    .13298E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .74721E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .73943E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .37782       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4185       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34844       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36031E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .60286E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20475E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.166       1.0000          .0000       .10000E+07
    12 'norm      '    .92502E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.2991       1.0000          .0000       .10000E+07
    14 'norm      '    2.1597       1.0000          .0000       .10000E+07
    15 'norm      '    22.413       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45072E-03   1.0000          .0000       .10000E+07
    17 'norm      '    7.2796       1.0000          .0000       .10000E+07
    18 'norm      '    2.8576       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.6068       1.0000          .0000       .10000E+07
    20 'norm      '    4.4832       1.0000          .0000       .10000E+07
    21 'Prefactor '    .72424E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.1435       1.0000          .0000       .10000E+07
    23 'norm      '    .84839       1.0000          .0000       .10000E+07
    24 'Prefactor '    .44390       1.0000          .0000       .10000E+07
    25 'norm      '    3.5681       1.0000          .0000       .10000E+07
    26 'Prefactor '    52.858       1.0000          .0000       .10000E+07
    27 'Prefactor '    .11645       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.4751       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .42104       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=   6206.097     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2610 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.466        13.010       -.10629E-05   -.12746E-01
   2  norm          .33307E-09    4.4779       -.26005E-06** at limit **
   3  Prefactor     .12768E-08    7.5184       -.55325E-07** at limit **
   4  Prefactor     .18874E-08    14.428       -.27716E-06** at limit **
   5  norm          .37763        .58602        .76615E-08    .28580E-02
   6  Prefactor     2.4371        4.7451       -.57224E-08    .85968E-03
   7  Prefactor     .30691        2.1636        .16360E-05   -.75654E-02
   8  Prefactor     .11102E-09    2.8868        .49402E-07** at limit **
   9  Prefactor     .24425E-08    33.418       -.31198E-06** at limit **
  10  Prefactor     .55511E-10    2.8463       -.31513E-06** at limit **
  11  Prefactor     16.183        8.6222        .21339E-06    .96990E-02
  12  norm          .44409E-09    3.0462        .18400E-06** at limit **
  13  Prefactor     5.0782        11.906        .14154E-05   -.21011E-01
  14  norm          2.1599        .71200       -.62949E-08    .44793E-01
  15  norm          22.422        3.8130       -.34600E-06    .31693E-01
  16  Prefactor     .16986E-07    2.3402        .92607E-06** at limit **
  17  norm          7.2787        1.2923       -.25964E-08   -.29359E-02
  18  norm          2.8569        2.2485       -.17037E-07   -.91471E-03
  19  Prefactor     7.4352        27.474        .17502E-05    .96877E-02
  20  norm          4.4818        1.1176       -.14231E-06    .12029E-03
  21  Prefactor     .31197E-07    3.8404       -.87592E-07** at limit **
  22  norm          2.1432        1.4595        .24230E-08   -.53795E-02
  23  norm          .84845        .84330       -.19359E-07   -.95591E-02
  24  Prefactor     .59716E-05    512.34       -.33488E-05** at limit **
  25  norm          3.5732        2.1877       -.28085E-08   -.95577E-03
  26  Prefactor     52.450        15.097       -.24852E-07   -.36605E-01
  27  Prefactor     .17403E-06    34.562        .76293E-05** at limit **
  28  Normalizat    1.4759        .20739       -.17181E-05    .39404E-03
  29  Prefactor     .42089        .21185        .42625E-05    .16858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4658
  norm       = 3.33067e-10
  Prefactor  = 1.27676e-09
  Prefactor  = 1.88738e-09
  norm       = 0.377633
  Prefactor  = 2.43709
  Prefactor  = 0.306909
  Prefactor  = 1.11022e-10
  Prefactor  = 2.44249e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 16.183
  norm       = 4.44089e-10
  Prefactor  = 5.07824
  norm       = 2.1599
  norm       = 22.4217
  Prefactor  = 1.69864e-08
  norm       = 7.27873
  norm       = 2.85688
  Prefactor  = 7.43524
  norm       = 4.48182
  Prefactor  = 3.11973e-08
  norm       = 2.14323
  norm       = 0.848451
  Prefactor  = 5.97156e-06
  norm       = 3.57318
  Prefactor  = 52.4496
  Prefactor  = 1.74027e-07
  Normalizat = 1.47595
  Prefactor  = 0.42089
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.097     FROM HESSE     STATUS=OK           625 CALLS     3235 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.466        13.629        .22634E-03   -1.5620    
   2  norm          .33307E-09    4.4759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12768E-08    7.5268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18874E-08    14.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .37763        .72124        .17435E-02   -1.5696    
   6  Prefactor     2.4371        4.7681        .65791E-03   -1.5677    
   7  Prefactor     .30691        7.5406        .95721E-02   -1.5697    
   8  Prefactor     .11102E-09    2.8876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24425E-08    32.807        .15152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.8482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.183        8.7838        .24883E-03   -1.5628    
  12  norm          .44409E-09    3.0610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0782        60.718        .43637E-03   -1.5663    
  14  norm          2.1599        .71496        .70066E-03   -1.5679    
  15  norm          22.422        15.340        .21128E-03   -1.5613    
  16  Prefactor     .16986E-07    5.4336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.2787        1.2951        .37152E-03   -1.5654    
  18  norm          2.8569        2.2554        .60114E-03   -1.5674    
  19  Prefactor     7.4352        29.360        .36337E-03   -1.5653    
  20  norm          4.4818        10.008        .47529E-03   -1.5666    
  21  Prefactor     .31197E-07    5.0528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1432        1.4585        .70365E-03   -1.5679    
  23  norm          .84845        .83959        .49396E-03   -1.5690    
  24  Prefactor     .59716E-05    552.90        .84567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.5732        2.1917        .53478E-03   -1.5670    
  26  Prefactor     52.450        52.801        .13755E-03   -1.5563    
  27  Prefactor     .17403E-06    39.324        .13507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.4759        .19190        .49846E-01   -.78456    
  29  Prefactor     .42089        .19710        .94006E-01   -1.1576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37562e-07
Minuit parameter uncertainties:
  1  13.6286
  2  7.90344e-05
  3  0.000195236
  4  0.000328945
  5  0.721239
  6  4.76807
  7  3.04256
  8  3.36052e-05
  9  0.000566283
  10  2.0046e-05
  11  8.78376
  12  7.31236e-05
  13  35.1198
  14  0.714964
  15  15.3404
  16  0.000607187
  17  1.29515
  18  2.25544
  19  29.3601
  20  10.0084
  21  0.00079426
  22  1.45846
  23  0.839586
  24  0.114931
  25  2.1917
  26  52.8019
  27  0.00523195
  28  0.191992
  29  0.19742
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  2.160e+00  7.150e-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:  4.209e-01  1.974e-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:  1.476e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.60
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 3.51e-08
Energy Flux (Fixed Index): 7.28e-05 +/- 2.41e-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) = 6206.08632172
delta logL = 0.0109656761842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6206.08575797
delta logL = 0.0115294276184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1638       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9459       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42401       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=   6206.086     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      200 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1638        1.1606        .69990E-03   -.98380E-02
   2  alpha         1.9460        .46859        .20901        .68261E-04
   3  Normalizat    1.4704        .18460        .49914E-01    .31839E-04
   4  Prefactor     .42403        .19510        .93673E-01   -.23302E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.16385
  alpha      = 1.94596
  Normalizat = 1.47036
  Prefactor  = 0.424033
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.086     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1638        .69596        .35817E-05   -1.5679    
   2  alpha         1.9460        .30019        .86477E-02   -.22347    
   3  Normalizat    1.4704        .19935        .22066E-03   -.78615    
   4  Prefactor     .42403        .20931        .41529E-03   -1.1560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1056e-10
Minuit parameter uncertainties:
  1  0.69596
  2  0.300949
  3  0.199455
  4  0.209683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642929': 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) = 6206.08575796
delta logL = 0.0115294393427

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  2.164e+00  6.960e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.946e+00  3.009e-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:  4.240e-01  2.097e-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:  1.470e+00  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.42
Ra Dec: 149.416 55.384
Photon Index (Free Index): 1.95 +/- 0.30
Photon Flux (Free Index): 1.11e-07 +/- 4.83e-08
Energy Flux (Free Index): 6.98e-05 +/- 2.95e-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/642929/cmap_HighResolution_691632001_691891201_4FGL_J0957.6+5523_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='6.98e-05', photon_flux_error='3.51e-08', dlogl='1.15e-02', energy_flux='7.28e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2022-12-05 00:41:32.541448', photon_index_error2='0.30', photon_index2='1.95', ts='33.60', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='1.48', time_epoch_completed='1670229692.54', return_code='0', job_id='642929', GAL2='0.42', EG2='1.47', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='4.83e-08', ts2='33.42', photon_index='1.90' WHERE bin_id='1745' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:41:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 642929: <4FGL_J0957.6+5523_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1745> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec  5 00:25:19 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:25:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:25:20 2022
Terminated at Mon Dec  5 00:41:33 2022
Results reported at Mon Dec  5 00:41:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1745 149.416 55.3838 691632001 691891201 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 :                                   752.58 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             273.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

