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


Performing analysis on: 4FGL_J0957.8+3423_daily_bin1714
RA = 149.471, Dec = 34.3975
tmin = 683596801, tmax = 683856001
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='87587', job_status='RUN', time_executed='2022-09-16 15:06:05.867693', time_epoch_executed='1663365965.87' WHERE source_name='4FGL J0957.8+3423' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87587/ft1_4FGL_J0957.8+3423_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87587/ft1_4FGL_J0957.8+3423_daily_bin1714.fits outfile=/scratch/kocevski/87587/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1714.fits ra=149.471 dec=34.3975 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.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/87587/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.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.33
sys 0.17

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/87587/ltcube_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.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/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits
.....................!
real 15.98
user 15.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/87587/ltcube_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits outfile=/scratch/kocevski/87587/expmap_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.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/87587/ltcube_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits
.....................!
real 193.04
user 186.70
sys 5.55

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 187 point sources and 0 extended sources

Setting source of interest to:
4FGL J0957.8+3423 @ 149.471 34.3975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits outfile=/scratch/kocevski/87587/cmap_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.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.471 yref=34.3975 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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits outfile=/scratch/kocevski/87587/cmap_HighResolution_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.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.471 yref=34.3975 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87587/Model_4FGL_J0957.8+3423_daily_bin1714.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/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits.....................!
real 52.01
user 50.02
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits', '/scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits', expMap='/scratch/kocevski/87587/expmap_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits', expCube='/scratch/kocevski/87587/ltcube_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87587/Model_4FGL_J0957.8+3423_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.8+3423'

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  1.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.164e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/87587/ft1_filtered_4FGL_J0957.8+3423_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/87587/ft2_4FGL_J0957.8+3423_daily_bin1714.fits
Exposure map: /scratch/kocevski/87587/expmap_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits
Exposure cube: /scratch/kocevski/87587/ltcube_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87587/Model_4FGL_J0957.8+3423_daily_bin1714.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) = 5858.25047628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58817E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .68395E-04   1.0000          .0000       .10000E+07
     3 'norm      '    2.7547       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.653       1.0000          .0000       .10000E+07
     5 'norm      '    .73375E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24369E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12594E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .25296E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11076E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18082E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57042E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.2429       1.0000          .0000       .10000E+07
    13 'Prefactor '    .45502E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12490E-06   1.0000          .0000       .10000E+07
    15 'norm      '    16.763       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.166       1.0000          .0000       .10000E+07
    17 'Prefactor '    .91744E-03   1.0000          .0000       .10000E+07
    18 'norm      '    3.6115       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32814E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.9689       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.1812       1.0000          .0000       .10000E+07
    22 'Prefactor '    .17745E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .81924       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5858.188     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1562 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13394E-05    4.1985       -.12098E-05** at limit **
   2  Prefactor     .14988E-08    2.2195       -.32282E-07** at limit **
   3  norm          2.7547        1.5653       -.89248E-07    .20232E-01
   4  Prefactor     11.444        2.4845        .13871E-05    .11334E-01
   5  norm          .49960E-08    3.2751        .50610E-07** at limit **
   6  Prefactor     .49143E-05    4.1592       -.63216E-05** at limit **
   7  Prefactor     .17208E-08    2.1613        .40211E-06** at limit **
   8  norm          .39413E-08    5.2776        .10353E-05** at limit **
   9  Prefactor     .48628E-07    7.7083        .94417E-06** at limit **
  10  Prefactor     .25913E-06    10.201       -.10265E-04** at limit **
  11  Prefactor     .90705E-07    12.459        .75838E-05** at limit **
  12  Prefactor     7.2416        6.6484       -.27841E-06    .68734E-02
  13  Prefactor     .58503E-06    5.7254        .13889E-05** at limit **
  14  Prefactor     .16653E-09    .74140       -.43632E-06** at limit **
  15  norm          16.762        9.1651       -.25654E-05    .54931E-03
  16  Prefactor     10.121        4.9475        .54578E-07   -.43111E-02
  17  Prefactor     .75978E-06    5.7494        .83913E-05** at limit **
  18  norm          3.5833        1.2069        .49649E-06    .18151E-02
  19  Prefactor     .82157E-08    45.771        .10619E-05** at limit **
  20  Prefactor     7.2040        2.4930        .89732E-06   -.20359E-01
  21  Prefactor     4.1973        4.6006        .14562E-05   -.64353E-03
  22  Prefactor     .14133E-06    4.0435        .30731E-05** at limit **
  23  Normalizat    .81988        .19754       -.58688E-05   -.14905E-03
  24  Prefactor     1.2075        .23131        .34793E-05    .11401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33937e-06
  Prefactor  = 1.4988e-09
  norm       = 2.75467
  Prefactor  = 11.444
  norm       = 4.996e-09
  Prefactor  = 4.91429e-06
  Prefactor  = 1.72085e-09
  norm       = 3.94129e-09
  Prefactor  = 4.86278e-08
  Prefactor  = 2.59126e-07
  Prefactor  = 9.07052e-08
  Prefactor  = 7.24157
  Prefactor  = 5.85032e-07
  Prefactor  = 1.66533e-10
  norm       = 16.7621
  Prefactor  = 10.1214
  Prefactor  = 7.59781e-07
  norm       = 3.5833
  Prefactor  = 8.21565e-09
  Prefactor  = 7.204
  Prefactor  = 4.19732
  Prefactor  = 1.41331e-07
  Normalizat = 0.819879
  Prefactor  = 1.20745
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.188     FROM HESSE     STATUS=OK           443 CALLS     2005 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13394E-05    11.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14988E-08    2.2140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7547        1.5594        .61306E-03   -1.5675    
   4  Prefactor     11.444        16.416        .29321E-03   -1.5640    
   5  norm          .49960E-08    3.2886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .49143E-05    1.1182        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17208E-08    2.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .39413E-08    5.2904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .48628E-07    7.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .25913E-06    15.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .90705E-07    19.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2416        6.6780        .37247E-03   -1.5654    
  13  Prefactor     .58503E-06    18.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    .73952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.762        9.1869        .24435E-03   -1.5626    
  16  Prefactor     10.121        4.9639        .31402E-03   -1.5644    
  17  Prefactor     .75978E-06    10.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5833        13.652        .53143E-03   -1.5670    
  19  Prefactor     .82157E-08    45.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.2040        46.480        .37979E-03   -1.5654    
  21  Prefactor     4.1973        4.9164        .49263E-03   -1.5667    
  22  Prefactor     .14133E-06    11.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81988        .16890        .43861E-01   -.99335    
  24  Prefactor     1.2075        .19521        .56611E-01   -.86102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52344e-07
Minuit parameter uncertainties:
  1  0.00787605
  2  0.000114832
  3  1.55936
  4  16.4163
  5  0.000256142
  6  0.0046884
  7  0.000121998
  8  0.000289718
  9  0.00123123
  10  0.00398222
  11  0.00267034
  12  6.67801
  13  0.00663961
  14  2.39714e-05
  15  9.18694
  16  4.96392
  17  0.00570685
  18  13.6518
  19  0.0012286
  20  36.5977
  21  4.91639
  22  0.00249584
  23  0.169012
  24  0.195325
Done.

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

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  5.850e-07  6.640e-03  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.164e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.207e+00  1.953e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.199e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 149.471 34.398
Photon Flux Upper Limit: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87587/likelihoodResults_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.txt

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): 102
logL (Free Index) = 5858.21699404
delta logL = -0.029300498617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5858.14598649
delta logL = 0.0417070542017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42559       1.0000          .0000       .10000E+07
     2 'Index     '    3.2218       1.0000          .0000       10.000    
     3 'Normalizat'    .80754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2149       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5858.146     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      227 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42325        36.687        .86579E-03    .90443E-02
   2  Index         3.2245        3.1841        .21643       -.28630E-04
   3  Normalizat    .80751        .22925E-01    .43709E-01    .80290E-05
   4  Prefactor     1.2147        .27386E-01    .56464E-01    .51324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.42325
  Index      = 3.22449
  Normalizat = 0.807514
  Prefactor  = 1.21469
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.146     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42325        145.59        .16658E-04   -1.5695    
   2  Index         3.2245        6.8638        .10305E-01   -.36302    
   3  Normalizat    .80751        .19695        .25221E-03   -.99791    
   4  Prefactor     1.2147        .23276        .24967E-03   -.85880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05192e-09
Minuit parameter uncertainties:
  1  15.7
  2  14.8621
  3  0.197126
  4  0.232957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87587': 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) = 5858.14598396
delta logL = 0.0417095847906

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  4.233e-01  1.570e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.224e+00  1.486e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.215e+00  2.330e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.075e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 149.471 34.398

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/87587/cmap_HighResolution_683596801_683856001_4FGL_J0957.8+3423_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2022-09-16 15:15:41.310731', job_id='87587', GAL2='1.21', fit_tolerance='1e-08', EG2='0.81', EG='0.82', time_epoch_completed='1663366541.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='4.17e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1714' AND source_name='4FGL J0957.8+3423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:15:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 87587: <4FGL_J0957.8+3423_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0957.8+3423_daily_bin1714> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:00:30 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:02:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:02:51 2022
Terminated at Fri Sep 16 15:15:42 2022
Results reported at Fri Sep 16 15:15:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.8+3423_daily_bin1714 149.471 34.3975 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.8+3423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.59 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             235.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            912 sec.

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

