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


Performing analysis on: 4FGL_J1440.9+0609_weekly_bin902
RA = 220.242, Dec = 6.1631
tmin = 784512001, tmax = 785116801
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='15717179', job_status='RUN', time_executed='2025-11-18 01:45:00.470128', time_epoch_executed='1763459100.47' WHERE source_name='4FGL J1440.9+0609' and cadence='weekly' and bin_id='902'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/15717179

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

Retrieving the FT1 file...

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

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

Retrieving 103 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/15717179/ft1_4FGL_J1440.9+0609_weekly_bin902.fits


Retrieving the FT1 file...

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

Retrieving 103 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/15717179/ft1_4FGL_J1440.9+0609_weekly_bin902.fits outfile=/lscratch/kocevski/15717179/ft1_filteredMKT_4FGL_J1440.9+0609_weekly_bin902.fits ra=220.242 dec=6.1631 rad=12.0 tmin=784512001.0 tmax=785116801.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 5.36
user 4.03
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.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/15717179/ft1_filteredMKT_4FGL_J1440.9+0609_weekly_bin902.fits evtable="EVENTS" outfile="/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.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 1.21
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1482

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits" evtable="EVENTS" scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits sctable="SC_DATA" outfile=/lscratch/kocevski/15717179/ltcube_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.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/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits
.....................!
real 16.11
user 14.80
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits evtable="EVENTS" scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits sctable="SC_DATA" expcube=/lscratch/kocevski/15717179/ltcube_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits outfile=/lscratch/kocevski/15717179/expmap_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.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/15717179/ltcube_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits
.....................!
real 63.62
user 58.87
sys 3.61

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

Setting source of interest to:
4FGL J1440.9+0609 @ 220.242 6.1631

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits outfile=/lscratch/kocevski/15717179/cmap_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.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=220.242 yref=6.1631 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 1.20
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits outfile=/lscratch/kocevski/15717179/cmap_HighResolution_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.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=220.242 yref=6.1631 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.97
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits evtable="EVENTS" scfile=/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/15717179/Model_4FGL_J1440.9+0609_weekly_bin902.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/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits.....................!
real 42.45
user 40.59
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits', '/lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits', expMap='/lscratch/kocevski/15717179/expmap_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits', expCube='/lscratch/kocevski/15717179/ltcube_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/15717179/Model_4FGL_J1440.9+0609_weekly_bin902.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1440.9+0609'

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/15717179/ft1_filtered_4FGL_J1440.9+0609_weekly_bin902.fits
Spacecraft file(s): /lscratch/kocevski/15717179/ft2_4FGL_J1440.9+0609_weekly_bin902.fits
Exposure map: /lscratch/kocevski/15717179/expmap_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits
Exposure cube: /lscratch/kocevski/15717179/ltcube_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/15717179/Model_4FGL_J1440.9+0609_weekly_bin902.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) = 16649.8786723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.846       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17911E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    46.017       1.0000          .0000       .10000E+07
     4 'norm      '    18.723       1.0000          .0000       .10000E+07
     5 'norm      '    .13720E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6966       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5163       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75549E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .31891E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .49746E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    27.188       1.0000          .0000       .10000E+07
    12 'Prefactor '    .58078E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .27733       1.0000          .0000       .10000E+07
    14 'norm      '    8.8833       1.0000          .0000       .10000E+07
    15 'norm      '    2.3057       1.0000          .0000       .10000E+07
    16 'norm      '    4.5474       1.0000          .0000       .10000E+07
    17 'Normalizat'    .45662       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.7539       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16649.85     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1054 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.903        5.1460        .57067E-08    .33784E-01
   2  Prefactor     .62172E-08    9.0643        .16461E-06** at limit **
   3  Prefactor     45.533        11.413        .24805E-07   -.77893E-01
   4  norm          18.731        10.194        .35067E-07    .17909E-01
   5  norm          .13994E-06    13.124        .11735E-06** at limit **
   6  Prefactor     2.7100        3.0703       -.13000E-06    .15039E-02
   7  Prefactor     6.2035        46.625        .47051E-06   -.74564E-03
   8  Prefactor      .0000        7.1628        .51291E-07** at limit **
   9  norm           .0000        3.6000        .32565E-06** at limit **
  10  Prefactor     .10930E-06    11.304        .73538E-07** at limit **
  11  Prefactor     27.346        1.7831        .46946E-08   -.80412E-02
  12  Prefactor     .55511E-09    7.2813        .16234E-07** at limit **
  13  norm          .27727        .10349       -.24083E-08    .39031E-02
  14  norm          8.8790        2.5727       -.18839E-07    .11420E-02
  15  norm          2.3475        3.6896       -.10175E-06    .32957E-03
  16  norm          4.5713        3.9706        .19350E-07    .37368E-03
  17  Normalizat    .45679        .18818       -.46969E-06    .28071E-04
  18  Prefactor     1.7533        .12466       -.49484E-06    .89930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9031
  Prefactor  = 6.21725e-09
  Prefactor  = 45.533
  norm       = 18.7308
  norm       = 1.39944e-07
  Prefactor  = 2.71002
  Prefactor  = 6.20354
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.09301e-07
  Prefactor  = 27.3455
  Prefactor  = 5.55112e-10
  norm       = 0.277273
  norm       = 8.87896
  norm       = 2.34747
  norm       = 4.57128
  Normalizat = 0.456795
  Prefactor  = 1.75331
 **********
 **   18 **HESSE 
 **********

 FCN=   16649.85     FROM HESSE     STATUS=OK           286 CALLS     1340 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.903        11.779        .24375E-03   -1.5626    
   2  Prefactor     .62172E-08    9.3447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.533        21.312        .14743E-03   -1.5573    
   4  norm          18.731        10.515        .23119E-03   -1.5621    
   5  norm          .13994E-06    15.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7100        3.0900        .62013E-03   -1.5675    
   7  Prefactor     6.2035        46.599        .47350E-03   -1.5658    
   8  Prefactor      .0000        7.3606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.5955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10930E-06    13.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.346        17.763        .19182E-03   -1.5603    
  12  Prefactor     .55511E-09    7.9019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .27727        .10443        .55315E-03   -1.5697    
  14  norm          8.8790        2.5906        .33605E-03   -1.5648    
  15  norm          2.3475        3.7026        .67549E-03   -1.5677    
  16  norm          4.5713        3.9884        .47184E-03   -1.5665    
  17  Normalizat    .45679        .19179        .12277       -1.1446    
  18  Prefactor     1.7533        .12130        .44130E-01   -.70671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17782e-08
Minuit parameter uncertainties:
  1  11.7787
  2  0.000481532
  3  21.3123
  4  10.5154
  5  0.00289973
  6  3.08996
  7  34.0051
  8  3.11674e-07
  9  1.81552e-05
  10  0.002386
  11  17.7627
  12  0.000131676
  13  0.104426
  14  2.59064
  15  3.70259
  16  3.98836
  17  0.192065
  18  0.121322
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  0.000e+00  3.117e-07  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.753e+00  1.213e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  4.568e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 3.66863208029e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00277827600522 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/15717179/likelihoodResults_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.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) = 16649.9112382
delta logL = -0.0651006252447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16649.8461386
delta logL = -1.03391357698e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73569E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .29214       1.0000          .0000       10.000    
     3 'Normalizat'    .45700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7531       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16649.85     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      225 TOTAL
                     EDM=   .60E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4057        .42118E-03** at limit **
   2  Index         2.1142        1.4640        .10453E-04     .0000    
   3  Normalizat    .45679        .78401        .17299E-04   -.18222E-04
   4  Prefactor     1.7533        1.0302       -.51440E-05   -.28331E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.1142
  Normalizat = 0.456795
  Prefactor  = 1.75331
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16649.85     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .60E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.4057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .48813        1.8179        .10453E-04   -.61525    
   3  Normalizat    .45679        .78401        .17299E-04   -1.1446    
   4  Prefactor     1.7533        1.0302       -.51440E-05   -.70671    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.03187e-13
Minuit parameter uncertainties:
  1  5.92213e-06
  2  1.49736
  3  0.804183
  4  1.04327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16649.8461376
delta logL = 0.0

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  0.000e+00  5.922e-06  0.000e+00  1.000e+06 ( 1.000e-14)
227        Index:  2.114e+00  1.497e+00  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.753e+00  1.043e+00  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  4.568e-01  8.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 220.242 6.163

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/15717179/cmap_HighResolution_784512001_785116801_4FGL_J1440.9+0609_weekly_bin902.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-03', job_status='DONE', photon_flux_upper_limit='3.67e-08', time_completed='2025-11-18 02:00:15.808483', job_id='15717179', GAL2='1.75', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1763460015.81', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.75', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='902' AND source_name='4FGL J1440.9+0609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 18 02:00:16 PST 2025

