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 86 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0957.6+5523_monthly_bin169
RA = 149.416, Dec = 55.3838
tmin = 675043201, tmax = 677635201
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='164324', job_status='RUN', time_executed='2022-06-23 02:05:12.066913', time_epoch_executed='1655975112.07' WHERE source_name='4FGL J0957.6+5523' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164324

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164324/ft1_4FGL_J0957.6+5523_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164324/ft1_4FGL_J0957.6+5523_monthly_bin169.fits outfile=/scratch/kocevski/164324/ft1_filteredMKT_4FGL_J0957.6+5523_monthly_bin169.fits ra=149.416 dec=55.3838 rad=12.0 tmin=675043201.0 tmax=677635201.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 28.64
user 27.83
sys 0.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.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/164324/ft1_filteredMKT_4FGL_J0957.6+5523_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.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.85
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 7977

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/164324/ltcube_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits outfile=/scratch/kocevski/164324/expmap_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.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/164324/ltcube_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits
.....................!
real 193.32
user 187.73
sys 5.15

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/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.fits scfile=/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits outfile=/scratch/kocevski/164324/cmap_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.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.80
user 0.63
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.fits scfile=/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits outfile=/scratch/kocevski/164324/cmap_HighResolution_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.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.80
user 0.62
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.fits', '/scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits', expMap='/scratch/kocevski/164324/expmap_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits', expCube='/scratch/kocevski/164324/ltcube_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/164324/Model_4FGL_J0957.6+5523_monthly_bin169.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  1.000e-04  1.000e+04 ( 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  0.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/164324/ft1_filtered_4FGL_J0957.6+5523_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/164324/ft2_4FGL_J0957.6+5523_monthly_bin169.fits
Exposure map: /scratch/kocevski/164324/expmap_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits
Exposure cube: /scratch/kocevski/164324/ltcube_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/164324/Model_4FGL_J0957.6+5523_monthly_bin169.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) = 84941.1458996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2268       1.0000         .10000E-03   10000.    
     2 'norm      '    .44791       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7727       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11558E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6297       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20138E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .76148       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9195       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5620       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9650       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .91543E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0765       1.0000         .10000E-03   10000.    
    15 'norm      '    .10728       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9158       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3164       1.0000         .10000E-03   10000.    
    18 'norm      '    7.2446       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.3659       1.0000         .10000E-03   10000.    
    21 'norm      '    3.2506       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .42813E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4268       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.8518       1.0000         .10000E-03   10000.    
    25 'norm      '    2.9011       1.0000         .10000E-03   10000.    
    26 'norm      '    5.3769       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    22.666       1.0000         .10000E-03   10000.    
    29 'norm      '    3.1070       1.0000         .10000E-03   10000.    
    30 'Prefactor '    60.600       1.0000         .10000E-03   10000.    
    31 'Prefactor '    6.8814       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .94337       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0426       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=   84940.37     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     3342 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2256        1.9495       -.23573E-06   -.24955E-03
   2  norm          .44773        .89736        .72645E-07    .95935E-05
   3  Prefactor     4.7744        2.8055       -.64044E-06   -.16638E-03
   4  Prefactor     .10000E-03    15.560       -.10221E-05** at limit **
   5  Prefactor     1.6265        3.9032        .11591E-05    .77732E-03
   6  Prefactor     .10000E-03    10.889       -.15742E-05** at limit **
   7  norm          .76164        .21726        .23424E-07    .11048E-03
   8  Prefactor     .10000E-03    .40722        .26808E-06** at limit **
   9  Prefactor     4.9211        2.3135        .12380E-06    .95770E-03
  10  Prefactor     2.5620        .92080        .10521E-06    .20217E-03
  11  Prefactor     1.9565        4.1214        .86843E-06   -.23856E-02
  12  Prefactor     .10000E-03    .99303        .29311E-06** at limit **
  13  Prefactor     .10772E-03    130.81        .23263E-05** at limit **
  14  Prefactor     1.0774        1.6964       -.28906E-06    .58332E-04
  15  norm          .10631        2.4772       -.54319E-06   -.12399E-02
  16  Prefactor     4.8929        5.4199       -.10978E-05    .26935E-02
  17  norm          1.3164        .15514       -.13845E-07   -.69246E-03
  18  norm          7.2373        2.9495        .42077E-06    .67405E-03
  19  Prefactor     .10000E-03    2.0671        .96018E-07** at limit **
  20  norm          6.3659        .30712       -.54312E-08   -.16006E-03
  21  norm          3.2505        .65877       -.50414E-08   -.59680E-05
  22  Prefactor     .11267E-03    73.229        .21508E-05** at limit **
  23  norm          4.4356        3.0832        .15579E-05    .24486E-02
  24  Prefactor     2.8716        3.9524        .52924E-06   -.31088E-02
  25  norm          2.8991        .67182       -.78790E-07    .18050E-03
  26  norm          5.3766        .57798        .23189E-07    .21945E-03
  27  Prefactor     .10000E-03    5.5884       -.73782E-06** at limit **
  28  Prefactor     22.671        1.1847       -.31859E-07    .58241E-03
  29  norm          3.1069        .57298       -.28590E-07   -.14143E-03
  30  Prefactor     60.579        13.713       -.24028E-06    .13505E-02
  31  Prefactor     6.8834        1.8402        .31133E-07   -.14050E-02
  32  Normalizat    .94341        .53766E-01   -.37846E-07   -.75817E-05
  33  Prefactor     1.0426        .59136E-01   -.20967E-07   -.70041E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.22561
  norm       = 0.447729
  Prefactor  = 4.7744
  Prefactor  = 0.000100005
  Prefactor  = 1.62654
  Prefactor  = 0.000100004
  norm       = 0.761638
  Prefactor  = 0.0001
  Prefactor  = 4.92107
  Prefactor  = 2.56205
  Prefactor  = 1.95654
  Prefactor  = 0.0001
  Prefactor  = 0.000107718
  Prefactor  = 1.07739
  norm       = 0.106311
  Prefactor  = 4.89292
  norm       = 1.31645
  norm       = 7.23734
  Prefactor  = 0.0001
  norm       = 6.3659
  norm       = 3.25055
  Prefactor  = 0.000112669
  norm       = 4.43558
  Prefactor  = 2.87157
  norm       = 2.89905
  norm       = 5.37659
  Prefactor  = 0.000100001
  Prefactor  = 22.6714
  norm       = 3.10687
  Prefactor  = 60.5794
  Prefactor  = 6.88341
  Normalizat = 0.943411
  Prefactor  = 1.04256
 **********
 **   18 **HESSE 
 **********

 FCN=   84940.37     FROM HESSE     STATUS=OK           813 CALLS     4155 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2256        1.9650        .43956E-02   -1.5251    
   2  norm          .44773        .74393        .60808E-01   -1.5574    
   3  Prefactor     4.7744        2.8150        .46041E-02   -1.5271    
   4  Prefactor     .10000E-03    .31697        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6265        3.9711        .82818E-02   -1.5453    
   6  Prefactor     .10000E-03    10.913        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .76164        .23240        .12296E-01   -1.5533    
   8  Prefactor     .10000E-03    .19706        .42910E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9211        2.3979        .45335E-02   -1.5264    
  10  Prefactor     2.5620        .94027        .63762E-02   -1.5388    
  11  Prefactor     1.9565        4.7710        .73967E-02   -1.5428    
  12  Prefactor     .10000E-03    .97667        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10772E-03    .43187        .65140E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0774        1.8085        .11646E-01   -1.5500    
  15  norm          .10631        .41241        .70248E-01   -1.5643    
  16  Prefactor     4.8929        6.3716        .45352E-02   -1.5266    
  17  norm          1.3164        .15777        .85606E-02   -1.5478    
  18  norm          7.2373        2.9695        .37256E-02   -1.5170    
  19  Prefactor     .10000E-03    .35112        .51947E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.3659        .30782        .39771E-02   -1.5203    
  21  norm          3.2505        .65993        .56160E-02   -1.5347    
  22  Prefactor     .11267E-03    1.9974        .12538       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4356        3.1403        .47850E-02   -1.5287    
  24  Prefactor     2.8716        5.0814        .60188E-02   -1.5369    
  25  norm          2.8991        .73964        .59642E-02   -1.5367    
  26  norm          5.3766        .58004        .43327E-02   -1.5244    
  27  Prefactor     .10000E-03    5.6075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     22.671        23.245        .21033E-02   -1.4755    
  29  norm          3.1069        .59153        .57512E-02   -1.5355    
  30  Prefactor     60.579        14.951        .12885E-02   -1.4150    
  31  Prefactor     6.8834        4.9987        .38236E-02   -1.5183    
  32  Normalizat    .94341        .48795E-01    .45453E-01   -.94951    
  33  Prefactor     1.0426        .51769E-01    .63478E-01   -.91324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58588e-06
Minuit parameter uncertainties:
  1  1.96502
  2  0.743941
  3  2.81512
  4  7.77529e-05
  5  3.97173
  6  0.000432451
  7  0.232396
  8  7.38175e-07
  9  2.39798
  10  0.940273
  11  4.77195
  12  1.64176e-06
  13  0.00365142
  14  1.80858
  15  0.412421
  16  6.37247
  17  0.157772
  18  2.96956
  19  3.77334e-06
  20  0.307824
  21  0.659934
  22  0.0100613
  23  3.1404
  24  5.08211
  25  0.739639
  26  0.580039
  27  0.000116576
  28  23.2544
  29  0.59153
  30  14.9515
  31  4.99897
  32  0.0487968
  33  0.0517711
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.316e+00  1.578e-01  1.000e-04  1.000e+04 ( 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  0.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.043e+00  5.177e-02  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:  9.434e-01  4.880e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 221.55
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 6.46e-08 +/- 7.75e-09
Energy Flux (Fixed Index): 4.44e-05 +/- 5.32e-06

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) = 84937.9706586
delta logL = 2.39788793266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 84937.9699424
delta logL = 2.3986041348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2731       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1381       1.0000          .0000       5.0000    
     3 'Normalizat'    .92307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0555       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   84937.97     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      267 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2731        .15170        .35252E-04    .25800E-04
   2  alpha         2.1381        .11092        .10261E-01    .17516E-02
   3  Normalizat    .92307        .50639E-01    .25521E-03    .66997E-05
   4  Prefactor     1.0555        .58015E-01    .27920E-03    .46908E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27311
  alpha      = 2.13814
  Normalizat = 0.923069
  Prefactor  = 1.05554
 **********
 **   18 **HESSE 
 **********

 FCN=   84937.97     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2731        .15035        .14101E-05   -1.5482    
   2  alpha         2.1381        .10988        .20521E-02   -.14525    
   3  Normalizat    .92307        .50659E-01    .51042E-04   -.95654    
   4  Prefactor     1.0555        .58042E-01    .55840E-04   -.90901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.33862e-12
Minuit parameter uncertainties:
  1  0.150351
  2  0.109911
  3  0.0506614
  4  0.0580456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164324': 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) = 84937.9699424
delta logL = 2.3986041412

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.273e+00  1.504e-01  1.000e-04  1.000e+04 ( 1.000e-11)
393        alpha:  2.138e+00  1.099e-01  0.000e+00  5.000e+00 ( 1.000e+00)
394         beta:  7.829e-02  0.000e+00  0.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.056e+00  5.805e-02  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:  9.231e-01  5.066e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 225.29
Ra Dec: 149.416 55.384
Photon Index (Free Index): 2.14 +/- 0.11
Photon Flux (Free Index): 8.04e-08 +/- 1.14e-08
Energy Flux (Free Index): 3.65e-05 +/- 4.95e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/164324/cmap_HighResolution_675043201_677635201_4FGL_J0957.6+5523_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.46e-08', energy_flux2='3.65e-05', photon_flux_error='7.75e-09', dlogl='2.40e+00', energy_flux='4.44e-05', photon_flux2='8.04e-08', job_status='DONE', time_completed='2022-06-23 04:26:52.927403', photon_index_error2='0.11', photon_index2='2.14', ts='221.55', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='4.95e-06', EG='0.94', time_epoch_completed='1655983612.93', return_code='0', job_id='164324', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='5.32e-06', photon_flux_error2='1.14e-08', ts2='225.29', photon_index='1.90' WHERE bin_id='169' AND source_name='4FGL J0957.6+5523' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 04:26:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 164324: <4FGL_J0957.6+5523_monthly_bin169> in cluster <slac> Done

Job <4FGL_J0957.6+5523_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 01:30:34 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:03:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:03:35 2022
Terminated at Thu Jun 23 04:26:54 2022
Results reported at Thu Jun 23 04:26:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_monthly_bin169 149.416 55.3838 675043201 677635201 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 :                                   8466.00 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             448.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   8598 sec.
    Turnaround time :                            10580 sec.

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

