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


Performing analysis on: 4FGL_J0741.4-4709_daily_bin1837
RA = 115.356, Dec = -47.1636
tmin = 715478401, tmax = 715737601
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='28586362', job_status='RUN', time_executed='2023-09-19 13:50:46.863302', time_epoch_executed='1695156646.86' WHERE source_name='4FGL J0741.4-4709' and cadence='daily' and bin_id='1837'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28586362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28586362/ft1_4FGL_J0741.4-4709_daily_bin1837.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28586362/ft1_4FGL_J0741.4-4709_daily_bin1837.fits outfile=/lscratch/kocevski/28586362/ft1_filteredMKT_4FGL_J0741.4-4709_daily_bin1837.fits ra=115.356 dec=-47.1636 rad=12.0 tmin=715478401.0 tmax=715737601.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.15
user 1.91
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.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/28586362/ft1_filteredMKT_4FGL_J0741.4-4709_daily_bin1837.fits evtable="EVENTS" outfile="/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.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.38
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 5094

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28586362/ltcube_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.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/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits
.....................!
real 10.10
user 9.62
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits evtable="EVENTS" scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28586362/ltcube_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits outfile=/lscratch/kocevski/28586362/expmap_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.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/28586362/ltcube_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits
.....................!
real 64.26
user 60.40
sys 3.48

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/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits outfile=/lscratch/kocevski/28586362/cmap_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.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.39
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits outfile=/lscratch/kocevski/28586362/cmap_HighResolution_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.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.39
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits evtable="EVENTS" scfile=/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28586362/Model_4FGL_J0741.4-4709_daily_bin1837.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/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits.....................!
real 223.63
user 221.08
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits', '/lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits', expMap='/lscratch/kocevski/28586362/expmap_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits', expCube='/lscratch/kocevski/28586362/ltcube_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28586362/Model_4FGL_J0741.4-4709_daily_bin1837.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/28586362/ft1_filtered_4FGL_J0741.4-4709_daily_bin1837.fits
Spacecraft file(s): /lscratch/kocevski/28586362/ft2_4FGL_J0741.4-4709_daily_bin1837.fits
Exposure map: /lscratch/kocevski/28586362/expmap_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits
Exposure cube: /lscratch/kocevski/28586362/ltcube_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28586362/Model_4FGL_J0741.4-4709_daily_bin1837.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) = 39669.3915034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46522E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.971       1.0000          .0000       .10000E+07
     3 'norm      '    13.963       1.0000          .0000       .10000E+07
     4 'norm      '    .42642E-02   1.0000          .0000       .10000E+07
     5 'norm      '    11.749       1.0000          .0000       .10000E+07
     6 'norm      '    .75119E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26102E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    153.94       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65995E-02   1.0000          .0000       .10000E+07
    10 'norm      '    6.9968       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68918E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7562       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.215       1.0000          .0000       .10000E+07
    14 'norm      '    2.2449       1.0000          .0000       .10000E+07
    15 'norm      '    24.894       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4343       1.0000          .0000       .10000E+07
    17 'Normalizat'    .74947       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99891       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=   39669.39     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1290 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15926E-06    18.302        .26242E-05** at limit **
   2  Prefactor     11.954        13.127        .67359E-06    .74868E-01
   3  norm          13.982        3.3923        .27348E-06   -.29651E-01
   4  norm          .23370E-07    46.044       -.11398E-05** at limit **
   5  norm          11.634        5.6175       -.12255E-06    .78887E-02
   6  norm           .0000        3.6214       -.41602E-06** at limit **
   7  Prefactor     .55511E-10    1.6321       -.34952E-06** at limit **
   8  Prefactor     153.94        1.0030       -.11237E-09   -.21969E-02
   9  Prefactor      .0000        11.448        .66943E-06** at limit **
  10  norm          7.0261        4.7306       -.45357E-06   -.11557E-02
  11  Prefactor      .0000        4.2000       -.14261E-06** at limit **
  12  Prefactor     1.7612        3.8825        .48322E-06    .97625E-02
  13  Prefactor     12.202        5.8880       -.90873E-07   -.13099E-01
  14  norm          2.2244        4.3755        .52416E-06    .32384E-03
  15  norm          24.644        15.047        .67047E-06   -.10308    
  16  Prefactor     5.4438        1.7234       -.14327E-06    .63683E-02
  17  Normalizat    .74980        .18855       -.10335E-04   -.70353E-05
  18  Prefactor     .99891        .35135E-01    .13067E-05   -.79616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59261e-07
  Prefactor  = 11.9536
  norm       = 13.9819
  norm       = 2.33702e-08
  norm       = 11.634
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 153.943
  Prefactor  = 0
  norm       = 7.02614
  Prefactor  = 0
  Prefactor  = 1.76116
  Prefactor  = 12.2021
  norm       = 2.2244
  norm       = 24.6441
  Prefactor  = 5.4438
  Normalizat = 0.749802
  Prefactor  = 0.998911
 **********
 **   18 **HESSE 
 **********

 FCN=   39669.39     FROM HESSE     STATUS=OK           284 CALLS     1574 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15926E-06    22.741        .15682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.954        17.179        .28928E-03   -1.5639    
   3  norm          13.982        6.9067        .26779E-03   -1.5633    
   4  norm          .23370E-07    45.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.634        5.6548        .29200E-03   -1.5640    
   6  norm           .0000        3.6317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.6354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     153.94        287.76        .80605E-04   -1.5460    
   9  Prefactor      .0000        11.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.0261        5.8656        .37903E-03   -1.5655    
  11  Prefactor      .0000        4.2151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7612        39.373        .79057E-03   -1.5681    
  13  Prefactor     12.202        5.9897        .28636E-03   -1.5638    
  14  norm          2.2244        4.4361        .68561E-03   -1.5678    
  15  norm          24.644        24.472        .20047E-03   -1.5609    
  16  Prefactor     5.4438        40.458        .43082E-03   -1.5661    
  17  Normalizat    .74980        .19806        .22347       -1.0196    
  18  Prefactor     .99891        .35753E-01    .46253E-01   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96333e-07
Minuit parameter uncertainties:
  1  0.00380645
  2  17.1793
  3  6.90666
  4  0.00206736
  5  5.65484
  6  1.31416e-05
  7  1.92526e-05
  8  287.782
  9  1.96087e-05
  10  5.86556
  11  1.89545e-05
  12  16.6544
  13  5.98967
  14  4.43607
  15  24.4724
  16  29.6816
  17  0.198252
  18  0.0357542
Done.

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

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  1.961e-05  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.989e-01  3.575e-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.498e-01  1.983e-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: 7.53369327886e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00589188288182 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28586362/likelihoodResults_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.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) = 39669.4287703
delta logL = -0.0418368342289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39669.3869385
delta logL = -5.06167998537e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22378E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.0923       1.0000          .0000       10.000    
     3 'Normalizat'    .74947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99893       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.

 FCN=   39669.25     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      333 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32630E-03    .29347E-02    .11334E-03** at limit **
   2  Index         8.2319        1.8948        .37887        .32514E-03
   3  Normalizat    .73139        .22353E-01    .22590       -.15139E-03
   4  Prefactor     1.0002        .42955E-02    .46254E-01   -.14036E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000326303
  Index      = 8.23188
  Normalizat = 0.731385
  Prefactor  = 1.00022
 **********
 **   18 **HESSE 
 **********

 FCN=   39669.25     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      366 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32630E-03    .58322E-01    .57412E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.2319        7.8412        .27542E-01    .70282    
   3  Normalizat    .73139        .11030        .10109E-02   -1.0267    
   4  Prefactor     1.0002        .21342E-01    .16743E-03   -.92722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27788e-07
Minuit parameter uncertainties:
  1  0.00872482
  2  12.7127
  3  0.11033
  4  0.021342
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) = 39669.2502064
delta logL = 0.136727088284

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  3.263e-04  8.725e-03  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  8.232e+00  1.271e+01  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:  1.000e+00  2.134e-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.314e-01  1.103e-01  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.002e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.113e+00 [aplpy.core]
Saving /lscratch/kocevski/28586362/cmap_HighResolution_715478401_715737601_4FGL_J0741.4-4709_daily_bin1837.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.53e-08', time_completed='2023-09-19 14:11:42.174299', job_id='28586362', GAL2='1.00', fit_tolerance='1e-08', EG2='0.73', EG='0.75', time_epoch_completed='1695157902.17', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.37e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1837' AND source_name='4FGL J0741.4-4709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 19 14:11:42 PDT 2023

