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 35 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_J0922.6+4454_daily_bin1758
RA = 140.659, Dec = 44.9131
tmin = 695001601, tmax = 695260801
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='362227', job_status='RUN', time_executed='2023-01-13 00:32:22.776524', time_epoch_executed='1673598742.78' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362227

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362227/ft1_4FGL_J0922.6+4454_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362227/ft1_4FGL_J0922.6+4454_daily_bin1758.fits outfile=/scratch/kocevski/362227/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1758.fits ra=140.659 dec=44.9131 rad=12.0 tmin=695001601.0 tmax=695260801.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.29
user 2.08
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.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/362227/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.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.92
user 0.31
sys 0.15

Number of photons that the gtmktime cut: 194

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/362227/ltcube_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.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/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits
.....................!
real 14.57
user 13.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362227/ltcube_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits outfile=/scratch/kocevski/362227/expmap_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.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/362227/ltcube_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits
.....................!
real 168.16
user 151.87
sys 3.94

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

Setting source of interest to:
4FGL J0922.6+4454 @ 140.659 44.9131

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits outfile=/scratch/kocevski/362227/cmap_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.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=140.659 yref=44.9131 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.63
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits outfile=/scratch/kocevski/362227/cmap_HighResolution_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.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=140.659 yref=44.9131 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.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362227/Model_4FGL_J0922.6+4454_daily_bin1758.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/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits......................!
real 27.07
user 22.94
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits', '/scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits', expMap='/scratch/kocevski/362227/expmap_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits', expCube='/scratch/kocevski/362227/ltcube_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362227/Model_4FGL_J0922.6+4454_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0922.6+4454'

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.166e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/362227/ft1_filtered_4FGL_J0922.6+4454_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/362227/ft2_4FGL_J0922.6+4454_daily_bin1758.fits
Exposure map: /scratch/kocevski/362227/expmap_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits
Exposure cube: /scratch/kocevski/362227/ltcube_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362227/Model_4FGL_J0922.6+4454_daily_bin1758.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) = 2274.76760005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9888       1.0000          .0000       .10000E+07
     2 'Prefactor '    .76400E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .49105E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .31020E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .33272E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .11377E-02   1.0000          .0000       .10000E+07
     7 'norm      '    20.506       1.0000          .0000       .10000E+07
     8 'Prefactor '    .57758E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12265E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12973       1.0000          .0000       .10000E+07
    11 'Prefactor '    18.031       1.0000          .0000       .10000E+07
    12 'Prefactor '    56.579       1.0000          .0000       .10000E+07
    13 'norm      '    .69742       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1091       1.0000          .0000       .10000E+07
    15 'norm      '    .44898E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.9632       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43031E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .30050E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    25.680       1.0000          .0000       .10000E+07
    20 'norm      '    .12709E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33240E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .26055E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10398E-02   1.0000          .0000       .10000E+07
    24 'norm      '    1.7507       1.0000          .0000       .10000E+07
    25 'norm      '    30.437       1.0000          .0000       .10000E+07
    26 'Prefactor '    .33342E-03   1.0000          .0000       .10000E+07
    27 'norm      '    4.5527       1.0000          .0000       .10000E+07
    28 'Normalizat'    .60923       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0611       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2274.661     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2603 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9960        5.5008        .24047E-06   -.52060E-03
   2  Prefactor     .23870E-08    107.28       -.78959E-06** at limit **
   3  Prefactor     .10164E-06    58.394        .16192E-05** at limit **
   4  Prefactor     .36082E-08    6.7995       -.20593E-06** at limit **
   5  Prefactor     .59230E-07    8.7232       -.18168E-06** at limit **
   6  norm          .27589E-07    4.2339       -.20973E-06** at limit **
   7  norm          20.306        12.297        .29976E-08    .17895E-02
   8  Prefactor     .11352E-05    8.9289       -.26739E-06** at limit **
   9  Prefactor     .57848E-06    9.0409       -.28055E-06** at limit **
  10  Prefactor     .55511E-10    52.198       -.75954E-06** at limit **
  11  Prefactor     18.312        11.919       -.89745E-07    .95843E-03
  12  Prefactor     56.899        4.5522        .42809E-07   -.32109E-01
  13  norm          .70965        1.6133       -.27015E-06    .26218E-02
  14  Prefactor     3.9932        10.416        .44222E-06    .53289E-03
  15  norm          .38858E-09    39.367        .13725E-05** at limit **
  16  Prefactor     4.9029        6.4483        .19224E-06   -.47123E-03
  17  Prefactor     .61562E-06    18.380        .47107E-07** at limit **
  18  Prefactor     .11102E-09    3.9241        .51711E-06** at limit **
  19  Prefactor     25.733        4.6049        .11436E-07    .76706E-02
  20  norm          .49960E-09    11.443        .18287E-06** at limit **
  21  Prefactor     .39635E-07    4.2827       -.22412E-06** at limit **
  22  Prefactor     .55511E-10    2.5560        .52985E-06** at limit **
  23  Prefactor     .22734E-05    17.853       -.24496E-06** at limit **
  24  norm          1.7512        .82364        .41124E-07   -.33538E-02
  25  norm          30.502        4.0545       -.38778E-08   -.11219E-01
  26  Prefactor      .0000        2.6808       -.30582E-06** at limit **
  27  norm          4.5511        3.2477       -.18515E-06    .25165E-02
  28  Normalizat    .60983        .30905       -.20642E-05    .65581E-05
  29  Prefactor     1.0605        .37368        .21041E-05    .43602E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99601
  Prefactor  = 2.38698e-09
  Prefactor  = 1.01641e-07
  Prefactor  = 3.60822e-09
  Prefactor  = 5.92304e-08
  norm       = 2.7589e-08
  norm       = 20.3059
  Prefactor  = 1.1352e-06
  Prefactor  = 5.78482e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 18.3117
  Prefactor  = 56.8986
  norm       = 0.709654
  Prefactor  = 3.99323
  norm       = 3.88578e-10
  Prefactor  = 4.90289
  Prefactor  = 6.15619e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 25.7331
  norm       = 4.996e-10
  Prefactor  = 3.9635e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 2.2734e-06
  norm       = 1.75122
  norm       = 30.5024
  Prefactor  = 0
  norm       = 4.55111
  Normalizat = 0.609825
  Prefactor  = 1.06051
 **********
 **   18 **HESSE 
 **********

 FCN=   2274.661     FROM HESSE     STATUS=OK           609 CALLS     3212 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9960        5.5276        .73444E-03   -1.5680    
   2  Prefactor     .23870E-08    108.13        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10164E-06    59.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36082E-08    16.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .59230E-07    15.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27589E-07    16.172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.306        19.096        .22090E-03   -1.5618    
   8  Prefactor     .11352E-05    28.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .57848E-06    28.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    52.139        .13191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.312        12.213        .23559E-03   -1.5622    
  12  Prefactor     56.899        56.261        .13295E-03   -1.5557    
  13  norm          .70965        1.6913        .60918E-03   -1.5691    
  14  Prefactor     3.9932        10.829        .49707E-03   -1.5668    
  15  norm          .38858E-09    38.523        .15750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.9029        6.6000        .45119E-03   -1.5664    
  17  Prefactor     .61562E-06    22.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-09    3.9251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.733        22.908        .19737E-03   -1.5607    
  20  norm          .49960E-09    11.450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .39635E-07    15.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    2.5559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22734E-05    31.968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.7512        .82353        .64895E-03   -1.5681    
  25  norm          30.502        20.311        .18128E-03   -1.5598    
  26  Prefactor      .0000        2.6839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          4.5511        3.2524        .47155E-03   -1.5665    
  28  Normalizat    .60983        .26745        .64148E-01   -1.0757    
  29  Prefactor     1.0605        .31647        .60312E-01   -.90739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29127e-07
Minuit parameter uncertainties:
  1  5.52766
  2  0.00101099
  3  0.00490323
  4  0.000487895
  5  0.00190609
  6  0.00133551
  7  19.0961
  8  0.0113133
  9  0.00817407
  10  0.000124695
  11  12.2128
  12  56.2615
  13  1.69128
  14  10.8295
  15  0.000237656
  16  6.59997
  17  0.00743573
  18  4.0896e-05
  19  22.9083
  20  0.000149843
  21  0.00158254
  22  2.56388e-05
  23  0.0170502
  24  0.82353
  25  20.311
  26  1.09455e-05
  27  3.25242
  28  0.268017
  29  0.317032
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  3.993e+00  1.083e+01  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.061e+00  3.170e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  6.098e-01  2.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 2.97e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362227/likelihoodResults_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.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) = 2274.65805554
delta logL = 0.0027159793417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2274.35181913
delta logL = 0.308952382375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73647E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.8675       1.0000          .0000       10.000    
     3 'Normalizat'    .55287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2274.352     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      338 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73515E-02    .12364E-01    .96619E-04** at limit **
   2  Index         6.8688        .75813        .13121       -.67326E-04
   3  Normalizat    .55274        .26382        .67103E-01    .19809E-04
   4  Prefactor     1.1241        .31488        .58907E-01    .25158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00735146
  Index      = 6.86877
  Normalizat = 0.552737
  Prefactor  = 1.12414
 **********
 **   18 **HESSE 
 **********

 FCN=   2274.352     FROM HESSE     STATUS=OK            35 CALLS      373 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73515E-02    .88341E-01    .43668E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8688        3.3672        .51146E-02   -3.5246    
   3  Normalizat    .55274        .30784        .29701E-03   -1.1003    
   4  Prefactor     1.1241        .36913        .26049E-03   -.88699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.60119e-11
Minuit parameter uncertainties:
  1  0.050968
  2  3.76845
  3  0.308799
  4  0.369977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362227': 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) = 2274.35181892
delta logL = 0.308952598427

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  7.351e-03  5.097e-02  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  6.869e+00  3.768e+00  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.124e+00  3.700e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  5.527e-01  3.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 140.659 44.913
Photon Index (Free Index): 6.87 +/- 3.77
Photon Flux (Free Index): 1.18e-07 +/- 1.60e-06
Energy Flux (Free Index): 1.42e-05 +/- 1.92e-04

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/362227/cmap_HighResolution_695001601_695260801_4FGL_J0922.6+4454_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-02', comment='SUCCESS', energy_flux2='1.42e-05', dlogl='3.09e-01', photon_flux2='1.18e-07', job_status='DONE', time_completed='2023-01-13 00:39:40.564869', photon_index_error2='3.77', photon_index2='6.87', ts='0.48', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.97e-07', energy_flux_error2='1.92e-04', EG='0.61', time_epoch_completed='1673599180.56', return_code='0', job_id='362227', GAL2='1.12', EG2='0.55', return_code2='0', photon_flux_error2='1.60e-06', ts2='1.21', photon_index='2.87' WHERE bin_id='1758' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:39:40 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 362227: <4FGL_J0922.6+4454_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:20 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:28 2023
Terminated at Fri Jan 13 00:39:41 2023
Results reported at Fri Jan 13 00:39:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1758 140.659 44.9131 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+4454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   405.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            561 sec.

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

