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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin113
RA = 216.051, Dec = 4.5628
tmin = 268617601, tmax = 268876801
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='420906', job_status='RUN', time_executed='2021-09-09 13:44:48.071476', time_epoch_executed='1631220288.07' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/420906

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/420906/ft1_4FGL_J1424.2+0433_daily_bin113.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/420906/ft1_4FGL_J1424.2+0433_daily_bin113.fits outfile=/scratch/kocevski/420906/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin113.fits ra=216.051 dec=4.5628 rad=12.0 tmin=268617601.0 tmax=268876801.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.54
user 1.34
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.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/420906/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin113.fits evtable="EVENTS" outfile="/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.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/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits" evtable="EVENTS" scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits sctable="SC_DATA" outfile=/scratch/kocevski/420906/ltcube_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.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/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits
.....................!
real 12.76
user 12.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits sctable="SC_DATA" expcube=/scratch/kocevski/420906/ltcube_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits outfile=/scratch/kocevski/420906/expmap_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.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/420906/ltcube_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits
.....................!
real 191.94
user 187.04
sys 4.50

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

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits outfile=/scratch/kocevski/420906/cmap_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.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=216.051 yref=4.5628 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits outfile=/scratch/kocevski/420906/cmap_HighResolution_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.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=216.051 yref=4.5628 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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/420906/Model_4FGL_J1424.2+0433_daily_bin113.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/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits....................!
real 71.18
user 69.78
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits', '/scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits', expMap='/scratch/kocevski/420906/expmap_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits', expCube='/scratch/kocevski/420906/ltcube_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/420906/Model_4FGL_J1424.2+0433_daily_bin113.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/420906/ft1_filtered_4FGL_J1424.2+0433_daily_bin113.fits
Spacecraft file(s): /scratch/kocevski/420906/ft2_4FGL_J1424.2+0433_daily_bin113.fits
Exposure map: /scratch/kocevski/420906/expmap_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits
Exposure cube: /scratch/kocevski/420906/ltcube_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/420906/Model_4FGL_J1424.2+0433_daily_bin113.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) = 10437.2839298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4541       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.035       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.8156       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .42586       1.0000         .10000E-03   10000.    
     9 'norm      '    11.948       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.018       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11229E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6901       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1796       1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2407       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10437.28     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2261 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4523        2.7818        .62087E-06   -.21097E-03
   2  Prefactor     15.028        14.126        .10128E-05    .26309E-03
   3  Prefactor     .10000E-03    1.8682        .12834E-07** at limit **
   4  Prefactor     .10000E-03    7.1648        .73414E-07** at limit **
   5  Prefactor     .10000E-03    22.313        .86504E-06** at limit **
   6  Prefactor     .10000E-03    15.233       -.25188E-07** at limit **
   7  norm          8.8143        7.6523       -.30836E-06   -.20309E-03
   8  Prefactor     .26840E-01    12.645        .54069E-07    .48012E-04
   9  norm          11.970        11.524       -.65013E-06   -.24535E-03
  10  Prefactor     .10000E-03    2.2158       -.11925E-06** at limit **
  11  Prefactor     1.1307        11.530        .30684E-05   -.15357E-03
  12  Prefactor     .10000E-03    23.878       -.18699E-06** at limit **
  13  Prefactor     .10000E-03    21.941       -.26569E-07** at limit **
  14  norm          15.019        13.237        .48689E-06    .14233E-03
  15  Prefactor     .10000E-03    21.871       -.67893E-07** at limit **
  16  Prefactor     .10000E-03    57.659        .12275E-06** at limit **
  17  norm          1.6898        .26706        .45328E-08    .82403E-04
  18  norm          5.1784        2.0514        .41979E-07   -.44081E-04
  19  norm          .10000E-03    3.7698        .19760E-07** at limit **
  20  Normalizat    1.2413        .16889       -.61962E-06   -.40694E-04
  21  Prefactor     .94336        .10607        .19575E-07   -.11680E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45234
  Prefactor  = 15.0283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.81426
  Prefactor  = 0.0268405
  norm       = 11.9702
  Prefactor  = 0.0001
  Prefactor  = 1.13075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.0191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.68982
  norm       = 5.17842
  norm       = 0.0001
  Normalizat = 1.24126
  Prefactor  = 0.943365
 **********
 **   18 **HESSE 
 **********

 FCN=   10437.28     FROM HESSE     STATUS=OK           325 CALLS     2586 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4523        2.8007        .22958E-03   -1.5467    
   2  Prefactor     15.028        14.584        .10329E-03   -1.4932    
   3  Prefactor     .10000E-03    4.9525        .27140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.169        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.8143        7.7193        .13500E-03   -1.5114    
   8  Prefactor     .26840E-01    18.185        .99773E-01   -1.5675    
   9  norm          11.970        11.822        .11589E-03   -1.5016    
  10  Prefactor     .10000E-03    2.2324        .14866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1307        12.527        .43703E-03   -1.5495    
  12  Prefactor     .10000E-03    23.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.019        13.332        .10335E-03   -1.4933    
  15  Prefactor     .10000E-03    22.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    59.800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6898        .26730        .20272E-04   -1.5448    
  18  norm          5.1784        2.0517        .88425E-04   -1.5253    
  19  norm          .10000E-03    3.8611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2413        .20084        .28851E-03   -.85337    
  21  Prefactor     .94336        .12648        .21148E-03   -.94642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1902e-10
Minuit parameter uncertainties:
  1  2.80093
  2  14.5879
  3  3.86741e-06
  4  1.2259e-05
  5  0.000137545
  6  2.5789e-07
  7  7.72022
  8  1.39509
  9  11.8244
  10  6.62987e-06
  11  7.52901
  12  3.58795e-05
  13  7.66877e-05
  14  13.3351
  15  2.79571e-05
  16  4.64489e-05
  17  0.267297
  18  2.0517
  19  1.4089e-06
  20  0.200965
  21  0.12652
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.197e+01  1.182e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.434e-01  1.265e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.241e+00  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.09
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.09e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 7.15e-06 +/- 7.06e-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) = 10436.1451789
delta logL = 1.13136904367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10435.9705534
delta logL = 1.30599453614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1396       1.0000         .10000E-03   10000.    
     2 'alpha     '    .68099       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94387       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10435.97     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      218 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1487        5.5086        .44334E-02   -.48582E-02
   2  alpha         .68100        .53448        .50000       -.36793E-04
   3  Normalizat    1.2463        .16183        .65094E-01    .11389E-04
   4  Prefactor     .94388        .10562        .45562E-01    .74509E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.14866
  alpha      = 0.681002
  Normalizat = 1.24631
  Prefactor  = 0.943884
 **********
 **   18 **HESSE 
 **********

 FCN=   10435.97     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1487        8.1713        .88668E-03   -1.5254    
   2  alpha         .68100        .71656        .29592E-01   -.81482    
   3  Normalizat    1.2463        .19247        .28795E-03   -.85183    
   4  Prefactor     .94388        .12572        .21142E-03   -.94624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2346e-11
Minuit parameter uncertainties:
  1  8.17309
  2  0.739237
  3  0.192579
  4  0.125757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/420906': 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) = 10435.9705519
delta logL = 1.30599605751

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  5.149e+00  8.173e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  6.810e-01  7.392e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.439e-01  1.258e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.246e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.70
Ra Dec: 216.051 4.563
Photon Index (Free Index): 0.68 +/- 0.74
Photon Flux (Free Index): 3.15e-09 +/- 3.48e-09
Energy Flux (Free Index): 3.13e-05 +/- 4.35e-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/420906/cmap_HighResolution_268617601_268876801_4FGL_J1424.2+0433_daily_bin113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-08', energy_flux2='3.13e-05', photon_flux_error='1.07e-08', dlogl='1.31e+00', energy_flux='7.15e-06', photon_flux2='3.15e-09', job_status='DONE', time_completed='2021-09-09 13:57:28.994487', photon_index_error2='0.74', photon_index2='0.68', ts='4.09', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.35e-05', EG='1.24', time_epoch_completed='1631221048.99', return_code='0', job_id='420906', GAL2='0.94', EG2='1.25', return_code2='0', energy_flux_error='7.06e-06', photon_flux_error2='3.48e-09', ts2='6.70', photon_index='1.98' WHERE bin_id='113' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:57:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 420906: <4FGL_J1424.2+0433_daily_bin113> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin113> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:41:20 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:41:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:41:21 2021
Terminated at Thu Sep  9 13:57:29 2021
Results reported at Thu Sep  9 13:57:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin113 216.051 4.5628 268617601 268876801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            969 sec.

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

