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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin776
RA = 216.051, Dec = 4.5628
tmin = 440467201, tmax = 440726401
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='424548', job_status='RUN', time_executed='2021-09-09 13:54:19.726542', time_epoch_executed='1631220859.73' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424548

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424548/ft1_4FGL_J1424.2+0433_daily_bin776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424548/ft2_4FGL_J1424.2+0433_daily_bin776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424548/ft1_4FGL_J1424.2+0433_daily_bin776.fits outfile=/scratch/kocevski/424548/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin776.fits ra=216.051 dec=4.5628 rad=12.0 tmin=440467201.0 tmax=440726401.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.25
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424548/ft1_filtered_4FGL_J1424.2+0433_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/424548/ft2_4FGL_J1424.2+0433_daily_bin776.fits sctable="SC_DATA" expcube=/scratch/kocevski/424548/ltcube_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.fits outfile=/scratch/kocevski/424548/expmap_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.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/424548/ltcube_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.fits
.....................!
real 191.21
user 186.10
sys 4.71

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/424548/ft1_filtered_4FGL_J1424.2+0433_daily_bin776.fits scfile=/scratch/kocevski/424548/ft2_4FGL_J1424.2+0433_daily_bin776.fits outfile=/scratch/kocevski/424548/cmap_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424548/ft1_filtered_4FGL_J1424.2+0433_daily_bin776.fits scfile=/scratch/kocevski/424548/ft2_4FGL_J1424.2+0433_daily_bin776.fits outfile=/scratch/kocevski/424548/cmap_HighResolution_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.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/424548/ft1_filtered_4FGL_J1424.2+0433_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/424548/ft2_4FGL_J1424.2+0433_daily_bin776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424548/Model_4FGL_J1424.2+0433_daily_bin776.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/424548/ft1_filtered_4FGL_J1424.2+0433_daily_bin776.fits.....................!
real 61.78
user 60.36
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5304       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10681E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.3112       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.601       1.0000         .10000E-03   10000.    
     9 'norm      '    8.5298       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8710       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    108.70       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29988E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2817       1.0000         .10000E-03   10000.    
    17 'norm      '    .59068E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    3.3381       1.0000         .10000E-03   10000.    
    19 'norm      '    5.3911       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91063       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1378       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=   8454.663     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2216 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5291        4.1927       -.25011E-08   -.33169E-03
   2  Prefactor     .10000E-03    6.2273       -.18521E-05** at limit **
   3  Prefactor     .10013E-03    3.2975        .16205E-05** at limit **
   4  Prefactor     .10000E-03    6.2453       -.29643E-05** at limit **
   5  Prefactor     12.150        13.319        .28325E-06    .24895E-04
   6  Prefactor     .10000E-03    41.596       -.35214E-05** at limit **
   7  norm          6.3104        6.2741        .18941E-07    .13019E-04
   8  Prefactor     19.602        23.727        .18480E-06   -.76363E-05
   9  norm          8.5362        19.245        .39463E-05    .13694E-04
  10  Prefactor     1.8819        1.7851        .47684E-06   -.28932E-02
  11  Prefactor     .10000E-03    11.936       -.12730E-04** at limit **
  12  Prefactor     108.69        65.607       -.77654E-05   -.54744E-04
  13  Prefactor     .10000E-03    9.9586        .80330E-05** at limit **
  14  norm          .10000E-03    6.0338        .38332E-05** at limit **
  15  Prefactor     .10000E-03    8.3823        .23753E-06** at limit **
  16  Prefactor     5.2846        13.023       -.45574E-06    .87055E-05
  17  norm          .59182E-01    .10100       -.58602E-07   -.24596E-02
  18  norm          3.3368        2.4046        .54005E-07   -.92018E-04
  19  norm          5.3888        5.9788        .11785E-07   -.63014E-03
  20  Normalizat    .91045        .18910        .27385E-06   -.65504E-05
  21  Prefactor     1.1380        .12154        .52171E-07   -.68431E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52915
  Prefactor  = 0.0001
  Prefactor  = 0.000100131
  Prefactor  = 0.0001
  Prefactor  = 12.1499
  Prefactor  = 0.0001
  norm       = 6.31041
  Prefactor  = 19.6022
  norm       = 8.53619
  Prefactor  = 1.88194
  Prefactor  = 0.0001
  Prefactor  = 108.686
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.28455
  norm       = 0.059182
  norm       = 3.33679
  norm       = 5.38883
  Normalizat = 0.910446
  Prefactor  = 1.13798
 **********
 **   18 **HESSE 
 **********

 FCN=   8454.663     FROM HESSE     STATUS=OK           325 CALLS     2541 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5291        4.1994        .29150E-03   -1.5461    
   2  Prefactor     .10000E-03    6.2427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10013E-03    16.417        .31785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.150        13.320        .11490E-03   -1.5011    
   6  Prefactor     .10000E-03    41.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3104        6.2783        .15978E-03   -1.5206    
   8  Prefactor     19.602        23.822        .90468E-04   -1.4822    
   9  norm          8.5362        19.224        .13725E-03   -1.5124    
  10  Prefactor     1.8819        4.6293        .15086E-02   -1.5434    
  11  Prefactor     .10000E-03    12.097        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     108.69        66.012        .38577E-04   -1.3619    
  13  Prefactor     .10000E-03    10.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.0557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    55.353        .51380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2846        13.002        .17489E-03   -1.5248    
  17  norm          .59182E-01    .80531E-01    .36997E-03   -1.5659    
  18  norm          3.3368        2.3992        .11514E-03   -1.5343    
  19  norm          5.3888        6.0285        .86537E-03   -1.5244    
  20  Normalizat    .91045        .22216        .31567E-03   -.96094    
  21  Prefactor     1.1380        .14356        .19036E-03   -.88262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76608e-08
Minuit parameter uncertainties:
  1  4.2002
  2  9.71019e-06
  3  0.00293307
  4  1.19773e-05
  5  13.3231
  6  1.33591e-05
  7  6.27896
  8  23.8337
  9  19.2376
  10  4.6302
  11  5.89625e-05
  12  66.0563
  13  5.44782e-05
  14  1.84554e-05
  15  0.000743751
  16  13.0089
  17  0.0805309
  18  2.39931
  19  6.02919
  20  0.222379
  21  0.14361
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  8.536e+00  1.924e+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:  1.138e+00  1.436e-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:  9.104e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/424548/likelihoodResults_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.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) = 8453.70925008
delta logL = 0.953300979732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8453.66090971
delta logL = 1.00164135014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30128       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9995       1.0000          .0000       5.0000    
     3 'Normalizat'    .79961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1864       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=   8453.661     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      421 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30089        5.9318        .76907E-02   -.62266E-03
   2  alpha         5.0000        4.5446        .46280    ** at limit **
   3  Normalizat    .79941        .80737E-01    .75549E-01   -.21813E-03
   4  Prefactor     1.1865        .52880E-01    .34961E-01    .61404E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.300892
  alpha      = 5
  Normalizat = 0.799412
  Prefactor  = 1.18648
 **********
 **   18 **HESSE 
 **********

 FCN=   8453.661     FROM HESSE     STATUS=OK            35 CALLS      456 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30089        .26507        .34939E-03   -1.5598    
   2  alpha         5.0000        .84161        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .79941        .22618        .33439E-03   -1.0009    
   4  Prefactor     1.1865        .14588        .18681E-03   -.86749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27148e-09
Minuit parameter uncertainties:
  1  0.265068
  2  5.39928e-06
  3  0.226442
  4  0.145925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424548': 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) = 8453.6609004
delta logL = 1.00165065189

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.009e-01  2.651e-01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  5.000e+00  5.399e-06  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:  1.186e+00  1.459e-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:  7.994e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 216.051 4.563
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.82e-08 +/- 7.73e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.09e-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/424548/cmap_HighResolution_440467201_440726401_4FGL_J1424.2+0433_daily_bin776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='1.00e+00', photon_flux2='8.82e-08', job_status='DONE', time_completed='2021-09-09 14:05:33.653299', photon_index_error2='0.00', photon_index2='5.00', ts='0.26', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.62e-08', energy_flux_error2='1.09e-05', EG='0.91', time_epoch_completed='1631221533.65', return_code='0', job_id='424548', GAL2='1.19', EG2='0.80', return_code2='0', photon_flux_error2='7.73e-08', ts2='2.49', photon_index='1.98' WHERE bin_id='776' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:05:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 424548: <4FGL_J1424.2+0433_daily_bin776> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin776> 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) <bullet0181>, 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:05:34 2021
Results reported at Thu Sep  9 14:05:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin776 216.051 4.5628 440467201 440726401 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 :                                   668.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

