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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1756
RA = 138.056, Dec = 41.4563
tmin = 694483201, tmax = 694742401
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='9226', job_status='RUN', time_executed='2023-01-07 00:39:09.670558', time_epoch_executed='1673080749.67' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9226

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9226/ft1_4FGL_J0912.2+4127_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9226/ft1_4FGL_J0912.2+4127_daily_bin1756.fits outfile=/scratch/kocevski/9226/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1756.fits ra=138.056 dec=41.4563 rad=12.0 tmin=694483201.0 tmax=694742401.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.94
user 2.72
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.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/9226/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/9226/ltcube_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.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/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits
.....................!
real 14.37
user 14.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/9226/ltcube_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits outfile=/scratch/kocevski/9226/expmap_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.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/9226/ltcube_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits
.....................!
real 191.56
user 186.17
sys 5.03

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/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits outfile=/scratch/kocevski/9226/cmap_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits outfile=/scratch/kocevski/9226/cmap_HighResolution_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9226/Model_4FGL_J0912.2+4127_daily_bin1756.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/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits.......................!
real 18.53
user 17.14
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits', '/scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits', expMap='/scratch/kocevski/9226/expmap_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits', expCube='/scratch/kocevski/9226/ltcube_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9226/Model_4FGL_J0912.2+4127_daily_bin1756.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/9226/ft1_filtered_4FGL_J0912.2+4127_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/9226/ft2_4FGL_J0912.2+4127_daily_bin1756.fits
Exposure map: /scratch/kocevski/9226/expmap_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits
Exposure cube: /scratch/kocevski/9226/ltcube_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9226/Model_4FGL_J0912.2+4127_daily_bin1756.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) = 817.822199493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16790E+06   1.0000          .0000       .10000E+07
     2 'norm      '    .21800E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .50853E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33989E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1963       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11273E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .45028E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .13125       1.0000          .0000       .10000E+07
     9 'Prefactor '    .74042E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    368.90       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1676       1.0000          .0000       .10000E+07
    12 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    13 'Prefactor '    .45103E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .81601E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19001E-06   1.0000          .0000       .10000E+07
    16 'norm      '    6.1901       1.0000          .0000       .10000E+07
    17 'Prefactor '    .44015E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .88926E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .52069E-03   1.0000          .0000       .10000E+07
    20 'norm      '    16.161       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17017E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .46430E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .36256E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .26785E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .26879E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1517       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=   794.5549     FROM MIGRAD    STATUS=CONVERGED    258 CALLS     2906 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16790E+06    1.4912        .28580E-09   -1.1403    
   2  norm          .10947E-06    27.914       -.17452E-06** at limit **
   3  Prefactor     .16899E-03    36.249        .55261E-06** at limit **
   4  Prefactor      .0000        60.488       -.34755E-06** at limit **
   5  Prefactor     .44353E-07    117.44        .29395E-05** at limit **
   6  Prefactor     .53108E-05    84.535        .36268E-06** at limit **
   7  norm          .17625E-06    32.724       -.12960E-05** at limit **
   8  norm           .0000        34.365       -.21180E-06** at limit **
   9  Prefactor     .62216E-05    29.461       -.10928E-05** at limit **
  10  Prefactor     137.17        235.56        .12691E-05   -.11900E-03
  11  Prefactor     5.6440        9.0105       -.68862E-06    .75778E-03
  12  norm           .0000        5.4131        .31197E-06** at limit **
  13  Prefactor     .71071E-05    37.621       -.11156E-06** at limit **
  14  norm           .0000        .38698        .14786E-06** at limit **
  15  Prefactor     .55511E-10    1.9787       -.47918E-06** at limit **
  16  norm          9.9673        21.966        .37246E-06   -.90460E-03
  17  Prefactor     .55511E-10    2.6944        .47060E-06** at limit **
  18  Prefactor     .66613E-09    16.997        .20001E-06** at limit **
  19  Prefactor     .29436E-05    42.250        .16831E-05** at limit **
  20  norm          15.899        20.524       -.21709E-07    .50446E-01
  21  Prefactor     .22204E-09    19.756       -.77606E-06** at limit **
  22  Prefactor      .0000        8.6111        .32885E-06** at limit **
  23  Prefactor     .17188E-05    161.49        .62719E-05** at limit **
  24  Prefactor     .11102E-09    11.795        .48124E-06** at limit **
  25  norm           .0000        14.557       -.16333E-05** at limit **
  26  Normalizat    .10000E-01    .18195       -.16619E-05** at limit **
  27  Prefactor     1.1704        .25976        .12983E-04   -.70494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 167904
  norm       = 1.09468e-07
  Prefactor  = 0.000168987
  Prefactor  = 0
  Prefactor  = 4.43534e-08
  Prefactor  = 5.31081e-06
  norm       = 1.76248e-07
  norm       = 0
  Prefactor  = 6.22158e-06
  Prefactor  = 137.172
  Prefactor  = 5.64404
  norm       = 0
  Prefactor  = 7.10715e-06
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 9.96727
  Prefactor  = 5.55112e-11
  Prefactor  = 6.66134e-10
  Prefactor  = 2.94359e-06
  norm       = 15.8994
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 1.71879e-06
  Prefactor  = 1.11022e-10
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 1.17044
 **********
 **   18 **HESSE 
 **********

 FCN=   794.5549     FROM HESSE     STATUS=OK           524 CALLS     3430 TOTAL
                     EDM=   .16E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16790E+06    41226.        .34638E-05   -.72641    
   2  norm          .10947E-06    28.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16899E-03    363.53        .15507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        61.279        .16247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .44353E-07    228.79        .69407E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .53108E-05    90.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17625E-06    33.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        34.414        .13156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .62216E-05    39.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     137.17        241.01        .52075E-04   -1.5474    
  11  Prefactor     5.6440        8.9911        .44200E-03   -1.5660    
  12  norm           .0000        5.4601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .71071E-05    50.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .38778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    1.9827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.9673        22.057        .40326E-03   -1.5645    
  17  Prefactor     .55511E-10    2.7185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .66613E-09    17.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .29436E-05    90.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          15.899        28.447        .24887E-03   -1.5628    
  21  Prefactor     .22204E-09    19.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        8.6175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17188E-05    165.19        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    11.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        14.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .16744        .16832       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.1704        .28508        .35886E-01   -.87246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0158831
Minuit parameter uncertainties:
  1  41309.9
  2  0.00353937
  3  0.495736
  4  3.37877e-05
  5  0.0063713
  6  0.0438051
  7  0.00484343
  8  4.80256e-05
  9  0.0313547
  10  241.028
  11  8.9911
  12  3.78763e-06
  13  0.0377085
  14  2.2844e-06
  15  1.80157e-05
  16  22.0575
  17  1.91311e-05
  18  0.000217616
  19  0.032694
  20  28.4472
  21  0.000136985
  22  9.75603e-07
  23  0.0337011
  24  6.48506e-05
  25  2.97046e-06
  26  8.36405e-08
  27  0.28545
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  5.644e+00  8.991e+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

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.170e+00  2.855e-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  8.364e-08  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/9226/likelihoodResults_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 794.123584236
delta logL = 0.431285094896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 793.993284131
delta logL = 0.561585200668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.699       1.0000          .0000       .10000E+07
     2 'Index     '    1.5823       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1592       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   793.9933     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .29E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.704        14.053        .12367E-06   -.55586E-04
   2  Index         1.5830        .64357        .17699E-04   -.19456E-05
   3  Normalizat    .10000E-01    .17336       -.15461E-05** at limit **
   4  Prefactor     1.1590        .27087        .15136E-07    .23111E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7038
  Index      = 1.58302
  Normalizat = 0.01
  Prefactor  = 1.15901
 **********
 **   18 **HESSE 
 **********

 FCN=   793.9933     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.704        14.016        .11105E-04   -1.5640    
   2  Index         1.5830        .64162        .46383E-02   -.75240    
   3  Normalizat    .10000E-01    .19304        .66851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1590        .24910        .21380E-03   -.87602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26033e-12
Minuit parameter uncertainties:
  1  14.0164
  2  0.644969
  3  2.92236e-07
  4  0.249355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9226': 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) = 793.993275139
delta logL = 0.561594192608

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.170e+01  1.402e+01  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  1.583e+00  6.450e-01  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:  1.159e+00  2.494e-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  2.922e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.83
Ra Dec: 138.056 41.456
Photon Index (Free Index): 1.58 +/- 0.64
Photon Flux (Free Index): 5.29e-08 +/- 6.81e-08
Energy Flux (Free Index): 1.27e-04 +/- 2.57e-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/9226/cmap_HighResolution_694483201_694742401_4FGL_J0912.2+4127_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-02', comment='SUCCESS', energy_flux2='1.27e-04', dlogl='5.62e-01', photon_flux2='5.29e-08', job_status='DONE', time_completed='2023-01-07 00:45:36.065637', photon_index_error2='0.64', photon_index2='1.58', ts='0.69', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='4.30e-07', energy_flux_error2='2.57e-04', EG='0.01', time_epoch_completed='1673081136.07', return_code='0', job_id='9226', GAL2='1.16', EG2='0.01', return_code2='0', photon_flux_error2='6.81e-08', ts2='1.83', photon_index='2.46' WHERE bin_id='1756' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:45:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 9226: <4FGL_J0912.2+4127_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:35:25 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:36:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:36:48 2023
Terminated at Sat Jan  7 00:45:36 2023
Results reported at Sat Jan  7 00:45:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1756 138.056 41.4563 694483201 694742401 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 :                                   388.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   528 sec.
    Turnaround time :                            611 sec.

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

