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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1751
RA = 140.659, Dec = 44.9131
tmin = 693187201, tmax = 693446401
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='73823', job_status='RUN', time_executed='2022-12-23 00:25:48.341366', time_epoch_executed='1671783948.34' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73823

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73823/ft1_4FGL_J0922.6+4454_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73823/ft1_4FGL_J0922.6+4454_daily_bin1751.fits outfile=/scratch/kocevski/73823/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1751.fits ra=140.659 dec=44.9131 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.38
sys 0.22

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

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

Number of photons that the gtmktime cut: 598

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73823/ft1_filtered_4FGL_J0922.6+4454_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73823/ltcube_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.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/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits
.....................!
real 12.54
user 12.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73823/ft1_filtered_4FGL_J0922.6+4454_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73823/ltcube_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.fits outfile=/scratch/kocevski/73823/expmap_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.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/73823/ltcube_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.fits
.....................!
real 191.24
user 186.01
sys 4.85

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/73823/ft1_filtered_4FGL_J0922.6+4454_daily_bin1751.fits scfile=/scratch/kocevski/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits outfile=/scratch/kocevski/73823/cmap_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73823/ft1_filtered_4FGL_J0922.6+4454_daily_bin1751.fits scfile=/scratch/kocevski/73823/ft2_4FGL_J0922.6+4454_daily_bin1751.fits outfile=/scratch/kocevski/73823/cmap_HighResolution_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43642       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13845E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.466       1.0000          .0000       .10000E+07
     4 'Prefactor '    .66441E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .89401E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .27007E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.6692       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.546       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3444       1.0000          .0000       .10000E+07
    10 'Prefactor '    .34575E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1906       1.0000          .0000       .10000E+07
    13 'norm      '    .37953       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32295E-03   1.0000          .0000       .10000E+07
    15 'norm      '    9.0058       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59350E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22664E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .28502E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    21.269       1.0000          .0000       .10000E+07
    20 'norm      '    1.6755       1.0000          .0000       .10000E+07
    21 'Prefactor '    10.616       1.0000          .0000       .10000E+07
    22 'Prefactor '    13.236       1.0000          .0000       .10000E+07
    23 'Prefactor '    32.065       1.0000          .0000       .10000E+07
    24 'norm      '    1.3793       1.0000          .0000       .10000E+07
    25 'norm      '    .16115E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0413       1.0000          .0000       .10000E+07
    27 'norm      '    3.2127       1.0000          .0000       .10000E+07
    28 'Normalizat'    .87116       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0795       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=   6478.013     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2083 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43664        .38338        .10961E-07    .44673E-04
   2  Prefactor     .36637E-08    3.3461        .39043E-07** at limit **
   3  Prefactor     16.617        3.0866       -.31999E-08    .33926E-01
   4  Prefactor      .0000        2.9600       -.61479E-07** at limit **
   5  Prefactor      .0000        1.7542       -.48918E-07** at limit **
   6  norm           .0000        3.7444        .11250E-06** at limit **
   7  norm          5.6635        4.4404        .19232E-07    .54199E-04
   8  Prefactor     13.561        1.0229        .22097E-09    .97617E-03
   9  Prefactor     4.5016        1.2276        .24549E-08    .17559E-02
  10  Prefactor     .14211E-07    14.217        .17194E-06** at limit **
  11  Prefactor     4.9960        3.0668        .39595E-07   -.30872E-04
  12  Prefactor     3.1938        1.5397       -.89273E-08    .49116E-02
  13  norm          .37904        .33934       -.40172E-08   -.53073E-04
  14  Prefactor     .44409E-09    5.1871       -.56755E-07** at limit **
  15  norm          9.0138        6.2110       -.31604E-07   -.18618E-02
  16  Prefactor      .0000        .93671        .65288E-07** at limit **
  17  Prefactor     .39413E-08    8.7904       -.73524E-07** at limit **
  18  Prefactor      .0000        .90029       -.98690E-08** at limit **
  19  Prefactor     21.244        3.4535       -.13823E-07    .60404E-01
  20  norm          1.7074        1.1277        .33269E-08   -.92581E-03
  21  Prefactor     10.606        2.1159        .42030E-08   -.72639E-03
  22  Prefactor     13.216        6.6450       -.65775E-09   -.55711E-02
  23  Prefactor     31.339        25.005       -.44165E-07    .11522E-01
  24  norm          1.3797        .58317       -.20036E-07    .14368E-03
  25  norm          .46629E-08    3.2167        .37219E-07** at limit **
  26  Prefactor     3.0321        4.2057        .90529E-07   -.59624E-05
  27  norm          3.2126        1.9927       -.34038E-08   -.26021E-05
  28  Normalizat    .87208        .18321       -.64795E-07   -.32559E-05
  29  Prefactor     1.0788        .20575        .43283E-06   -.37266E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.436639
  Prefactor  = 3.66374e-09
  Prefactor  = 16.6169
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 5.66346
  Prefactor  = 13.561
  Prefactor  = 4.50162
  Prefactor  = 1.42109e-08
  Prefactor  = 4.99596
  Prefactor  = 3.19381
  norm       = 0.379042
  Prefactor  = 4.44089e-10
  norm       = 9.01376
  Prefactor  = 0
  Prefactor  = 3.94129e-09
  Prefactor  = 0
  Prefactor  = 21.2445
  norm       = 1.70744
  Prefactor  = 10.6059
  Prefactor  = 13.2156
  Prefactor  = 31.3394
  norm       = 1.37974
  norm       = 4.66294e-09
  Prefactor  = 3.03212
  norm       = 3.2126
  Normalizat = 0.872078
  Prefactor  = 1.07877
 **********
 **   18 **HESSE 
 **********

 FCN=   6478.013     FROM HESSE     STATUS=OK           619 CALLS     2702 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43664        .37545        .85383E-03   -1.5695    
   2  Prefactor     .36637E-08    6.5153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.617        21.870        .24655E-03   -1.5626    
   4  Prefactor      .0000        2.9580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.7528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        3.7384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6635        4.4672        .42165E-03   -1.5660    
   8  Prefactor     13.561        10.952        .27189E-03   -1.5634    
   9  Prefactor     4.5016        14.079        .48303E-03   -1.5666    
  10  Prefactor     .14211E-07    14.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9960        3.0798        .44970E-03   -1.5663    
  12  Prefactor     3.1938        11.880        .56703E-03   -1.5672    
  13  norm          .37904        .33814        .91897E-03   -1.5696    
  14  Prefactor     .44409E-09    5.0766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.0138        6.5081        .33374E-03   -1.5648    
  16  Prefactor      .0000        .93113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .39413E-08    8.8673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        .89923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.244        19.034        .21689E-03   -1.5616    
  20  norm          1.7074        12.543        .81382E-03   -1.5682    
  21  Prefactor     10.606        13.950        .30726E-03   -1.5643    
  22  Prefactor     13.216        6.9127        .27507E-03   -1.5635    
  23  Prefactor     31.339        25.472        .17662E-03   -1.5596    
  24  norm          1.3797        .58295        .88031E-03   -1.5684    
  25  norm          .46629E-08    6.4975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.0321        4.2345        .58156E-03   -1.5673    
  27  norm          3.2126        1.9938        .56497E-03   -1.5672    
  28  Normalizat    .87208        .15915        .44532E-01   -.97448    
  29  Prefactor     1.0788        .17779        .57872E-01   -.90148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40403e-07
Minuit parameter uncertainties:
  1  0.375453
  2  0.000308374
  3  21.8701
  4  2.06513e-06
  5  1.11793e-06
  6  1.07628e-05
  7  4.46723
  8  10.952
  9  14.0787
  10  0.000904117
  11  3.0798
  12  11.8801
  13  0.338135
  14  9.74219e-05
  15  6.50815
  16  4.68203e-08
  17  0.000373185
  18  1.8594e-07
  19  19.0345
  20  9.25577
  21  13.9496
  22  6.91273
  23  25.4723
  24  0.58295
  25  0.000347846
  26  4.23449
  27  1.99375
  28  0.159237
  29  0.17789
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  4.441e-10  9.742e-05  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.079e+00  1.779e-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:  8.721e-01  1.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 8.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73823/likelihoodResults_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.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) = 6478.01914238
delta logL = -0.00596366421905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6478.00633352
delta logL = 0.00684519778406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37939E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .86570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0831       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=   6478.006     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      300 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37290E-01    .64476        .16058E-02** at limit **
   2  Index         4.1830        1.0682        .50000       -.23360E-05
   3  Normalizat    .86571        .74276E-02    .44462E-01   -.11273E-03
   4  Prefactor     1.0831        .85899E-02    .57771E-01   -.49094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0372901
  Index      = 4.18303
  Normalizat = 0.865706
  Prefactor  = 1.08306
 **********
 **   18 **HESSE 
 **********

 FCN=   6478.006     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      335 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37290E-01    121.22        .66570E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1830        7.9055        .90484E-02   -.16413    
   3  Normalizat    .86571        .12636        .24553E-03   -.97676    
   4  Prefactor     1.0831        .11625        .25546E-03   -.90010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.61573e-06
Minuit parameter uncertainties:
  1  4.25231
  2  53.1881
  3  0.1264
  4  0.116276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73823': 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): 102
logL (Free Index) = 6478.00633253
delta logL = 0.00684619221011

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  3.729e-02  4.252e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  4.183e+00  5.319e+01  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.083e+00  1.163e-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:  8.657e-01  1.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.659 44.913

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/73823/cmap_HighResolution_693187201_693446401_4FGL_J0922.6+4454_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2022-12-23 00:38:19.556153', job_id='73823', GAL2='1.08', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1671784699.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.85e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='1751' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:38:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 73823: <4FGL_J0922.6+4454_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:26 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:28 2022
Terminated at Fri Dec 23 00:38:20 2022
Results reported at Fri Dec 23 00:38:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1751 140.659 44.9131 693187201 693446401 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 :                                   752.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            774 sec.

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

