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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin779
RA = 216.051, Dec = 4.5628
tmin = 441244801, tmax = 441504001
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='424553', job_status='RUN', time_executed='2021-09-09 13:53:50.621738', time_epoch_executed='1631220830.62' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424553/ft1_4FGL_J1424.2+0433_daily_bin779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424553/ft1_4FGL_J1424.2+0433_daily_bin779.fits outfile=/scratch/kocevski/424553/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin779.fits ra=216.051 dec=4.5628 rad=12.0 tmin=441244801.0 tmax=441504001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424553/ft1_filtered_4FGL_J1424.2+0433_daily_bin779.fits" evtable="EVENTS" scfile=/scratch/kocevski/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits sctable="SC_DATA" outfile=/scratch/kocevski/424553/ltcube_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.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/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits
.....................!
real 12.50
user 12.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424553/ft1_filtered_4FGL_J1424.2+0433_daily_bin779.fits evtable="EVENTS" scfile=/scratch/kocevski/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits sctable="SC_DATA" expcube=/scratch/kocevski/424553/ltcube_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.fits outfile=/scratch/kocevski/424553/expmap_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.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/424553/ltcube_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.fits
.....................!
real 189.80
user 184.93
sys 4.43

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/424553/ft1_filtered_4FGL_J1424.2+0433_daily_bin779.fits scfile=/scratch/kocevski/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits outfile=/scratch/kocevski/424553/cmap_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424553/ft1_filtered_4FGL_J1424.2+0433_daily_bin779.fits scfile=/scratch/kocevski/424553/ft2_4FGL_J1424.2+0433_daily_bin779.fits outfile=/scratch/kocevski/424553/cmap_HighResolution_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4861       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.863       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.936       1.0000         .10000E-03   10000.    
     9 'norm      '    21.389       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5385       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.148       1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.075       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    37.894       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.033       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3715       1.0000         .10000E-03   10000.    
    17 'norm      '    .33093       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1372       1.0000         .10000E-03   10000.    
    19 'norm      '    4.5638       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2499       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88151       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=   7458.518     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2226 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4852        3.4306       -.94124E-06   -.10798E-02
   2  Prefactor     .10000E-03    14.560        .64348E-07** at limit **
   3  Prefactor     .10000E-03    1.4907       -.36336E-07** at limit **
   4  Prefactor     .10000E-03    2.1158        .28850E-07** at limit **
   5  Prefactor     27.866        19.302       -.19651E-06    .26982E-05
   6  Prefactor     .10000E-03    8.3976       -.61563E-07** at limit **
   7  norm          .10000E-03    5.0111       -.50824E-07** at limit **
   8  Prefactor     20.934        26.405        .16875E-05   -.80576E-04
   9  norm          21.391        16.912        .19087E-05   -.17750E-03
  10  Prefactor     5.5381        5.6765       -.11495E-06   -.14620E-04
  11  Prefactor     16.151        10.363        .22051E-06   -.47696E-04
  12  Prefactor     64.869        63.465       -.70827E-06    .13855E-04
  13  Prefactor     .10000E-03    34.786        .45722E-06** at limit **
  14  norm          37.906        21.023       -.17395E-05    .13958E-03
  15  Prefactor     14.035        20.116        .38155E-05   -.16114E-03
  16  Prefactor     2.3686        20.265       -.58300E-05   -.41067E-04
  17  norm          .33094        .17017       -.86106E-08   -.75818E-04
  18  norm          1.1373        1.3074       -.41888E-07   -.72750E-04
  19  norm          4.5632        6.2347       -.65029E-06   -.14481E-03
  20  Normalizat    1.2495        .19883        .25026E-07    .31911E-04
  21  Prefactor     .88177        .12418        .34546E-07    .34795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.8655
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.9336
  norm       = 21.3906
  Prefactor  = 5.53815
  Prefactor  = 16.151
  Prefactor  = 64.869
  Prefactor  = 0.0001
  norm       = 37.9064
  Prefactor  = 14.0349
  Prefactor  = 2.36856
  norm       = 0.33094
  norm       = 1.13734
  norm       = 4.5632
  Normalizat = 1.24954
  Prefactor  = 0.881765
 **********
 **   18 **HESSE 
 **********

 FCN=   7458.518     FROM HESSE     STATUS=OK           319 CALLS     2545 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4852        3.7347        .25104E-03   -1.5464    
   2  Prefactor     .10000E-03    14.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4976        .10296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1167        .12268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.866        19.323        .75897E-04   -1.4652    
   6  Prefactor     .10000E-03    8.4025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.0234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.934        26.294        .87538E-04   -1.4793    
   9  norm          21.391        16.709        .86607E-04   -1.4783    
  10  Prefactor     5.5381        5.6705        .17072E-03   -1.5237    
  11  Prefactor     16.151        10.363        .99668E-04   -1.4904    
  12  Prefactor     64.869        63.567        .49749E-04   -1.4095    
  13  Prefactor     .10000E-03    34.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          37.906        20.869        .65108E-04   -1.4476    
  15  Prefactor     14.035        19.559        .10692E-03   -1.4959    
  16  Prefactor     2.3686        21.139        .26606E-03   -1.5400    
  17  norm          .33094        .16968        .24584E-04   -1.5593    
  18  norm          1.1373        1.2946        .10267E-03   -1.5495    
  19  norm          4.5632        6.2669        .18843E-03   -1.5281    
  20  Normalizat    1.2495        .23819        .28103E-03   -.85085    
  21  Prefactor     .88177        .14836        .21139E-03   -.96781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35081e-09
Minuit parameter uncertainties:
  1  3.7353
  2  1.92589e-06
  3  1.0589e-06
  4  3.87489e-07
  5  19.327
  6  9.52214e-07
  7  1.15861e-06
  8  26.3083
  9  16.7128
  10  5.671
  11  10.3642
  12  63.634
  13  0.000150491
  14  20.8727
  15  19.5676
  16  14.1582
  17  0.169683
  18  1.29464
  19  6.26779
  20  0.238402
  21  0.148424
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.139e+01  1.671e+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.818e-01  1.484e-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.250e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.15
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.94e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 9.98e-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) = 7458.07775508
delta logL = 0.440452617684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7458.06852699
delta logL = 0.449680702927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.779       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4099       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2568       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87918       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=   7458.069     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.779        21.954        .20536E-02   -.58032E-03
   2  alpha         1.4100        .59243        .47132       -.12628E-04
   3  Normalizat    1.2568        .19086        .63378E-01    .10221E-04
   4  Prefactor     .87918        .12347        .44739E-01    .10507E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.7786
  alpha      = 1.40996
  Normalizat = 1.25678
  Prefactor  = 0.879181
 **********
 **   18 **HESSE 
 **********

 FCN=   7458.069     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.779        18.419        .82145E-04   -1.4732    
   2  alpha         1.4100        .56072        .18459E-01   -.45117    
   3  Normalizat    1.2568        .22711        .28034E-03   -.84866    
   4  Prefactor     .87918        .14724        .21165E-03   -.96872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42055e-10
Minuit parameter uncertainties:
  1  18.4232
  2  0.566693
  3  0.227286
  4  0.147306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424553': 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) = 7458.06852699
delta logL = 0.449680710115

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.378e+01  1.842e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.410e+00  5.667e-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.792e-01  1.473e-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.257e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.05
Ra Dec: 216.051 4.563
Photon Index (Free Index): 1.41 +/- 0.57
Photon Flux (Free Index): 1.26e-08 +/- 1.11e-08
Energy Flux (Free Index): 2.53e-05 +/- 2.81e-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/424553/cmap_HighResolution_441244801_441504001_4FGL_J1424.2+0433_daily_bin779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.94e-08', energy_flux2='2.53e-05', photon_flux_error='1.52e-08', dlogl='4.50e-01', energy_flux='1.28e-05', photon_flux2='1.26e-08', job_status='DONE', time_completed='2021-09-09 14:03:06.679522', photon_index_error2='0.57', photon_index2='1.41', ts='5.15', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='1.25', time_epoch_completed='1631221386.68', return_code='0', job_id='424553', GAL2='0.88', EG2='1.26', return_code2='0', energy_flux_error='9.98e-06', photon_flux_error2='1.11e-08', ts2='6.05', photon_index='1.98' WHERE bin_id='779' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 424553: <4FGL_J1424.2+0433_daily_bin779> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin779> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:51:10 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:51:11 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:51:11 2021
Terminated at Thu Sep  9 14:03:07 2021
Results reported at Thu Sep  9 14:03:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin779 216.051 4.5628 441244801 441504001 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 :                                   552.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            717 sec.

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

