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


Performing analysis on: 4FGL_J2244.2+4057_weekly_bin853
RA = 341.061, Dec = 40.9597
tmin = 754876801, tmax = 755481601
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='59979392', job_status='RUN', time_executed='2024-12-10 01:26:17.734428', time_epoch_executed='1733822777.73' WHERE source_name='4FGL J2244.2+4057' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59979392

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59979392/ft1_4FGL_J2244.2+4057_weekly_bin853.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59979392/ft1_4FGL_J2244.2+4057_weekly_bin853.fits outfile=/lscratch/kocevski/59979392/ft1_filteredMKT_4FGL_J2244.2+4057_weekly_bin853.fits ra=341.061 dec=40.9597 rad=12.0 tmin=754876801.0 tmax=755481601.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 3.28
user 2.94
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.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/59979392/ft1_filteredMKT_4FGL_J2244.2+4057_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.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.43
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 4312

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59979392/ltcube_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.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/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits
.....................!
real 28.89
user 28.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59979392/ltcube_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits outfile=/lscratch/kocevski/59979392/expmap_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.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/59979392/ltcube_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits
.....................!
real 61.13
user 57.62
sys 3.11

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 174 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 J2244.2+4057 @ 341.061 40.9597

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits outfile=/lscratch/kocevski/59979392/cmap_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.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=341.061 yref=40.9597 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.40
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits outfile=/lscratch/kocevski/59979392/cmap_HighResolution_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.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=341.061 yref=40.9597 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.40
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59979392/Model_4FGL_J2244.2+4057_weekly_bin853.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits.....................!
real 175.01
user 172.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits', '/lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits', expMap='/lscratch/kocevski/59979392/expmap_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits', expCube='/lscratch/kocevski/59979392/ltcube_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59979392/Model_4FGL_J2244.2+4057_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2244.2+4057'

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  8.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  2.026e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59979392/ft1_filtered_4FGL_J2244.2+4057_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59979392/ft2_4FGL_J2244.2+4057_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59979392/expmap_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59979392/ltcube_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59979392/Model_4FGL_J2244.2+4057_weekly_bin853.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) = 43400.0583562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7233       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0202       1.0000          .0000       .10000E+07
     3 'norm      '    2.0567       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22348E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6867       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19718E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .23729       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.6057       1.0000          .0000       .10000E+07
     9 'norm      '    .30552       1.0000          .0000       .10000E+07
    10 'norm      '    1.5323       1.0000          .0000       .10000E+07
    11 'norm      '    .26549E-03   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3338       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .87166       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   43399.06     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      698 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7297        .64058       -.32174E-08    .58332E-02
   2  Prefactor     .74559        22.280       -.30919E-05    .29808E-03
   3  norm          2.0568        1.3731        .31131E-07    .49116E-03
   4  Prefactor      .0000        4.2260       -.29006E-06** at limit **
   5  Prefactor     1.6831        2.5670        .52754E-07    .12992E-02
   6  Prefactor      .0000        4.5365       -.92189E-06** at limit **
   7  norm          .23727        .64577        .11528E-06** at limit **
   8  Prefactor     7.6588        6.5603       -.24834E-06    .19644E-03
   9  norm          .29596        5.0206        .11788E-06   -.84987E-03
  10  norm          1.5307        2.6638       -.11105E-06   -.64822E-03
  11  norm           .0000        6.9543       -.38195E-06** at limit **
  12  Normalizat    1.3335        .13270       -.61785E-05    .21956E-04
  13  Prefactor     .87173        .37549E-01    .29228E-05    .24253E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.72968
  Prefactor  = 0.745587
  norm       = 2.05678
  Prefactor  = 0
  Prefactor  = 1.68315
  Prefactor  = 0
  norm       = 0.23727
  Prefactor  = 7.65879
  norm       = 0.295957
  norm       = 1.53073
  norm       = 0
  Normalizat = 1.33349
  Prefactor  = 0.871733
 **********
 **   18 **HESSE 
 **********

 FCN=   43399.06     FROM HESSE     STATUS=OK           193 CALLS      891 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7297        .66610        .33914E-03   -1.5649    
   2  Prefactor     .74559        3.8132        .12792E-01   -1.5691    
   3  norm          2.0568        1.3834        .72038E-03   -1.5679    
   4  Prefactor      .0000        4.2197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6831        2.6054        .81044E-03   -1.5682    
   6  Prefactor      .0000        4.5405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .23727        .46907        .32198E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6588        6.6284        .36339E-03   -1.5653    
   9  norm          .29596        1.0454        .76614E-02   -1.5697    
  10  norm          1.5307        2.7029        .86172E-03   -1.5683    
  11  norm           .0000        .33267        .66791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.3335        .12023        .98106E-01   -.82572    
  13  Prefactor     .87173        .33591E-01    .34298E-01   -.97136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24903e-06
Minuit parameter uncertainties:
  1  0.666099
  2  3.3723
  3  1.38338
  4  3.86525e-06
  5  2.60544
  6  1.46926e-05
  7  0.469074
  8  6.62843
  9  1.04539
  10  2.70289
  11  4.94705e-06
  12  0.120251
  13  0.0335919
Done.

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

Extracting fit parameters...

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  2.057e+00  1.383e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  2.026e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.717e-01  3.359e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.333e+00  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.72
Ra Dec: 341.061 40.960
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.75e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 6.81e-06

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) = 43398.9086436
delta logL = 0.151126253069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 43398.9075127
delta logL = 0.1522571276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0240       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7465       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   43398.91     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      251 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0240        1.3837        .19331E-04    .12717E-01
   2  alpha         1.7465        .49125        .32877E-01    .61686E-04
   3  Normalizat    1.3379        .12720        .43404E-03   -.47775E-04
   4  Prefactor     .87138        .37007E-01    .15158E-03   -.13381E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02396
  alpha      = 1.7465
  Normalizat = 1.33794
  Prefactor  = 0.871384
 **********
 **   18 **HESSE 
 **********

 FCN=   43398.91     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0240        1.4066        .77323E-06   -1.5680    
   2  alpha         1.7465        .49978        .13151E-02   -.30616    
   3  Normalizat    1.3379        .12725        .17362E-04   -.82441    
   4  Prefactor     .87138        .37027E-01    .60631E-05   -.97148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41232e-10
Minuit parameter uncertainties:
  1  1.40658
  2  0.503518
  3  0.127284
  4  0.0370276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 43398.9075127
delta logL = 0.152257134985

Extracting fit parameters...

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  2.024e+00  1.407e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  1.747e+00  5.035e-01  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.714e-01  3.703e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.338e+00  1.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 341.061 40.960
Photon Index (Free Index): 1.75 +/- 0.50
Photon Flux (Free Index): 1.26e-08 +/- 1.20e-08
Energy Flux (Free Index): 1.26e-05 +/- 9.97e-06

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/59979392/cmap_HighResolution_754876801_755481601_4FGL_J2244.2+4057_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-08', energy_flux2='1.26e-05', photon_flux_error='1.18e-08', dlogl='1.52e-01', energy_flux='1.01e-05', photon_flux2='1.26e-08', job_status='DONE', time_completed='2024-12-10 01:36:01.550192', photon_index_error2='0.50', photon_index2='1.75', ts='4.72', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='9.97e-06', EG='1.33', time_epoch_completed='1733823361.55', return_code='0', job_id='59979392', GAL2='0.87', EG2='1.34', return_code2='0', energy_flux_error='6.81e-06', photon_flux_error2='1.20e-08', ts2='5.01', photon_index='2.03' WHERE bin_id='853' AND source_name='4FGL J2244.2+4057' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 01:36:01 PST 2024

