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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1754
RA = 140.659, Dec = 44.9131
tmin = 693964801, tmax = 694224001
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='639344', job_status='RUN', time_executed='2023-01-01 01:00:56.917895', time_epoch_executed='1672563656.92' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639344/ft1_4FGL_J0922.6+4454_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639344/ft1_4FGL_J0922.6+4454_daily_bin1754.fits outfile=/scratch/kocevski/639344/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1754.fits ra=140.659 dec=44.9131 rad=12.0 tmin=693964801.0 tmax=694224001.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.99
user 3.73
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.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/639344/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.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.32
sys 0.17

Number of photons that the gtmktime cut: 237

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/639344/ltcube_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.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/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits
.....................!
real 15.47
user 14.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/639344/ltcube_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits outfile=/scratch/kocevski/639344/expmap_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.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/639344/ltcube_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits
.....................!
real 195.75
user 189.12
sys 4.91

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/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits scfile=/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits outfile=/scratch/kocevski/639344/cmap_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.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.59
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits scfile=/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits outfile=/scratch/kocevski/639344/cmap_HighResolution_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.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.58
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits', '/scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits', expMap='/scratch/kocevski/639344/expmap_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits', expCube='/scratch/kocevski/639344/ltcube_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639344/Model_4FGL_J0922.6+4454_daily_bin1754.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/639344/ft1_filtered_4FGL_J0922.6+4454_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/639344/ft2_4FGL_J0922.6+4454_daily_bin1754.fits
Exposure map: /scratch/kocevski/639344/expmap_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits
Exposure cube: /scratch/kocevski/639344/ltcube_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639344/Model_4FGL_J0922.6+4454_daily_bin1754.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) = 2575.40650044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27756E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    22.776       1.0000          .0000       .10000E+07
     3 'Prefactor '    .88732E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.336       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.4499       1.0000          .0000       .10000E+07
     6 'norm      '    .10127E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .24946E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.3360       1.0000          .0000       .10000E+07
     9 'Prefactor '    .62893       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45640E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .24671E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14304E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .14433E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.5330       1.0000          .0000       .10000E+07
    15 'norm      '    4.1185       1.0000          .0000       .10000E+07
    16 'Prefactor '    .74911       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.9678       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21091E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.1194       1.0000          .0000       .10000E+07
    20 'norm      '    .68903E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.292       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.882       1.0000          .0000       .10000E+07
    23 'Prefactor '    .28066       1.0000          .0000       .10000E+07
    24 'norm      '    .63656       1.0000          .0000       .10000E+07
    25 'norm      '    .27640E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .39973E-05   1.0000          .0000       .10000E+07
    27 'norm      '    4.1022       1.0000          .0000       .10000E+07
    28 'Normalizat'    .74344       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0743       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=   2575.380     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2694 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .68924        .57175E-07** at limit **
   2  Prefactor     22.773        1.8374       -.32750E-07    .49192E-02
   3  Prefactor     .20162E-06    23.848       -.39121E-06** at limit **
   4  Prefactor     17.238        13.355       -.47934E-06    .13331E-01
   5  Prefactor     8.4536        8.8748       -.18546E-07    .11481E-02
   6  norm           .0000        2.2378        .24300E-06** at limit **
   7  norm           .0000        2.2458       -.57912E-07** at limit **
   8  Prefactor     7.3230        3.2054       -.11457E-06   -.25592E-01
   9  Prefactor     .94601        201.35       -.12686E-05   -.13098E-01
  10  Prefactor     .53241E-06    26.378       -.23941E-06** at limit **
  11  Prefactor     .14775E-05    23.894        .54725E-06** at limit **
  12  Prefactor     .33062E-06    33.282       -.58533E-06** at limit **
  13  norm           .0000        .45733        .24063E-07** at limit **
  14  Prefactor     7.5240        4.8455        .13978E-06    .46717E-03
  15  norm          4.1126        10.984        .11236E-06   -.22292E-02
  16  Prefactor     .74926        2.8861       -.12321E-06   -.27734E-04
  17  Prefactor     4.9362        10.146       -.60445E-06   -.32745E-01
  18  Prefactor     .55511E-10    3.2913       -.42916E-07** at limit **
  19  Prefactor     4.2133        3.2076       -.18728E-06   -.67843E-02
  20  norm          .58287E-08    9.7327       -.85735E-06** at limit **
  21  Prefactor     13.289        23.451       -.31856E-06    .26979E-01
  22  Prefactor     21.017        11.308       -.16327E-07    .18944E-01
  23  Prefactor     .30660E-04    43.679       -.34026E-06** at limit **
  24  norm          .63621        .66108        .45871E-07   -.22121E-02
  25  norm          .55511E-09    7.5696       -.33372E-06** at limit **
  26  Prefactor      .0000        3.2792        .49685E-07** at limit **
  27  norm          4.1024        3.0512        .15244E-06   -.20645E-02
  28  Normalizat    .74054        .30052       -.13232E-04    .16631E-04
  29  Prefactor     1.0764        .31599        .13829E-04   -.27125E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 22.7727
  Prefactor  = 2.01617e-07
  Prefactor  = 17.2384
  Prefactor  = 8.45361
  norm       = 0
  norm       = 0
  Prefactor  = 7.32302
  Prefactor  = 0.946012
  Prefactor  = 5.32407e-07
  Prefactor  = 1.47754e-06
  Prefactor  = 3.30624e-07
  norm       = 0
  Prefactor  = 7.52396
  norm       = 4.11262
  Prefactor  = 0.749263
  Prefactor  = 4.9362
  Prefactor  = 5.55112e-11
  Prefactor  = 4.21328
  norm       = 5.82867e-09
  Prefactor  = 13.2889
  Prefactor  = 21.017
  Prefactor  = 3.06599e-05
  norm       = 0.63621
  norm       = 5.55112e-10
  Prefactor  = 0
  norm       = 4.10244
  Normalizat = 0.74054
  Prefactor  = 1.07638
 **********
 **   18 **HESSE 
 **********

 FCN=   2575.380     FROM HESSE     STATUS=OK           611 CALLS     3305 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .67931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.773        24.716        .20959E-03   -1.5613    
   3  Prefactor     .20162E-06    50.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.238        17.462        .24027E-03   -1.5625    
   5  Prefactor     8.4536        8.9390        .34462E-03   -1.5650    
   6  norm           .0000        2.2358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.2426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.3230        14.337        .37007E-03   -1.5654    
   9  Prefactor     .94601        278.03        .66676E-03   -1.5689    
  10  Prefactor     .53241E-06    51.890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14775E-05    27.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33062E-06    34.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .45670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5240        4.8842        .36516E-03   -1.5653    
  15  norm          4.1126        11.056        .49649E-03   -1.5667    
  16  Prefactor     .74926        2.9493        .56808E-03   -1.5691    
  17  Prefactor     4.9362        17.219        .45098E-03   -1.5664    
  18  Prefactor     .55511E-10    3.2874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.2133        49.227        .49643E-03   -1.5667    
  20  norm          .58287E-08    9.7414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.289        41.130        .28546E-03   -1.5635    
  22  Prefactor     21.017        12.553        .21890E-03   -1.5616    
  23  Prefactor     .30660E-04    133.86        .10487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .63621        .65476        .66015E-03   -1.5692    
  25  norm          .55511E-09    7.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        3.2788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          4.1024        3.0449        .49750E-03   -1.5667    
  28  Normalizat    .74054        .26452        .42867E-01   -1.0231    
  29  Prefactor     1.0764        .27605        .38656E-01   -.90225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94829e-07
Minuit parameter uncertainties:
  1  1.411e-06
  2  24.7156
  3  0.00639328
  4  17.4617
  5  8.939
  6  8.09922e-06
  7  4.36714e-06
  8  14.3374
  9  32.4371
  10  0.0105125
  11  0.0127202
  12  0.00678127
  13  5.60244e-07
  14  4.88423
  15  11.056
  16  2.94927
  17  17.2195
  18  2.87112e-05
  19  28.8034
  20  0.00047696
  21  41.131
  22  12.5528
  23  0.12813
  24  0.654755
  25  0.000129147
  26  7.2444e-06
  27  3.04487
  28  0.264977
  29  0.276416
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  7.524e+00  4.884e+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

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.076e+00  2.764e-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:  7.405e-01  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.22
Ra Dec: 140.659 44.913
Photon Index (Fixed Index): 2.87 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 8.14e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.75e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2575.18435856
delta logL = 0.195422152171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2575.18048573
delta logL = 0.199294984622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1706       1.0000          .0000       .10000E+07
     2 'Index     '    3.3683       1.0000          .0000       10.000    
     3 'Normalizat'    .70988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1022       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=   2575.180     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      259 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1739        52.276        .49328E-03    .13608E-02
   2  Index         3.3683        3.7110        .85615E-01    .64548E-04
   3  Normalizat    .70970        .10904        .42422E-01    .89504E-05
   4  Prefactor     1.1022        .11912        .54008E-01    .17692E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17389
  Index      = 3.36825
  Normalizat = 0.709703
  Prefactor  = 1.10219
 **********
 **   18 **HESSE 
 **********

 FCN=   2575.180     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1739        6.5953        .57311E-05   -1.5667    
   2  Index         3.3683        1.0096        .35677E-02   -.33244    
   3  Normalizat    .70970        .27633        .25246E-03   -1.0351    
   4  Prefactor     1.1022        .31024        .23879E-03   -.89397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17291e-12
Minuit parameter uncertainties:
  1  6.5953
  2  1.01741
  3  0.276869
  4  0.310746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639344': 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) = 2575.18048473
delta logL = 0.19929598799

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  4.174e+00  6.595e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  3.368e+00  1.017e+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.102e+00  3.107e-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:  7.097e-01  2.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.71
Ra Dec: 140.659 44.913
Photon Index (Free Index): 3.37 +/- 1.02
Photon Flux (Free Index): 1.49e-07 +/- 9.26e-08
Energy Flux (Free Index): 2.58e-05 +/- 1.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/639344/cmap_HighResolution_693964801_694224001_4FGL_J0922.6+4454_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='2.58e-05', photon_flux_error='8.14e-08', dlogl='1.99e-01', energy_flux='2.69e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2023-01-01 01:09:22.990572', photon_index_error2='1.02', photon_index2='3.37', ts='4.22', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='0.74', time_epoch_completed='1672564162.99', return_code='0', job_id='639344', GAL2='1.10', EG2='0.71', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='9.26e-08', ts2='4.71', photon_index='2.87' WHERE bin_id='1754' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:09:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 639344: <4FGL_J0922.6+4454_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 00:55:21 2023
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:57:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:57:04 2023
Terminated at Sun Jan  1 01:09:23 2023
Results reported at Sun Jan  1 01:09:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1754 140.659 44.9131 693964801 694224001 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 :                                   506.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            842 sec.

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

