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


Performing analysis on: 4FGL_J0912.2+4127_weekly_bin760
RA = 138.056, Dec = 41.4563
tmin = 698630401, tmax = 699235201
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='17214', job_status='RUN', time_executed='2023-02-28 00:51:06.867368', time_epoch_executed='1677574266.87' WHERE source_name='4FGL J0912.2+4127' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17214

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17214/ft1_4FGL_J0912.2+4127_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17214/ft1_4FGL_J0912.2+4127_weekly_bin760.fits outfile=/scratch/kocevski/17214/ft1_filteredMKT_4FGL_J0912.2+4127_weekly_bin760.fits ra=138.056 dec=41.4563 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.21
user 5.95
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.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/17214/ft1_filteredMKT_4FGL_J0912.2+4127_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.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.55
user 0.40
sys 0.14

Number of photons that the gtmktime cut: 138

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/17214/ltcube_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.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/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits
.....................!
real 33.31
user 32.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/17214/ltcube_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits outfile=/scratch/kocevski/17214/expmap_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.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/17214/ltcube_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits
.....................!
real 190.48
user 186.20
sys 3.77

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

Setting source of interest to:
4FGL J0912.2+4127 @ 138.056 41.4563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits outfile=/scratch/kocevski/17214/cmap_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.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=138.056 yref=41.4563 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.57
user 0.43
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits outfile=/scratch/kocevski/17214/cmap_HighResolution_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.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=138.056 yref=41.4563 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/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17214/Model_4FGL_J0912.2+4127_weekly_bin760.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/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits.......................!
real 27.05
user 25.77
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits', '/scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits', expMap='/scratch/kocevski/17214/expmap_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits', expCube='/scratch/kocevski/17214/ltcube_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17214/Model_4FGL_J0912.2+4127_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0912.2+4127'

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17214/ft1_filtered_4FGL_J0912.2+4127_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/17214/ft2_4FGL_J0912.2+4127_weekly_bin760.fits
Exposure map: /scratch/kocevski/17214/expmap_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits
Exposure cube: /scratch/kocevski/17214/ltcube_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17214/Model_4FGL_J0912.2+4127_weekly_bin760.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) = 1657.15292583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3457       1.0000          .0000       .10000E+07
     2 'norm      '    .49819       1.0000          .0000       .10000E+07
     3 'Prefactor '    .62691E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.370       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19710E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    63.374       1.0000          .0000       .10000E+07
     7 'norm      '    6.5320       1.0000          .0000       .10000E+07
     8 'norm      '    3.2497       1.0000          .0000       .10000E+07
     9 'Prefactor '    64.277       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75880E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26346E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .26411E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    56.402       1.0000          .0000       .10000E+07
    14 'norm      '    3.6818       1.0000          .0000       .10000E+07
    15 'Prefactor '    .89559       1.0000          .0000       .10000E+07
    16 'norm      '    .68950E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13394E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .85212E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .91962E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .68025E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.1246       1.0000          .0000       .10000E+07
    22 'Prefactor '    .47261E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    5.6118       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.0585       1.0000          .0000       .10000E+07
    25 'norm      '    .18406       1.0000          .0000       .10000E+07
    26 'Normalizat'    .28284       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .77657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1626.131     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2773 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.728        8.1924       -.12492E-07   -.23940E-03
   2  norm          .52520        .50366       -.35561E-08   -.17621E-02
   3  Prefactor     .99920E-09    18.128       -.43318E-07** at limit **
   4  Prefactor     10.882        5.5848        .35843E-07   -.33481E-02
   5  Prefactor     .55511E-10    34.964       -.77398E-07** at limit **
   6  Prefactor     63.327        23.614        .20141E-06    .22783E-02
   7  norm          7.1494        8.2803        .23065E-07   -.75528E-03
   8  norm          4.0615        6.3063       -.34779E-07   -.20339E-03
   9  Prefactor     63.959        43.367        .10366E-06    .19332E-03
  10  Prefactor      .0000        53.476        .37600E-07** at limit **
  11  Prefactor      .0000        3.1503        .19708E-07** at limit **
  12  norm           .0000        9.2497       -.14056E-09** at limit **
  13  Prefactor     39.214        56.218       -.18113E-06   -.43505E-04
  14  norm          3.3442        1.8233        .22978E-07   -.52197E-03
  15  Prefactor      .0000        32.325       -.14458E-06** at limit **
  16  norm          .14988E-08    33.336       -.11258E-08** at limit **
  17  Prefactor      .0000        4.2800       -.18101E-07** at limit **
  18  Prefactor      .0000        11.153        .14183E-08** at limit **
  19  Prefactor     .11102E-09    37.014       -.46302E-07** at limit **
  20  norm          .18652E-07    258.93       -.17113E-05** at limit **
  21  Prefactor     .49960E-08    851.39        .23932E-05** at limit **
  22  Prefactor     .27756E-09    21.460        .20374E-07** at limit **
  23  Prefactor      .0000        772.08        .14724E-05** at limit **
  24  Prefactor     .10000E+07    28154.        .28727E-05** at limit **
  25  norm          .77716E-09    142.85       -.56778E-07** at limit **
  26  Normalizat    .10000E-01    .64115       -.11299E-04** at limit **
  27  Prefactor     .76510        .15814       -.91381E-07    .10495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7276
  norm       = 0.525198
  Prefactor  = 9.99201e-10
  Prefactor  = 10.8825
  Prefactor  = 5.55112e-11
  Prefactor  = 63.3268
  norm       = 7.14937
  norm       = 4.06152
  Prefactor  = 63.9593
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 39.2145
  norm       = 3.34422
  Prefactor  = 0
  norm       = 1.4988e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 1.86517e-08
  Prefactor  = 4.996e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1e+06
  norm       = 7.77156e-10
  Normalizat = 0.01
  Prefactor  = 0.7651
 **********
 **   18 **HESSE 
 **********

 FCN=   1626.131     FROM HESSE     STATUS=OK           542 CALLS     3315 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.728        8.3612        .32758E-03   -1.5642    
   2  norm          .52520        .50666        .60114E-03   -1.5693    
   3  Prefactor     .99920E-09    21.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.882        5.7800        .31089E-03   -1.5774    
   5  Prefactor     .55511E-10    39.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     63.327        24.675        .12562E-03   -1.5549    
   7  norm          7.1494        8.3884        .39243E-03   -1.5654    
   8  norm          4.0615        6.2343        .56158E-03   -1.5668    
   9  Prefactor     63.959        46.186        .12474E-03   -1.5548    
  10  Prefactor      .0000        52.573        .14629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.0368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        8.6273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.214        58.046        .13316E-03   -1.5833    
  14  norm          3.3442        1.8573        .52613E-03   -1.5671    
  15  Prefactor      .0000        34.959        .46066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .14988E-08    42.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.1103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        11.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    39.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .18652E-07    293.41        .14884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .49960E-08    888.86        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .27756E-09    26.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        791.40        .42383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E+07    28208.        .57982E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .77716E-09    163.56        .12067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .48019        .18675       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .76510        .20022        .43412E-01   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71988e-10
Minuit parameter uncertainties:
  1  8.36123
  2  0.506663
  3  0.000291479
  4  5.77996
  5  6.8784e-05
  6  24.6752
  7  8.38844
  8  6.23435
  9  46.1862
  10  5.03753e-05
  11  2.64702e-06
  12  8.64307e-06
  13  58.0465
  14  1.85731
  15  5.455e-05
  16  0.000505646
  17  1.13341e-07
  18  3.41756e-05
  19  0.000137622
  20  0.00467872
  21  0.00421919
  22  0.000178371
  23  0.000149897
  24  0.133832
  25  0.000717858
  26  4.40288e-06
  27  0.200413
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  0.000e+00  2.647e-06  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  7.651e-01  2.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  4.403e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 1.97e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17214/likelihoodResults_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.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) = 1626.1357499
delta logL = -0.00443154803202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1626.13133379
delta logL = -1.54391398155e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .73537       1.0000          .0000       10.000    
     3 'Normalizat'    .10033E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1626.131     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      272 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1127        .42118E-03** at limit **
   2  Index         3.7195        2.0091        .45571E-04     .0000    
   3  Normalizat    .10000E-01    .25506        .14316E-03** at limit **
   4  Prefactor     .76510        1.1143       -.58540E-05    .14705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.71951
  Normalizat = 0.01
  Prefactor  = 0.765101
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1626.131     FROM HESSE     STATUS=FAILED         9 CALLS      281 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5230        2.3124        .45571E-04   -.25898    
   3  Normalizat    .10000E-01    .25506        .14316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .76510        1.1143       -.58540E-05   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.93441e-11
Minuit parameter uncertainties:
  1  1.43878e-06
  2  2.07202
  3  4.11752e-06
  4  1.14986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17214': 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): 101
logL (Free Index) = 1626.13131835
delta logL = -1.40971678775e-11

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  0.000e+00  1.439e-06  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  3.720e+00  2.072e+00  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  7.651e-01  1.150e+00  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  4.118e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 138.056 41.456

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/17214/cmap_HighResolution_698630401_699235201_4FGL_J0912.2+4127_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.97e-07', time_completed='2023-02-28 00:59:22.836955', job_id='17214', GAL2='0.77', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677574762.84', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-1.41e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='760' AND source_name='4FGL J0912.2+4127' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:59:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0181>
Subject: Job 17214: <4FGL_J0912.2+4127_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0912.2+4127_weekly_bin760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 28 00:50:22 2023
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:50:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:50:24 2023
Terminated at Tue Feb 28 00:59:23 2023
Results reported at Tue Feb 28 00:59:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_weekly_bin760 138.056 41.4563 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0912.2+4127 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   497.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            541 sec.

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

