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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin45
RA = 216.051, Dec = 4.5628
tmin = 250992001, tmax = 251251201
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='419436', job_status='RUN', time_executed='2021-09-09 13:37:29.714846', time_epoch_executed='1631219849.71' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='45'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/419436

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/419436/ft1_4FGL_J1424.2+0433_daily_bin45.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/419436/ft1_4FGL_J1424.2+0433_daily_bin45.fits outfile=/scratch/kocevski/419436/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin45.fits ra=216.051 dec=4.5628 rad=12.0 tmin=250992001.0 tmax=251251201.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.46
user 1.29
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.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/419436/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin45.fits evtable="EVENTS" outfile="/scratch/kocevski/419436/ft1_filtered_4FGL_J1424.2+0433_daily_bin45.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.52
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/419436/ft1_filtered_4FGL_J1424.2+0433_daily_bin45.fits" evtable="EVENTS" scfile=/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits sctable="SC_DATA" outfile=/scratch/kocevski/419436/ltcube_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.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/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits
.....................!
real 12.43
user 12.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/419436/ft1_filtered_4FGL_J1424.2+0433_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/419436/ltcube_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.fits outfile=/scratch/kocevski/419436/expmap_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.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/419436/ltcube_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.fits
.....................!
real 190.62
user 186.91
sys 3.35

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/419436/ft1_filtered_4FGL_J1424.2+0433_daily_bin45.fits scfile=/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits outfile=/scratch/kocevski/419436/cmap_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/419436/ft1_filtered_4FGL_J1424.2+0433_daily_bin45.fits scfile=/scratch/kocevski/419436/ft2_4FGL_J1424.2+0433_daily_bin45.fits outfile=/scratch/kocevski/419436/cmap_HighResolution_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3432       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8339       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5573       1.0000         .10000E-03   10000.    
     7 'norm      '    6.2814       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9463       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11497E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.378       1.0000         .10000E-03   10000.    
    14 'norm      '    11.369       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.284       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.6359       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2549       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0160       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90727       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=   10358.67     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2222 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3416        3.5213        .22144E-06   -.21163E-03
   2  Prefactor     .10000E-03    6.6272        .17397E-07** at limit **
   3  Prefactor     .10000E-03    3.1472        .18989E-07** at limit **
   4  Prefactor     .10000E-03    12.589        .10600E-06** at limit **
   5  Prefactor     9.8311        10.451       -.29191E-07   -.33710E-04
   6  Prefactor     1.4613        66.237        .78396E-06   -.32622E-04
   7  norm          6.2804        9.7379        .24397E-05   -.54588E-03
   8  Prefactor     .10000E-03    8.2499        .61988E-07** at limit **
   9  norm          1.9271        24.696        .41421E-05    .89497E-04
  10  Prefactor     .10000E-03    7.8010       -.31976E-06** at limit **
  11  Prefactor     .10000E-03    1.8769       -.32300E-08** at limit **
  12  Prefactor     .10000E-03    23.172       -.25365E-06** at limit **
  13  Prefactor     28.391        34.827        .24123E-05    .20653E-04
  14  norm          11.372        20.560       -.27715E-05   -.27922E-03
  15  Prefactor     23.294        16.047       -.67918E-06   -.28311E-03
  16  Prefactor     .10000E-03    8.2798        .15343E-06** at limit **
  17  norm          3.6359        .35400        .73824E-08   -.90881E-04
  18  norm          2.2550        1.5854        .72192E-07   -.15923E-03
  19  norm          .10000E-03    7.2267        .18699E-06** at limit **
  20  Normalizat    1.0162        .15798       -.88874E-07   -.34073E-04
  21  Prefactor     .90707        .10105       -.26020E-06   -.43659E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.83115
  Prefactor  = 1.46134
  norm       = 6.28038
  Prefactor  = 0.0001
  norm       = 1.92707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.391
  norm       = 11.3723
  Prefactor  = 23.2938
  Prefactor  = 0.0001
  norm       = 3.63589
  norm       = 2.25505
  norm       = 0.0001
  Normalizat = 1.01624
  Prefactor  = 0.907065
 **********
 **   18 **HESSE 
 **********

 FCN=   10358.67     FROM HESSE     STATUS=OK           319 CALLS     2541 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3416        3.5497        .18560E-03   -1.5342    
   2  Prefactor     .10000E-03    6.6406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2318        .35243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.972        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.8311        10.455        .12778E-03   -1.5081    
   6  Prefactor     1.4613        67.922        .34109E-03   -1.5466    
   7  norm          6.2804        10.686        .80081E-03   -1.5207    
   8  Prefactor     .10000E-03    8.2761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9271        25.259        .29751E-03   -1.5430    
  10  Prefactor     .10000E-03    8.0927        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8801        .13616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.391        36.035        .75207E-04   -1.4642    
  14  norm          11.372        21.782        .11882E-03   -1.5033    
  15  Prefactor     23.294        16.261        .83011E-04   -1.4742    
  16  Prefactor     .10000E-03    8.3215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.6359        .35431        .18196E-04   -1.5327    
  18  norm          2.2550        1.5806        .10358E-03   -1.5408    
  19  norm          .10000E-03    7.4995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0162        .18816        .29568E-03   -.92488    
  21  Prefactor     .90707        .12070        .20367E-03   -.95895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13331e-09
Minuit parameter uncertainties:
  1  3.54995
  2  6.21561e-07
  3  5.24523e-07
  4  8.52343e-06
  5  10.4566
  6  19.949
  7  10.6894
  8  3.57951e-06
  9  13.9604
  10  1.76079e-05
  11  5.4211e-07
  12  5.51323e-05
  13  36.0624
  14  21.7974
  15  16.2644
  16  1.89869e-05
  17  0.354311
  18  1.58067
  19  1.64765e-05
  20  0.188283
  21  0.120734
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.927e+00  1.396e+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.071e-01  1.207e-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.016e+00  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 3.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/419436/likelihoodResults_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10358.6646458
delta logL = 0.00544517324124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10358.66443
delta logL = 0.00566101021832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1796       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2200       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90698       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10358.66     FROM MIGRAD    STATUS=FAILED        99 CALLS      287 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1761        24.264        .27886E-03   -.26092E-05
   2  alpha         2.2208        2.0687        .69806E-01    .15283E-03
   3  Normalizat    1.0156        .18001        .29575E-03    .27830E-04
   4  Prefactor     .90696        .11881        .20368E-03   -.70553E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10358.66     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      363 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1761        24.264        .52216E-03   -1.5413    
   2  alpha         2.2208        2.0687        .31556E-02   -.11190    
   3  Normalizat    1.0156        .18001        .16742E-03   -.92508    
   4  Prefactor     .90696        .11881        .11048E-03   -.95898    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10358.66     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      399 TOTAL
                     EDM=   .74E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1761        19.649        .11154E-04   -.81538E-06
   2  alpha         2.2208        1.9300        .13961E-01    .27524E-06
   3  Normalizat    1.0156        .18012        .11830E-04    .76879E-07
   4  Prefactor     .90696        .11882        .81471E-05   -.22327E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17608
  alpha      = 2.22083
  Normalizat = 1.01564
  Prefactor  = 0.906957
 **********
 **   18 **HESSE 
 **********

 FCN=   10358.66     FROM HESSE     STATUS=OK            25 CALLS      424 TOTAL
                     EDM=   .36E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1761        19.197        .22308E-05   -1.5413    
   2  alpha         2.2208        1.9133        .55845E-03   -.11190    
   3  Normalizat    1.0156        .18011        .11830E-04   -.92508    
   4  Prefactor     .90696        .11881        .81471E-05   -.95898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56449e-14
Minuit parameter uncertainties:
  1  12.9318
  2  2.18394
  3  0.180215
  4  0.118842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/419436': 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) = 10358.6644299
delta logL = 0.00566114002686

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.176e+00  1.293e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.221e+00  2.184e+00  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.070e-01  1.188e-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.016e+00  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 216.051 4.563

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/419436/cmap_HighResolution_250992001_251251201_4FGL_J1424.2+0433_daily_bin45.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2021-09-09 13:49:44.196337', job_id='419436', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631220584.2', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.66e-03', ts2='0.03', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='45' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:49:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 419436: <4FGL_J1424.2+0433_daily_bin45> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin45> 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) <bullet0006>, 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:44 2021
Results reported at Thu Sep  9 13:49:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin45 216.051 4.5628 250992001 251251201 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

