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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin254
RA = 216.051, Dec = 4.5628
tmin = 305164801, tmax = 305424001
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='421130', job_status='RUN', time_executed='2021-09-09 13:41:58.129132', time_epoch_executed='1631220118.13' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='254'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421130

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421130/ft1_4FGL_J1424.2+0433_daily_bin254.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421130/ft1_4FGL_J1424.2+0433_daily_bin254.fits outfile=/scratch/kocevski/421130/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin254.fits ra=216.051 dec=4.5628 rad=12.0 tmin=305164801.0 tmax=305424001.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.54
user 3.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/421130/ft1_filtered_4FGL_J1424.2+0433_daily_bin254.fits" evtable="EVENTS" scfile=/scratch/kocevski/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits sctable="SC_DATA" outfile=/scratch/kocevski/421130/ltcube_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.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/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits
.....................!
real 12.26
user 11.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421130/ft1_filtered_4FGL_J1424.2+0433_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits sctable="SC_DATA" expcube=/scratch/kocevski/421130/ltcube_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.fits outfile=/scratch/kocevski/421130/expmap_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.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/421130/ltcube_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.fits
.....................!
real 190.98
user 185.56
sys 4.99

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/421130/ft1_filtered_4FGL_J1424.2+0433_daily_bin254.fits scfile=/scratch/kocevski/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits outfile=/scratch/kocevski/421130/cmap_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421130/ft1_filtered_4FGL_J1424.2+0433_daily_bin254.fits scfile=/scratch/kocevski/421130/ft2_4FGL_J1424.2+0433_daily_bin254.fits outfile=/scratch/kocevski/421130/cmap_HighResolution_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.051 yref=4.5628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    33.099       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11982E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19691E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.355       1.0000         .10000E-03   10000.    
     7 'norm      '    32.784       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6065       1.0000         .10000E-03   10000.    
     9 'norm      '    .10339E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .81299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.698       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.8543       1.0000         .10000E-03   10000.    
    14 'norm      '    .11366E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.254       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1163       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0574       1.0000         .10000E-03   10000.    
    18 'norm      '    5.0199       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1360       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98463       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=   7113.216     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2204 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9681        .24840E-07** at limit **
   2  Prefactor     33.074        30.551       -.55675E-06   -.16043E-03
   3  Prefactor     .10000E-03    4.2909        .84507E-07** at limit **
   4  Prefactor     .10000E-03    21.729       -.21548E-05** at limit **
   5  Prefactor     .10000E-03    34.251       -.23743E-06** at limit **
   6  Prefactor     31.366        26.085       -.40421E-06    .37567E-04
   7  norm          32.783        15.582        .50922E-07   -.85036E-05
   8  Prefactor     9.5932        23.745        .60392E-07   -.58543E-04
   9  norm          .10000E-03    25.632       -.18210E-06** at limit **
  10  Prefactor     .81215        6.1279        .41571E-05   -.63700E-05
  11  Prefactor     .10000E-03    2.4435       -.72082E-08** at limit **
  12  Prefactor     15.699        57.636        .55166E-06    .34297E-05
  13  Prefactor     9.8455        25.712        .32496E-06   -.29618E-04
  14  norm          .10000E-03    14.717       -.63687E-06** at limit **
  15  Prefactor     15.258        27.799        .22436E-06    .13588E-04
  16  Prefactor     2.1162        14.527        .11930E-05   -.44556E-05
  17  norm          1.0575        .27651       -.23654E-08   -.14496E-03
  18  norm          5.0198        2.3481        .49965E-07   -.18139E-04
  19  norm          .10000E-03    7.0582        .11494E-06** at limit **
  20  Normalizat    1.1356        .21428        .57393E-06   -.10229E-03
  21  Prefactor     .98489        .13410       -.10199E-05   -.98995E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.3656
  norm       = 32.7835
  Prefactor  = 9.59323
  norm       = 0.0001
  Prefactor  = 0.812152
  Prefactor  = 0.0001
  Prefactor  = 15.6993
  Prefactor  = 9.84553
  norm       = 0.0001
  Prefactor  = 15.2579
  Prefactor  = 2.11624
  norm       = 1.05746
  norm       = 5.01983
  norm       = 0.0001
  Normalizat = 1.1356
  Prefactor  = 0.984888
 **********
 **   18 **HESSE 
 **********

 FCN=   7113.216     FROM HESSE     STATUS=OK           321 CALLS     2525 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9997        .11551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.074        30.479        .69650E-04   -1.4557    
   3  Prefactor     .10000E-03    14.802        .33542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    34.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.366        26.117        .71556E-04   -1.4587    
   7  norm          32.783        15.585        .69983E-04   -1.4562    
   8  Prefactor     9.5932        23.783        .12929E-03   -1.5088    
   9  norm          .10000E-03    25.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81215        6.1901        .40572E-03   -1.5528    
  11  Prefactor     .10000E-03    2.4468        .12874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.699        57.635        .10109E-03   -1.4915    
  13  Prefactor     9.8455        25.644        .12765E-03   -1.5080    
  14  norm          .10000E-03    14.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.258        27.779        .10255E-03   -1.4927    
  16  Prefactor     2.1162        14.508        .28354E-03   -1.5417    
  17  norm          1.0575        .27632        .21588E-04   -1.5502    
  18  norm          5.0198        2.3467        .85103E-04   -1.5260    
  19  norm          .10000E-03    7.3082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1356        .25420        .30420E-03   -.88617    
  21  Prefactor     .98489        .15864        .20854E-03   -.93235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51144e-10
Minuit parameter uncertainties:
  1  1.48218e-06
  2  30.4936
  3  7.91384e-05
  4  4.7789e-05
  5  4.44769e-05
  6  26.1264
  7  15.587
  8  23.8068
  9  0.000136062
  10  4.4847
  11  4.52474e-06
  12  57.8406
  13  25.6724
  14  2.10367e-05
  15  27.8028
  16  11.0854
  17  0.276321
  18  2.34672
  19  5.57021e-06
  20  0.254472
  21  0.158718
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  1.361e-04  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.849e-01  1.587e-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.136e+00  2.545e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421130/likelihoodResults_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.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): 102
logL (Free Index) = 7113.21665099
delta logL = -0.000185136788787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7113.17258972
delta logL = 0.0438761270061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57274E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1131       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7113.173     FROM MIGRAD    STATUS=FAILED        98 CALLS      298 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57246E-01    .21534        .58625E-03    .18079E-01
   2  alpha         5.0000        4.8181        .50000    ** at limit **
   3  Normalizat    1.1131        .25770        .30693E-03   -.54226E-04
   4  Prefactor     .99372        .16113        .20774E-03    .20796E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7113.173     FROM SIMPLEX   STATUS=PROGRESS     140 CALLS      438 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57246E-01    .21534        .27204E-07   -1.5660    
   2  alpha         5.0000        4.8181        .17293E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1131        .25770        .55925E-06   -.89331    
   4  Prefactor     .99372        .16113        .77213E-07   -.92939    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7113.173     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      476 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57246E-01    .20695        .11725E-03    .12479E-03
   2  alpha         5.0000        4.7559        .50000    ** at limit **
   3  Normalizat    1.1131        .25843        .12277E-04    .12593E-04
   4  Prefactor     .99372        .16144        .83094E-05    .10398E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.057246
  alpha      = 5
  Normalizat = 1.11314
  Prefactor  = 0.993719
 **********
 **   18 **HESSE 
 **********

 FCN=   7113.173     FROM HESSE     STATUS=OK            27 CALLS      503 TOTAL
                     EDM=   .83E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57246E-01    .20567        .46900E-05   -1.5660    
   2  alpha         5.0000        4.7465        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1131        .25852        .24555E-05   -.89331    
   4  Prefactor     .99372        .16146        .16619E-05   -.92939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28334e-13
Minuit parameter uncertainties:
  1  0.205668
  2  6.05934e-07
  3  0.258814
  4  0.161542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421130': 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) = 7113.17258964
delta logL = 0.0438762126605

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  5.725e-02  2.057e-01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  5.000e+00  6.059e-07  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.937e-01  1.615e-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.113e+00  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/421130/cmap_HighResolution_305164801_305424001_4FGL_J1424.2+0433_daily_bin254.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-09 13:52:15.773018', job_id='421130', GAL2='0.99', fit_tolerance='1e-08', EG2='1.11', EG='1.14', time_epoch_completed='1631220735.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.39e-02', ts2='0.10', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='254' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:52:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 421130: <4FGL_J1424.2+0433_daily_bin254> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin254> 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) <bullet0072>, 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:52:16 2021
Results reported at Thu Sep  9 13:52:16 2021

Your job looked like:

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

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

