/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 0 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7667
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1419.8+5423_daily_bin191
RA = 214.955, Dec = 54.3937
tmin = 288835201, tmax = 289094401
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='348297', job_status='RUN', time_executed='2021-09-09 09:45:44.007608', time_epoch_executed='1631205944.01' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='191'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/348297

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/348297/ft1_4FGL_J1419.8+5423_daily_bin191.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/348297/ft1_4FGL_J1419.8+5423_daily_bin191.fits outfile=/scratch/kocevski/348297/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin191.fits ra=214.955 dec=54.3937 rad=12.0 tmin=288835201.0 tmax=289094401.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.63
user 3.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.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/348297/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin191.fits evtable="EVENTS" outfile="/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits" evtable="EVENTS" scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits sctable="SC_DATA" outfile=/scratch/kocevski/348297/ltcube_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.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/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits
.....................!
real 11.64
user 11.31
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits sctable="SC_DATA" expcube=/scratch/kocevski/348297/ltcube_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits outfile=/scratch/kocevski/348297/expmap_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.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/348297/ltcube_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits
.....................!
real 190.46
user 185.95
sys 4.20

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

Setting source of interest to:
4FGL J1419.8+5423 @ 214.955 54.3937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits outfile=/scratch/kocevski/348297/cmap_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.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.955 yref=54.3937 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits outfile=/scratch/kocevski/348297/cmap_HighResolution_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.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.955 yref=54.3937 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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/348297/Model_4FGL_J1419.8+5423_daily_bin191.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/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits.....................!
real 48.98
user 47.74
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits', '/scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits', expMap='/scratch/kocevski/348297/expmap_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits', expCube='/scratch/kocevski/348297/ltcube_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/348297/Model_4FGL_J1419.8+5423_daily_bin191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.8+5423'

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/348297/ft1_filtered_4FGL_J1419.8+5423_daily_bin191.fits
Spacecraft file(s): /scratch/kocevski/348297/ft2_4FGL_J1419.8+5423_daily_bin191.fits
Exposure map: /scratch/kocevski/348297/expmap_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits
Exposure cube: /scratch/kocevski/348297/ltcube_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/348297/Model_4FGL_J1419.8+5423_daily_bin191.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) = 5821.98573466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.497       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    71.584       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .72603       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10111E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.272       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.377       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10125E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10598E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.911       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.842       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    13.468       1.0000         .10000E-03   10000.    
    26 'norm      '    1.9614       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.326       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.4894       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .71665       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .82350       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0061       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5821.947     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     4153 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4088       -.70222E-07** at limit **
   2  norm          .10000E-03    5.8014        .17254E-05** at limit **
   3  Prefactor     67.475        42.375        .16436E-05   -.15827E-03
   4  Prefactor     .10000E-03    5.1465       -.17413E-06** at limit **
   5  Prefactor     .10000E-03    27.633        .58285E-05** at limit **
   6  norm          .10000E-03    1.4744        .19374E-06** at limit **
   7  Prefactor     71.581        51.259       -.47578E-06    .70957E-05
   8  Prefactor     .10000E-03    16.737        .20814E-05** at limit **
   9  norm          .72575        1.0714        .24862E-06    .49522E-03
  10  norm          .10000E-03    22.286       -.27932E-05** at limit **
  11  norm          .10000E-03    2.3986       -.13528E-06** at limit **
  12  Prefactor     16.270        22.853       -.27663E-06    .39238E-05
  13  Prefactor     .10000E-03    153.61        .33751E-04** at limit **
  14  Prefactor     .10000E-03    20.997       -.39838E-05** at limit **
  15  Prefactor     13.383        28.206       -.68821E-06    .35801E-04
  16  Prefactor     .10000E-03    2.8232        .52577E-08** at limit **
  17  Prefactor     .10000E-03    100.99        .41700E-04** at limit **
  18  Prefactor     .10000E-03    1.0358       -.24504E-06** at limit **
  19  Prefactor     .10000E-03    26.168        .20806E-05** at limit **
  20  Prefactor     25.898        20.962        .48531E-07    .10326E-03
  21  Prefactor     11.844        38.837       -.59511E-06    .25375E-04
  22  Prefactor     .10000E-03    9.7947       -.23009E-06** at limit **
  23  Prefactor     .10000E-03    4.5562       -.22470E-06** at limit **
  24  Prefactor     .10000E-03    4.6716        .50001E-06** at limit **
  25  Prefactor     13.467        14.930       -.20048E-05    .29020E-03
  26  norm          1.9614        1.3916        .12002E-06    .53907E-03
  27  Prefactor     12.321        11.070        .76672E-06    .41824E-03
  28  Prefactor     1.4897        5.4092       -.48322E-05    .90451E-04
  29  Prefactor     .70695        5.0846       -.13366E-05    .54407E-04
  30  Normalizat    .82366        .16321        .22008E-05    .51072E-03
  31  Prefactor     1.0059        .18334        .77946E-06    .41725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 67.4747
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 71.5814
  Prefactor  = 0.0001
  norm       = 0.725747
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.2699
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 13.3826
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8976
  Prefactor  = 11.8438
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.467
  norm       = 1.96141
  Prefactor  = 12.321
  Prefactor  = 1.48965
  Prefactor  = 0.706947
  Normalizat = 0.823656
  Prefactor  = 1.00593
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.947     FROM HESSE     STATUS=OK           618 CALLS     4771 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4307        .13758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.8355        .17869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     67.475        42.216        .48854E-04   -1.4063    
   4  Prefactor     .10000E-03    5.1538        .16907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.4870        .90411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     71.581        51.367        .47448E-04   -1.4014    
   8  Prefactor     .10000E-03    16.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72575        .92507        .92688E-03   -1.5538    
  10  norm          .10000E-03    22.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.4404        .11528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.270        22.855        .99289E-04   -1.4901    
  13  Prefactor     .10000E-03    157.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.383        28.170        .10951E-03   -1.4976    
  16  Prefactor     .10000E-03    2.8517        .12511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    97.791        .53150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.0520        .75624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     25.898        20.951        .78697E-04   -1.4690    
  21  Prefactor     11.844        38.811        .11641E-03   -1.5020    
  22  Prefactor     .10000E-03    9.7969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.5587        .15904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.6748        .16107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.467        14.799        .54572E-03   -1.4974    
  26  norm          1.9614        1.3858        .72158E-04   -1.5428    
  27  Prefactor     12.321        11.066        .11410E-03   -1.5006    
  28  Prefactor     1.4897        5.4053        .31912E-03   -1.5464    
  29  Prefactor     .70695        22.954        .28886E-02   -1.5540    
  30  Normalizat    .82366        .19546        .22231E-03   -.99197    
  31  Prefactor     1.0059        .22090        .24359E-03   -.92532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34256e-10
Minuit parameter uncertainties:
  1  9.62797e-06
  2  0.000106429
  3  42.2346
  4  2.41496e-05
  5  0.000232861
  6  1.40392e-05
  7  51.3992
  8  2.05433e-05
  9  0.925087
  10  4.35952e-05
  11  2.19712e-05
  12  22.8676
  13  0.00129962
  14  8.37212e-05
  15  28.1978
  16  9.62404e-06
  17  0.000605314
  18  7.85412e-06
  19  0.000137712
  20  20.9569
  21  38.8941
  22  1.38258e-05
  23  8.66994e-06
  24  2.98269e-06
  25  14.8029
  26  1.38584
  27  11.0683
  28  5.40712
  29  8.05939
  30  0.195622
  31  0.221102
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.000e-04  7.854e-06  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.006e+00  2.211e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.237e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.955 54.394
Photon Flux Upper Limit: 4.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/348297/likelihoodResults_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.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) = 5821.95179373
delta logL = -0.00451137478558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5821.94728285
delta logL = -4.97786459164e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3645       1.0000          .0000       10.000    
     3 'Normalizat'    .82381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5821.947     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      180 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.717        .90712E-02** at limit **
   2  Index         2.3644        6.3679        .24043       -.40665E-07
   3  Normalizat    .82365        .17116E-01    .43920E-01   -.34004E-04
   4  Prefactor     1.0059        .20642E-01    .44028E-01    .11832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3644
  Normalizat = 0.823655
  Prefactor  = 1.00593
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.947     FROM HESSE     STATUS=OK            29 CALLS      209 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0542        .75624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3644        7.3220        .96172E-02   -.55521    
   3  Normalizat    .82365        .17941        .22231E-03   -.99197    
   4  Prefactor     1.0059        .21641        .24359E-03   -.92532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52784e-11
Minuit parameter uncertainties:
  1  1.2293e-05
  2  172.928
  3  0.179535
  4  0.216596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/348297': 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): 0
logL (Free Index) = 5821.94728236
delta logL = 1.00044417195e-10

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.000e-04  1.229e-05  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.364e+00  1.729e+02  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.006e+00  2.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.237e-01  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.955 54.394

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/348297/cmap_HighResolution_288835201_289094401_4FGL_J1419.8+5423_daily_bin191.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-03', job_status='DONE', photon_flux_upper_limit='4.96e-08', time_completed='2021-09-09 10:01:08.618255', job_id='348297', GAL2='1.01', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631206868.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.00e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='191' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 10:01:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 348297: <4FGL_J1419.8+5423_daily_bin191> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin191> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 09:45:31 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:45:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:45:32 2021
Terminated at Thu Sep  9 10:01:09 2021
Results reported at Thu Sep  9 10:01:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin191 214.955 54.3937 288835201 289094401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.8+5423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   920.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

