/sdf/group/fermi/u/kocevski/software/conda/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)

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).

/sdf/group/fermi/u/kocevski/software/conda/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 = 7487
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.8-6808_daily_bin1995
RA = 216.217, Dec = -68.1489
tmin = 756432001, tmax = 756691201
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='60716687', job_status='RUN', time_executed='2024-12-24 00:31:42.981263', time_epoch_executed='1735029102.98' WHERE source_name='4FGL J1424.8-6808' and cadence='daily' and bin_id='1995'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60716687

Creating custom pfile directory:
/lscratch/kocevski/60716687/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=756432001.0 && nMetStart<756691201.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=756432001.0 && nMetStart<756691201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60716687/ft1_4FGL_J1424.8-6808_daily_bin1995.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=756432001.0 && nMetStart<756691201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60716687/ft1_4FGL_J1424.8-6808_daily_bin1995.fits outfile=/lscratch/kocevski/60716687/ft1_filteredMKT_4FGL_J1424.8-6808_daily_bin1995.fits ra=216.217 dec=-68.1489 rad=12.0 tmin=756432001.0 tmax=756691201.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 2.47
user 1.96
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/60716687/ft1_filteredMKT_4FGL_J1424.8-6808_daily_bin1995.fits evtable="EVENTS" outfile="/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.73
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 4403

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60716687/ltcube_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.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 /lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits
.....................!
real 8.76
user 8.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits evtable="EVENTS" scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60716687/ltcube_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits outfile=/lscratch/kocevski/60716687/expmap_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.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 /lscratch/kocevski/60716687/ltcube_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits
.....................!
real 74.26
user 69.27
sys 4.44

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
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Added 342 point sources and 17 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1424.8-6808 @ 216.217 -68.1489

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits outfile=/lscratch/kocevski/60716687/cmap_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.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.217 yref=-68.1489 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.47
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits outfile=/lscratch/kocevski/60716687/cmap_HighResolution_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.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.217 yref=-68.1489 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.47
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits evtable="EVENTS" scfile=/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60716687/Model_4FGL_J1424.8-6808_daily_bin1995.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 FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source FGES J1409.1-6121
adding source FGES J1553.8-5325
adding source FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits.....................!
real 849.70
user 843.43
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits', '/lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits', expMap='/lscratch/kocevski/60716687/expmap_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits', expCube='/lscratch/kocevski/60716687/ltcube_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60716687/Model_4FGL_J1424.8-6808_daily_bin1995.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.8-6808'

4FGL J1424.8-6808
   Spectrum: LogParabola
665         norm:  3.415e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
666        alpha:  2.363e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
667         beta:  2.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
668           Eb:  9.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60716687/ft1_filtered_4FGL_J1424.8-6808_daily_bin1995.fits
Spacecraft file(s): /lscratch/kocevski/60716687/ft2_4FGL_J1424.8-6808_daily_bin1995.fits
Exposure map: /lscratch/kocevski/60716687/expmap_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits
Exposure cube: /lscratch/kocevski/60716687/ltcube_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60716687/Model_4FGL_J1424.8-6808_daily_bin1995.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) = 21387.2783744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    111.99       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7253       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6444       1.0000          .0000       .10000E+07
     5 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     6 'norm      '    100.77       1.0000          .0000       .10000E+07
     7 'norm      '     .0000       1.0000          .0000       .10000E+07
     8 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    .98207       1.0000          .0000       .10000E+07
    10 'norm      '    13.681       1.0000          .0000       .10000E+07
    11 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    12 'Prefactor '    .25159E-01   1.0000          .0000       10.000    
    13 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1291E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21387.23     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      877 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     111.98        1.0323        .14852E-07   -.15413E-01
   2  Prefactor     7.7250        6.6946        .24533E-05   -.10926E-03
   3  Prefactor      .0000        2.2071       -.11504E-05** at limit **
   4  Prefactor     1.6444        4.2038        .14666E-06   -.53655E-04
   5  norm           .0000        .99013       -.17062E-05** at limit **
   6  norm          100.74        1.1636        .23261E-07   -.29765E-01
   7  norm           .0000        .44388       -.57858E-06** at limit **
   8  Prefactor      .0000        .79428       -.15805E-05** at limit **
   9  norm          .95548        30.246        .46717E-05    .60397E-03
  10  norm          13.679        10.652       -.10572E-05   -.72159E-03
  11  Normalizat    .10000E-01    .28059E-01    .87212E-05** at limit **
  12  Prefactor     .25153E-01    .55088E-02    .98317E-05   -.11328E-03
  13  Prefactor     .10000E+07    121.87        .77424E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 111.982
  Prefactor  = 7.72501
  Prefactor  = 0
  Prefactor  = 1.6444
  norm       = 0
  norm       = 100.741
  norm       = 0
  Prefactor  = 0
  norm       = 0.955479
  norm       = 13.6792
  Normalizat = 0.01
  Prefactor  = 0.0251527
  Prefactor  = 1e+06
 **********
 **   18 **HESSE 
 **********

 FCN=   21387.23     FROM HESSE     STATUS=OK           175 CALLS     1052 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     111.98        41.169        .94501E-04   -1.5496    
   2  Prefactor     7.7250        6.6974        .36055E-03   -1.5652    
   3  Prefactor      .0000        2.2113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6444        4.2082        .82342E-03   -1.5682    
   5  norm           .0000        .98802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          100.74        43.538        .99625E-04   -1.5507    
   7  norm           .0000        .44385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .79479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .95548        29.094        .43130E-03   -1.5688    
  10  norm          13.679        10.616        .27054E-03   -1.5634    
  11  Normalizat    .10000E-01    .19051E-01    .23545       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .25153E-01    .59514E-02    .32494E-01   -1.4704    
  13  Prefactor     .10000E+07    121.92        .42118E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17015e-06
Minuit parameter uncertainties:
  1  41.1689
  2  6.69741
  3  2.20502e-06
  4  4.2082
  5  2.11712e-06
  6  43.538
  7  4.7407e-07
  8  1.73457e-06
  9  10.545
  10  10.6161
  11  7.08213e-09
  12  0.00595156
  13  0.000189028
Done.

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

Extracting fit parameters...

4FGL J1424.8-6808
   Spectrum: LogParabola
665         norm:  0.000e+00  4.741e-07  0.000e+00  1.000e+06 ( 1.000e-12)
666        alpha:  2.363e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
667         beta:  2.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
668           Eb:  9.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1252    Prefactor:  2.515e-02  5.952e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1253        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1254        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1229   Normalization:  1.000e-02  7.082e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 216.217 -68.149
Photon Flux Upper Limit: 2.11785591369e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/60716687/likelihoodResults_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.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) = 21387.3319656
delta logL = -0.105793877086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21387.2249301
delta logL = 0.00124159890765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56815E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    .71932       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25140E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1291E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21387.22     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      262 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58968E-01    .86971        .20613E-08** at limit **
   2  alpha         .71358        .30582        .33103E-04    .57927E-06
   3  Normalizat    .10000E-01    .18896E-01   -.14308E-08** at limit **
   4  Prefactor     .25146E-01    .59049E-02    .76145E-10    .46736E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0589676
  alpha      = 0.713579
  Normalizat = 0.01
  Prefactor  = 0.0251458
 **********
 **   18 **HESSE 
 **********

 FCN=   21387.22     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      297 TOTAL
                     EDM=   .11E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58968E-01    847.46        .26588E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .71358        4.6292        .50000       -.79601    
   3  Normalizat    .10000E-01    .11477E-01    .11624E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25146E-01    .36037E-02    .15751E-03   -1.4705    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.00106281
Minuit parameter uncertainties:
  1  14.1403
  2  40.0781
  3  1.85333e-07
  4  0.00360371
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) = 21387.2249258
delta logL = 0.00124589612096

Extracting fit parameters...

4FGL J1424.8-6808
   Spectrum: LogParabola
665         norm:  5.897e-02  1.414e+01  0.000e+00  1.000e+06 ( 1.000e-12)
666        alpha:  7.136e-01  4.008e+01  0.000e+00  5.000e+00 ( 1.000e+00)
667         beta:  2.202e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
668           Eb:  9.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1252    Prefactor:  2.515e-02  3.604e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1253        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1254        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1229   Normalization:  1.000e-02  1.853e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 216.217 -68.149

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 /lscratch/kocevski/60716687/cmap_HighResolution_756432001_756691201_4FGL_J1424.8-6808_daily_bin1995.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='2.12e-08', time_completed='2024-12-24 01:07:21.845335', job_id='60716687', GAL2='0.03', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1735031241.85', return_code2='102', ts='0.00', return_code='0', GAL='0.03', dlogl='1.25e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1995' AND source_name='4FGL J1424.8-6808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 24 01:07:21 PST 2024

