/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 7 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 = 7415
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.8+5423_daily_bin902
RA = 214.955, Dec = 54.3937
tmin = 473126401, tmax = 473385601
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='352782', job_status='RUN', time_executed='2021-09-09 10:01:02.980492', time_epoch_executed='1631206862.98' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='902'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352782/ft1_4FGL_J1419.8+5423_daily_bin902.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352782/ft1_4FGL_J1419.8+5423_daily_bin902.fits outfile=/scratch/kocevski/352782/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin902.fits ra=214.955 dec=54.3937 rad=12.0 tmin=473126401.0 tmax=473385601.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.56
user 3.25
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.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/352782/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin902.fits evtable="EVENTS" outfile="/scratch/kocevski/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.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.64
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits" evtable="EVENTS" scfile=/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits sctable="SC_DATA" outfile=/scratch/kocevski/352782/ltcube_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.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/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits
.....................!
real 11.94
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits evtable="EVENTS" scfile=/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits sctable="SC_DATA" expcube=/scratch/kocevski/352782/ltcube_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits outfile=/scratch/kocevski/352782/expmap_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.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/352782/ltcube_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits
.....................!
real 191.35
user 186.06
sys 4.34

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/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits scfile=/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits outfile=/scratch/kocevski/352782/cmap_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits scfile=/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits outfile=/scratch/kocevski/352782/cmap_HighResolution_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.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.55
user 0.41
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits', '/scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits', expMap='/scratch/kocevski/352782/expmap_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits', expCube='/scratch/kocevski/352782/ltcube_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/352782/Model_4FGL_J1419.8+5423_daily_bin902.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/352782/ft1_filtered_4FGL_J1419.8+5423_daily_bin902.fits
Spacecraft file(s): /scratch/kocevski/352782/ft2_4FGL_J1419.8+5423_daily_bin902.fits
Exposure map: /scratch/kocevski/352782/expmap_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits
Exposure cube: /scratch/kocevski/352782/ltcube_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/352782/Model_4FGL_J1419.8+5423_daily_bin902.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) = 7132.55123663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8364       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.220       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4136       1.0000         .10000E-03   10000.    
    10 'norm      '    .10320E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.7566       1.0000         .10000E-03   10000.    
    12 'Prefactor '    68.207       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66455E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24642       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6423       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.2371       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.1706       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11163E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.6429       1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.058       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.7515       1.0000         .10000E-03   10000.    
    26 'norm      '    3.3250       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.6930       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .98321       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0674       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=   7132.548     FROM MIGRAD    STATUS=CONVERGED    844 CALLS     4155 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8345        9.1025        .38046E-07    .12482E-05
   2  norm          .10000E-03    1.6279       -.27002E-07** at limit **
   3  Prefactor     .10000E-03    11.875       -.90154E-06** at limit **
   4  Prefactor     .10000E-03    7.0732       -.12331E-06** at limit **
   5  Prefactor     .10000E-03    12.220        .72285E-06** at limit **
   6  norm          .10000E-03    3.0449       -.19749E-06** at limit **
   7  Prefactor     15.439        48.442        .22211E-05    .30433E-04
   8  Prefactor     25.203        34.957       -.32956E-05   -.13140E-03
   9  norm          1.4136        1.2360        .78621E-08    .34726E-04
  10  norm          .10000E-03    23.015       -.34285E-06** at limit **
  11  norm          5.7578        3.7325        .16660E-06    .18572E-03
  12  Prefactor     68.202        43.413        .14525E-06    .10017E-04
  13  Prefactor     .10002E-03    165.99       -.12390E-04** at limit **
  14  Prefactor     .10000E-03    14.176       -.58407E-07** at limit **
  15  Prefactor     .14022        38.092       -.74383E-05    .23676E-03
  16  Prefactor     3.6507        4.1710        .11065E-05    .20553E-03
  17  Prefactor     .10000E-03    9.3080       -.19442E-06** at limit **
  18  Prefactor     8.2383        3.0385        .18866E-06    .41041E-03
  19  Prefactor     9.1946        20.525       -.47796E-05   -.23645E-03
  20  Prefactor     .10000E-03    9.9883        .43698E-06** at limit **
  21  Prefactor     .10000E-03    36.198       -.73428E-06** at limit **
  22  Prefactor     .10001E-03    27.731        .35121E-05** at limit **
  23  Prefactor     4.6486        13.148       -.50026E-06    .14385E-04
  24  Prefactor     19.054        16.596        .48551E-06    .66509E-04
  25  Prefactor     7.7436        15.224       -.29116E-06    .12965E-03
  26  norm          3.3251        1.7713       -.37379E-07    .87584E-04
  27  Prefactor     .10000E-03    7.6567        .23839E-07** at limit **
  28  Prefactor     2.6937        4.8810        .42219E-05   -.28496E-03
  29  Prefactor     .10000E-03    2.3850       -.18656E-07** at limit **
  30  Normalizat    .98326        .15704       -.24900E-06    .25419E-03
  31  Prefactor     1.0675        .18305        .13370E-07    .22825E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.83448
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4391
  Prefactor  = 25.2026
  norm       = 1.41361
  norm       = 0.0001
  norm       = 5.75784
  Prefactor  = 68.2024
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 0.140224
  Prefactor  = 3.65067
  Prefactor  = 0.0001
  Prefactor  = 8.23827
  Prefactor  = 9.19464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 4.64859
  Prefactor  = 19.0537
  Prefactor  = 7.74361
  norm       = 3.32509
  Prefactor  = 0.0001
  Prefactor  = 2.69374
  Prefactor  = 0.0001
  Normalizat = 0.983259
  Prefactor  = 1.06754
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.548     FROM HESSE     STATUS=OK           624 CALLS     4779 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8345        9.1015        .13484E-03   -1.5113    
   2  norm          .10000E-03    1.6325        .10523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.0958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.1678        .28761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.439        48.597        .10193E-03   -1.4922    
   8  Prefactor     25.203        35.011        .79766E-04   -1.4703    
   9  norm          1.4136        1.2248        .84639E-04   -1.5470    
  10  norm          .10000E-03    23.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.7578        3.7276        .12498E-03   -1.5228    
  12  Prefactor     68.202        43.422        .48601E-04   -1.4054    
  13  Prefactor     .10002E-03    166.11        .21009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14022        35.641        .12435       -1.5633    
  16  Prefactor     3.6507        4.1667        .87105E-03   -1.5326    
  17  Prefactor     .10000E-03    9.3622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.2383        3.0395        .83633E-04   -1.5134    
  19  Prefactor     9.1946        20.683        .13235E-03   -1.5101    
  20  Prefactor     .10000E-03    10.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    36.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    28.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.6486        13.120        .18678E-03   -1.5277    
  24  Prefactor     19.054        16.599        .91747E-04   -1.4835    
  25  Prefactor     7.7436        15.203        .14403E-03   -1.5151    
  26  norm          3.3251        1.7647        .75807E-04   -1.5343    
  27  Prefactor     .10000E-03    7.8144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.6937        4.9213        .11972E-02   -1.5380    
  29  Prefactor     .10000E-03    2.3988        .12735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .98326        .18970        .23262E-03   -.93593    
  31  Prefactor     1.0675        .22085        .26952E-03   -.90511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2481e-09
Minuit parameter uncertainties:
  1  9.10289
  2  1.68278e-06
  3  6.78576e-05
  4  1.58329e-05
  5  4.37841e-05
  6  1.6605e-05
  7  48.722
  8  35.0397
  9  1.22478
  10  3.22774e-05
  11  3.72776
  12  43.4417
  13  0.00318958
  14  3.04009e-07
  15  4.47222
  16  4.16698
  17  1.79014e-05
  18  3.03952
  19  20.699
  20  5.83772e-05
  21  4.7521e-05
  22  0.000877193
  23  13.128
  24  16.6033
  25  15.2101
  26  1.76477
  27  5.49655e-06
  28  4.922
  29  3.52121e-07
  30  0.189825
  31  0.221038
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  8.238e+00  3.040e+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

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.068e+00  2.210e-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:  9.833e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.05
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 9.69e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 3.33e-05 +/- 1.23e-05

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) = 7132.13815156
delta logL = 0.409899195619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7132.13805995
delta logL = 0.409990803209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5966       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0799       1.0000          .0000       10.000    
     3 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0500       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=   7132.138     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5906        70.026        .32340E-02    .40287E-04
   2  Index         2.0793        3.3172        .13487        .58448E-04
   3  Normalizat    1.0073        .21084        .46257E-01    .14748E-04
   4  Prefactor     1.0500        .19376        .61405E-01    .14714E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.59056
  Index      = 2.07933
  Normalizat = 1.00727
  Prefactor  = 1.04996
 **********
 **   18 **HESSE 
 **********

 FCN=   7132.138     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5906        3.7428        .95675E-04   -1.5088    
   2  Index         2.0793        .30891        .53793E-02   -.62381    
   3  Normalizat    1.0073        .18242        .23031E-03   -.92787    
   4  Prefactor     1.0500        .21757        .27157E-03   -.91082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03363e-12
Minuit parameter uncertainties:
  1  3.74288
  2  0.309214
  3  0.182533
  4  0.217755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352782': 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) = 7132.13805597
delta logL = 0.409994778875

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  9.591e+00  3.743e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.079e+00  3.092e-01  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.050e+00  2.178e-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:  1.007e+00  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.89
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.08 +/- 0.31
Photon Flux (Free Index): 7.72e-08 +/- 3.69e-08
Energy Flux (Free Index): 4.43e-05 +/- 2.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/352782/cmap_HighResolution_473126401_473385601_4FGL_J1419.8+5423_daily_bin902.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.69e-08', energy_flux2='4.43e-05', photon_flux_error='3.57e-08', dlogl='4.10e-01', energy_flux='3.33e-05', photon_flux2='7.72e-08', job_status='DONE', time_completed='2021-09-09 10:16:37.724669', photon_index_error2='0.31', photon_index2='2.08', ts='27.05', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='0.98', time_epoch_completed='1631207797.72', return_code='0', job_id='352782', GAL2='1.05', EG2='1.01', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.69e-08', ts2='27.89', photon_index='2.36' WHERE bin_id='902' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 10:16:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 352782: <4FGL_J1419.8+5423_daily_bin902> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin902> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 10:00:45 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 10:00:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 10:00:46 2021
Terminated at Thu Sep  9 10:16:38 2021
Results reported at Thu Sep  9 10:16:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin902 214.955 54.3937 473126401 473385601 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 :                                   928.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

