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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1711
RA = 214.894, Dec = 38.3657
tmin = 682819201, tmax = 683078401
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='144951', job_status='RUN', time_executed='2022-09-16 18:17:27.711344', time_epoch_executed='1663377447.71' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144951/ft1_4FGL_J1419.5+3821_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144951/ft2_4FGL_J1419.5+3821_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144951/ft1_4FGL_J1419.5+3821_daily_bin1711.fits outfile=/scratch/kocevski/144951/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1711.fits ra=214.894 dec=38.3657 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.57
user 4.29
sys 0.25

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

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

Number of photons that the gtmktime cut: 553

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144951/ft1_filtered_4FGL_J1419.5+3821_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/144951/ft2_4FGL_J1419.5+3821_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/144951/ltcube_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.fits outfile=/scratch/kocevski/144951/expmap_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.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/144951/ltcube_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.fits
.....................!
real 192.76
user 185.98
sys 6.21

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/144951/ft1_filtered_4FGL_J1419.5+3821_daily_bin1711.fits scfile=/scratch/kocevski/144951/ft2_4FGL_J1419.5+3821_daily_bin1711.fits outfile=/scratch/kocevski/144951/cmap_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144951/ft1_filtered_4FGL_J1419.5+3821_daily_bin1711.fits scfile=/scratch/kocevski/144951/ft2_4FGL_J1419.5+3821_daily_bin1711.fits outfile=/scratch/kocevski/144951/cmap_HighResolution_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.003       1.0000          .0000       .10000E+07
     2 'norm      '    .63622       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.5971       1.0000          .0000       .10000E+07
     4 'norm      '    13.435       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4156       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19961E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30088E-01   1.0000          .0000       .10000E+07
     8 'norm      '    4.0490       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14147E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34197E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.339       1.0000          .0000       .10000E+07
    12 'norm      '    .36242E-02   1.0000          .0000       .10000E+07
    13 'norm      '    3.7842       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.237       1.0000          .0000       .10000E+07
    15 'norm      '    14.075       1.0000          .0000       .10000E+07
    16 'Prefactor '    .63622E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12586E-01   1.0000          .0000       .10000E+07
    18 'norm      '    1.6333       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31176E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .26689       1.0000          .0000       .10000E+07
    21 'Normalizat'    .75465       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4589       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=   6105.892     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     1772 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.379        35.655       -.58818E-07   -.22809    
   2  norm          .63543        1.2427        .71355E-07    .85528E-03
   3  Prefactor     9.6037        6.3617        .27231E-07   -.10338E-02
   4  norm          13.420        12.751       -.27130E-06   -.70231E-01
   5  Prefactor     3.3644        112.29       -.55563E-05   -.22194E-01
   6  Prefactor      .0000        1.4762       -.51488E-07** at limit **
   7  Prefactor      .0000        17.033       -.60248E-07** at limit **
   8  norm          4.0417        3.5444        .27307E-07    .18593E-03
   9  Prefactor      .0000        5.5802        .77985E-08** at limit **
  10  Prefactor     .55511E-10    9.0880       -.89857E-07** at limit **
  11  Prefactor     13.433        5.4769        .20103E-07   -.11522E-02
  12  norm          .11102E-09    6.0304       -.19664E-07** at limit **
  13  norm          3.7881        6.0965        .32551E-07   -.64514E-03
  14  Prefactor     25.249        3.3827       -.71549E-07    .19478E-01
  15  norm          14.053        8.9994        .28862E-08   -.66574E-03
  16  Prefactor     .24869E-07    33.558       -.42294E-06** at limit **
  17  Prefactor     .42744E-08    20.189        .19861E-06** at limit **
  18  norm          1.6351        1.2942       -.57926E-07   -.32421E-02
  19  Prefactor      .0000        4.4605       -.98551E-07** at limit **
  20  Prefactor     .47394E-03    507.90        .85448E-05** at limit **
  21  Normalizat    .75379        .21188        .31903E-05   -.46016E-04
  22  Prefactor     1.4592        .24836       -.16807E-05   -.68722E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.3794
  norm       = 0.635429
  Prefactor  = 9.60374
  norm       = 13.4204
  Prefactor  = 3.36439
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.04175
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 13.4329
  norm       = 1.11022e-10
  norm       = 3.78812
  Prefactor  = 25.2492
  norm       = 14.053
  Prefactor  = 2.4869e-08
  Prefactor  = 4.27436e-09
  norm       = 1.63508
  Prefactor  = 0
  Prefactor  = 0.000473936
  Normalizat = 0.753791
  Prefactor  = 1.45922
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.892     FROM HESSE     STATUS=OK           394 CALLS     2166 TOTAL
                     EDM=   .56E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.379        80.200        .11548E-03   -1.5534    
   2  norm          .63543        1.2537        .66045E-03   -1.5692    
   3  Prefactor     9.6037        6.3716        .32324E-03   -1.5646    
   4  norm          13.420        12.849        .27301E-03   -1.5635    
   5  Prefactor     3.3644        119.02        .65835E-03   -1.5671    
   6  Prefactor      .0000        1.4790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        16.643        .16446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0417        3.5498        .50086E-03   -1.5668    
   9  Prefactor      .0000        5.5774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    9.0958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.433        5.4887        .27400E-03   -1.5635    
  12  norm          .11102E-09    6.0237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7881        6.1197        .51869E-03   -1.5669    
  14  Prefactor     25.249        36.949        .19910E-03   -1.5607    
  15  norm          14.053        9.0014        .26671E-03   -1.5633    
  16  Prefactor     .24869E-07    33.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .42744E-08    19.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6351        1.3066        .82694E-03   -1.5682    
  19  Prefactor      .0000        4.4617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .47394E-03    573.75        .10689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75379        .17986        .62936E-01   -1.0181    
  22  Prefactor     1.4592        .20691        .56295E-01   -.78688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60721e-06
Minuit parameter uncertainties:
  1  80.2011
  2  1.2537
  3  6.37157
  4  12.8495
  5  40.0216
  6  8.02847e-07
  7  2.20842e-06
  8  3.54977
  9  3.42541e-06
  10  3.94767e-05
  11  5.48871
  12  5.5142e-05
  13  6.1197
  14  36.9494
  15  9.00143
  16  0.00181784
  17  0.000580169
  18  1.30664
  19  7.37707e-06
  20  1.04302
  21  0.180002
  22  0.207027
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.425e-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:  1.459e+00  2.070e-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:  7.538e-01  1.800e-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: 6.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/144951/likelihoodResults_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.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) = 6105.89658813
delta logL = -0.00472284518037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6105.89186603
delta logL = -7.39401002647e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16886E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.7668       1.0000          .0000       10.000    
     3 'Normalizat'    .75384       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4593       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6105.892     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      248 TOTAL
                     EDM=   .36E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0542        .42118E-03** at limit **
   2  Index         .59258        .53132        .50969E-05     .0000    
   3  Normalizat    .75379        1.0933        .30451E-05   -.14461E-04
   4  Prefactor     1.4592        1.0530       -.36283E-05   -.86097E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.592577
  Normalizat = 0.75379
  Prefactor  = 1.45922
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6105.892     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .36E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .82812E-03    .70480        .50969E-05   -1.0790    
   3  Normalizat    .75379        1.0933        .30451E-05   -1.0181    
   4  Prefactor     1.4592        1.0530       -.36283E-05   -.78688    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.63501e-13
Minuit parameter uncertainties:
  1  1.39749e-07
  2  0.535914
  3  1.12778
  4  1.06932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144951': 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): 101
logL (Free Index) = 6105.89186529
delta logL = 2.72848410532e-12

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.397e-07  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  5.926e-01  5.359e-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:  1.459e+00  1.069e+00  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:  7.538e-01  1.128e+00  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/144951/cmap_HighResolution_682819201_683078401_4FGL_J1419.5+3821_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.17e-08', time_completed='2022-09-16 18:27:11.526962', job_id='144951', GAL2='1.46', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1663378031.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1711' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:27:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 144951: <4FGL_J1419.5+3821_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1711> 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) <bullet0112>, 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:27:12 2022
Results reported at Fri Sep 16 18:27:12 2022

Your job looked like:

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

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

