aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 38 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7548
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin1765
RA = 216.051, Dec = 4.5628
tmin = 696816001, tmax = 697075201
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='636888', job_status='RUN', time_executed='2023-02-03 01:07:25.285189', time_epoch_executed='1675415245.29' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636888

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636888/ft1_4FGL_J1424.2+0433_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636888/ft1_4FGL_J1424.2+0433_daily_bin1765.fits outfile=/scratch/kocevski/636888/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin1765.fits ra=216.051 dec=4.5628 rad=12.0 tmin=696816001.0 tmax=697075201.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.73
user 3.40
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.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/636888/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.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.51
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 673

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636888/ltcube_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.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/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits
.....................!
real 15.70
user 15.19
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636888/ltcube_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits outfile=/scratch/kocevski/636888/expmap_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.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/636888/ltcube_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits
.....................!
real 193.65
user 186.63
sys 6.01

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/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits scfile=/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits outfile=/scratch/kocevski/636888/cmap_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits scfile=/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits outfile=/scratch/kocevski/636888/cmap_HighResolution_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits', '/scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits', expMap='/scratch/kocevski/636888/expmap_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits', expCube='/scratch/kocevski/636888/ltcube_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636888/Model_4FGL_J1424.2+0433_daily_bin1765.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  0.000e+00  1.000e+06 ( 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 -5.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/636888/ft1_filtered_4FGL_J1424.2+0433_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/636888/ft2_4FGL_J1424.2+0433_daily_bin1765.fits
Exposure map: /scratch/kocevski/636888/expmap_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits
Exposure cube: /scratch/kocevski/636888/ltcube_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636888/Model_4FGL_J1424.2+0433_daily_bin1765.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) = 7540.57414256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0943       1.0000          .0000       .10000E+07
     2 'Prefactor '    .33167E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7705       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51297E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    23.893       1.0000          .0000       .10000E+07
     6 'Prefactor '    94.887       1.0000          .0000       .10000E+07
     7 'norm      '    9.1888       1.0000          .0000       .10000E+07
     8 'norm      '    17.818       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65555E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.5738       1.0000          .0000       .10000E+07
    11 'Prefactor '    26.121       1.0000          .0000       .10000E+07
    12 'norm      '    1.6601       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.966       1.0000          .0000       .10000E+07
    14 'norm      '    .24605       1.0000          .0000       .10000E+07
    15 'norm      '    .83566       1.0000          .0000       .10000E+07
    16 'norm      '    .31413E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .94388       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1811       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=   7540.490     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1340 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0846        4.5855       -.77572E-08   -.19294E-02
   2  Prefactor     .33307E-09    11.611        .14444E-07** at limit **
   3  Prefactor     2.7848        3.1653        .18085E-07    .13551E-02
   4  Prefactor      .0000        2.8390       -.19854E-07** at limit **
   5  Prefactor     24.096        20.322        .11685E-06    .26291E-03
   6  Prefactor     96.344        38.543       -.13703E-06   -.15850E-01
   7  norm          9.2026        8.1412       -.12463E-07   -.76855E-03
   8  norm          17.748        9.1052        .26714E-07    .13660    
   9  Prefactor      .0000        2.5787       -.34182E-08** at limit **
  10  Prefactor     26.009        89.499        .23997E-07   -.13798E-03
  11  Prefactor     26.226        65.445       -.21821E-06   -.33129E-01
  12  norm          1.2927        164.24        .84040E-06   -.19327E-01
  13  Prefactor     13.054        16.291        .19541E-06    .14745E-01
  14  norm          .24762        .18816        .82253E-09** at limit **
  15  norm          .87219        2.0596        .17027E-07    .11024E-02
  16  norm          .11102E-09    3.5059        .65764E-07** at limit **
  17  Normalizat    .93590        .25413       -.14503E-05   -.10038E-03
  18  Prefactor     1.1807        .16081        .43054E-06   -.75137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.08461
  Prefactor  = 3.33067e-10
  Prefactor  = 2.78477
  Prefactor  = 0
  Prefactor  = 24.0958
  Prefactor  = 96.3444
  norm       = 9.20261
  norm       = 17.7479
  Prefactor  = 0
  Prefactor  = 26.0092
  Prefactor  = 26.2257
  norm       = 1.29273
  Prefactor  = 13.0539
  norm       = 0.247621
  norm       = 0.872187
  norm       = 1.11022e-10
  Normalizat = 0.935895
  Prefactor  = 1.18071
 **********
 **   18 **HESSE 
 **********

 FCN=   7540.490     FROM HESSE     STATUS=OK           288 CALLS     1628 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0846        4.5792        .33211E-03   -1.5648    
   2  Prefactor     .33307E-09    11.598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7848        3.1670        .61117E-03   -1.5675    
   4  Prefactor      .0000        2.8449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.096        20.306        .20463E-03   -1.5610    
   6  Prefactor     96.344        38.608        .10267E-03   -1.5512    
   7  norm          9.2026        8.1394        .33038E-03   -1.5647    
   8  norm          17.748        22.410        .23700E-03   -1.5624    
   9  Prefactor      .0000        2.5842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.009        89.356        .32363E-03   -1.5606    
  11  Prefactor     26.226        98.877        .19570E-03   -1.5606    
  12  norm          1.2927        383.51        .81853E-03   -1.5685    
  13  Prefactor     13.054        16.385        .27792E-03   -1.5636    
  14  norm          .24762        .19830        .71606E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .87219        2.0672        .50314E-03   -1.5689    
  16  norm          .11102E-09    3.5011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93590        .21882        .76754E-01   -.95210    
  18  Prefactor     1.1807        .13793        .35094E-01   -.86927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27682e-07
Minuit parameter uncertainties:
  1  4.57918
  2  0.000122386
  3  3.16702
  4  8.26042e-06
  5  20.3062
  6  38.6084
  7  8.13938
  8  22.4105
  9  2.71623e-06
  10  89.3605
  11  98.8828
  12  44.5346
  13  16.3848
  14  0.198296
  15  2.06718
  16  3.54158e-05
  17  0.219025
  18  0.137974
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.775e+01  2.241e+01  0.000e+00  1.000e+06 ( 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 -5.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.181e+00  1.380e-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.359e-01  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/636888/likelihoodResults_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.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) = 7539.49924747
delta logL = 0.990311433814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7539.49305994
delta logL = 0.99649896165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3107       1.0000          .0000       .10000E+07
     2 'alpha     '    3.3246       1.0000          .0000       5.0000    
     3 'Normalizat'    .85668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2076       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7539.493     FROM MIGRAD    STATUS=FAILED        97 CALLS      295 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2942        25.954        .65640E-04   -.31920E-03
   2  alpha         3.3255        1.5291        .11517E-01    .29441E-03
   3  Normalizat    .85664        .26138        .35338E-03   -.64567E-04
   4  Prefactor     1.2076        .16556        .19725E-03   -.11585E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7539.493     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      371 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2942        25.954        .19663E-04   -1.5647    
   2  alpha         3.3255        1.5291        .15217E-02    .33653    
   3  Normalizat    .85664        .26138        .29347E-03   -.98001    
   4  Prefactor     1.2076        .16556        .17537E-03   -.86099    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7539.493     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      410 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2942        15.170        .26256E-05    .43299E-04
   2  alpha         3.3255        .94381        .23033E-02    .11334E-04
   3  Normalizat    .85664        .25473        .14135E-04    .16086E-06
   4  Prefactor     1.2076        .16251        .39450E-04    .17291E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 9.29419
  alpha      = 3.32554
  Normalizat = 0.856642
  Prefactor  = 1.20756
 **********
 **   18 **HESSE 
 **********

 FCN=   7539.493     FROM HESSE     STATUS=OK            25 CALLS      435 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2942        14.497        .10502E-06   -1.5647    
   2  alpha         3.3255        .90399        .46066E-03    .33653    
   3  Normalizat    .85664        .25451        .28271E-05   -.98001    
   4  Prefactor     1.2076        .16241        .78900E-05   -.86099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97097e-13
Minuit parameter uncertainties:
  1  14.4968
  2  0.927701
  3  0.254868
  4  0.162482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636888': 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) = 7539.49305921
delta logL = 0.996499696302

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.294e+00  1.450e+01  0.000e+00  1.000e+06 ( 1.000e-13)
259        alpha:  3.326e+00  9.277e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00 -5.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.208e+00  1.625e-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.566e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 216.051 4.563
Photon Index (Free Index): 3.33 +/- 0.93
Photon Flux (Free Index): 8.17e-08 +/- 6.72e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/636888/cmap_HighResolution_696816001_697075201_4FGL_J1424.2+0433_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-05', comment='SUCCESS', energy_flux2='1.65e-05', dlogl='9.96e-01', photon_flux2='8.17e-08', job_status='DONE', time_completed='2023-02-03 01:16:28.718623', photon_index_error2='0.93', photon_index2='3.33', ts='0.94', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='6.93e-08', energy_flux_error2='1.17e-05', EG='0.94', time_epoch_completed='1675415788.72', return_code='0', job_id='636888', GAL2='1.21', EG2='0.86', return_code2='0', photon_flux_error2='6.72e-08', ts2='3.01', photon_index='1.98' WHERE bin_id='1765' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:16:28 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 636888: <4FGL_J1424.2+0433_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:30 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:06:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:06:33 2023
Terminated at Fri Feb  3 01:16:29 2023
Results reported at Fri Feb  3 01:16:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin1765 216.051 4.5628 696816001 697075201 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 :                                   544.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            659 sec.

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

