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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin783
RA = 216.051, Dec = 4.5628
tmin = 442281601, tmax = 442540801
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='424558', job_status='RUN', time_executed='2021-09-09 13:55:21.386649', time_epoch_executed='1631220921.39' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='783'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424558

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424558/ft1_4FGL_J1424.2+0433_daily_bin783.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424558/ft2_4FGL_J1424.2+0433_daily_bin783.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424558/ft1_4FGL_J1424.2+0433_daily_bin783.fits outfile=/scratch/kocevski/424558/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin783.fits ra=216.051 dec=4.5628 rad=12.0 tmin=442281601.0 tmax=442540801.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.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424558/ft1_filtered_4FGL_J1424.2+0433_daily_bin783.fits" evtable="EVENTS" scfile=/scratch/kocevski/424558/ft2_4FGL_J1424.2+0433_daily_bin783.fits sctable="SC_DATA" outfile=/scratch/kocevski/424558/ltcube_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.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/424558/ft2_4FGL_J1424.2+0433_daily_bin783.fits
.....................!
real 16.35
user 15.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424558/ft1_filtered_4FGL_J1424.2+0433_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/424558/ft2_4FGL_J1424.2+0433_daily_bin783.fits sctable="SC_DATA" expcube=/scratch/kocevski/424558/ltcube_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.fits outfile=/scratch/kocevski/424558/expmap_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.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/424558/ltcube_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.fits
.....................!
real 191.16
user 186.80
sys 3.95

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

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

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424558/ft1_filtered_4FGL_J1424.2+0433_daily_bin783.fits scfile=/scratch/kocevski/424558/ft2_4FGL_J1424.2+0433_daily_bin783.fits outfile=/scratch/kocevski/424558/cmap_HighResolution_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.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.60
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96865       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1669       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4112       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3960       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.611       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.462       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.351       1.0000         .10000E-03   10000.    
     9 'norm      '    16.512       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.932       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11665E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.282       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14103E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8594       1.0000         .10000E-03   10000.    
    17 'norm      '    .60904       1.0000         .10000E-03   10000.    
    18 'norm      '    .60316       1.0000         .10000E-03   10000.    
    19 'norm      '    8.6504       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .89602       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97768       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=   6068.496     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2291 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96898        3.3222        .43931E-06   -.10172E-04
   2  Prefactor     1.1643        100.80        .17103E-04   -.53361E-05
   3  Prefactor     3.4112        2.9133        .22772E-07   -.68000E-05
   4  Prefactor     7.3993        16.021        .45193E-06   -.82393E-05
   5  Prefactor     32.615        24.213       -.15582E-06   -.15147E-04
   6  Prefactor     .10000E-03    46.146        .45248E-06** at limit **
   7  norm          14.461        11.119        .96562E-07   -.25658E-05
   8  Prefactor     20.364        23.649       -.45595E-06   -.77868E-05
   9  norm          16.512        17.458       -.14637E-07   -.37272E-05
  10  Prefactor     .10000E-03    6.4012       -.99740E-07** at limit **
  11  Prefactor     13.930        11.679        .29611E-06    .45179E-05
  12  Prefactor     21.607        70.099        .19050E-04   -.19366E-07
  13  Prefactor     .10000E-03    47.498       -.28090E-06** at limit **
  14  norm          15.283        16.274       -.11849E-06    .45558E-05
  15  Prefactor     .10000E-03    58.025       -.12323E-05** at limit **
  16  Prefactor     3.8430        15.272        .40275E-06    .24850E-05
  17  norm          .60903        .22399        .14040E-07    .16050E-03
  18  norm          .60238        1.3585       -.28771E-06   -.50875E-03
  19  norm          8.6489        6.3939       -.32829E-07    .52271E-05
  20  Normalizat    .89527        .22087       -.20211E-06    .38668E-04
  21  Prefactor     .97820        .13521       -.66224E-06    .67228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.968982
  Prefactor  = 1.16435
  Prefactor  = 3.41116
  Prefactor  = 7.39934
  Prefactor  = 32.6146
  Prefactor  = 0.0001
  norm       = 14.4612
  Prefactor  = 20.3636
  norm       = 16.5118
  Prefactor  = 0.0001
  Prefactor  = 13.9299
  Prefactor  = 21.6066
  Prefactor  = 0.0001
  norm       = 15.2827
  Prefactor  = 0.0001
  Prefactor  = 3.84295
  norm       = 0.609027
  norm       = 0.602382
  norm       = 8.64895
  Normalizat = 0.895267
  Prefactor  = 0.978203
 **********
 **   18 **HESSE 
 **********

 FCN=   6068.496     FROM HESSE     STATUS=OK           335 CALLS     2626 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96898        3.3329        .24843E-03   -1.5511    
   2  Prefactor     1.1643        12.320        .15480       -1.5492    
   3  Prefactor     3.4112        2.9169        .11975E-03   -1.5339    
   4  Prefactor     7.3993        16.073        .14748E-03   -1.5164    
   5  Prefactor     32.615        24.198        .70168E-04   -1.4565    
   6  Prefactor     .10000E-03    47.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.461        11.121        .10532E-03   -1.4947    
   8  Prefactor     20.364        23.742        .88785E-04   -1.4805    
   9  norm          16.512        17.455        .98566E-04   -1.4895    
  10  Prefactor     .10000E-03    6.4437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.930        11.723        .10731E-03   -1.4961    
  12  Prefactor     21.607        69.844        .85874E-04   -1.4778    
  13  Prefactor     .10000E-03    47.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.283        16.224        .10245E-03   -1.4926    
  15  Prefactor     .10000E-03    59.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8430        15.269        .20541E-03   -1.5316    
  17  norm          .60903        .22471        .21484E-04   -1.5552    
  18  norm          .60238        1.2094        .13233E-02   -1.5553    
  19  norm          8.6489        6.3958        .13629E-03   -1.5120    
  20  Normalizat    .89527        .27184        .29820E-03   -.96627    
  21  Prefactor     .97820        .16696        .19028E-03   -.93460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40278e-10
Minuit parameter uncertainties:
  1  3.33358
  2  7.57642
  3  2.917
  4  16.0825
  5  24.2056
  6  1.89092e-05
  7  11.1228
  8  23.7527
  9  17.4604
  10  4.8603e-06
  11  11.7251
  12  70.1101
  13  8.90376e-05
  14  16.2282
  15  3.95866e-05
  16  15.2841
  17  0.224706
  18  1.20945
  19  6.39629
  20  0.272254
  21  0.167052
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.651e+01  1.746e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.782e-01  1.671e-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:  8.953e-01  2.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.50e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 9.86e-06 +/- 1.04e-05

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

Saving results to:
/scratch/kocevski/424558/likelihoodResults_442281601_442540801_4FGL_J1424.2+0433_daily_bin783.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) = 6068.48223454
delta logL = 0.0138108246338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6068.47850008
delta logL = 0.0175452898693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.858       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2855       1.0000          .0000       5.0000    
     3 'Normalizat'    .88628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98190       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=   6068.478     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      238 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.853        21.565        .10391E-03   -.20714E-03
   2  alpha         2.2863        1.8027        .24927E-01   -.38906E-04
   3  Normalizat    .88631        .25597        .29953E-03   -.65152E-03
   4  Prefactor     .98188        .16666        .18995E-03   -.14380E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 14.853
  alpha      = 2.28633
  Normalizat = 0.886312
  Prefactor  = 0.981882
 **********
 **   18 **HESSE 
 **********

 FCN=   6068.478     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.853        19.895        .20781E-04   -1.4937    
   2  alpha         2.2863        1.6871        .99706E-03   -.85573E-01
   3  Normalizat    .88631        .25364        .59907E-04   -.96943    
   4  Prefactor     .98188        .16607        .37991E-04   -.93336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00021e-09
Minuit parameter uncertainties:
  1  19.9044
  2  1.85353
  3  0.253985
  4  0.166156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424558': 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) = 6068.47849992
delta logL = 0.0175454442669

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.485e+01  1.990e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.286e+00  1.854e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.819e-01  1.662e-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:  8.863e-01  2.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 216.051 4.563
Photon Index (Free Index): 2.29 +/- 1.85
Photon Flux (Free Index): 2.07e-08 +/- 4.56e-08
Energy Flux (Free Index): 8.90e-06 +/- 9.40e-06

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-05', comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='8.90e-06', photon_flux_error='1.58e-08', dlogl='1.75e-02', energy_flux='9.86e-06', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-09 14:04:55.035067', photon_index_error2='1.85', photon_index2='2.29', ts='2.83', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.36e-08', energy_flux_error2='9.40e-06', EG='0.90', time_epoch_completed='1631221495.04', return_code='0', job_id='424558', GAL2='0.98', EG2='0.89', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='4.56e-08', ts2='2.87', photon_index='1.98' WHERE bin_id='783' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:04:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 424558: <4FGL_J1424.2+0433_daily_bin783> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin783> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:51:11 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:51:12 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:12 2021
Terminated at Thu Sep  9 14:04:55 2021
Results reported at Thu Sep  9 14:04:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin783 216.051 4.5628 442281601 442540801 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 :                                   571.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             220.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

