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


Performing analysis on: 4FGL_J0741.4-4709_daily_bin1833
RA = 115.356, Dec = -47.1636
tmin = 714441601, tmax = 714700801
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='28586358', job_status='RUN', time_executed='2023-09-19 13:50:46.722499', time_epoch_executed='1695156646.72' WHERE source_name='4FGL J0741.4-4709' and cadence='daily' and bin_id='1833'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28586358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28586358/ft1_4FGL_J0741.4-4709_daily_bin1833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28586358/ft1_4FGL_J0741.4-4709_daily_bin1833.fits outfile=/lscratch/kocevski/28586358/ft1_filteredMKT_4FGL_J0741.4-4709_daily_bin1833.fits ra=115.356 dec=-47.1636 rad=12.0 tmin=714441601.0 tmax=714700801.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.23
user 1.99
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.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/28586358/ft1_filteredMKT_4FGL_J0741.4-4709_daily_bin1833.fits evtable="EVENTS" outfile="/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.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.55
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 4873

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28586358/ltcube_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.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/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits
.....................!
real 8.70
user 8.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits evtable="EVENTS" scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28586358/ltcube_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits outfile=/lscratch/kocevski/28586358/expmap_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.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/28586358/ltcube_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits
.....................!
real 64.31
user 60.28
sys 3.58

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 221 point sources and 3 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 J0741.4-4709 @ 115.356 -47.1636

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits outfile=/lscratch/kocevski/28586358/cmap_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.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=115.356 yref=-47.1636 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.37
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits outfile=/lscratch/kocevski/28586358/cmap_HighResolution_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.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=115.356 yref=-47.1636 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.38
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits evtable="EVENTS" scfile=/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28586358/Model_4FGL_J0741.4-4709_daily_bin1833.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits.....................!
real 216.46
user 214.11
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits', '/lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits', expMap='/lscratch/kocevski/28586358/expmap_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits', expCube='/lscratch/kocevski/28586358/ltcube_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28586358/Model_4FGL_J0741.4-4709_daily_bin1833.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0741.4-4709'

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  6.945e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28586358/ft1_filtered_4FGL_J0741.4-4709_daily_bin1833.fits
Spacecraft file(s): /lscratch/kocevski/28586358/ft2_4FGL_J0741.4-4709_daily_bin1833.fits
Exposure map: /lscratch/kocevski/28586358/expmap_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits
Exposure cube: /lscratch/kocevski/28586358/ltcube_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28586358/Model_4FGL_J0741.4-4709_daily_bin1833.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) = 38194.2629622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    104.53       1.0000          .0000       .10000E+07
     2 'Prefactor '    57.986       1.0000          .0000       .10000E+07
     3 'norm      '    20.070       1.0000          .0000       .10000E+07
     4 'norm      '    25.180       1.0000          .0000       .10000E+07
     5 'norm      '    3.3050       1.0000          .0000       .10000E+07
     6 'norm      '    14.278       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9291       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62429       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29176E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .27562E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40602E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .54275       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.504       1.0000          .0000       .10000E+07
    14 'norm      '    .36799E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .10987       1.0000          .0000       .10000E+07
    16 'Prefactor '    26.800       1.0000          .0000       .10000E+07
    17 'Normalizat'    .79903       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99844       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   38194.26     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1303 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     104.73        18.676       -.14670E-06   -.28298    
   2  Prefactor     58.098        1.5686        .15276E-07   -.40749E-02
   3  norm          20.076        9.3997       -.86840E-08   -.45861E-03
   4  norm          25.177        1.2962        .53936E-08   -.89431E-02
   5  norm          3.3345        4.0929       -.71885E-07   -.11450E-03
   6  norm          14.276        10.728        .40528E-06    .13085E-02
   7  Prefactor     2.9419        4.6001        .55230E-07   -.46037E-04
   8  Prefactor     .30920E-06    86.042        .44202E-06** at limit **
   9  Prefactor      .0000        6.9779        .34120E-07** at limit **
  10  norm           .0000        1.6336        .36522E-07** at limit **
  11  Prefactor      .0000        3.4199       -.15715E-07** at limit **
  12  Prefactor     .15965E-06    76.583       -.10465E-05** at limit **
  13  Prefactor     14.495        5.3920       -.12448E-07   -.14597E-03
  14  norm           .0000        1.3358       -.17750E-08** at limit **
  15  norm          .19262E-06    175.31        .18257E-05** at limit **
  16  Prefactor     26.126        45.909        .86993E-06   -.56845E-01
  17  Normalizat    .79842        .20582        .10876E-05    .12485E-06
  18  Prefactor     .99873        .37834E-01   -.11377E-06   -.22859E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 104.733
  Prefactor  = 58.0977
  norm       = 20.0762
  norm       = 25.177
  norm       = 3.33454
  norm       = 14.2759
  Prefactor  = 2.94188
  Prefactor  = 3.09197e-07
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.5965e-07
  Prefactor  = 14.4948
  norm       = 0
  norm       = 1.92624e-07
  Prefactor  = 26.1264
  Normalizat = 0.798418
  Prefactor  = 0.998731
 **********
 **   18 **HESSE 
 **********

 FCN=   38194.26     FROM HESSE     STATUS=OK           282 CALLS     1585 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     104.73        98.654        .97814E-04   -1.5503    
   2  Prefactor     58.098        25.669        .13133E-03   -1.5556    
   3  norm          20.076        9.4248        .22329E-03   -1.5618    
   4  norm          25.177        22.330        .19932E-03   -1.5608    
   5  norm          3.3345        4.1122        .55663E-03   -1.5671    
   6  norm          14.276        10.759        .26481E-03   -1.5632    
   7  Prefactor     2.9419        4.6314        .59327E-03   -1.5674    
   8  Prefactor     .30920E-06    86.153        .67080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.6272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15965E-06    75.487        .74521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.495        5.3978        .26274E-03   -1.5632    
  14  norm           .0000        1.3331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19262E-06    167.14        .13671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.126        46.692        .19320E-03   -1.5606    
  17  Normalizat    .79842        .21710        .22982       -1.0013    
  18  Prefactor     .99873        .37796E-01    .46248E-01   -.92772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95671e-06
Minuit parameter uncertainties:
  1  98.6556
  2  25.6693
  3  9.42479
  4  22.3298
  5  4.11224
  6  10.7589
  7  4.63143
  8  0.0103229
  9  9.61195e-07
  10  3.99485e-07
  11  1.3692e-06
  12  0.00694281
  13  5.39781
  14  2.59221e-07
  15  0.0113486
  16  46.6922
  17  0.217333
  18  0.0377969
Done.

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

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  9.612e-07  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  9.987e-01  3.780e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  7.984e-01  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 115.356 -47.164
Photon Flux Upper Limit: 5.60156505151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00438082146654 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28586358/likelihoodResults_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.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): 102
logL (Free Index) = 38194.2611548
delta logL = -0.000104142156488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 38194.2610508
delta logL = -1.21668563224e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   38194.26     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      249 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.0675        .42118E-03** at limit **
   2  Index         2.5777        1.8504       -.17113E-05     .0000    
   3  Normalizat    .79842        1.1372       -.66074E-05    .29956E-04
   4  Prefactor     .99873        1.3378        .71120E-06    .82696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.5777
  Normalizat = 0.798418
  Prefactor  = 0.99873
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   38194.26     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.0675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75063        2.0545       -.17113E-05   -.50575    
   3  Normalizat    .79842        1.1372       -.66074E-05   -1.0013    
   4  Prefactor     .99873        1.3378        .71120E-06   -.92772    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.70626e-12
Minuit parameter uncertainties:
  1  4.18963e-07
  2  1.91062
  3  1.17407
  4  1.38675
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) = 38194.2610507
delta logL = 0.0

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  4.190e-07  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.578e+00  1.911e+00  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  9.987e-01  1.387e+00  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  7.984e-01  1.174e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 115.356 -47.164

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/28586358/cmap_HighResolution_714441601_714700801_4FGL_J0741.4-4709_daily_bin1833.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.60e-08', time_completed='2023-09-19 14:10:18.423113', job_id='28586358', GAL2='1.00', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1695157818.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1833' AND source_name='4FGL J0741.4-4709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 19 14:10:18 PDT 2023

