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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1755
RA = 138.056, Dec = 41.4563
tmin = 694224001, tmax = 694483201
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='819124', job_status='RUN', time_executed='2023-01-04 00:47:19.408916', time_epoch_executed='1672822039.41' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819124/ft1_4FGL_J0912.2+4127_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819124/ft1_4FGL_J0912.2+4127_daily_bin1755.fits outfile=/scratch/kocevski/819124/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1755.fits ra=138.056 dec=41.4563 rad=12.0 tmin=694224001.0 tmax=694483201.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.07
user 2.79
sys 0.22

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

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

Number of photons that the gtmktime cut: 3

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/819124/ltcube_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.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/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits
.....................!
real 18.19
user 17.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/819124/ltcube_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits outfile=/scratch/kocevski/819124/expmap_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.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/819124/ltcube_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits
.....................!
real 195.67
user 188.98
sys 5.57

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/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits scfile=/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits outfile=/scratch/kocevski/819124/cmap_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits scfile=/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits outfile=/scratch/kocevski/819124/cmap_HighResolution_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits', '/scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits', expMap='/scratch/kocevski/819124/expmap_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits', expCube='/scratch/kocevski/819124/ltcube_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/819124/Model_4FGL_J0912.2+4127_daily_bin1755.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/819124/ft1_filtered_4FGL_J0912.2+4127_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/819124/ft2_4FGL_J0912.2+4127_daily_bin1755.fits
Exposure map: /scratch/kocevski/819124/expmap_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits
Exposure cube: /scratch/kocevski/819124/ltcube_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/819124/Model_4FGL_J0912.2+4127_daily_bin1755.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 42.4996222771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 39.6895441496

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0185       1.0000          .0000       .10000E+07
     2 'norm      '    1.1212       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.6744       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3012       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.9195       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6996       1.0000          .0000       .10000E+07
     7 'norm      '    6.0040       1.0000          .0000       .10000E+07
     8 'norm      '    6.3329       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8995       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9609       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4637       1.0000          .0000       .10000E+07
    12 'norm      '    104.01       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8602       1.0000          .0000       .10000E+07
    14 'norm      '    3.2570       1.0000          .0000       .10000E+07
    15 'Prefactor '    .46294       1.0000          .0000       .10000E+07
    16 'norm      '    364.52       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20468       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.8261       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.2717       1.0000          .0000       .10000E+07
    20 'norm      '    .53221       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42113E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .26696E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .78883       1.0000          .0000       .10000E+07
    24 'Prefactor '    .15365E-06   1.0000          .0000       .10000E+07
    25 'norm      '    110.69       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .64082E-10   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=   39.67967     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      289 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0185        1.2965         .0000         .0000    
   2  norm          1.1212        1.1735         .0000         .0000    
   3  Prefactor     2.6744        1.0186         .0000         .0000    
   4  Prefactor     1.3012        1.1044         .0000         .0000    
   5  Prefactor     8.9195        1.0016         .0000         .0000    
   6  Prefactor     1.6996        1.0516         .0000         .0000    
   7  norm          6.0040        1.0035         .0000         .0000    
   8  norm          6.3329        1.0032         .0000         .0000    
   9  Prefactor     1.9572        2.1222        .21909E-05   -.29942E-03
  10  Prefactor     5.9907        1.3804        .64205E-06   -.29302E-03
  11  Prefactor     2.7254        200.79        .48549E-04   -.58102E-02
  12  norm          104.04        23.604        .36367E-05    .18132E-01
  13  Prefactor     .10872E-02    6366.3       -.22761E-03** at limit **
  14  norm          .34417E-08    494.00        .28297E-06** at limit **
  15  Prefactor     .11035E-05    2786.0       -.19303E-03** at limit **
  16  norm          369.09        138.47        .10468E-04   -.10758E-01
  17  Prefactor      .0000        223.82       -.58579E-07** at limit **
  18  Prefactor     6.8476        41.708        .21611E-04   -.10203E-01
  19  Prefactor     .25718E-06    1781.9        .67217E-04** at limit **
  20  norm           .0000        138.12       -.47029E-06** at limit **
  21  Prefactor      .0000        206.71        .18382E-06** at limit **
  22  Prefactor      .0000        653.93        .94745E-05** at limit **
  23  Prefactor     .55511E-10    156.60        .12177E-06** at limit **
  24  Prefactor      .0000        27.226        .19618E-07** at limit **
  25  norm          110.57        7.0520       -.15152E-05   -.26693E-01
  26  Normalizat    .10000E-01    .23061        .31101E-05** at limit **
  27  Prefactor      .0000        .27743       -.48323E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01853
  norm       = 1.1212
  Prefactor  = 2.67445
  Prefactor  = 1.30123
  Prefactor  = 8.91954
  Prefactor  = 1.69958
  norm       = 6.00399
  norm       = 6.33292
  Prefactor  = 1.95718
  Prefactor  = 5.99066
  Prefactor  = 2.72536
  norm       = 104.044
  Prefactor  = 0.00108723
  norm       = 3.44169e-09
  Prefactor  = 1.10345e-06
  norm       = 369.091
  Prefactor  = 0
  Prefactor  = 6.84762
  Prefactor  = 2.57183e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 110.565
  Normalizat = 0.01
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   39.67967     FROM HESSE     STATUS=FAILED        11 CALLS      300 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63136.        63135.         .0000       -1.5688    
   2  norm          1.1212        1.1735         .0000       -1.5687    
   3  Prefactor     2.6744        1.0186         .0000       -1.5675    
   4  Prefactor     1.3012        1.1044         .0000       -1.5685    
   5  Prefactor     8.9195        1.0016         .0000       -1.5648    
   6  Prefactor     1.6996        1.0516         .0000       -1.5682    
   7  norm          6.0040        1.0035         .0000       -1.5659    
   8  norm          6.3329        1.0032         .0000       -1.5658    
   9  Prefactor     1.9572        1.0554        .21909E-05   -1.5680    
  10  Prefactor     5.9907        1.0061        .64205E-06   -1.5659    
  11  Prefactor     2.7254        1.4671        .48549E-04   -1.5675    
  12  norm          104.04        1.0002        .36367E-05   -1.5504    
  13  Prefactor     .10872E-02    .36638E-01   -.22761E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .34417E-08    .78657E-01    .28297E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11035E-05    .17028       -.19303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          369.09        1.0063        .10468E-04   -1.5324    
  17  Prefactor      .0000        .34182       -.58579E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8476        1.0882        .21611E-04   -1.5656    
  19  Prefactor     .25718E-06    .78286E-01    .67217E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .14263       -.47029E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .62962        .18382E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        .69143        .94745E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    .72283E-01    .12177E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        .44347E-01    .19618E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          110.57        .99943       -.15152E-05   -1.5498    
  26  Normalizat    .10000E-01    .25505        .31101E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        .25504       -.48323E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.20789e-11
Minuit parameter uncertainties:
  1  1.29648
  2  1.17354
  3  1.01864
  4  1.10437
  5  1.00158
  6  1.05159
  7  1.00351
  8  1.00315
  9  1.05535
  10  1.00607
  11  1.46707
  12  1.00016
  13  0.0126229
  14  3.29793e-05
  15  0.00086694
  16  1.00625
  17  2.46361e-07
  18  1.08817
  19  0.000283785
  20  2.18431e-07
  21  2.69819e-07
  22  6.18823e-06
  23  2.91307e-06
  24  2.93741e-07
  25  0.999431
  26  3.09722e-09
  27  8.97447e-09
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 39.6796730934

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.725e+00  1.467e+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:  0.000e+00  8.974e-09  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  3.097e-09  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 1.50789374446

TS (Fixed Index): 0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.76e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819124/likelihoodResults_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.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) = 39.7102644453
delta logL = -0.0305913518497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 39.7102644408
delta logL = -0.0305913473991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.4573       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=   39.71026     FROM MIGRAD    STATUS=CONVERGED     20 CALLS       77 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.4552        3.6216        .50000        .89104E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 2.45519
 **********
 **   18 **HESSE 
 **********

 FCN=   39.71026     FROM HESSE     STATUS=OK             7 CALLS       84 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.4552        3.6216        .20000       -.53398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93387e-11
Minuit parameter uncertainties:
  1  4.30394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819124': 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) = 39.7102644364
delta logL = -0.030591342944

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.725e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12) fixed
330        Index:  2.455e+00  4.304e+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:  3.669e-06  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.001e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/819124/cmap_HighResolution_694224001_694483201_4FGL_J0912.2+4127_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.76e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2023-01-04 00:52:59.597212', job_id='819124', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1672822379.6', return_code2='0', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-3.06e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1755' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:52:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 819124: <4FGL_J0912.2+4127_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan  4 00:45:36 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:46:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:46:42 2023
Terminated at Wed Jan  4 00:53:00 2023
Results reported at Wed Jan  4 00:53:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1755 138.056 41.4563 694224001 694483201 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 :                                   340.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             432.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   378 sec.
    Turnaround time :                            444 sec.

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

