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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin58
RA = 214.894, Dec = 38.3657
tmin = 254361601, tmax = 254620801
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='338812', job_status='RUN', time_executed='2021-09-09 09:19:24.210086', time_epoch_executed='1631204364.21' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='58'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338812/ft1_4FGL_J1419.5+3821_daily_bin58.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338812/ft1_4FGL_J1419.5+3821_daily_bin58.fits outfile=/scratch/kocevski/338812/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin58.fits ra=214.894 dec=38.3657 rad=12.0 tmin=254361601.0 tmax=254620801.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 1.43
user 1.26
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.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/338812/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin58.fits evtable="EVENTS" outfile="/scratch/kocevski/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.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.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.fits evtable="EVENTS" scfile=/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits sctable="SC_DATA" expcube=/scratch/kocevski/338812/ltcube_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits outfile=/scratch/kocevski/338812/expmap_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.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/338812/ltcube_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits
.....................!
real 190.45
user 186.07
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/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.fits scfile=/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits outfile=/scratch/kocevski/338812/cmap_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.fits scfile=/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits outfile=/scratch/kocevski/338812/cmap_HighResolution_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.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.53
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.fits', '/scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits', expMap='/scratch/kocevski/338812/expmap_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits', expCube='/scratch/kocevski/338812/ltcube_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/338812/Model_4FGL_J1419.5+3821_daily_bin58.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  1.000e-04  1.000e+04 ( 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/338812/ft1_filtered_4FGL_J1419.5+3821_daily_bin58.fits
Spacecraft file(s): /scratch/kocevski/338812/ft2_4FGL_J1419.5+3821_daily_bin58.fits
Exposure map: /scratch/kocevski/338812/expmap_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits
Exposure cube: /scratch/kocevski/338812/ltcube_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/338812/Model_4FGL_J1419.5+3821_daily_bin58.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) = 5899.97893332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.680       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2813       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7133       1.0000         .10000E-03   10000.    
     5 'norm      '    20.634       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    96.758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3035       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.605       1.0000         .10000E-03   10000.    
    10 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.274       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10420E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2637       1.0000         .10000E-03   10000.    
    14 'norm      '    4.3259       1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.873       1.0000         .10000E-03   10000.    
    16 'norm      '    7.0668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.104       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8383       1.0000         .10000E-03   10000.    
    22 'norm      '    1.7319       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    76.220       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .73434       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0557       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5899.918     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3089 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.691        65.154        .82310E-05    .12434E-03
   2  Prefactor     .10000E-03    57.376        .54400E-07** at limit **
   3  norm          4.2818        1.7817        .34692E-07   -.79828E-04
   4  Prefactor     1.7135        3.3952        .16184E-06   -.19633E-03
   5  norm          20.635        13.777       -.11027E-06   -.34500E-04
   6  Prefactor     .10000E-03    8.3844       -.61949E-08** at limit **
   7  Prefactor     96.753        67.590       -.34929E-05   -.65414E-04
   8  Prefactor     4.3037        4.2882        .37737E-06   -.15289E-02
   9  Prefactor     36.610        24.057        .20824E-05    .11026E-03
  10  norm          .10000E-03    2.1101        .23606E-07** at limit **
  11  Prefactor     16.276        12.245       -.66925E-06   -.14259E-03
  12  Prefactor     .10000E-03    13.270        .23263E-05** at limit **
  13  Prefactor     3.2638        2.3975        .44093E-07   -.32025E-04
  14  norm          4.3250        8.1483        .37251E-06   -.22268E-04
  15  Prefactor     36.878        26.554        .22413E-05    .10349E-03
  16  norm          7.0681        6.0480        .20248E-06   -.11936E-02
  17  Prefactor     .10000E-03    18.825        .21458E-06** at limit **
  18  Prefactor     .10000E-03    5.0656       -.28433E-06** at limit **
  19  norm          .10000E-03    5.0488        .22058E-06** at limit **
  20  Prefactor     10.105        10.670        .37947E-08   -.21468E-04
  21  Prefactor     3.8383        4.6062        .93376E-06   -.22099E-02
  22  norm          1.7322        1.3192        .11184E-06    .98877E-04
  23  Prefactor     .10000E-03    13.503       -.24147E-05** at limit **
  24  Prefactor     76.209        72.946       -.78815E-05   -.11468E-03
  25  Normalizat    .73393        .17202       -.14599E-05    .27453E-04
  26  Prefactor     1.0562        .18900        .43873E-06   -.61189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.691
  Prefactor  = 0.0001
  norm       = 4.28185
  Prefactor  = 1.71355
  norm       = 20.635
  Prefactor  = 0.0001
  Prefactor  = 96.7531
  Prefactor  = 4.30372
  Prefactor  = 36.6105
  norm       = 0.0001
  Prefactor  = 16.2761
  Prefactor  = 0.0001
  Prefactor  = 3.26381
  norm       = 4.325
  Prefactor  = 36.8784
  norm       = 7.0681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.105
  Prefactor  = 3.83831
  norm       = 1.73215
  Prefactor  = 0.0001
  Prefactor  = 76.2086
  Normalizat = 0.733931
  Prefactor  = 1.05622
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.918     FROM HESSE     STATUS=OK           458 CALLS     3547 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.691        65.325        .48788E-04   -1.4061    
   2  Prefactor     .10000E-03    57.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2818        1.7853        .62861E-04   -1.5294    
   4  Prefactor     1.7135        3.3866        .18950E-03   -1.5446    
   5  norm          20.635        13.787        .88176E-04   -1.4799    
   6  Prefactor     .10000E-03    8.3957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     96.753        67.611        .40863E-04   -1.3738    
   8  Prefactor     4.3037        4.5370        .79874E-03   -1.5293    
   9  Prefactor     36.610        24.157        .66241E-04   -1.4497    
  10  norm          .10000E-03    2.1619        .21777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.276        12.276        .99282E-04   -1.4901    
  12  Prefactor     .10000E-03    13.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2638        2.3954        .98618E-04   -1.5347    
  14  norm          4.3250        8.1340        .19368E-03   -1.5292    
  15  Prefactor     36.878        26.586        .66000E-04   -1.4493    
  16  norm          7.0681        6.2166        .75452E-03   -1.5176    
  17  Prefactor     .10000E-03    18.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0667        .16885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.0645        .16853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.105        10.716        .12605E-03   -1.5072    
  21  Prefactor     3.8383        6.7166        .10300E-02   -1.5316    
  22  norm          1.7322        1.3347        .72071E-04   -1.5445    
  23  Prefactor     .10000E-03    13.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     76.209        73.205        .45994E-04   -1.3960    
  25  Normalizat    .73393        .20468        .25140E-03   -1.0257    
  26  Prefactor     1.0562        .22579        .25100E-03   -.90878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70484e-09
Minuit parameter uncertainties:
  1  65.394
  2  2.34764e-06
  3  1.78533
  4  3.38701
  5  13.7892
  6  7.24437e-06
  7  67.6648
  8  4.53732
  9  24.1639
  10  3.99781e-06
  11  12.2777
  12  9.7419e-05
  13  2.39546
  14  8.13608
  15  26.5943
  16  6.2172
  17  4.0236e-08
  18  5.22826e-06
  19  5.82673e-06
  20  10.7181
  21  6.71791
  22  1.33471
  23  5.31154e-05
  24  73.2916
  25  0.204897
  26  0.225996
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.628e+01  1.228e+01  1.000e-04  1.000e+04 ( 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.056e+00  2.260e-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.339e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 214.894 38.366
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.18e-06

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) = 5899.90795999
delta logL = 0.0102790428791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5899.90078535
delta logL = 0.017453683352

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.150       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3416       1.0000          .0000       10.000    
     3 'Normalizat'    .74007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0515       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5899.901     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      258 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.148        17.258        .94012E-04    .47525E-04
   2  Index         2.3423        .71549        .80656E-02    .22900E-04
   3  Normalizat    .74005        .19182        .25045E-03    .76532E-04
   4  Prefactor     1.0515        .22358        .25137E-03    .91766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1483
  Index      = 2.3423
  Normalizat = 0.74005
  Prefactor  = 1.0515
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.901     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.148        16.540        .37605E-05   -1.4856    
   2  Index         2.3423        .68505        .32263E-03   -.56042    
   3  Normalizat    .74005        .19176        .10018E-04   -1.0233    
   4  Prefactor     1.0515        .22366        .10055E-04   -.91032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0875e-11
Minuit parameter uncertainties:
  1  16.5444
  2  0.688076
  3  0.191939
  4  0.223855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338812': 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) = 5899.90078469
delta logL = 0.017454341687

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.815e+01  1.654e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.342e+00  6.881e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.052e+00  2.239e-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.400e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.59
Ra Dec: 214.894 38.366
Photon Index (Free Index): 2.34 +/- 0.69
Photon Flux (Free Index): 3.64e-08 +/- 3.59e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.10e-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/338812/cmap_HighResolution_254361601_254620801_4FGL_J1419.5+3821_daily_bin58.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.06e-08', energy_flux2='1.29e-05', photon_flux_error='3.06e-08', dlogl='1.75e-02', energy_flux='1.22e-05', photon_flux2='3.64e-08', job_status='DONE', time_completed='2021-09-09 09:29:44.188358', photon_index_error2='0.69', photon_index2='2.34', ts='4.57', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.10e-05', EG='0.73', time_epoch_completed='1631204984.19', return_code='0', job_id='338812', GAL2='1.05', EG2='0.74', return_code2='0', energy_flux_error='9.18e-06', photon_flux_error2='3.59e-08', ts2='4.59', photon_index='2.47' WHERE bin_id='58' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:29:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 338812: <4FGL_J1419.5+3821_daily_bin58> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin58> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 09:15:41 2021
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:15:43 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:15:43 2021
Terminated at Thu Sep  9 09:29:44 2021
Results reported at Thu Sep  9 09:29:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin58 214.894 38.3657 254361601 254620801 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 :                                   619.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

