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


Performing analysis on: 4FGL_J1424.2+0433_weekly_bin759
RA = 216.051, Dec = 4.5628
tmin = 698025601, tmax = 698630401
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='592302', job_status='RUN', time_executed='2023-02-21 03:41:06.427539', time_epoch_executed='1676979666.43' WHERE source_name='4FGL J1424.2+0433' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592302

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592302/ft1_4FGL_J1424.2+0433_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592302/ft2_4FGL_J1424.2+0433_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592302/ft1_4FGL_J1424.2+0433_weekly_bin759.fits outfile=/scratch/kocevski/592302/ft1_filteredMKT_4FGL_J1424.2+0433_weekly_bin759.fits ra=216.051 dec=4.5628 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.53
user 8.22
sys 0.28

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

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

Number of photons that the gtmktime cut: 1316

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592302/ft1_filtered_4FGL_J1424.2+0433_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/592302/ft2_4FGL_J1424.2+0433_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/592302/ltcube_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.fits outfile=/scratch/kocevski/592302/expmap_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.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/592302/ltcube_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.fits
.....................!
real 192.11
user 186.98
sys 4.77

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/592302/ft1_filtered_4FGL_J1424.2+0433_weekly_bin759.fits scfile=/scratch/kocevski/592302/ft2_4FGL_J1424.2+0433_weekly_bin759.fits outfile=/scratch/kocevski/592302/cmap_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592302/ft1_filtered_4FGL_J1424.2+0433_weekly_bin759.fits scfile=/scratch/kocevski/592302/ft2_4FGL_J1424.2+0433_weekly_bin759.fits outfile=/scratch/kocevski/592302/cmap_HighResolution_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.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.58
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61060E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4949       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3348       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .43551E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    45.933       1.0000          .0000       .10000E+07
     7 'norm      '    14.389       1.0000          .0000       .10000E+07
     8 'norm      '    7.6383       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11910E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31762E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .38313E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .14668E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10447E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .23196       1.0000          .0000       .10000E+07
    15 'norm      '    2.5229       1.0000          .0000       .10000E+07
    16 'norm      '    .19245E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.5473       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78156       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=   14315.15     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1015 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.7303       -.98242E-08** at limit **
   2  Prefactor     4.4967        3.4429        .18520E-07   -.70916E-01
   3  Prefactor     2.3355        2.2870       -.38401E-07   -.26266E-02
   4  Prefactor     .19346E-06    2.6275       -.28491E-07** at limit **
   5  Prefactor     .13545E-07    5.6164       -.85699E-07** at limit **
   6  Prefactor     46.290        2.7321       -.44746E-08   -.12383    
   7  norm          14.410        6.7904        .14192E-08   -.74376E-01
   8  norm          7.6618        1.0207        .55464E-09   -.93544E-03
   9  Prefactor     .19335E-06    2.2018       -.80155E-07** at limit **
  10  Prefactor     .47740E-08    15.395        .18900E-06** at limit **
  11  Prefactor     .21610E-06    6.2716       -.16777E-07** at limit **
  12  norm          .28383E-06    5.4287        .33790E-09** at limit **
  13  Prefactor     .64393E-08    3.7432       -.20237E-06** at limit **
  14  norm          .23191        .96338E-01    .16223E-07** at limit **
  15  norm          2.5248        1.3749       -.86026E-07   -.16822E-01
  16  norm           .0000        1.4519        .61888E-09** at limit **
  17  Normalizat    1.5469        .16605       -.63970E-06    .17513E-03
  18  Prefactor     .78166        .10609        .13041E-05    .29154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 4.49668
  Prefactor  = 2.33551
  Prefactor  = 1.93456e-07
  Prefactor  = 1.35447e-08
  Prefactor  = 46.2903
  norm       = 14.4105
  norm       = 7.66181
  Prefactor  = 1.93345e-07
  Prefactor  = 4.77396e-09
  Prefactor  = 2.16105e-07
  norm       = 2.83829e-07
  Prefactor  = 6.43929e-09
  norm       = 0.231909
  norm       = 2.52482
  norm       = 0
  Normalizat = 1.54693
  Prefactor  = 0.781664
 **********
 **   18 **HESSE 
 **********

 FCN=   14315.15     FROM HESSE     STATUS=OK           278 CALLS     1293 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.7218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4967        8.0364        .47465E-03   -1.5666    
   3  Prefactor     2.3355        2.2903        .67082E-03   -1.5677    
   4  Prefactor     .19346E-06    4.5894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13545E-07    5.7566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.290        20.929        .14756E-03   -1.5572    
   7  norm          14.410        7.4251        .26378E-03   -1.5632    
   8  norm          7.6618        10.936        .36261E-03   -1.5653    
   9  Prefactor     .19335E-06    4.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .47740E-08    15.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21610E-06    11.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28383E-06    11.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .64393E-08    3.8398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .23191        .97128E-01    .52579E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5248        1.3838        .64289E-03   -1.5676    
  16  norm           .0000        1.4508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.5469        .14020        .58660E-01   -.76468    
  18  Prefactor     .78166        .88962E-01    .43477E-01   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87491e-07
Minuit parameter uncertainties:
  1  1.62439e-05
  2  8.03645
  3  2.29034
  4  0.00188459
  5  0.000558174
  6  20.9291
  7  7.42515
  8  10.9358
  9  0.00187038
  10  0.000545643
  11  0.0031427
  12  0.00367776
  13  0.000314557
  14  0.097128
  15  1.3838
  16  1.20121e-05
  17  0.140231
  18  0.088978
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  7.662e+00  1.094e+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:  7.817e-01  8.898e-02  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.547e+00  1.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/592302/likelihoodResults_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.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) = 14314.7927365
delta logL = 0.352327593144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14314.7808256
delta logL = 0.364238534517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1135       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2698       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79397       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=   14314.78     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      257 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1101        65.107        .49680E-03    .84767E-02
   2  alpha         3.2703        4.0179        .43938        .99821E-04
   3  Normalizat    1.5126        .39223E-01    .59203E-01    .11957E-04
   4  Prefactor     .79397        .22285E-01    .43639E-01    .10551E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.1101
  alpha      = 3.27032
  Normalizat = 1.51261
  Prefactor  = 0.793969
 **********
 **   18 **HESSE 
 **********

 FCN=   14314.78     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      290 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1101        166.50        .19872E-04   -1.5667    
   2  alpha         3.2703        2.5019        .19394E-01    .31323    
   3  Normalizat    1.5126        .28485        .26181E-03   -.77424    
   4  Prefactor     .79397        .14184        .22054E-03   -.99951    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20104e-09
Minuit parameter uncertainties:
  1  52.3211
  2  8.95796
  3  0.285156
  4  0.141909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592302': 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): 102
logL (Free Index) = 14314.7808255
delta logL = 0.364238601187

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  4.110e+00  5.232e+01  0.000e+00  1.000e+06 ( 1.000e-13)
259        alpha:  3.270e+00  8.958e+00  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:  7.940e-01  1.419e-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.513e+00  2.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 216.051 4.563
Photon Index (Free Index): 3.27 +/- 8.96
Photon Flux (Free Index): 3.25e-08 +/- 1.54e-07
Energy Flux (Free Index): 6.69e-06 +/- 8.31e-06

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/592302/cmap_HighResolution_698025601_698630401_4FGL_J1424.2+0433_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-05', comment='SUCCESS', energy_flux2='6.69e-06', dlogl='3.64e-01', photon_flux2='3.25e-08', job_status='DONE', time_completed='2023-02-21 03:53:06.669184', photon_index_error2='8.96', photon_index2='3.27', ts='0.80', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='3.51e-08', energy_flux_error2='8.31e-06', EG='1.55', time_epoch_completed='1676980386.67', return_code='0', job_id='592302', GAL2='0.79', EG2='1.51', return_code2='102', photon_flux_error2='1.54e-07', ts2='1.55', photon_index='1.98' WHERE bin_id='759' AND source_name='4FGL J1424.2+0433' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:53:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 592302: <4FGL_J1424.2+0433_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1424.2+0433_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:40:27 2023
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:40:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:40:27 2023
Terminated at Tue Feb 21 03:53:07 2023
Results reported at Tue Feb 21 03:53:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_weekly_bin759 216.051 4.5628 698025601 698630401 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 :                                   720.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

