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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1779
RA = 214.894, Dec = 38.3657
tmin = 700444801, tmax = 700704001
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='29164', job_status='RUN', time_executed='2023-03-17 01:50:48.364969', time_epoch_executed='1679043048.37' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29164/ft1_4FGL_J1419.5+3821_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29164/ft2_4FGL_J1419.5+3821_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29164/ft1_4FGL_J1419.5+3821_daily_bin1779.fits outfile=/scratch/kocevski/29164/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1779.fits ra=214.894 dec=38.3657 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.32
user 5.03
sys 0.21

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

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

Number of photons that the gtmktime cut: 517

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29164/ft1_filtered_4FGL_J1419.5+3821_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/29164/ft2_4FGL_J1419.5+3821_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/29164/ltcube_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.fits outfile=/scratch/kocevski/29164/expmap_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.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/29164/ltcube_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.fits
.....................!
real 190.34
user 185.98
sys 4.03

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/29164/ft1_filtered_4FGL_J1419.5+3821_daily_bin1779.fits scfile=/scratch/kocevski/29164/ft2_4FGL_J1419.5+3821_daily_bin1779.fits outfile=/scratch/kocevski/29164/cmap_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.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/29164/ft1_filtered_4FGL_J1419.5+3821_daily_bin1779.fits scfile=/scratch/kocevski/29164/ft2_4FGL_J1419.5+3821_daily_bin1779.fits outfile=/scratch/kocevski/29164/cmap_HighResolution_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.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.54
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37972E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .29008       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0313       1.0000          .0000       .10000E+07
     4 'norm      '    20.417       1.0000          .0000       .10000E+07
     5 'Prefactor '    40.220       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6102       1.0000          .0000       .10000E+07
     7 'Prefactor '    29.523       1.0000          .0000       .10000E+07
     8 'norm      '    1.2366       1.0000          .0000       .10000E+07
     9 'Prefactor '    .91139E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.9103       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.503       1.0000          .0000       .10000E+07
    12 'norm      '    .39845E-04   1.0000          .0000       .10000E+07
    13 'norm      '    8.6247       1.0000          .0000       .10000E+07
    14 'Prefactor '    174.93       1.0000          .0000       .10000E+07
    15 'norm      '    .17188E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1367       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.7177       1.0000          .0000       .10000E+07
    18 'norm      '    1.8211       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.4831       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16558E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90432       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2160       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=   5972.740     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1857 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12212E-08    78.193        .24059E-06** at limit **
   2  norm          .29888        2.6551        .43196E-06   -.13947E-02
   3  Prefactor     4.0523        4.5805        .33612E-07   -.75128E-02
   4  norm          20.132        17.970       -.62266E-06   -.31682E-02
   5  Prefactor     39.741        27.198       -.29963E-05    .11239    
   6  Prefactor     1.5407        6.1246        .55019E-06   -.65399E-02
   7  Prefactor     31.185        33.305        .60728E-07   -.11308E-01
   8  norm          1.2412        4.6103       -.94322E-07   -.34560E-02
   9  Prefactor     .37748E-08    11.562       -.40737E-06** at limit **
  10  Prefactor     2.2141        54.317        .50239E-05    .11262E-02
  11  Prefactor     11.524        5.5806        .59787E-07   -.66076E-03
  12  norm          .38858E-09    5.1642        .11610E-06** at limit **
  13  norm          8.6727        7.6357       -.43003E-06   -.65525E-02
  14  Prefactor     177.98        56.583       -.11529E-05   -.69544E-01
  15  norm          .55511E-10    2.9372       -.55538E-07** at limit **
  16  Prefactor     8.8639        20.541        .93798E-05    .17612E-01
  17  Prefactor     2.7943        8.7426       -.15156E-05   -.34613E-02
  18  norm          1.8230        1.9735       -.22019E-06   -.22108E-01
  19  Prefactor     7.4492        12.349        .40491E-06    .10256E-02
  20  Prefactor     .25142E-04    178.59       -.49251E-05** at limit **
  21  Normalizat    .89918        .26140       -.10258E-04   -.74724E-03
  22  Prefactor     1.2183        .26337       -.38168E-05   -.71311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22125e-09
  norm       = 0.298884
  Prefactor  = 4.05235
  norm       = 20.1316
  Prefactor  = 39.7407
  Prefactor  = 1.54072
  Prefactor  = 31.1855
  norm       = 1.24123
  Prefactor  = 3.77476e-09
  Prefactor  = 2.21412
  Prefactor  = 11.5238
  norm       = 3.88578e-10
  norm       = 8.67266
  Prefactor  = 177.981
  norm       = 5.55112e-11
  Prefactor  = 8.86388
  Prefactor  = 2.79433
  norm       = 1.82296
  Prefactor  = 7.44922
  Prefactor  = 2.51419e-05
  Normalizat = 0.899179
  Prefactor  = 1.21829
 **********
 **   18 **HESSE 
 **********

 FCN=   5972.740     FROM HESSE     STATUS=OK           396 CALLS     2253 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12212E-08    76.854        .16056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .29888        1.4239        .28560E-02   -1.5697    
   3  Prefactor     4.0523        4.5925        .50199E-03   -1.5668    
   4  norm          20.132        17.950        .22138E-03   -1.5618    
   5  Prefactor     39.741        98.511        .15770E-03   -1.5582    
   6  Prefactor     1.5407        7.4210        .83446E-03   -1.5683    
   7  Prefactor     31.185        34.060        .18407E-03   -1.5596    
   8  norm          1.2412        4.6762        .10091E-02   -1.5686    
   9  Prefactor     .37748E-08    11.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2141        55.532        .75187E-03   -1.5678    
  11  Prefactor     11.524        5.6003        .29512E-03   -1.5640    
  12  norm          .38858E-09    5.1412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.6727        7.6531        .34109E-03   -1.5649    
  14  Prefactor     177.98        57.193        .75614E-04   -1.5441    
  15  norm          .55511E-10    2.9339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8639        20.800        .33133E-03   -1.5648    
  17  Prefactor     2.7943        8.8965        .61753E-03   -1.5675    
  18  norm          1.8230        2.0174        .77346E-03   -1.5681    
  19  Prefactor     7.4492        12.365        .36638E-03   -1.5653    
  20  Prefactor     .25142E-04    186.80        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89918        .22133        .44957E-01   -.96489    
  22  Prefactor     1.2183        .21853        .61820E-01   -.85770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17585e-06
Minuit parameter uncertainties:
  1  0.000616909
  2  1.30474
  3  4.59249
  4  17.95
  5  98.515
  6  6.76273
  7  34.0601
  8  4.67617
  9  0.000418898
  10  22.1771
  11  5.60029
  12  9.22822e-05
  13  7.65308
  14  57.1934
  15  2.68179e-05
  16  20.7999
  17  8.89653
  18  2.01739
  19  12.365
  20  0.137067
  21  0.221558
  22  0.218692
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  3.775e-09  4.189e-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.218e+00  2.187e-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.992e-01  2.216e-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: 8.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29164/likelihoodResults_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.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) = 5972.78145429
delta logL = -0.0416137347574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5971.94241332
delta logL = 0.79742723459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10788       1.0000          .0000       .10000E+07
     2 'Index     '    5.3877       1.0000          .0000       10.000    
     3 'Normalizat'    .78157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3060       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=   5971.942     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      251 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10760        1.1802        .45630E-03** at limit **
   2  Index         5.3892        2.2110        .12737        .14511E-03
   3  Normalizat    .78138        .40082E-01    .66742E-01    .17450E-04
   4  Prefactor     1.3063        .45475E-01    .60012E-01   -.73236E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.107597
  Index      = 5.38917
  Normalizat = 0.781381
  Prefactor  = 1.30631
 **********
 **   18 **HESSE 
 **********

 FCN=   5971.942     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      286 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10760        3.5453        .20658E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.3892        7.2732        .43693E-02    .77913E-01
   3  Normalizat    .78138        .17219        .29529E-03   -1.0076    
   4  Prefactor     1.3063        .18966        .26539E-03   -.83119    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.08616e-08
Minuit parameter uncertainties:
  1  1.23525
  2  5.28213
  3  0.172312
  4  0.189763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29164': 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) = 5971.9424118
delta logL = 0.797428756973

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.076e-01  1.235e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  5.389e+00  5.282e+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.306e+00  1.898e-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.814e-01  1.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 214.894 38.366
Photon Index (Free Index): 5.39 +/- 5.28
Photon Flux (Free Index): 9.63e-08 +/- 7.80e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.12e-05

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/29164/cmap_HighResolution_700444801_700704001_4FGL_J1419.5+3821_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='7.97e-01', photon_flux2='9.63e-08', job_status='DONE', time_completed='2023-03-17 02:00:15.716406', photon_index_error2='5.28', photon_index2='5.39', ts='-0.00', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='8.88e-08', energy_flux_error2='1.12e-05', EG='0.90', time_epoch_completed='1679043615.72', return_code='0', job_id='29164', GAL2='1.31', EG2='0.78', return_code2='102', photon_flux_error2='7.80e-08', ts2='1.81', photon_index='2.47' WHERE bin_id='1779' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:00:15 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 29164: <4FGL_J1419.5+3821_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 01:50:15 2023
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:50:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:50:17 2023
Terminated at Fri Mar 17 02:00:16 2023
Results reported at Fri Mar 17 02:00:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1779 214.894 38.3657 700444801 700704001 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 :                                   569.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

