/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 139 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 = 7381
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin255
RA = 216.051, Dec = 4.5628
tmin = 305424001, tmax = 305683201
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='421132', job_status='RUN', time_executed='2021-09-09 13:44:08.753510', time_epoch_executed='1631220248.75' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421132

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421132/ft1_4FGL_J1424.2+0433_daily_bin255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421132/ft2_4FGL_J1424.2+0433_daily_bin255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421132/ft1_4FGL_J1424.2+0433_daily_bin255.fits outfile=/scratch/kocevski/421132/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin255.fits ra=216.051 dec=4.5628 rad=12.0 tmin=305424001.0 tmax=305683201.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.44
user 3.25
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/421132/ft2_4FGL_J1424.2+0433_daily_bin255.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/421132/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin255.fits evtable="EVENTS" outfile="/scratch/kocevski/421132/ft1_filtered_4FGL_J1424.2+0433_daily_bin255.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421132/ft1_filtered_4FGL_J1424.2+0433_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/421132/ft2_4FGL_J1424.2+0433_daily_bin255.fits sctable="SC_DATA" expcube=/scratch/kocevski/421132/ltcube_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.fits outfile=/scratch/kocevski/421132/expmap_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.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/421132/ltcube_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.fits
.....................!
real 191.44
user 186.28
sys 4.79

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/421132/ft1_filtered_4FGL_J1424.2+0433_daily_bin255.fits scfile=/scratch/kocevski/421132/ft2_4FGL_J1424.2+0433_daily_bin255.fits outfile=/scratch/kocevski/421132/cmap_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421132/ft1_filtered_4FGL_J1424.2+0433_daily_bin255.fits scfile=/scratch/kocevski/421132/ft2_4FGL_J1424.2+0433_daily_bin255.fits outfile=/scratch/kocevski/421132/cmap_HighResolution_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7206       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2614       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12468E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3712       1.0000         .10000E-03   10000.    
     9 'norm      '    11.151       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21186E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    55.179       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.4903       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.410       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .74756       1.0000         .10000E-03   10000.    
    18 'norm      '    .71579       1.0000         .10000E-03   10000.    
    19 'norm      '    10.051       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4145       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84081       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=   7254.299     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2187 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3801       -.14382E-08** at limit **
   2  Prefactor     .10000E-03    28.238        .20656E-04** at limit **
   3  Prefactor     .10000E-03    2.2035        .42695E-07** at limit **
   4  Prefactor     9.7225        11.567       -.68849E-06   -.13047E-03
   5  Prefactor     6.2626        18.642       -.39541E-06   -.47421E-04
   6  Prefactor     .10000E-03    97.416       -.15341E-04** at limit **
   7  norm          22.334        12.104       -.84608E-07    .49643E-05
   8  Prefactor     5.3719        20.051       -.34044E-06   -.28920E-04
   9  norm          11.152        20.971       -.16664E-06   -.23797E-05
  10  Prefactor     .10000E-03    3.1502       -.15659E-07** at limit **
  11  Prefactor     .10063E-03    5.9823        .25740E-05** at limit **
  12  Prefactor     55.184        52.075        .47989E-05    .23515E-04
  13  Prefactor     .10000E-03    30.802       -.31448E-04** at limit **
  14  norm          8.4983        16.696       -.13363E-05    .29809E-03
  15  Prefactor     34.413        22.845       -.30001E-08    .32709E-04
  16  Prefactor     .10000E-03    12.377        .15844E-06** at limit **
  17  norm          .74759        .23452       -.32009E-07    .10897E-03
  18  norm          .71604        1.7182       -.71474E-06   -.15791E-02
  19  norm          10.052        7.3006        .32079E-05    .19935E-05
  20  Normalizat    1.4144        .20652        .41209E-09   -.17540E-03
  21  Prefactor     .84081        .12711       -.10191E-06   -.11875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.7225
  Prefactor  = 6.2626
  Prefactor  = 0.0001
  norm       = 22.3343
  Prefactor  = 5.37193
  norm       = 11.1522
  Prefactor  = 0.0001
  Prefactor  = 0.000100631
  Prefactor  = 55.1842
  Prefactor  = 0.0001
  norm       = 8.49828
  Prefactor  = 34.4127
  Prefactor  = 0.0001
  norm       = 0.74759
  norm       = 0.716041
  norm       = 10.0517
  Normalizat = 1.41442
  Prefactor  = 0.840814
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.299     FROM HESSE     STATUS=OK           317 CALLS     2504 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4124        .12826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2455        .12346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7225        11.575        .12853E-03   -1.5084    
   5  Prefactor     6.2626        18.621        .16042E-03   -1.5207    
   6  Prefactor     .10000E-03    99.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.334        12.107        .84757E-04   -1.4762    
   8  Prefactor     5.3719        20.033        .17340E-03   -1.5244    
   9  norm          11.152        20.937        .11997E-03   -1.5040    
  10  Prefactor     .10000E-03    3.1607        .14758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10063E-03    41.931        .39644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.184        52.095        .54000E-04   -1.4221    
  13  Prefactor     .10000E-03    30.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.4983        16.625        .13758E-03   -1.5125    
  15  Prefactor     34.413        22.860        .68315E-04   -1.4534    
  16  Prefactor     .10000E-03    12.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .74759        .23457        .22231E-04   -1.5535    
  18  norm          .71604        1.7080        .16708E-03   -1.5539    
  19  norm          10.052        7.2994        .12639E-03   -1.5074    
  20  Normalizat    1.4144        .24362        .27919E-03   -.80212    
  21  Prefactor     .84081        .15065        .22009E-03   -.98241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5819e-08
Minuit parameter uncertainties:
  1  4.82073e-07
  2  3.53252e-05
  3  1.42556e-07
  4  11.5773
  5  18.6387
  6  7.74587e-05
  7  12.1085
  8  20.0584
  9  20.9507
  10  6.26938e-06
  11  0.0102978
  12  52.1381
  13  0.000156028
  14  16.6337
  15  22.8657
  16  3.99429e-06
  17  0.234573
  18  1.70811
  19  7.3
  20  0.24382
  21  0.150726
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.115e+01  2.095e+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.408e-01  1.507e-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.414e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421132/likelihoodResults_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.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) = 7254.10153832
delta logL = 0.197287838319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7254.09672262
delta logL = 0.202103531044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.7743       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6971       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84458       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=   7254.097     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      242 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7666        18.508        .12817E-03    .74656E-03
   2  alpha         2.6987        1.1398        .19375E-01    .11786E-03
   3  Normalizat    1.3982        .23918        .28049E-03   -.15836E-02
   4  Prefactor     .84460        .14944        .21959E-03   -.22079E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 9.76657
  alpha      = 2.69874
  Normalizat = 1.39816
  Prefactor  = 0.844602
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.097     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7666        16.885        .51270E-05   -1.5083    
   2  alpha         2.6987        1.0457        .77498E-03    .79579E-01
   3  Normalizat    1.3982        .23912        .56098E-04   -.80682    
   4  Prefactor     .84460        .14944        .43917E-04   -.98105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80349e-09
Minuit parameter uncertainties:
  1  16.893
  2  1.07911
  3  0.239314
  4  0.149507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421132': 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) = 7254.09672112
delta logL = 0.202105034183

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.767e+00  1.689e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.699e+00  1.079e+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:  8.446e-01  1.495e-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.398e+00  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/421132/cmap_HighResolution_305424001_305683201_4FGL_J1424.2+0433_daily_bin255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-05', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-09 13:55:56.461514', job_id='421132', GAL2='0.84', fit_tolerance='1e-08', EG2='1.40', EG='1.41', time_epoch_completed='1631220956.46', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='255' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 421132: <4FGL_J1424.2+0433_daily_bin255> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin255 216.051 4.5628 305424001 305683201 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 :                                   587.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            861 sec.

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

