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 221 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1912.4-1222_daily_bin1703
RA = 288.118, Dec = -12.3678
tmin = 680745601, tmax = 681004801
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='322734', job_status='RUN', time_executed='2022-08-01 01:19:10.003293', time_epoch_executed='1659341950.0' WHERE source_name='4FGL J1912.4-1222' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322734

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322734/ft1_4FGL_J1912.4-1222_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322734/ft1_4FGL_J1912.4-1222_daily_bin1703.fits outfile=/scratch/kocevski/322734/ft1_filteredMKT_4FGL_J1912.4-1222_daily_bin1703.fits ra=288.118 dec=-12.3678 rad=12.0 tmin=680745601.0 tmax=681004801.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.97
user 2.76
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.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/322734/ft1_filteredMKT_4FGL_J1912.4-1222_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.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.31
sys 0.18

Number of photons that the gtmktime cut: 350

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/322734/ltcube_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.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/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits
.....................!
real 14.11
user 13.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/322734/ltcube_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits outfile=/scratch/kocevski/322734/expmap_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.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/322734/ltcube_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits
.....................!
real 191.90
user 185.42
sys 5.80

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
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Added 380 point sources and 17 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1912.4-1222 @ 288.118 -12.3678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits outfile=/scratch/kocevski/322734/cmap_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.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=288.118 yref=-12.3678 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits outfile=/scratch/kocevski/322734/cmap_HighResolution_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.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=288.118 yref=-12.3678 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/322734/Model_4FGL_J1912.4-1222_daily_bin1703.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 FGES J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 28
adding source W 30
adding source W 41
adding source W 44
Working on...
/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits.....................!
real 123.52
user 121.91
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits', '/scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits', expMap='/scratch/kocevski/322734/expmap_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits', expCube='/scratch/kocevski/322734/ltcube_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/322734/Model_4FGL_J1912.4-1222_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1912.4-1222'

4FGL J1912.4-1222
   Spectrum: LogParabola
1063         norm:  7.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
1064        alpha:  2.384e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  2.251e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  1.464e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/322734/ft1_filtered_4FGL_J1912.4-1222_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/322734/ft2_4FGL_J1912.4-1222_daily_bin1703.fits
Exposure map: /scratch/kocevski/322734/expmap_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits
Exposure cube: /scratch/kocevski/322734/ltcube_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/322734/Model_4FGL_J1912.4-1222_daily_bin1703.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) = 3654.44442628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4088       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3541       1.0000         .10000E-03   10000.    
     3 'norm      '    .10331E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31133E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.4946       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .78104E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .35067E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .20657       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8261       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2463       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9661       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1626       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    .71416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1439E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   3654.083     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      359 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4062        6.2992        .47950E-02    .23718    
   2  Prefactor     .10000E-03    338.19        .93936E-02** at limit **
   3  norm          .10000E-03    5.7057        .90712E-02** at limit **
   4  Prefactor     .10000E-03    126.39        .91776E-02** at limit **
   5  Prefactor     .10000E-03    9.5460        .90712E-02** at limit **
   6  norm          .10000E-03    173.74        .54072E-02** at limit **
   7  Prefactor     .10000E-03    276.84        .43947E-02** at limit **
   8  Prefactor     .10000E-03    53.156        .10458E-01** at limit **
   9  norm          .10000E-03    83.465        .98264E-02** at limit **
  10  norm          .10000E-03    64.623        .10008E-01** at limit **
  11  Prefactor     1.8261        1.0435         .0000         .0000    
  12  Prefactor     2.2463        1.0272         .0000         .0000    
  13  Prefactor     5.9661        1.0036         .0000         .0000    
  14  Prefactor     9.1626        1.0015         .0000         .0000    
  15  Normalizat    .10000E-01    .25505       -.20498E-04** at limit **
  16  Prefactor     .71420        1.0639        .54464E-05    .32845E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.40618
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.82615
  Prefactor  = 2.24634
  Prefactor  = 5.96606
  Prefactor  = 9.16265
  Normalizat = 0.01
  Prefactor  = 0.714201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3654.083     FROM HESSE     STATUS=FAILED        29 CALLS      388 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4062        6.2992        .47950E-02   -1.5288    
   2  Prefactor     .10000E-03    338.19        .93936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.7057        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    126.39        .91776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.5460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    173.74        .54072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    276.84        .43947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    53.156        .10458E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    83.465        .98264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    64.623        .10008E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     571.91        569.93         .0000       -1.5438    
  12  Prefactor     2.2463        1.0272         .0000       -1.5408    
  13  Prefactor     5.9661        1.0036         .0000       -1.5219    
  14  Prefactor     9.1626        1.0015         .0000       -1.5102    
  15  Normalizat    .10000E-01    .25505       -.20498E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .71420        1.0639        .54464E-05   -1.0297    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.24871e-11
Minuit parameter uncertainties:
  1  6.30018
  2  0.000993005
  3  2.29537e-05
  4  0.00018014
  5  2.94501e-06
  6  0.000975599
  7  0.00048926
  8  4.84306e-05
  9  8.6381e-06
  10  8.73858e-05
  11  1.0435
  12  1.02721
  13  1.00355
  14  1.0015
  15  1.2511e-06
  16  1.09678
Done.

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

Extracting fit parameters...

4FGL J1912.4-1222
   Spectrum: LogParabola
1063         norm:  1.000e-04  9.756e-04  1.000e-04  1.000e+04 ( 1.000e-13)
1064        alpha:  2.384e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1065         beta:  2.251e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  1.464e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1389    Prefactor:  7.142e-01  1.097e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1390        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1391        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1375   Normalization:  1.000e-02  1.251e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 288.118 -12.368
Photon Flux Upper Limit: 1.84e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.50e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/322734/likelihoodResults_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.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) = 3654.08283832
delta logL = -3.52511838173e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3654.08280379
delta logL = -7.23865923646e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5084       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71419       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1439E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3654.083     FROM MIGRAD    STATUS=FAILED        90 CALLS      274 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17205E-03    1280.1        .18142E-01** at limit **
   2  alpha         2.5789        3.6729        .18591        .13170E-05
   3  Normalizat    .10000E-01    .96672E-02    .25461E-01** at limit **
   4  Prefactor     .71420        .67826E-02    .11467E-03   -.56779E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3654.083     FROM SIMPLEX   STATUS=PROGRESS     132 CALLS      406 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10095E-03    1280.1        .10949E-02** at limit **
   2  alpha         2.5788        3.6729        .54589E-04    .13170E-05
   3  Normalizat    .10000E-01    .96672E-02    .18441E-02** at limit **
   4  Prefactor     .71420        .67826E-02    .21454E-07   -.56779E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3654.083     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      479 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11200E-03    671.22        .72569E-01** at limit **
   2  alpha         1.9661        3.2658        .14873        .29310E-06
   3  Normalizat    .10000E-01    .31742E-02    .10184E-02** at limit **
   4  Prefactor     .71420        .38854E-02    .45870E-05    .13136E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000112001
  alpha      = 1.96607
  Normalizat = 0.01
  Prefactor  = 0.714201
 **********
 **   18 **HESSE 
 **********

 FCN=   3654.083     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      502 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11200E-03    7737.8        .89273E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9661        3.2134        .29746E-01   -.21523    
   3  Normalizat    .10000E-01    .33914E-01    .20369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71420        .12707E-01    .91740E-06   -1.0297    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.66627e-09
Minuit parameter uncertainties:
  1  0.577196
  2  10758.9
  3  2.40243e-05
  4  0.0127067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322734': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3654.08280303
delta logL = 3.71242094843e-08

Extracting fit parameters...

4FGL J1912.4-1222
   Spectrum: LogParabola
1063         norm:  1.120e-04  5.772e-01  1.000e-04  1.000e+04 ( 1.000e-13)
1064        alpha:  1.966e+00  1.076e+04  0.000e+00  5.000e+00 ( 1.000e+00)
1065         beta:  2.251e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1066           Eb:  1.464e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1389    Prefactor:  7.142e-01  1.271e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1390        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1391        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1375   Normalization:  1.000e-02  2.402e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 288.118 -12.368

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/322734/cmap_HighResolution_680745601_681004801_4FGL_J1912.4-1222_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-04', job_status='DONE', photon_flux_upper_limit='1.84e-06', time_completed='2022-08-01 01:29:13.231527', job_id='322734', GAL2='0.71', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1659342553.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.71', dlogl='3.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1703' AND source_name='4FGL J1912.4-1222' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:29:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 322734: <4FGL_J1912.4-1222_daily_bin1703> in cluster <slac> Done

Job <4FGL_J1912.4-1222_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:15:12 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:15:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:15:16 2022
Terminated at Mon Aug  1 01:29:14 2022
Results reported at Mon Aug  1 01:29:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1912.4-1222_daily_bin1703 288.118 -12.3678 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1912.4-1222 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.00 sec.
    Max Memory :                                 1099 MB
    Average Memory :                             286.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            842 sec.

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

