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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1750
RA = 214.894, Dec = 38.3657
tmin = 692928001, tmax = 693187201
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='14824', job_status='RUN', time_executed='2022-12-20 01:02:46.318285', time_epoch_executed='1671526966.32' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14824/ft1_4FGL_J1419.5+3821_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14824/ft1_4FGL_J1419.5+3821_daily_bin1750.fits outfile=/scratch/kocevski/14824/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1750.fits ra=214.894 dec=38.3657 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.23
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.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/14824/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/14824/ltcube_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.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/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits
.....................!
real 11.92
user 11.51
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/14824/ltcube_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits outfile=/scratch/kocevski/14824/expmap_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.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/14824/ltcube_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits
.....................!
real 190.58
user 184.56
sys 5.66

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

Setting source of interest to:
4FGL J1419.5+3821 @ 214.894 38.3657

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits outfile=/scratch/kocevski/14824/cmap_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.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=214.894 yref=38.3657 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits outfile=/scratch/kocevski/14824/cmap_HighResolution_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.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=214.894 yref=38.3657 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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14824/Model_4FGL_J1419.5+3821_daily_bin1750.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/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits.....................!
real 47.09
user 45.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits', '/scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits', expMap='/scratch/kocevski/14824/expmap_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits', expCube='/scratch/kocevski/14824/ltcube_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/14824/Model_4FGL_J1419.5+3821_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.5+3821'

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.993e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/14824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/14824/ft2_4FGL_J1419.5+3821_daily_bin1750.fits
Exposure map: /scratch/kocevski/14824/expmap_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits
Exposure cube: /scratch/kocevski/14824/ltcube_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/14824/Model_4FGL_J1419.5+3821_daily_bin1750.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) = 5880.89522849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20231E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .16720E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.1702       1.0000          .0000       .10000E+07
     4 'norm      '    .10070E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56042       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5154       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.205       1.0000          .0000       .10000E+07
     8 'norm      '    .40190E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .52914E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11872E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.241       1.0000          .0000       .10000E+07
    12 'norm      '    .14397E-03   1.0000          .0000       .10000E+07
    13 'norm      '    6.4244       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.773       1.0000          .0000       .10000E+07
    15 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    18.720       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.2696       1.0000          .0000       .10000E+07
    18 'norm      '    2.3313       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.6967       1.0000          .0000       .10000E+07
    20 'Prefactor '    101.02       1.0000          .0000       .10000E+07
    21 'Normalizat'    .96593       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5880.741     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1800 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    21.516        .70830E-06** at limit **
   2  norm           .0000        1.5424        .30603E-07** at limit **
   3  Prefactor     3.1693        3.6732       -.47905E-07    .17026E-03
   4  norm           .0000        4.2395       -.75560E-07** at limit **
   5  Prefactor     .19096E-07    354.10       -.14107E-04** at limit **
   6  Prefactor     1.5167        4.0831        .31264E-06   -.32147E-03
   7  Prefactor     31.419        8.4427        .20270E-06   -.42101E-01
   8  norm           .0000        1.0522       -.90141E-07** at limit **
   9  Prefactor      .0000        3.1876        .20226E-07** at limit **
  10  Prefactor      .0000        5.9935        .17242E-06** at limit **
  11  Prefactor     32.273        6.3536        .47459E-07    .11683E-03
  12  norm           .0000        3.5590       -.16258E-06** at limit **
  13  norm          6.4628        5.6520       -.40295E-07   -.17917E-02
  14  Prefactor     17.713        19.547        .46062E-06    .98626E-02
  15  norm           .0000        5.7433       -.23901E-06** at limit **
  16  Prefactor     18.589        12.362       -.21667E-06    .25307E-01
  17  Prefactor     8.3865        6.9227        .22040E-06    .36028E-01
  18  norm          2.3130        1.9630       -.50004E-07   -.14084E-02
  19  Prefactor     1.4872        28.141        .72955E-08   -.14976E-02
  20  Prefactor     102.70        85.138        .84880E-06   -.12490E-02
  21  Normalizat    .96597        .19578       -.18469E-05   -.58767E-04
  22  Prefactor     .83061        .22403       -.13860E-05   -.32905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  norm       = 0
  Prefactor  = 3.1693
  norm       = 0
  Prefactor  = 1.90958e-08
  Prefactor  = 1.51673
  Prefactor  = 31.4186
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.2734
  norm       = 0
  norm       = 6.4628
  Prefactor  = 17.7132
  norm       = 0
  Prefactor  = 18.5894
  Prefactor  = 8.38645
  norm       = 2.31299
  Prefactor  = 1.48718
  Prefactor  = 102.703
  Normalizat = 0.965972
  Prefactor  = 0.830607
 **********
 **   18 **HESSE 
 **********

 FCN=   5880.741     FROM HESSE     STATUS=OK           390 CALLS     2190 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    21.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.4921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1693        3.6882        .56895E-03   -1.5672    
   4  norm           .0000        4.2443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19096E-07    350.65        .72850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5167        4.1865        .86809E-03   -1.5683    
   7  Prefactor     31.419        22.469        .17904E-03   -1.5596    
   8  norm           .0000        1.0513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.1894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.9914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.273        6.3583        .17614E-03   -1.5594    
  12  norm           .0000        3.5613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.4628        5.6862        .39574E-03   -1.5657    
  14  Prefactor     17.713        20.855        .23730E-03   -1.5624    
  15  norm           .0000        5.7383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.589        13.802        .23121E-03   -1.5622    
  17  Prefactor     8.3865        11.721        .34838E-03   -1.5650    
  18  norm          2.3130        2.2301        .67137E-03   -1.5678    
  19  Prefactor     1.4872        28.032        .80747E-03   -1.5684    
  20  Prefactor     102.70        85.289        .99501E-04   -1.5505    
  21  Normalizat    .96597        .16755        .45739E-01   -.94179    
  22  Prefactor     .83061        .18901        .63716E-01   -.98610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83465e-07
Minuit parameter uncertainties:
  1  0.000207619
  2  2.5519e-06
  3  3.6882
  4  5.48251e-06
  5  0.0051725
  6  4.18651
  7  22.4686
  8  1.31145e-06
  9  2.78594e-06
  10  2.10385e-05
  11  6.35829
  12  3.91404e-06
  13  5.6862
  14  20.8553
  15  1.51434e-05
  16  13.8018
  17  11.7207
  18  2.23006
  19  12.9135
  20  85.2904
  21  0.167637
  22  0.189153
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.786e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.306e-01  1.892e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.660e-01  1.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 214.894 38.366
Photon Flux Upper Limit: 4.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/14824/likelihoodResults_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.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) = 5880.74156559
delta logL = -0.000769748155108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5880.74079588
delta logL = -4.20104697696e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11241E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0667       1.0000          .0000       10.000    
     3 'Normalizat'    .96597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5880.741     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      270 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    2.2733        .42118E-03** at limit **
   2  Index         3.0155        6.4967        .39017        .11655E-09
   3  Normalizat    .96597        .15863        .45739E-01   -.26852E-03
   4  Prefactor     .83061        .18627        .63716E-01   -.93734E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 3.01552
  Normalizat = 0.965969
  Prefactor  = 0.83061
 **********
 **   18 **HESSE 
 **********

 FCN=   5880.741     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      301 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    487.11        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0155        6.8138        .50000       -.40813    
   3  Normalizat    .96597        .16004        .22525E-03   -.94179    
   4  Prefactor     .83061        .18769        .28182E-03   -.98610    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45363e-08
Minuit parameter uncertainties:
  1  0.000475596
  2  71.7526
  3  0.160118
  4  0.187837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14824': 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) = 5880.74079584
delta logL = -1.56433088705e-10

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.110e-10  4.756e-04  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  3.016e+00  7.175e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.306e-01  1.878e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.660e-01  1.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 214.894 38.366

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/14824/cmap_HighResolution_692928001_693187201_4FGL_J1419.5+3821_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.17e-08', time_completed='2022-12-20 01:12:08.446742', job_id='14824', GAL2='0.83', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1671527528.45', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-1.56e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1750' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:12:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 14824: <4FGL_J1419.5+3821_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 01:00:17 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:00:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:00:18 2022
Terminated at Tue Dec 20 01:12:09 2022
Results reported at Tue Dec 20 01:12:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1750 214.894 38.3657 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.5+3821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   564.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            712 sec.

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

