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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1808
RA = 222.422, Dec = -21.6271
tmin = 707961601, tmax = 708220801
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='18381039', job_status='RUN', time_executed='2023-06-12 00:40:35.755314', time_epoch_executed='1686555635.76' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1808'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18381039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18381039/ft1_4FGL_J1449.6-2137_daily_bin1808.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18381039/ft1_4FGL_J1449.6-2137_daily_bin1808.fits outfile=/lscratch/kocevski/18381039/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1808.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=707961601.0 tmax=708220801.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.10
user 1.78
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.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/18381039/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1808.fits evtable="EVENTS" outfile="/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.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.39
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 463

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18381039/ltcube_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.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/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits
.....................!
real 13.25
user 12.46
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits evtable="EVENTS" scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18381039/ltcube_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits outfile=/lscratch/kocevski/18381039/expmap_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.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/18381039/ltcube_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits
.....................!
real 75.81
user 69.44
sys 4.57

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

Setting source of interest to:
4FGL J1449.6-2137 @ 222.422 -21.6271

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits outfile=/lscratch/kocevski/18381039/cmap_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.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.422 yref=-21.6271 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.44
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits outfile=/lscratch/kocevski/18381039/cmap_HighResolution_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.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.422 yref=-21.6271 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits evtable="EVENTS" scfile=/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18381039/Model_4FGL_J1449.6-2137_daily_bin1808.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/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits.....................!
real 23.56
user 21.65
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits', '/lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits', expMap='/lscratch/kocevski/18381039/expmap_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits', expCube='/lscratch/kocevski/18381039/ltcube_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18381039/Model_4FGL_J1449.6-2137_daily_bin1808.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1449.6-2137'

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18381039/ft1_filtered_4FGL_J1449.6-2137_daily_bin1808.fits
Spacecraft file(s): /lscratch/kocevski/18381039/ft2_4FGL_J1449.6-2137_daily_bin1808.fits
Exposure map: /lscratch/kocevski/18381039/expmap_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits
Exposure cube: /lscratch/kocevski/18381039/ltcube_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18381039/Model_4FGL_J1449.6-2137_daily_bin1808.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) = 5330.75242571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12940E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48938E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .82230E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10068E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17034E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .56526E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    84.228       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3648       1.0000          .0000       .10000E+07
     9 'Prefactor '    .64250E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    76.163       1.0000          .0000       .10000E+07
    11 'Prefactor '    .46917       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59721E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57627E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.6273       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57197E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .15014E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .69860       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5330.668     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     1576 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13878E-08    45.897       -.84978E-08** at limit **
   2  Prefactor     .14988E-08    28.021       -.79768E-08** at limit **
   3  Prefactor      .0000        14.320        .25811E-08** at limit **
   4  Prefactor     .11102E-09    29.567       -.34334E-07** at limit **
   5  Prefactor     .37192E-08    41.705       -.56780E-07** at limit **
   6  norm           .0000        4.3204        .23628E-08** at limit **
   7  Prefactor     87.273        53.457        .61150E-09   -.12765E-02
   8  Prefactor     1.2135        9.7373        .11977E-05   -.63956E-03
   9  Prefactor     .55511E-10    75.975        .22263E-07** at limit **
  10  Prefactor     82.696        75.550       -.54874E-06   -.54324E-03
  11  Prefactor     .52180E-08    164.05       -.16747E-06** at limit **
  12  Prefactor      .0000        3.4429        .47497E-09** at limit **
  13  Prefactor      .0000        8.7334       -.37215E-08** at limit **
  14  norm          1.6331        1.3196        .15171E-07    .85355E-02
  15  Prefactor     .83267E-09    27.308        .27480E-07** at limit **
  16  norm           .0000        3.0091        .28632E-08** at limit **
  17  Normalizat    .68947        .35165       -.25674E-05   -.83096E-04
  18  Prefactor     1.0537        .12179        .19395E-06    .58573E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38778e-09
  Prefactor  = 1.4988e-09
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 3.71925e-09
  norm       = 0
  Prefactor  = 87.2728
  Prefactor  = 1.21347
  Prefactor  = 5.55112e-11
  Prefactor  = 82.6957
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.63313
  Prefactor  = 8.32667e-10
  norm       = 0
  Normalizat = 0.68947
  Prefactor  = 1.05369
 **********
 **   18 **HESSE 
 **********

 FCN=   5330.668     FROM HESSE     STATUS=OK           234 CALLS     1810 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13878E-08    45.961        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14988E-08    28.093        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        14.326        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    29.595        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .37192E-08    41.777        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.3210        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     87.273        53.406        .43587E-05   -1.5521    
   8  Prefactor     1.2135        9.8684        .18676E-03   -1.5686    
   9  Prefactor     .55511E-10    76.007        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     82.696        75.833        .45837E-05   -1.5526    
  11  Prefactor     .52180E-08    164.23        .16375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.4431        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        8.7364        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6331        1.3159        .72200E-05   -1.5682    
  15  Prefactor     .83267E-09    27.428        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        3.0109        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .68947        .38566        .52489E-03   -1.0431    
  18  Prefactor     1.0537        .13550        .15353E-03   -.90961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60936e-10
Minuit parameter uncertainties:
  1  0.000509209
  2  0.000411623
  3  8.10385e-06
  4  0.000107683
  5  0.000786571
  6  3.68023e-06
  7  53.4059
  8  6.921
  9  0.000149898
  10  75.8344
  11  0.00185206
  12  5.1545e-07
  13  9.81039e-06
  14  1.31589
  15  0.000297279
  16  3.83384e-06
  17  0.387188
  18  0.135548
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  5.154e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.054e+00  1.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  6.895e-01  3.872e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 7.78439500592e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0059999819243 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18381039/likelihoodResults_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.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) = 5330.66869246
delta logL = -0.000484129142023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5330.66820856
delta logL = -2.29290890275e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5330.668     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      237 TOTAL
                     EDM=   .60E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0178        .42118E-03** at limit **
   2  Index         2.2249        1.7613       -.23228E-04     .0000    
   3  Normalizat    .68948        1.0291       -.36860E-06   -.99714E-06
   4  Prefactor     1.0537        1.1872        .25780E-05   -.19398E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.2249
  Normalizat = 0.689475
  Prefactor  = 1.05369
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5330.668     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .60E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .54763        1.9384       -.23228E-04   -.58839    
   3  Normalizat    .68948        1.0291       -.36860E-06   -1.0431    
   4  Prefactor     1.0537        1.1872        .25780E-05   -.90961    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.99237e-15
Minuit parameter uncertainties:
  1  4.17968e-07
  2  1.81876
  3  1.06018
  4  1.21898
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) = 5330.66820833
delta logL = 1.08229869511e-10

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  4.180e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.225e+00  1.819e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.054e+00  1.219e+00  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  6.895e-01  1.060e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 222.422 -21.627

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/18381039/cmap_HighResolution_707961601_708220801_4FGL_J1449.6-2137_daily_bin1808.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2023-06-12 00:44:43.838367', job_id='18381039', GAL2='1.05', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1686555883.84', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.08e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1808' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 12 00:44:43 PDT 2023

