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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1710
RA = 214.894, Dec = 38.3657
tmin = 682560001, tmax = 682819201
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='144950', job_status='RUN', time_executed='2022-09-16 18:16:23.586075', time_epoch_executed='1663377383.59' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144950/ft1_4FGL_J1419.5+3821_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144950/ft1_4FGL_J1419.5+3821_daily_bin1710.fits outfile=/scratch/kocevski/144950/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1710.fits ra=214.894 dec=38.3657 rad=12.0 tmin=682560001.0 tmax=682819201.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.68
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.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/144950/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.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.34
sys 0.15

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/144950/ltcube_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.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/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits
.....................!
real 15.58
user 15.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/144950/ltcube_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits outfile=/scratch/kocevski/144950/expmap_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.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/144950/ltcube_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits
.....................!
real 192.17
user 186.86
sys 4.79

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/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits scfile=/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits outfile=/scratch/kocevski/144950/cmap_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits scfile=/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits outfile=/scratch/kocevski/144950/cmap_HighResolution_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.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.57
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits', '/scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits', expMap='/scratch/kocevski/144950/expmap_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits', expCube='/scratch/kocevski/144950/ltcube_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/144950/Model_4FGL_J1419.5+3821_daily_bin1710.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/144950/ft1_filtered_4FGL_J1419.5+3821_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/144950/ft2_4FGL_J1419.5+3821_daily_bin1710.fits
Exposure map: /scratch/kocevski/144950/expmap_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits
Exposure cube: /scratch/kocevski/144950/ltcube_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/144950/Model_4FGL_J1419.5+3821_daily_bin1710.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) = 5806.75429289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.143       1.0000          .0000       .10000E+07
     2 'norm      '    .87265       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.0533       1.0000          .0000       .10000E+07
     4 'norm      '    7.0162       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15381E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.4227       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5367       1.0000          .0000       .10000E+07
     8 'norm      '    3.2468       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23302E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.380       1.0000          .0000       .10000E+07
    11 'Prefactor '    29.104       1.0000          .0000       .10000E+07
    12 'norm      '    .83661E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .12657E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    72.471       1.0000          .0000       .10000E+07
    15 'norm      '    .93129E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.844       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18029E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .24107       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.429       1.0000          .0000       .10000E+07
    20 'Prefactor '    .81964E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0298       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79361       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=   5806.606     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     1853 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.205        64.860       -.76801E-06    .89179E-03
   2  norm          .87715        1.0807       -.10181E-07   -.22666E-03
   3  Prefactor     8.0682        4.7135       -.27757E-07   -.69483E-04
   4  norm          6.9745        13.457       -.64227E-07   -.32710E-03
   5  Prefactor      .0000        19.980       -.14885E-06** at limit **
   6  Prefactor     8.5445        5.3209        .22550E-07   -.40165E-03
   7  Prefactor     5.3872        26.198        .32545E-06   -.16397E-02
   8  norm          3.2598        3.4480       -.11774E-07    .12581E-04
   9  Prefactor     .14988E-08    7.5631       -.51309E-06** at limit **
  10  Prefactor     12.467        15.898       -.15464E-06    .43077E-03
  11  Prefactor     28.954        6.7542        .53606E-07   -.20568E-03
  12  norm          .33307E-09    5.9643        .24458E-06** at limit **
  13  norm          .55511E-10    22.561        .15320E-06** at limit **
  14  Prefactor     76.985        48.228       -.18674E-06   -.24774E-02
  15  norm          .11102E-09    4.1159        .36186E-07** at limit **
  16  Prefactor     20.663        3.9144       -.50612E-07   -.54907E-01
  17  Prefactor     .19817E-07    15.342        .48732E-06** at limit **
  18  norm          .25381        2.7732       -.93947E-07   -.39043E-04
  19  Prefactor     11.366        13.564       -.16333E-06   -.32799E-02
  20  Prefactor     .55511E-10    41.960        .37491E-06** at limit **
  21  Normalizat    1.0273        .22097       -.25994E-05    .13317E-04
  22  Prefactor     .79312        .22705        .37283E-05   -.10134E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.2053
  norm       = 0.877148
  Prefactor  = 8.0682
  norm       = 6.97453
  Prefactor  = 0
  Prefactor  = 8.54451
  Prefactor  = 5.38717
  norm       = 3.25982
  Prefactor  = 1.4988e-09
  Prefactor  = 12.4675
  Prefactor  = 28.9544
  norm       = 3.33067e-10
  norm       = 5.55112e-11
  Prefactor  = 76.985
  norm       = 1.11022e-10
  Prefactor  = 20.6628
  Prefactor  = 1.98175e-08
  norm       = 0.253811
  Prefactor  = 11.3665
  Prefactor  = 5.55112e-11
  Normalizat = 1.02733
  Prefactor  = 0.793121
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.606     FROM HESSE     STATUS=OK           396 CALLS     2249 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.205        64.632        .14413E-03   -1.5562    
   2  norm          .87715        1.0880        .47669E-03   -1.5689    
   3  Prefactor     8.0682        4.7006        .35307E-03   -1.5651    
   4  norm          6.9745        13.456        .37850E-03   -1.5655    
   5  Prefactor      .0000        20.006        .17362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5445        5.3294        .34518E-03   -1.5650    
   7  Prefactor     5.3872        25.792        .42674E-03   -1.5662    
   8  norm          3.2598        3.4548        .56184E-03   -1.5672    
   9  Prefactor     .14988E-08    7.5792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.467        15.862        .28444E-03   -1.5637    
  11  Prefactor     28.954        6.7360        .18539E-03   -1.5600    
  12  norm          .33307E-09    5.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    22.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     76.985        48.165        .11747E-03   -1.5532    
  15  norm          .11102E-09    4.1344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.663        16.702        .21910E-03   -1.5617    
  17  Prefactor     .19817E-07    15.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .25381        1.2503        .27740E-02   -1.5718    
  19  Prefactor     11.366        13.606        .29609E-03   -1.5641    
  20  Prefactor     .55511E-10    41.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0273        .18579        .42186E-01   -.92120    
  22  Prefactor     .79312        .19262        .66233E-01   -.99982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51391e-08
Minuit parameter uncertainties:
  1  64.633
  2  1.08803
  3  4.70061
  4  13.4563
  5  1.3496e-05
  6  5.32939
  7  23.5751
  8  3.45478
  9  0.000214566
  10  15.8618
  11  6.73602
  12  8.90686e-05
  13  6.88904e-05
  14  48.1652
  15  4.31214e-05
  16  16.7024
  17  0.00110918
  18  1.12665
  19  13.6058
  20  9.94222e-05
  21  0.185906
  22  0.192788
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.499e-09  2.146e-04  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:  7.931e-01  1.928e-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:  1.027e+00  1.859e-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: 7.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/144950/likelihoodResults_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.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) = 5806.66942967
delta logL = -0.0639076811085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5806.60552399
delta logL = -2.00341310119e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48727E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.1188       1.0000          .0000       10.000    
     3 'Normalizat'    1.0271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79348       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=   5806.606     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      231 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12157E-07    1.1000        .42118E-03** at limit **
   2  Index         2.1455        6.0727        .36912        .61598E-09
   3  Normalizat    1.0273        .14642E-02    .42465E-01    .13438E-03
   4  Prefactor     .79313        .16513E-02    .66233E-01    .37741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21569e-08
  Index      = 2.14555
  Normalizat = 1.02733
  Prefactor  = 0.793126
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.606     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      262 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12157E-07    2.5537        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1455        8.4571        .50000       -.60759    
   3  Normalizat    1.0273        .22295E-02    .23237E-03   -.92121    
   4  Prefactor     .79313        .25115E-02    .29301E-03   -.99982    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05586e-10
Minuit parameter uncertainties:
  1  0.000352332
  2  5358.62
  3  0.0022295
  4  0.00251149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144950': 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) = 5806.60552199
delta logL = -8.2582118921e-10

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.216e-08  3.523e-04  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.146e+00  5.359e+03  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:  7.931e-01  2.511e-03  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:  1.027e+00  2.229e-03  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/144950/cmap_HighResolution_682560001_682819201_4FGL_J1419.5+3821_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.08e-08', time_completed='2022-09-16 18:25:56.273303', job_id='144950', GAL2='0.79', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1663377956.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-8.26e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1710' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:25:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 144950: <4FGL_J1419.5+3821_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:15:19 2022
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:15:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:15:54 2022
Terminated at Fri Sep 16 18:25:57 2022
Results reported at Fri Sep 16 18:25:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1710 214.894 38.3657 682560001 682819201 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 :                                   574.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            638 sec.

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

