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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin419
RA = 216.051, Dec = 4.5628
tmin = 347932801, tmax = 348192001
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='421402', job_status='RUN', time_executed='2021-09-09 13:45:03.905077', time_epoch_executed='1631220303.91' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421402

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421402/ft1_4FGL_J1424.2+0433_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits


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

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

Done.
real 3.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/421402/ft1_filtered_4FGL_J1424.2+0433_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/421402/ltcube_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.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/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits
.....................!
real 11.69
user 11.36
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421402/ft1_filtered_4FGL_J1424.2+0433_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/421402/ltcube_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.fits outfile=/scratch/kocevski/421402/expmap_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.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/421402/ltcube_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.fits
.....................!
real 189.47
user 185.21
sys 3.93

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/421402/ft1_filtered_4FGL_J1424.2+0433_daily_bin419.fits scfile=/scratch/kocevski/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits outfile=/scratch/kocevski/421402/cmap_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.051 yref=4.5628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421402/ft1_filtered_4FGL_J1424.2+0433_daily_bin419.fits scfile=/scratch/kocevski/421402/ft2_4FGL_J1424.2+0433_daily_bin419.fits outfile=/scratch/kocevski/421402/cmap_HighResolution_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.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.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10044E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1761       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.5561       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6181       1.0000         .10000E-03   10000.    
     9 'norm      '    2.9387       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0331       1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.147       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10808E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.905       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .30381       1.0000         .10000E-03   10000.    
    18 'norm      '    .76402E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    1.6499       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8438.065     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     1828 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1002       -.49182E-06** at limit **
   2  Prefactor     .10004E-03    7.3794        .19566E-04** at limit **
   3  Prefactor     .10000E-03    1.0638       -.23384E-06** at limit **
   4  Prefactor     7.1764        1.0134        .23840E-07   -.50762E-04
   5  Prefactor     .10005E-03    16.009        .39873E-04** at limit **
   6  Prefactor     .10001E-03    6.3879       -.67868E-05** at limit **
   7  norm          9.5558        1.0043        .14167E-06    .11426E-03
   8  Prefactor     6.6196        1.0549        .75935E-06   -.35636E-03
   9  norm          2.9382        1.0221       -.40024E-06    .49019E-04
  10  Prefactor     .10000E-03    2.1203        .20188E-06** at limit **
  11  Prefactor     5.0340        1.0108        .24331E-06   -.13832E-04
  12  Prefactor     65.147        1.0002        .14033E-07   -.12377E-03
  13  Prefactor     .10002E-03    11.465       -.27360E-04** at limit **
  14  norm          .10000E-03    35.842       -.34334E-04** at limit **
  15  Prefactor     14.909        1.0889        .58763E-06   -.36226E-03
  16  Prefactor     .10000E-03    12.396        .50528E-05** at limit **
  17  norm          .30375        .15320       -.44828E-07   -.24527E-02
  18  norm          .74593E-01    4.1391        .17862E-05   -.50890E-04
  19  norm          1.6497        3.0508       -.16468E-05   -.85315E-04
  20  Normalizat    1.0325        .19971       -.71018E-07   -.38998E-03
  21  Prefactor     1.0056        .13276        .25012E-07   -.59718E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  Prefactor  = 0.0001
  Prefactor  = 7.17641
  Prefactor  = 0.000100048
  Prefactor  = 0.000100009
  norm       = 9.55576
  Prefactor  = 6.61961
  norm       = 2.93818
  Prefactor  = 0.0001
  Prefactor  = 5.03402
  Prefactor  = 65.1466
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 14.9085
  Prefactor  = 0.0001
  norm       = 0.303748
  norm       = 0.0745931
  norm       = 1.64972
  Normalizat = 1.03253
  Prefactor  = 1.00558
 **********
 **   18 **HESSE 
 **********

 FCN=   8438.065     FROM HESSE     STATUS=OK           369 CALLS     2197 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0904        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10004E-03    20.146        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.0604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1764        11.924        .37435E-02   -1.5172    
   5  Prefactor     .10005E-03    23.633        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    18.467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.5558        7.0409        .32409E-02   -1.5090    
   8  Prefactor     6.6196        20.595        .38997E-02   -1.5193    
   9  norm          2.9382        23.466        .59234E-02   -1.5365    
  10  Prefactor     .10000E-03    2.1183        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0340        8.6619        .44810E-02   -1.5259    
  12  Prefactor     65.147        51.938        .12430E-02   -1.4092    
  13  Prefactor     .10002E-03    17.391        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.2671        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.909        15.068        .25936E-02   -1.4936    
  16  Prefactor     .10000E-03    12.346        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30375        .15468        .56067E-02   -1.5598    
  18  norm          .74593E-01    .64915        .41218E-01   -1.5653    
  19  norm          1.6497        3.0891        .82179E-02   -1.5451    
  20  Normalizat    1.0325        .17416        .64228E-01   -.91948    
  21  Prefactor     1.0056        .11116        .44085E-01   -.92544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61253e-08
Minuit parameter uncertainties:
  1  4.5853e-06
  2  0.00171475
  3  9.91526e-07
  4  11.9277
  5  0.00213689
  6  0.000826819
  7  7.04151
  8  20.6167
  9  16.6157
  10  1.65211e-05
  11  8.66401
  12  51.9738
  13  0.00117411
  14  2.05541e-05
  15  15.0719
  16  2.32798e-05
  17  0.154679
  18  0.439813
  19  3.08937
  20  0.17426
  21  0.11119
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.938e+00  1.662e+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.006e+00  1.112e-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.033e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421402/likelihoodResults_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.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) = 8437.73960022
delta logL = 0.325080335513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8437.68593756
delta logL = 0.378742996456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7578       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2437       1.0000          .0000       5.0000    
     3 'Normalizat'    .99666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0154       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=   8437.686     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      222 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7679        119.77        .46115E-02    .45201E-03
   2  alpha         3.2430        4.0464        .43729        .66466E-04
   3  Normalizat    .99672        .42240E-01    .46125E-01   -.18910E-04
   4  Prefactor     1.0153        .26744E-01    .42635E-01    .19138E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.76789
  alpha      = 3.24305
  Normalizat = 0.996719
  Prefactor  = 1.01531
 **********
 **   18 **HESSE 
 **********

 FCN=   8437.686     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7679        14.366        .18446E-03   -1.5271    
   2  alpha         3.2430        1.5354        .15985E-01    .30178    
   3  Normalizat    .99672        .20702        .28829E-03   -.93140    
   4  Prefactor     1.0153        .13419        .18866E-03   -.92221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43238e-11
Minuit parameter uncertainties:
  1  14.3768
  2  1.66777
  3  0.207184
  4  0.134237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421402': 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) = 8437.68593688
delta logL = 0.378743672463

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  4.768e+00  1.438e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  3.243e+00  1.668e+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:  1.015e+00  1.342e-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.967e-01  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/421402/cmap_HighResolution_347932801_348192001_4FGL_J1424.2+0433_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2021-09-09 13:57:06.997704', job_id='421402', GAL2='1.02', fit_tolerance='1e-08', EG2='1.00', EG='1.03', time_epoch_completed='1631221027.0', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.79e-01', ts2='0.81', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='419' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:57:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 421402: <4FGL_J1424.2+0433_daily_bin419> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin419 216.051 4.5628 347932801 348192001 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 :                                   625.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

