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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin46
RA = 216.051, Dec = 4.5628
tmin = 251251201, tmax = 251510401
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='419437', job_status='RUN', time_executed='2021-09-09 13:38:13.177487', time_epoch_executed='1631219893.18' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='46'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/419437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/419437/ft1_4FGL_J1424.2+0433_daily_bin46.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/419437/ft1_4FGL_J1424.2+0433_daily_bin46.fits outfile=/scratch/kocevski/419437/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin46.fits ra=216.051 dec=4.5628 rad=12.0 tmin=251251201.0 tmax=251510401.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.48
user 1.28
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.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/419437/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/419437/ltcube_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.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/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits
.....................!
real 12.44
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/419437/ltcube_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits outfile=/scratch/kocevski/419437/expmap_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.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/419437/ltcube_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits
.....................!
real 191.35
user 185.30
sys 5.66

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/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits scfile=/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits outfile=/scratch/kocevski/419437/cmap_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits scfile=/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits outfile=/scratch/kocevski/419437/cmap_HighResolution_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.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.60
user 0.36
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits', '/scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits', expMap='/scratch/kocevski/419437/expmap_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits', expCube='/scratch/kocevski/419437/ltcube_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/419437/Model_4FGL_J1424.2+0433_daily_bin46.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/419437/ft1_filtered_4FGL_J1424.2+0433_daily_bin46.fits
Spacecraft file(s): /scratch/kocevski/419437/ft2_4FGL_J1424.2+0433_daily_bin46.fits
Exposure map: /scratch/kocevski/419437/expmap_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits
Exposure cube: /scratch/kocevski/419437/ltcube_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/419437/Model_4FGL_J1424.2+0433_daily_bin46.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) = 10535.2647256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7534       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11298E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.319       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16140E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    31.986       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1610       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .85228       1.0000         .10000E-03   10000.    
    14 'norm      '    22.095       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8838       1.0000         .10000E-03   10000.    
    18 'norm      '    .54234       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2398       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85779       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=   10535.26     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2248 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .94482        .26861E-07** at limit **
   2  Prefactor     .10000E-03    4.0529        .26469E-07** at limit **
   3  Prefactor     .10000E-03    1.1582        .54119E-08** at limit **
   4  Prefactor     1.7521        5.6167        .18524E-06   -.98887E-04
   5  Prefactor     .10000E-03    57.134        .13798E-05** at limit **
   6  Prefactor     .10000E-03    62.857       -.29254E-05** at limit **
   7  norm          18.319        9.5417        .51894E-07   -.61229E-05
   8  Prefactor     .10000E-03    42.076        .12493E-05** at limit **
   9  norm          31.966        19.196        .71615E-06   -.32100E-05
  10  Prefactor     .10000E-03    2.1270       -.31286E-07** at limit **
  11  Prefactor     2.1616        1.9790        .41946E-06   -.21534E-02
  12  Prefactor     19.613        51.312        .26345E-04    .36234E-04
  13  Prefactor     .17607        29.966       -.50165E-06    .16380E-04
  14  norm          22.333        19.821       -.51619E-06    .88512E-04
  15  Prefactor     .10000E-03    6.4862        .15031E-07** at limit **
  16  Prefactor     .10000E-03    4.0601        .27351E-07** at limit **
  17  norm          2.8838        .32015        .78016E-08   -.12650E-03
  18  norm          .54236        1.3891        .11470E-07   -.30898E-03
  19  norm          .10000E-03    1.2413        .91638E-08** at limit **
  20  Normalizat    1.2397        .15919       -.11430E-05    .60742E-04
  21  Prefactor     .85770        .10303       -.34492E-06   -.24719E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.75213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.3194
  Prefactor  = 0.0001
  norm       = 31.9661
  Prefactor  = 0.0001
  Prefactor  = 2.16155
  Prefactor  = 19.613
  Prefactor  = 0.176067
  norm       = 22.3326
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.8838
  norm       = 0.542359
  norm       = 0.0001
  Normalizat = 1.23972
  Prefactor  = 0.857698
 **********
 **   18 **HESSE 
 **********

 FCN=   10535.26     FROM HESSE     STATUS=OK           327 CALLS     2575 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .95160        .97408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1650        .10786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7521        5.5937        .31658E-03   -1.5443    
   5  Prefactor     .10000E-03    59.594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    64.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.319        9.5436        .93578E-04   -1.4852    
   8  Prefactor     .10000E-03    42.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          31.966        19.186        .70848E-04   -1.4577    
  10  Prefactor     .10000E-03    2.1435        .14618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1616        5.6109        .14010E-02   -1.5414    
  12  Prefactor     19.613        51.358        .90471E-04   -1.4822    
  13  Prefactor     .17607        46.774        .12046       -1.5624    
  14  norm          22.333        21.284        .85214E-04   -1.4762    
  15  Prefactor     .10000E-03    6.4995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8838        .32041        .18737E-04   -1.5368    
  18  norm          .54236        1.7557        .18306E-02   -1.5561    
  19  norm          .10000E-03    1.2416        .11168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2397        .18963        .27935E-03   -.85384    
  21  Prefactor     .85770        .12267        .21416E-03   -.97635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54895e-08
Minuit parameter uncertainties:
  1  2.05443e-06
  2  2.86346e-06
  3  1.7783e-06
  4  5.59536
  5  8.48052e-05
  6  0.000257612
  7  9.54435
  8  1.31556e-05
  9  19.1898
  10  3.68349e-06
  11  5.61227
  12  51.4739
  13  5.74238
  14  21.2911
  15  4.54578e-06
  16  2.00408e-06
  17  0.320408
  18  1.75585
  19  1.70683e-07
  20  0.18974
  21  0.122706
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.197e+01  1.919e+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:  8.577e-01  1.227e-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.240e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.07
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 1.74e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.15e-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) = 10535.2205711
delta logL = 0.042307937756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10535.2156184
delta logL = 0.0472606194071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.115       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1704       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86020       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10535.22     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      241 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.117        19.930        .73011E-04   -.50488E-03
   2  alpha         2.1699        .63232        .15545E-01   -.11751E-03
   3  Normalizat    1.2319        .18841        .28010E-03    .32234E-03
   4  Prefactor     .86021        .12210        .21388E-03    .54863E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 30.1167
  alpha      = 2.16988
  Normalizat = 1.23192
  Prefactor  = 0.860208
 **********
 **   18 **HESSE 
 **********

 FCN=   10535.22     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.117        19.503        .14602E-04   -1.4610    
   2  alpha         2.1699        .61848        .62182E-03   -.13244    
   3  Normalizat    1.2319        .18835        .56021E-04   -.85622    
   4  Prefactor     .86021        .12215        .42775E-04   -.97546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04012e-09
Minuit parameter uncertainties:
  1  19.5074
  2  0.625092
  3  0.188455
  4  0.122186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/419437': 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) = 10535.2156181
delta logL = 0.0472609379231

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.012e+01  1.951e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.170e+00  6.251e-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:  8.602e-01  1.222e-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.232e+00  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.15
Ra Dec: 216.051 4.563
Photon Index (Free Index): 2.17 +/- 0.63
Photon Flux (Free Index): 3.54e-08 +/- 3.01e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.10e-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/419437/cmap_HighResolution_251251201_251510401_4FGL_J1424.2+0433_daily_bin46.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='1.76e-05', photon_flux_error='1.74e-08', dlogl='4.73e-02', energy_flux='1.91e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-09-09 13:49:15.077323', photon_index_error2='0.63', photon_index2='2.17', ts='7.07', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.10e-05', EG='1.24', time_epoch_completed='1631220555.08', return_code='0', job_id='419437', GAL2='0.86', EG2='1.23', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.01e-08', ts2='7.15', photon_index='1.98' WHERE bin_id='46' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:49:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 419437: <4FGL_J1424.2+0433_daily_bin46> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin46> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:36:24 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:36:25 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:36:25 2021
Terminated at Thu Sep  9 13:49:15 2021
Results reported at Thu Sep  9 13:49:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin46 216.051 4.5628 251251201 251510401 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 :                                   658.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            771 sec.

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

