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


Performing analysis on: 4FGL_J1450.4+0910_weekly_bin802
RA = 222.624, Dec = 9.1818
tmin = 724032001, tmax = 724636801
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='36606793', job_status='RUN', time_executed='2023-12-19 00:55:55.720986', time_epoch_executed='1702976155.72' WHERE source_name='4FGL J1450.4+0910' and cadence='weekly' and bin_id='802'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36606793

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36606793/ft1_4FGL_J1450.4+0910_weekly_bin802.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36606793/ft1_4FGL_J1450.4+0910_weekly_bin802.fits outfile=/lscratch/kocevski/36606793/ft1_filteredMKT_4FGL_J1450.4+0910_weekly_bin802.fits ra=222.624 dec=9.1818 rad=12.0 tmin=724032001.0 tmax=724636801.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 4.85
user 4.50
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.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/36606793/ft1_filteredMKT_4FGL_J1450.4+0910_weekly_bin802.fits evtable="EVENTS" outfile="/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.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.40
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1828

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36606793/ltcube_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.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/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits
.....................!
real 20.34
user 19.71
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits evtable="EVENTS" scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36606793/ltcube_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits outfile=/lscratch/kocevski/36606793/expmap_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.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/36606793/ltcube_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits
.....................!
real 75.17
user 70.50
sys 4.03

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits outfile=/lscratch/kocevski/36606793/cmap_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.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=222.624 yref=9.1818 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.65
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits outfile=/lscratch/kocevski/36606793/cmap_HighResolution_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.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=222.624 yref=9.1818 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.42
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits evtable="EVENTS" scfile=/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36606793/Model_4FGL_J1450.4+0910_weekly_bin802.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...
/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits.....................!
real 55.03
user 54.00
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits', '/lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits', expMap='/lscratch/kocevski/36606793/expmap_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits', expCube='/lscratch/kocevski/36606793/ltcube_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36606793/Model_4FGL_J1450.4+0910_weekly_bin802.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36606793/ft1_filtered_4FGL_J1450.4+0910_weekly_bin802.fits
Spacecraft file(s): /lscratch/kocevski/36606793/ft2_4FGL_J1450.4+0910_weekly_bin802.fits
Exposure map: /lscratch/kocevski/36606793/expmap_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits
Exposure cube: /lscratch/kocevski/36606793/ltcube_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36606793/Model_4FGL_J1450.4+0910_weekly_bin802.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) = 19783.3765534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.100       1.0000          .0000       .10000E+07
     2 'norm      '    .38154E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7177       1.0000          .0000       .10000E+07
     4 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     5 'Prefactor '    .69316       1.0000          .0000       .10000E+07
     6 'Prefactor '    .65632E-05   1.0000          .0000       .10000E+07
     7 'norm      '    20.133       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.9271       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.198       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30383E-03   1.0000          .0000       .10000E+07
    11 'norm      '    1.1668       1.0000          .0000       .10000E+07
    12 'norm      '    8.8708       1.0000          .0000       .10000E+07
    13 'norm      '    .61617E-08   1.0000          .0000       .10000E+07
    14 'norm      '    .44454E-05   1.0000          .0000       .10000E+07
    15 'norm      '    2.8075       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5603       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19783.37     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1188 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.930        19.129       -.18960E-06    .35229E-03
   2  norm           .0000        5.0991        .51797E-06** at limit **
   3  Prefactor     2.7194        2.9864       -.28124E-06    .12741E-02
   4  norm           .0000        .27330        .14338E-06** at limit **
   5  Prefactor     .51070E-08    798.92        .20800E-05** at limit **
   6  Prefactor     .55511E-10    27.282        .10865E-05** at limit **
   7  norm          20.190        10.752        .35391E-06   -.17816E-02
   8  Prefactor     3.9647        6.4303       -.12824E-06    .15689E-03
   9  Prefactor     13.206        10.864       -.25830E-07   -.25600E-04
  10  Prefactor      .0000        4.6749       -.87919E-07** at limit **
  11  norm          1.1666        .16035        .34386E-08   -.28669E-02
  12  norm          8.8700        1.9315       -.55801E-07    .13492E-02
  13  norm           .0000        .72133        .21754E-06** at limit **
  14  norm           .0000        11.878        .25056E-06** at limit **
  15  norm          2.8071        2.1496       -.95694E-07    .10255E-02
  16  Normalizat    1.5607        .16262       -.31567E-05   -.11570E-03
  17  Prefactor     .78503        .96890E-01    .51405E-05   -.17309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.9301
  norm       = 0
  Prefactor  = 2.71939
  norm       = 0
  Prefactor  = 5.10703e-09
  Prefactor  = 5.55112e-11
  norm       = 20.1896
  Prefactor  = 3.96474
  Prefactor  = 13.2061
  Prefactor  = 0
  norm       = 1.16661
  norm       = 8.87
  norm       = 0
  norm       = 0
  norm       = 2.8071
  Normalizat = 1.56069
  Prefactor  = 0.785032
 **********
 **   18 **HESSE 
 **********

 FCN=   19783.37     FROM HESSE     STATUS=OK           265 CALLS     1453 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.930        19.135        .19213E-03   -1.5604    
   2  norm           .0000        5.0988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7194        3.0107        .61752E-03   -1.5675    
   4  norm           .0000        .27323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .51070E-08    26.723        .14362E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    27.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.190        10.779        .22294E-03   -1.5618    
   8  Prefactor     3.9647        6.4555        .50883E-03   -1.5668    
   9  Prefactor     13.206        10.860        .27547E-03   -1.5635    
  10  Prefactor      .0000        4.6920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1666        .16046        .44848E-03   -1.5686    
  12  norm          8.8700        1.9348        .33629E-03   -1.5648    
  13  norm           .0000        .72158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        11.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.8071        2.1498        .60685E-03   -1.5674    
  16  Normalizat    1.5607        .13582        .64530E-01   -.76087    
  17  Prefactor     .78503        .80913E-01    .43522E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07905e-09
Minuit parameter uncertainties:
  1  19.1346
  2  1.56789e-05
  3  3.01074
  4  1.13475e-06
  5  0.000737413
  6  9.22438e-05
  7  10.7786
  8  6.45554
  9  10.8596
  10  1.37877e-06
  11  0.16046
  12  1.93478
  13  3.19838e-06
  14  1.07967e-05
  15  2.14983
  16  0.135855
  17  0.0809253
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.321e+01  1.086e+01  0.000e+00  1.000e+06 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  7.850e-01  8.093e-02  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.561e+00  1.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.68
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 8.11e-06 +/- 6.67e-06

TS (Fixed Index): 2.68
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 7.04122926803e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00543862611471 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36606793/likelihoodResults_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.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) = 19782.9473437
delta logL = 0.420834856828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19782.9245093
delta logL = 0.44366924042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.588       1.0000          .0000       .10000E+07
     2 'Index     '    1.8548       1.0000          .0000       10.000    
     3 'Normalizat'    1.5737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19782.92     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.577        537.87        .23855E-03    .89407E-04
   2  Index         1.8542        5.6168        .26698       -.45866E-04
   3  Normalizat    1.5734        .11365        .64325E-01   -.62017E-06
   4  Prefactor     .77961        .52949E-01    .43450E-01    .16201E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5772
  Index      = 1.85422
  Normalizat = 1.57337
  Prefactor  = 0.779608
 **********
 **   18 **HESSE 
 **********

 FCN=   19782.92     FROM HESSE     STATUS=OK            33 CALLS      312 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.577        13.776        .95418E-05   -1.5624    
   2  Index         1.8542        .51132        .13423E-01   -.68047    
   3  Normalizat    1.5734        .15918        .28450E-03   -.75737    
   4  Prefactor     .77961        .96177E-01    .23297E-03   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5784e-12
Minuit parameter uncertainties:
  1  13.7764
  2  0.512807
  3  0.15923
  4  0.0961974
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) = 19782.9245051
delta logL = 0.443673440463

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.758e+01  1.378e+01  0.000e+00  1.000e+06 ( 1.000e-13)
223        Index:  1.854e+00  5.128e-01  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  7.796e-01  9.620e-02  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.573e+00  1.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 222.624 9.182
Photon Index (Free Index): 1.85 +/- 0.51
Photon Flux (Free Index): 1.52e-08 +/- 1.52e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.79e-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 /lscratch/kocevski/36606793/cmap_HighResolution_724032001_724636801_4FGL_J1450.4+0910_weekly_bin802.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.55e-05', photon_flux_error='2.02e-08', dlogl='4.44e-01', energy_flux='8.11e-06', photon_flux2='1.52e-08', job_status='DONE', time_completed='2023-12-19 01:03:25.605269', photon_index_error2='0.51', photon_index2='1.85', ts='2.68', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='7.04e-08', energy_flux_error2='1.79e-05', EG='1.56', time_epoch_completed='1702976605.61', return_code='0', job_id='36606793', GAL2='0.78', EG2='1.57', return_code2='0', energy_flux_error='6.67e-06', photon_flux_error2='1.52e-08', ts2='3.57', photon_index='2.39' WHERE bin_id='802' AND source_name='4FGL J1450.4+0910' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 19 01:03:25 PST 2023

