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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1864
RA = 222.422, Dec = -21.6271
tmin = 722476801, tmax = 722736001
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='34523258', job_status='RUN', time_executed='2023-11-27 00:36:06.306272', time_epoch_executed='1701074166.31' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1864'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34523258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34523258/ft1_4FGL_J1449.6-2137_daily_bin1864.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34523258/ft1_4FGL_J1449.6-2137_daily_bin1864.fits outfile=/lscratch/kocevski/34523258/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1864.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=722476801.0 tmax=722736001.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.06
user 1.61
sys 0.20

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

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

Number of photons that the gtmktime cut: 165

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34523258/ltcube_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.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/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits
.....................!
real 9.70
user 9.11
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits evtable="EVENTS" scfile=/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34523258/ltcube_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits outfile=/lscratch/kocevski/34523258/expmap_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.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/34523258/ltcube_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits
.....................!
real 72.72
user 67.37
sys 4.30

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/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits scfile=/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits outfile=/lscratch/kocevski/34523258/cmap_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.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.54
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits scfile=/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits outfile=/lscratch/kocevski/34523258/cmap_HighResolution_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.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.71
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits evtable="EVENTS" scfile=/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34523258/Model_4FGL_J1449.6-2137_daily_bin1864.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/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits.....................!
real 13.58
user 11.94
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits', '/lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits', expMap='/lscratch/kocevski/34523258/expmap_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits', expCube='/lscratch/kocevski/34523258/ltcube_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34523258/Model_4FGL_J1449.6-2137_daily_bin1864.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/34523258/ft1_filtered_4FGL_J1449.6-2137_daily_bin1864.fits
Spacecraft file(s): /lscratch/kocevski/34523258/ft2_4FGL_J1449.6-2137_daily_bin1864.fits
Exposure map: /lscratch/kocevski/34523258/expmap_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits
Exposure cube: /lscratch/kocevski/34523258/ltcube_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34523258/Model_4FGL_J1449.6-2137_daily_bin1864.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) = 1976.0718024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1976.06339681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    150.73       1.0000          .0000       .10000E+07
     2 'Prefactor '    .93081E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .60834E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38283E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10974E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .46341E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .82190E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18185E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51268E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    93.896       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37494E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16595E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42826E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.3457       1.0000          .0000       .10000E+07
    15 'Prefactor '    .42685E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .66443E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .13258       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.5270       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1976.057     FROM MIGRAD    STATUS=CONVERGED    239 CALLS     1427 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     158.23        142.18       -.67535E-06    .72478E-05
   2  Prefactor      .0000        20.041       -.38149E-07** at limit **
   3  Prefactor      .0000        39.090       -.14224E-06** at limit **
   4  Prefactor     .55511E-10    40.639       -.14899E-06** at limit **
   5  Prefactor     .11102E-09    57.867        .17458E-06** at limit **
   6  norm          .55511E-10    22.563        .11171E-06** at limit **
   7  Prefactor      .0000        79.694       -.23648E-06** at limit **
   8  Prefactor      .0000        39.587        .26564E-06** at limit **
   9  Prefactor     .46629E-08    547.88        .41463E-05** at limit **
  10  Prefactor     77.556        236.22        .25680E-05   -.10926E-03
  11  Prefactor     .16653E-09    180.90        .14759E-06** at limit **
  12  Prefactor      .0000        16.757       -.22725E-06** at limit **
  13  Prefactor      .0000        97.873       -.54197E-07** at limit **
  14  norm          4.3355        7.5022        .99543E-07   -.10144E-03
  15  Prefactor     .11102E-09    99.398        .13905E-05** at limit **
  16  norm           .0000        20.914       -.30580E-07** at limit **
  17  Normalizat    .13081        .84922        .62598E-04   -.46770E-05
  18  Prefactor     1.5297        .27084       -.65284E-05   -.24837E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 158.228
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  Prefactor  = 77.5565
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.33552
  Prefactor  = 1.11022e-10
  norm       = 0
  Normalizat = 0.130814
  Prefactor  = 1.52966
 **********
 **   18 **HESSE 
 **********

 FCN=   1976.057     FROM HESSE     STATUS=NOT POSDEF   276 CALLS     1703 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     158.23        262.63        .81458E-04   -1.5456    
   2  Prefactor      .0000        18.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        36.539        .15132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    37.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    53.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    21.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        73.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        24.731        .68821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46629E-08    514.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     77.556        554.62        .10321E-03   -1.5532    
  11  Prefactor     .16653E-09    167.95        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        15.687        .17272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        90.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.3355        7.4334        .48295E-03   -1.5666    
  15  Prefactor     .11102E-09    92.395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        19.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .13081        9.6751        .29249       -1.3504    
  18  Prefactor     1.5297        1.7120        .29508E-01   -.76712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45715e-08
Minuit parameter uncertainties:
  1  262.652
  2  3.52426e-05
  3  4.66613e-05
  4  9.89608e-05
  5  0.000141872
  6  7.33011e-05
  7  6.26869e-05
  8  1.37261e-05
  9  0.00309318
  10  414.852
  11  0.000312211
  12  2.46132e-05
  13  7.65209e-05
  14  7.4334
  15  0.000176957
  16  3.67241e-05
  17  4.16836
  18  1.78415
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1976.05711252

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  2.461e-05  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.530e+00  1.784e+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:  1.308e-01  4.168e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/34523258/likelihoodResults_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.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) = 1976.08538163
delta logL = -0.028269105268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1976.05711286
delta logL = -3.36707444148e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1976.057     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      217 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    28.582        .30978E-06** at limit **
   2  Index         1.7864        5.4377        .24799E-04    .91980E-11
   3  Normalizat    .13081        .84029       -.63791E-04   -.10378E-04
   4  Prefactor     1.5297        .26740        .86769E-05   -.55812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 1.78637
  Normalizat = 0.130813
  Prefactor  = 1.52966
 **********
 **   18 **HESSE 
 **********

 FCN=   1976.057     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      254 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .35919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7864        5.8490        .50000       -.69805    
   3  Normalizat    .13081        .14584E-02    .29249       -1.3504    
   4  Prefactor     1.5297        .67368E-03    .29481E-01   -.76712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07715e-13
Minuit parameter uncertainties:
  1  2.09932e-05
  2  14685.3
  3  0.00145845
  4  0.000673681
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) = 1976.05711252
delta logL = -1.04591890704e-11

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  3.331e-10  2.099e-05  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  1.786e+00  1.469e+04  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.530e+00  6.737e-04  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:  1.308e-01  1.458e-03  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/34523258/cmap_HighResolution_722476801_722736001_4FGL_J1449.6-2137_daily_bin1864.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-02', job_status='DONE', photon_flux_upper_limit='3.45e-07', time_completed='2023-11-27 00:39:39.476203', job_id='34523258', GAL2='1.53', fit_tolerance='1e-08', EG2='0.13', EG='0.13', time_epoch_completed='1701074379.48', return_code2='102', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.53', dlogl='-1.05e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1864' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 27 00:39:39 PST 2023

