/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_J1935.2+2029_weekly_bin853
RA = 293.818, Dec = 20.4908
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='59978726', job_status='RUN', time_executed='2024-12-10 01:06:31.009133', time_epoch_executed='1733821591.01' WHERE source_name='4FGL J1935.2+2029' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59978726

Creating custom pfile directory:
/lscratch/kocevski/59978726/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/59978726/ft1_4FGL_J1935.2+2029_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/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59978726/ft1_4FGL_J1935.2+2029_weekly_bin853.fits outfile=/lscratch/kocevski/59978726/ft1_filteredMKT_4FGL_J1935.2+2029_weekly_bin853.fits ra=293.818 dec=20.4908 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.55
user 3.12
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_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/59978726/ft1_filteredMKT_4FGL_J1935.2+2029_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_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.44
user 0.23
sys 0.15

Number of photons that the gtmktime cut: 17686

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59978726/ltcube_754876801_755481601_4FGL_J1935.2+2029_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/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits
.....................!
real 18.97
user 18.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59978726/ltcube_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits outfile=/lscratch/kocevski/59978726/expmap_754876801_755481601_4FGL_J1935.2+2029_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/59978726/ltcube_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits
.....................!
real 69.42
user 65.08
sys 3.83

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 W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 278 point sources and 5 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 J1935.2+2029 @ 293.818 20.4908

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits outfile=/lscratch/kocevski/59978726/cmap_754876801_755481601_4FGL_J1935.2+2029_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=293.818 yref=20.4908 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.45
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits outfile=/lscratch/kocevski/59978726/cmap_HighResolution_754876801_755481601_4FGL_J1935.2+2029_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=293.818 yref=20.4908 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.43
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59978726/Model_4FGL_J1935.2+2029_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 Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source W 44
adding source W 51C
Working on...
/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits.....................!
real 1895.70
user 1882.17
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits', '/lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits', expMap='/lscratch/kocevski/59978726/expmap_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits', expCube='/lscratch/kocevski/59978726/ltcube_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59978726/Model_4FGL_J1935.2+2029_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1935.2+2029'

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.362e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  1.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59978726/ft1_filtered_4FGL_J1935.2+2029_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59978726/ft2_4FGL_J1935.2+2029_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59978726/expmap_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59978726/ltcube_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59978726/Model_4FGL_J1935.2+2029_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) = 157102.85193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16622E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.997       1.0000          .0000       .10000E+07
     3 'norm      '    37.544       1.0000          .0000       .10000E+07
     4 'norm      '    3.6861       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5887       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .43712       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.722       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.308       1.0000          .0000       .10000E+07
     9 'norm      '    .29070E-05   1.0000          .0000       .10000E+07
    10 'Normalizat'    1.4972       1.0000         .10000E-01   10.000    
    11 'Prefactor '    .97677       1.0000          .0000       10.000    
    12 'norm      '    7.5399       1.0000          .0000       .10000E+07
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1027E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   157102.8     FROM MIGRAD    STATUS=CONVERGED    237 CALLS      777 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.956       -.58071E-07** at limit **
   2  Prefactor     20.201        9.0018        .88743E-08    .24764E-03
   3  norm          37.883        15.689       -.26435E-06    .18477E-03
   4  norm          3.6848        2.0178        .12474E-08    .20814E-03
   5  Prefactor     1.5890        .15461       -.90329E-08   -.15477E-02
   6  Prefactor     .43591        .78722       -.14823E-07   -.51749E-02
   7  Prefactor     10.684        12.186        .79135E-06    .23193E-03
   8  Prefactor     20.363        15.061        .33286E-07    .14799E-03
   9  norm           .0000        .47296        .15180E-09** at limit **
  10  Normalizat    1.4974        .16447       -.12522E-05   -.18469E-05
  11  Prefactor     .97669        .12898E-01    .77654E-07   -.21510E-04
  12  norm          7.5356        1.1316        .65087E-08   -.16262E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.2014
  norm       = 37.8833
  norm       = 3.68482
  Prefactor  = 1.58902
  Prefactor  = 0.435906
  Prefactor  = 10.6836
  Prefactor  = 20.3633
  norm       = 0
  Normalizat = 1.49744
  Prefactor  = 0.976689
  norm       = 7.53559
 **********
 **   18 **HESSE 
 **********

 FCN=   157102.8     FROM HESSE     STATUS=OK           133 CALLS      910 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.957        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.201        9.0035        .89478E-05   -1.5618    
   3  norm          37.883        15.678        .65288E-05   -1.5585    
   4  norm          3.6848        2.0175        .21032E-04   -1.5670    
   5  Prefactor     1.5890        1.1665        .16836E-02   -1.5456    
   6  Prefactor     .43591        .92023        .45826E-03   -1.5695    
   7  Prefactor     10.684        12.189        .12229E-04   -1.5643    
   8  Prefactor     20.363        15.033        .88790E-05   -1.5618    
   9  norm           .0000        .47609        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Normalizat    1.4974        .16179        .12309E-02   -.77850    
  11  Prefactor     .97669        .13260E-01    .11434E-03   -.93511    
  12  norm          7.5356        1.1441        .72998E-04   -1.5653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85024e-07
Minuit parameter uncertainties:
  1  7.34712e-07
  2  9.00352
  3  15.6783
  4  2.0175
  5  1.16655
  6  0.920235
  7  12.1886
  8  15.0327
  9  1.62734e-06
  10  0.161843
  11  0.0132599
  12  1.14406
Done.

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

Extracting fit parameters...

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.589e+00  1.167e+00  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  1.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1013    Prefactor:  9.767e-01  1.326e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1014        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1015        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1009   Normalization:  1.497e+00  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.28
Ra Dec: 293.818 20.491
Photon Index (Fixed Index): 1.39 +/- 0.00
Photon Flux (Fixed Index): 5.24e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.35e-05

TS (Fixed Index): 2.28
Ra Dec: 293.818 20.491
Photon Flux Upper Limit: 1.24212739377e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.3683444923e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59978726/likelihoodResults_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.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) = 157102.565688
delta logL = 0.273021923058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 157102.55576
delta logL = 0.282948972163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8333       1.0000         .10000E-03   10000.    
     2 'Index1    '    .10296       1.0000          .0000       10.000    
     3 'Normalizat'    1.4963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97847       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1027E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   157102.6     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      258 TOTAL
                     EDM=   .16E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8326        1.4591         .0000        .68651E-02
   2  Index1        .10302        5.9153         .0000        .16113E-01
   3  Normalizat    1.4961        .16249         .0000        .53761E-03
   4  Prefactor     .97848        .12907E-01     .0000       -.28900E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83256
  Index1     = 0.103019
  Normalizat = 1.49605
  Prefactor  = 0.978483
 **********
 **   18 **HESSE 
 **********

 FCN=   157102.6     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .30E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8326        1.3882        .30820E-03   -1.5437    
   2  Index1        .10302        5.8345        .50000       -1.3674    
   3  Normalizat    1.4961        .15999        .12316E-02   -.77889    
   4  Prefactor     .97848        .13017E-01    .11425E-03   -.93450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000298544
Minuit parameter uncertainties:
  1  1.38822
  2  1.08278
  3  0.160042
  4  0.013017
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) = 157102.555759
delta logL = 0.282950833411

Extracting fit parameters...

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.833e+00  1.388e+00  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  1.030e-01  1.083e+00  0.000e+00  1.000e+01 (-1.000e+00)
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1013    Prefactor:  9.785e-01  1.302e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1014        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1015        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1009   Normalization:  1.496e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.84
Ra Dec: 293.818 20.491
Photon Index (Free Index): 0.10 +/- 1.08
Photon Flux (Free Index): 1.19e-08 +/- 1.17e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /lscratch/kocevski/59978726/cmap_HighResolution_754876801_755481601_4FGL_J1935.2+2029_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-05', comment='SUCCESS', photon_flux='5.24e-08', energy_flux2='1.43e-05', photon_flux_error='3.85e-08', dlogl='2.83e-01', energy_flux='1.84e-05', photon_flux2='1.19e-08', job_status='DONE', time_completed='2024-12-10 02:22:01.829249', photon_index_error2='1.08', photon_index2='0.10', ts='2.28', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.24e-05', EG='1.50', time_epoch_completed='1733826121.83', return_code='0', job_id='59978726', GAL2='0.98', EG2='1.50', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.17e-08', ts2='2.84', photon_index='1.39' WHERE bin_id='853' AND source_name='4FGL J1935.2+2029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 02:22:01 PST 2024

