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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1762
RA = 214.894, Dec = 38.3657
tmin = 696038401, tmax = 696297601
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='111916', job_status='RUN', time_executed='2023-01-25 01:09:45.794887', time_epoch_executed='1674637785.79' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/111916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/111916/ft1_4FGL_J1419.5+3821_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/111916/ft1_4FGL_J1419.5+3821_daily_bin1762.fits outfile=/scratch/kocevski/111916/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1762.fits ra=214.894 dec=38.3657 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.48
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.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/111916/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/111916/ft1_filtered_4FGL_J1419.5+3821_daily_bin1762.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 483

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/111916/ft1_filtered_4FGL_J1419.5+3821_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/111916/ltcube_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.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/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits
.....................!
real 14.71
user 14.17
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/111916/ft1_filtered_4FGL_J1419.5+3821_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/111916/ltcube_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.fits outfile=/scratch/kocevski/111916/expmap_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.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/111916/ltcube_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.fits
.....................!
real 192.51
user 186.06
sys 5.74

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/111916/ft1_filtered_4FGL_J1419.5+3821_daily_bin1762.fits scfile=/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits outfile=/scratch/kocevski/111916/cmap_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/111916/ft1_filtered_4FGL_J1419.5+3821_daily_bin1762.fits scfile=/scratch/kocevski/111916/ft2_4FGL_J1419.5+3821_daily_bin1762.fits outfile=/scratch/kocevski/111916/cmap_HighResolution_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.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.60
user 0.41
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.175       1.0000          .0000       .10000E+07
     2 'norm      '    3.1839       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5907       1.0000          .0000       .10000E+07
     4 'norm      '    19.224       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.482       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1493       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10488E-01   1.0000          .0000       .10000E+07
     8 'norm      '    3.5798       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49201E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6080       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7758       1.0000          .0000       .10000E+07
    12 'norm      '    .32402E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .38964E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    117.16       1.0000          .0000       .10000E+07
    15 'norm      '    .42803E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45736E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5287       1.0000          .0000       .10000E+07
    18 'norm      '    .17353E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    19.045       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27471       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86244       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0542       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=   5494.284     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1764 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.250        64.717        .23058E-04   -.32292E-01
   2  norm          3.1871        1.6961        .57108E-07    .14697E-02
   3  Prefactor     7.6153        5.4237       -.33658E-06    .76005E-02
   4  norm          19.218        3.2919        .12507E-05   -.29753E-01
   5  Prefactor     19.035        30.099        .13129E-04    .35541E-01
   6  Prefactor     3.1457        3.6014       -.41354E-06   -.17878E-02
   7  Prefactor     .49460E-06    15.016       -.39060E-05** at limit **
   8  norm          3.5304        4.4410       -.93084E-06   -.66397E-02
   9  Prefactor     .44409E-08    12.011        .36060E-05** at limit **
  10  Prefactor     4.9009        9.2220       -.39190E-05    .63818E-01
  11  Prefactor     2.7811        3.0547        .72315E-07   -.45603E-02
  12  norm          .17208E-08    5.2474       -.56973E-06** at limit **
  13  norm          .77216E-06    9.2569       -.14253E-04** at limit **
  14  Prefactor     118.06        48.145       -.48058E-05   -.24052E-02
  15  norm          .61617E-08    8.8249       -.24826E-05** at limit **
  16  Prefactor     .10192E-06    8.6450        .65033E-05** at limit **
  17  Prefactor     1.4941        5.7246       -.15433E-07   -.11812E-02
  18  norm          .55511E-10    .74254       -.50342E-06** at limit **
  19  Prefactor     19.057        3.6571       -.61752E-06    .26778E-01
  20  Prefactor     .21649E-08    40.693        .60064E-06** at limit **
  21  Normalizat    .86092        .21458       -.13144E-04   -.47113E-03
  22  Prefactor     1.0548        .23561        .19769E-04   -.37828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.25
  norm       = 3.18712
  Prefactor  = 7.61533
  norm       = 19.218
  Prefactor  = 19.0349
  Prefactor  = 3.14571
  Prefactor  = 4.94604e-07
  norm       = 3.5304
  Prefactor  = 4.44089e-09
  Prefactor  = 4.90088
  Prefactor  = 2.78115
  norm       = 1.72085e-09
  norm       = 7.7216e-07
  Prefactor  = 118.062
  norm       = 6.16174e-09
  Prefactor  = 1.01918e-07
  Prefactor  = 1.49413
  norm       = 5.55112e-11
  Prefactor  = 19.0573
  Prefactor  = 2.16493e-09
  Normalizat = 0.86092
  Prefactor  = 1.05476
 **********
 **   18 **HESSE 
 **********

 FCN=   5494.284     FROM HESSE     STATUS=OK           390 CALLS     2154 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.250        72.543        .17108E-03   -1.5589    
   2  norm          3.1871        1.6991        .56766E-03   -1.5672    
   3  Prefactor     7.6153        5.4411        .36376E-03   -1.5653    
   4  norm          19.218        15.975        .22815E-03   -1.5620    
   5  Prefactor     19.035        61.830        .23269E-03   -1.5621    
   6  Prefactor     3.1457        3.7326        .57094E-03   -1.5672    
   7  Prefactor     .49460E-06    16.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.5304        4.4803        .53387E-03   -1.5670    
   9  Prefactor     .44409E-08    12.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9009        18.167        .46865E-03   -1.5664    
  11  Prefactor     2.7811        3.0633        .61056E-03   -1.5675    
  12  norm          .17208E-08    5.2516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .77216E-06    10.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     118.06        48.197        .92394E-04   -1.5491    
  15  norm          .61617E-08    8.8246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10192E-06    8.9082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4941        5.7508        .86309E-03   -1.5684    
  18  norm          .55511E-10    .74019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.057        15.945        .22922E-03   -1.5621    
  20  Prefactor     .21649E-08    40.664        .10573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86092        .18529        .44420E-01   -.97847    
  22  Prefactor     1.0548        .19846        .58471E-01   -.90926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79727e-06
Minuit parameter uncertainties:
  1  72.5444
  2  1.69911
  3  5.44106
  4  15.9754
  5  61.8321
  6  3.73262
  7  0.00564748
  8  4.48034
  9  0.00046436
  10  18.1669
  11  3.06335
  12  0.000190051
  13  0.00580985
  14  48.1972
  15  0.000466903
  16  0.00190558
  17  5.7508
  18  1.26009e-05
  19  15.9452
  20  0.000595795
  21  0.185427
  22  0.198594
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.441e-09  4.644e-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:  1.055e+00  1.986e-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:  8.609e-01  1.854e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/111916/likelihoodResults_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.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) = 5494.32421368
delta logL = -0.0405652593345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5492.76975546
delta logL = 1.51389296502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72178E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.5994       1.0000          .0000       10.000    
     3 'Normalizat'    .76241       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1342       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=   5494.284     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      469 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.8464        .42118E-03** at limit **
   2  Index         1.7634        1.4228       -.12185E-04     .0000    
   3  Normalizat    .86092        1.1655       -.77754E-05   -.36157E-04
   4  Prefactor     1.0548        1.0938        .16908E-04   -.30639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.76338
  Normalizat = 0.860922
  Prefactor  = 1.05476
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5494.284     FROM HESSE     STATUS=FAILED         9 CALLS      478 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.8464        .42118E-03   -83.252    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31478        1.6826       -.12185E-04   -17323.    
   3  Normalizat    .86092        1.1655       -.77754E-05    482.83    
   4  Prefactor     1.0548        1.0938        .16908E-04    49.356    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.14816e-12
Minuit parameter uncertainties:
  1  7.58208e-06
  2  1.45812
  3  1.20241
  4  1.1184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/111916': 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) = 5494.28364842
delta logL = 3.11956682708e-10

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  7.582e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.763e+00  1.458e+00  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.055e+00  1.118e+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:  8.609e-01  1.202e+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/111916/cmap_HighResolution_696038401_696297601_4FGL_J1419.5+3821_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2023-01-25 01:19:29.636072', job_id='111916', GAL2='1.05', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1674638369.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.12e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1762' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:19:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 111916: <4FGL_J1419.5+3821_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1762> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Jan 25 01:05:17 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:06:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:06:12 2023
Terminated at Wed Jan 25 01:19:30 2023
Results reported at Wed Jan 25 01:19:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1762 214.894 38.3657 696038401 696297601 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 :                                   585.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            853 sec.

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

