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


Performing analysis on: 4FGL_J1054.5+2211_weekly_bin750
RA = 163.628, Dec = 22.1913
tmin = 692582401, tmax = 693187201
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='46352', job_status='RUN', time_executed='2022-12-20 02:56:21.834268', time_epoch_executed='1671533781.83' WHERE source_name='4FGL J1054.5+2211' and cadence='weekly' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/46352

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/46352/ft1_4FGL_J1054.5+2211_weekly_bin750.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/46352/ft1_4FGL_J1054.5+2211_weekly_bin750.fits outfile=/scratch/kocevski/46352/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin750.fits ra=163.628 dec=22.1913 rad=12.0 tmin=692582401.0 tmax=693187201.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 7.57
user 7.30
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.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/46352/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.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.54
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 1350

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/46352/ltcube_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.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/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits
.....................!
real 25.84
user 25.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/46352/ltcube_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits outfile=/scratch/kocevski/46352/expmap_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.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/46352/ltcube_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits
.....................!
real 190.37
user 185.84
sys 4.19

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

Setting source of interest to:
4FGL J1054.5+2211 @ 163.628 22.1913

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits outfile=/scratch/kocevski/46352/cmap_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.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=163.628 yref=22.1913 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits outfile=/scratch/kocevski/46352/cmap_HighResolution_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.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=163.628 yref=22.1913 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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/46352/Model_4FGL_J1054.5+2211_weekly_bin750.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/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits.....................!
real 116.56
user 115.09
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits', '/scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits', expMap='/scratch/kocevski/46352/expmap_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits', expCube='/scratch/kocevski/46352/ltcube_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/46352/Model_4FGL_J1054.5+2211_weekly_bin750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1054.5+2211'

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  5.931e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/46352/ft1_filtered_4FGL_J1054.5+2211_weekly_bin750.fits
Spacecraft file(s): /scratch/kocevski/46352/ft2_4FGL_J1054.5+2211_weekly_bin750.fits
Exposure map: /scratch/kocevski/46352/expmap_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits
Exposure cube: /scratch/kocevski/46352/ltcube_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/46352/Model_4FGL_J1054.5+2211_weekly_bin750.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) = 15060.9573896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82528       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27230E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16902E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9051       1.0000          .0000       .10000E+07
     6 'Prefactor '    20.142       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2262       1.0000          .0000       .10000E+07
     8 'Prefactor '    .79485E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4509       1.0000          .0000       .10000E+07
    10 'Prefactor '    .44173       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14097E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .26978E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0219       1.0000          .0000       .10000E+07
    14 'Prefactor '    .73415E-04   1.0000          .0000       .10000E+07
    15 'norm      '    11.027       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13878E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12201E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1013       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0277       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15060.02     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1121 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82234        2.8948        .77038E-06    .12509E-01
   2  Prefactor     .69389E-08    17.574        .16407E-06** at limit **
   3  Prefactor     .56627E-06    7.2273       -.20055E-05** at limit **
   4  Prefactor     7.3833        4.1861        .54338E-07    .73781E-03
   5  Prefactor     1.9029        1.2907       -.10892E-06    .62749E-02
   6  Prefactor     20.133        4.5055       -.14397E-06   -.42446E-01
   7  Prefactor     6.2590        4.7195       -.23506E-06   -.33749E-01
   8  Prefactor     .26756E-07    5.7133        .10373E-06** at limit **
   9  Prefactor     2.4637        4.3496       -.65864E-07    .61965E-02
  10  Prefactor     .40945        5.4119        .76864E-06   -.15650E-02
  11  Prefactor     .75845E-06    8.3998        .21073E-05** at limit **
  12  norm          .55511E-10    .59067       -.23805E-06** at limit **
  13  Prefactor     1.0238        1.1121        .14809E-06    .20961E-03
  14  Prefactor     .82656E-07    4.3728        .23721E-06** at limit **
  15  norm          10.983        6.2315       -.10462E-05   -.12688    
  16  Prefactor     .55511E-10    1.4212        .78503E-07** at limit **
  17  Prefactor     .26090E-07    3.6203       -.11020E-06** at limit **
  18  Normalizat    1.1012        .12924        .18091E-05    .25148E-03
  19  Prefactor     1.0277        .13705        .48682E-05    .40623E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.822339
  Prefactor  = 6.93889e-09
  Prefactor  = 5.66269e-07
  Prefactor  = 7.38328
  Prefactor  = 1.90292
  Prefactor  = 20.1334
  Prefactor  = 6.25899
  Prefactor  = 2.67564e-08
  Prefactor  = 2.46369
  Prefactor  = 0.409448
  Prefactor  = 7.58449e-07
  norm       = 5.55112e-11
  Prefactor  = 1.02376
  Prefactor  = 8.26561e-08
  norm       = 10.9834
  Prefactor  = 5.55112e-11
  Prefactor  = 2.60902e-08
  Normalizat = 1.10121
  Prefactor  = 1.02774
 **********
 **   18 **HESSE 
 **********

 FCN=   15060.02     FROM HESSE     STATUS=OK           308 CALLS     1429 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82234        2.9104        .51070E-03   -1.5690    
   2  Prefactor     .69389E-08    17.569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .56627E-06    9.3842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.3833        4.2081        .36947E-03   -1.5654    
   5  Prefactor     1.9029        1.3057        .75307E-03   -1.5680    
   6  Prefactor     20.133        6.3848        .22289E-03   -1.5618    
   7  Prefactor     6.2590        6.1619        .40207E-03   -1.5658    
   8  Prefactor     .26756E-07    5.7970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4637        4.6987        .65312E-03   -1.5677    
  10  Prefactor     .40945        5.5188        .84802E-03   -1.5695    
  11  Prefactor     .75845E-06    10.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    .57815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0238        1.3573        .30331E-02   -1.5688    
  14  Prefactor     .82656E-07    4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.983        8.2280        .30145E-03   -1.5642    
  16  Prefactor     .55511E-10    1.4232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .26090E-07    3.7180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1012        .11409        .37946E-01   -.89713    
  19  Prefactor     1.0277        .11760        .59540E-01   -.91810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41216e-06
Minuit parameter uncertainties:
  1  2.91037
  2  0.000698344
  3  0.00461044
  4  4.20814
  5  1.30569
  6  6.38479
  7  6.16189
  8  0.00078774
  9  4.69873
  10  3.00645
  11  0.00576437
  12  1.08983e-05
  13  1.35726
  14  0.00123662
  15  8.22796
  16  1.56919e-05
  17  0.000622811
  18  0.114114
  19  0.117631
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.464e+00  4.699e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.028e+00  1.176e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.101e+00  1.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 163.628 22.191
Photon Flux Upper Limit: 4.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/46352/likelihoodResults_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.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): 0
logL (Free Index) = 15060.0224405
delta logL = 9.0217563411e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15060.0224358
delta logL = 1.36532671604e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15060.02     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      262 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4554        4.7647        .13026E-03    .65418E-02
   2  Index         2.1406        1.0243        .59741E-02    .35030E-04
   3  Normalizat    1.1012        .12711        .23828E-03   -.11260E-04
   4  Prefactor     1.0278        .13642        .26329E-03   -.91541E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45537
  Index      = 2.14056
  Normalizat = 1.10116
  Prefactor  = 1.02777
 **********
 **   18 **HESSE 
 **********

 FCN=   15060.02     FROM HESSE     STATUS=OK            27 CALLS      289 TOTAL
                     EDM=   .58E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4554        4.6670        .26052E-04   -1.5677    
   2  Index         2.1406        1.0040        .11948E-02   -.60881    
   3  Normalizat    1.1012        .12722        .95312E-05   -.89715    
   4  Prefactor     1.0278        .13654        .10531E-04   -.91809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81125e-14
Minuit parameter uncertainties:
  1  4.66701
  2  1.01434
  3  0.127258
  4  0.136587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/46352': 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) = 15060.0224343
delta logL = 1.51712847583e-05

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.455e+00  4.667e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.141e+00  1.014e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.028e+00  1.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.101e+00  1.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
Ra Dec: 163.628 22.191

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/46352/cmap_HighResolution_692582401_693187201_4FGL_J1054.5+2211_weekly_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='4.07e-08', time_completed='2022-12-20 03:10:34.373057', job_id='46352', GAL2='1.03', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1671534634.37', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.52e-05', ts2='0.45', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='750' AND source_name='4FGL J1054.5+2211' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 20 03:10:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 46352: <4FGL_J1054.5+2211_weekly_bin750> in cluster <slac> Done

Job <4FGL_J1054.5+2211_weekly_bin750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 02:55:20 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:55:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:55:21 2022
Terminated at Tue Dec 20 03:10:35 2022
Results reported at Tue Dec 20 03:10:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_weekly_bin750 163.628 22.1913 692582401 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1054.5+2211 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   853.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            915 sec.

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

