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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1761
RA = 138.056, Dec = 41.4563
tmin = 695779201, tmax = 696038401
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='915186', job_status='RUN', time_executed='2023-01-22 00:36:26.136050', time_epoch_executed='1674376586.14' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915186/ft1_4FGL_J0912.2+4127_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915186/ft1_4FGL_J0912.2+4127_daily_bin1761.fits outfile=/scratch/kocevski/915186/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1761.fits ra=138.056 dec=41.4563 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.06
user 4.76
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.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/915186/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/915186/ft1_filtered_4FGL_J0912.2+4127_daily_bin1761.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.54
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915186/ft1_filtered_4FGL_J0912.2+4127_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/915186/ltcube_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.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/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits
.....................!
real 15.42
user 14.96
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915186/ft1_filtered_4FGL_J0912.2+4127_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/915186/ltcube_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.fits outfile=/scratch/kocevski/915186/expmap_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.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/915186/ltcube_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.fits
.....................!
real 192.13
user 186.42
sys 5.26

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/915186/ft1_filtered_4FGL_J0912.2+4127_daily_bin1761.fits scfile=/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits outfile=/scratch/kocevski/915186/cmap_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915186/ft1_filtered_4FGL_J0912.2+4127_daily_bin1761.fits scfile=/scratch/kocevski/915186/ft2_4FGL_J0912.2+4127_daily_bin1761.fits outfile=/scratch/kocevski/915186/cmap_HighResolution_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6446       1.0000          .0000       .10000E+07
     2 'norm      '    .55174       1.0000          .0000       .10000E+07
     3 'Prefactor '    .78598E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .66086E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10145E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26363E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.1806       1.0000          .0000       .10000E+07
     8 'norm      '    .46363E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20954E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    20.078       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0381       1.0000          .0000       .10000E+07
    12 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    .35331E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .52180E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20262E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .14405E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.065       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42556E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.2239       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14549E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .41472E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.9497       1.0000          .0000       .10000E+07
    24 'Prefactor '    .88583E-03   1.0000          .0000       .10000E+07
    25 'norm      '    11.936       1.0000          .0000       .10000E+07
    26 'Normalizat'    .54831       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4505       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=   5528.495     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     1921 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6741        6.0649       -.37027E-06    .14401E-02
   2  norm          .55086        .48295       -.80147E-07    .58533E-02
   3  Prefactor     .62190E-05    43.213        .32867E-05** at limit **
   4  Prefactor     .18319E-08    4.1442        .35905E-06** at limit **
   5  Prefactor     .71215E-06    14.366       -.15265E-06** at limit **
   6  Prefactor     .16653E-09    2.6855       -.16287E-06** at limit **
   7  norm          1.1809        2.5991        .50359E-06    .52732E-03
   8  norm           .0000        2.5524       -.54116E-07** at limit **
   9  Prefactor     .58620E-06    13.059        .19587E-06** at limit **
  10  Prefactor     20.293        4.9995        .29335E-07   -.46646E-01
  11  Prefactor     4.0325        3.2537        .32316E-06    .20699E-02
  12  norm           .0000        1.5836       -.23609E-07** at limit **
  13  Prefactor      .0000        4.2583       -.42043E-06** at limit **
  14  norm           .0000        .12747       -.87006E-08** at limit **
  15  Prefactor      .0000        1.7236       -.38777E-06** at limit **
  16  norm           .0000        2.1226        .22947E-06** at limit **
  17  Prefactor      .0000        .70693        .27128E-06** at limit **
  18  Prefactor     15.057        8.4144        .39259E-06    .42695E-01
  19  Prefactor     .16320E-07    10.110       -.10093E-05** at limit **
  20  norm          2.3416        2.9491       -.90146E-07   -.20255E-01
  21  Prefactor     .54851E-06    100.37       -.47415E-05** at limit **
  22  Prefactor     .49960E-09    3.2187        .29464E-09** at limit **
  23  Prefactor     1.8183        11.387        .15421E-05   -.69963E-01
  24  Prefactor     .11657E-08    7.0257       -.49373E-06** at limit **
  25  norm          11.965        1.2167        .11168E-07    .25808E-02
  26  Normalizat    .54973        .18476       -.63070E-05    .21117E-03
  27  Prefactor     1.4496        .20926        .59286E-05    .25366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.67407
  norm       = 0.550865
  Prefactor  = 6.21903e-06
  Prefactor  = 1.83187e-09
  Prefactor  = 7.12153e-07
  Prefactor  = 1.66533e-10
  norm       = 1.18092
  norm       = 0
  Prefactor  = 5.86198e-07
  Prefactor  = 20.293
  Prefactor  = 4.03252
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 15.0571
  Prefactor  = 1.63203e-08
  norm       = 2.34157
  Prefactor  = 5.48506e-07
  Prefactor  = 4.996e-10
  Prefactor  = 1.81825
  Prefactor  = 1.16573e-09
  norm       = 11.9647
  Normalizat = 0.549729
  Prefactor  = 1.44963
 **********
 **   18 **HESSE 
 **********

 FCN=   5528.495     FROM HESSE     STATUS=OK           538 CALLS     2459 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6741        6.1062        .42258E-03   -1.5660    
   2  norm          .55086        .48866        .73667E-03   -1.5693    
   3  Prefactor     .62190E-05    45.136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18319E-08    4.0564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .71215E-06    14.981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    2.6886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1809        3.1313        .40258E-02   -1.5686    
   8  norm           .0000        2.5530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .58620E-06    13.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.293        22.059        .22324E-03   -1.5618    
  11  Prefactor     4.0325        3.2728        .50156E-03   -1.5668    
  12  norm           .0000        1.5763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.2794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .12591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .70675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.057        8.4441        .25778E-03   -1.5630    
  19  Prefactor     .16320E-07    10.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3416        16.233        .68921E-03   -1.5677    
  21  Prefactor     .54851E-06    100.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .49960E-09    3.2240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.8183        156.58        .59107E-03   -1.5681    
  24  Prefactor     .11657E-08    7.0662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.965        13.863        .28970E-03   -1.5639    
  26  Normalizat    .54973        .16847        .65326E-01   -1.1016    
  27  Prefactor     1.4496        .18228        .47903E-01   -.78960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24065e-06
Minuit parameter uncertainties:
  1  6.10626
  2  0.48866
  3  0.0335085
  4  0.000171358
  5  0.00653284
  6  4.03381e-05
  7  3.1313
  8  1.24665e-05
  9  0.0056497
  10  22.0589
  11  3.27282
  12  7.83111e-06
  13  8.85326e-06
  14  1.08029e-07
  15  1.22494e-05
  16  8.04131e-06
  17  2.06537e-06
  18  8.44408
  19  0.0008128
  20  12.3307
  21  0.0148682
  22  8.08048e-05
  23  33.7468
  24  0.000183237
  25  13.863
  26  0.168631
  27  0.182365
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  4.033e+00  3.273e+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.450e+00  1.824e-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:  5.497e-01  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 138.056 41.456
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 4.60e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.13e-05

TS (Fixed Index): 2.14
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915186/likelihoodResults_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.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) = 5528.48035174
delta logL = 0.0148626325745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5528.46911751
delta logL = 0.0260968631846

Fit tolerance = 1e-08

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

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

 FCN=   5528.469     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4550        60.513        .54378E-03    .54087E-02
   2  Index         2.6158        3.5429        .17942        .95876E-04
   3  Normalizat    .54460        .54042E-01    .65614E-01    .73934E-05
   4  Prefactor     1.4540        .60361E-01    .47845E-01   -.44919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.45503
  Index      = 2.61576
  Normalizat = 0.544602
  Prefactor  = 1.454
 **********
 **   18 **HESSE 
 **********

 FCN=   5528.469     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4550        4.2238        .10399E-04   -1.5671    
   2  Index         2.6158        .76087        .62624E-02   -.49706    
   3  Normalizat    .54460        .18475        .29038E-03   -1.1039    
   4  Prefactor     1.4540        .20863        .21149E-03   -.78836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41981e-11
Minuit parameter uncertainties:
  1  4.22384
  2  0.764724
  3  0.184961
  4  0.208748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915186': 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) = 5528.46911741
delta logL = 0.0260969672981

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  3.455e+00  4.224e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.616e+00  7.647e-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.454e+00  2.087e-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:  5.446e-01  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 138.056 41.456
Photon Index (Free Index): 2.62 +/- 0.76
Photon Flux (Free Index): 4.92e-08 +/- 4.01e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.20e-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/915186/cmap_HighResolution_695779201_696038401_4FGL_J0912.2+4127_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.52e-03', comment='SUCCESS', photon_flux='4.60e-08', energy_flux2='1.27e-05', photon_flux_error='3.73e-08', dlogl='2.61e-02', energy_flux='1.40e-05', photon_flux2='4.92e-08', job_status='DONE', time_completed='2023-01-22 00:47:26.433536', photon_index_error2='0.76', photon_index2='2.62', ts='2.14', fit_tolerance='1e-08', GAL='1.45', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.20e-05', EG='0.55', time_epoch_completed='1674377246.43', return_code='0', job_id='915186', GAL2='1.45', EG2='0.54', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.01e-08', ts2='2.20', photon_index='2.46' WHERE bin_id='1761' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 00:47:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 915186: <4FGL_J0912.2+4127_daily_bin1761> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 00:35:14 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 00:35:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 00:35:52 2023
Terminated at Sun Jan 22 00:47:27 2023
Results reported at Sun Jan 22 00:47:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1761 138.056 41.4563 695779201 696038401 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 :                                   661.60 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            733 sec.

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

