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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin458
RA = 216.051, Dec = 4.5628
tmin = 358041601, tmax = 358300801
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='421441', job_status='RUN', time_executed='2021-09-09 13:45:56.600618', time_epoch_executed='1631220356.6' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421441

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421441/ft1_4FGL_J1424.2+0433_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421441/ft2_4FGL_J1424.2+0433_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421441/ft1_4FGL_J1424.2+0433_daily_bin458.fits outfile=/scratch/kocevski/421441/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin458.fits ra=216.051 dec=4.5628 rad=12.0 tmin=358041601.0 tmax=358300801.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.48
user 3.24
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421441/ft1_filtered_4FGL_J1424.2+0433_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/421441/ft2_4FGL_J1424.2+0433_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/421441/ltcube_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.fits outfile=/scratch/kocevski/421441/expmap_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.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/421441/ltcube_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.fits
.....................!
real 191.57
user 185.57
sys 5.29

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/421441/ft1_filtered_4FGL_J1424.2+0433_daily_bin458.fits scfile=/scratch/kocevski/421441/ft2_4FGL_J1424.2+0433_daily_bin458.fits outfile=/scratch/kocevski/421441/cmap_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421441/ft1_filtered_4FGL_J1424.2+0433_daily_bin458.fits scfile=/scratch/kocevski/421441/ft2_4FGL_J1424.2+0433_daily_bin458.fits outfile=/scratch/kocevski/421441/cmap_HighResolution_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6669       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12493E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.465       1.0000         .10000E-03   10000.    
     7 'norm      '    22.600       1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.170       1.0000         .10000E-03   10000.    
     9 'norm      '    10.329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9424       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10724E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12876E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .96697       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.982       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3490       1.0000         .10000E-03   10000.    
    19 'norm      '    11.841       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1021       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96242       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=   6849.048     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2531 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0636       -.16671E-07** at limit **
   2  Prefactor     .10000E-03    23.065       -.19955E-06** at limit **
   3  Prefactor     2.6672        2.5940        .22105E-07    .25839E-03
   4  Prefactor     .10000E-03    3.5305       -.21862E-07** at limit **
   5  Prefactor     .10000E-03    54.445       -.48385E-06** at limit **
   6  Prefactor     10.461        19.273        .28496E-05   -.77555E-05
   7  norm          22.594        13.563       -.16921E-05    .48761E-05
   8  Prefactor     54.185        29.299       -.31743E-05   -.11134E-05
   9  norm          10.332        15.990        .89603E-06   -.12311E-04
  10  Prefactor     .10000E-03    3.1027        .28982E-07** at limit **
  11  Prefactor     6.9379        11.426       -.16766E-05   -.88306E-04
  12  Prefactor     .10000E-03    55.999        .23225E-06** at limit **
  13  Prefactor     .10015E-03    38.253        .12258E-06** at limit **
  14  norm          .81160        16.641        .49998E-06   -.11591E-03
  15  Prefactor     29.000        30.795       -.71655E-05   -.51394E-04
  16  Prefactor     .10000E-03    6.2635        .16581E-07** at limit **
  17  norm          .10000E-03    .82053E-01    .76410E-07** at limit **
  18  norm          4.3498        2.7456       -.75710E-07   -.28698E-03
  19  norm          11.841        8.3311       -.14577E-07   -.60697E-04
  20  Normalizat    1.1021        .20834        .20962E-05   -.12129E-03
  21  Prefactor     .96235        .12758        .54974E-07    .37633E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.66716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4611
  norm       = 22.5944
  Prefactor  = 54.1848
  norm       = 10.3322
  Prefactor  = 0.0001
  Prefactor  = 6.93791
  Prefactor  = 0.0001
  Prefactor  = 0.000100153
  norm       = 0.811602
  Prefactor  = 29.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.34981
  norm       = 11.8414
  Normalizat = 1.10206
  Prefactor  = 0.96235
 **********
 **   18 **HESSE 
 **********

 FCN=   6849.048     FROM HESSE     STATUS=OK           325 CALLS     2856 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0674        .83344E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6672        2.6068        .12823E-03   -1.5381    
   4  Prefactor     .10000E-03    3.5370        .15186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    56.099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.461        19.255        .12385E-03   -1.5061    
   7  norm          22.594        13.546        .84257E-04   -1.4757    
   8  Prefactor     54.185        29.252        .54498E-04   -1.4234    
   9  norm          10.332        15.977        .12467E-03   -1.5065    
  10  Prefactor     .10000E-03    3.1074        .14223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9379        11.463        .15226E-03   -1.5181    
  12  Prefactor     .10000E-03    56.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10015E-03    266.92        .82283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .81160        95.940        .53353E-02   -1.5528    
  15  Prefactor     29.000        30.613        .74420E-04   -1.4630    
  16  Prefactor     .10000E-03    6.2662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .11160        .46023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3498        2.7455        .10414E-03   -1.5291    
  19  norm          11.841        8.3202        .11642E-03   -1.5020    
  20  Normalizat    1.1021        .24894        .29620E-03   -.89686    
  21  Prefactor     .96235        .15387        .20091E-03   -.93995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25053e-09
Minuit parameter uncertainties:
  1  1.62711e-06
  2  5.05633e-05
  3  2.60695
  4  3.06759e-06
  5  8.61141e-05
  6  19.2665
  7  13.5483
  8  29.2593
  9  15.9837
  10  5.99251e-06
  11  11.4669
  12  2.39848e-05
  13  0.0128493
  14  17.6762
  15  30.6301
  16  6.58445e-06
  17  2.52057e-06
  18  2.74558
  19  8.32098
  20  0.249208
  21  0.153944
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.033e+01  1.598e+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.624e-01  1.539e-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.102e+00  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421441/likelihoodResults_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.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) = 6848.91772106
delta logL = 0.130514382555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6848.9116024
delta logL = 0.136633042553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8074       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6300       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96520       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=   6848.912     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      254 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8012        15.243        .13506E-03   -.69864E-05
   2  alpha         2.6332        1.2750        .23962E-01    .13771E-03
   3  Normalizat    1.0909        .23989        .29747E-03    .22816E-04
   4  Prefactor     .96504        .15284        .20062E-03   -.40461E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.80121
  alpha      = 2.63316
  Normalizat = 1.09091
  Prefactor  = 0.965036
 **********
 **   18 **HESSE 
 **********

 FCN=   6848.912     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8012        14.390        .54025E-05   -1.5115    
   2  alpha         2.6332        1.2092        .47925E-02    .53289E-01
   3  Normalizat    1.0909        .23977        .11899E-04   -.90044    
   4  Prefactor     .96504        .15289        .80248E-05   -.93904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43215e-11
Minuit parameter uncertainties:
  1  14.3952
  2  1.26227
  3  0.240013
  4  0.152959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421441': 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) = 6848.91159717
delta logL = 0.136638272025

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  8.801e+00  1.440e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.633e+00  1.262e+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.650e-01  1.530e-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.091e+00  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/421441/cmap_HighResolution_358041601_358300801_4FGL_J1424.2+0433_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-09-09 13:56:59.196312', job_id='421441', GAL2='0.97', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1631221019.2', return_code2='0', ts='0.73', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.37e-01', ts2='1.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='458' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:56:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 421441: <4FGL_J1424.2+0433_daily_bin458> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin458> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:42:00 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:42:02 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:42:02 2021
Terminated at Thu Sep  9 13:57:00 2021
Results reported at Thu Sep  9 13:57:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin458 216.051 4.5628 358041601 358300801 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 :                                   599.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            900 sec.

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

