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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin2001
RA = 333.226, Dec = -25.4335
tmin = 757987201, tmax = 758246401
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='61541393', job_status='RUN', time_executed='2025-01-11 00:56:28.897677', time_epoch_executed='1736585788.9' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='2001'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/61541393

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/61541393/ft1_4FGL_J2212.9-2526_daily_bin2001.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/61541393/ft1_4FGL_J2212.9-2526_daily_bin2001.fits outfile=/lscratch/kocevski/61541393/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin2001.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=757987201.0 tmax=758246401.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 1.74
user 1.51
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.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/61541393/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin2001.fits evtable="EVENTS" outfile="/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.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.40
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 528

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits" evtable="EVENTS" scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits sctable="SC_DATA" outfile=/lscratch/kocevski/61541393/ltcube_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.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/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits
.....................!
real 10.13
user 9.76
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits evtable="EVENTS" scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits sctable="SC_DATA" expcube=/lscratch/kocevski/61541393/ltcube_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits outfile=/lscratch/kocevski/61541393/expmap_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.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/61541393/ltcube_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits
.....................!
real 67.81
user 63.88
sys 3.59

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits outfile=/lscratch/kocevski/61541393/cmap_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.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=333.226 yref=-25.4335 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.38
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits outfile=/lscratch/kocevski/61541393/cmap_HighResolution_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.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=333.226 yref=-25.4335 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.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits evtable="EVENTS" scfile=/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/61541393/Model_4FGL_J2212.9-2526_daily_bin2001.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/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits.....................!
real 20.28
user 19.45
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits', '/lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits', expMap='/lscratch/kocevski/61541393/expmap_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits', expCube='/lscratch/kocevski/61541393/ltcube_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/61541393/Model_4FGL_J2212.9-2526_daily_bin2001.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/61541393/ft1_filtered_4FGL_J2212.9-2526_daily_bin2001.fits
Spacecraft file(s): /lscratch/kocevski/61541393/ft2_4FGL_J2212.9-2526_daily_bin2001.fits
Exposure map: /lscratch/kocevski/61541393/expmap_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits
Exposure cube: /lscratch/kocevski/61541393/ltcube_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/61541393/Model_4FGL_J2212.9-2526_daily_bin2001.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) = 5728.86594819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35907E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .73225E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.4474       1.0000          .0000       .10000E+07
     4 'norm      '    .85742E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.0848       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39388E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11902E-02   1.0000          .0000       .10000E+07
     8 'norm      '    2.6413       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.348       1.0000          .0000       .10000E+07
    10 'norm      '    3.1176       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14441E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22344E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .43040E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    28.291       1.0000          .0000       .10000E+07
    15 'norm      '    .14463E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0590       1.0000          .0000       .10000E+07
    17 'norm      '    3.9532       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71221E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .64331E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.6671       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42336E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.1856       1.0000          .0000       .10000E+07
    23 'norm      '    3.8329       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.2941       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1057       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .96890       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5728.811     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1751 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    7.3006       -.17677E-06** at limit **
   2  Prefactor     .26645E-08    2.6271       -.89849E-09** at limit **
   3  Prefactor     8.6758        2.5976       -.25942E-07    .51042E-02
   4  norm          .15155E-07    13.231        .35302E-07** at limit **
   5  Prefactor     6.3889        5.6102       -.10472E-07    .99665E-02
   6  Prefactor     .14266E-07    11.086       -.25673E-06** at limit **
   7  Prefactor     .13378E-07    38.096        .46811E-06** at limit **
   8  norm          2.6498        4.3482       -.15986E-07    .95569E-04
   9  Prefactor     15.450        5.3983       -.55544E-07    .23166E-01
  10  norm          3.1186        .66673       -.50297E-08    .78823E-03
  11  Prefactor     .32196E-08    9.8274       -.11797E-06** at limit **
  12  Prefactor      .0000        4.1370       -.35178E-07** at limit **
  13  Prefactor     .27200E-08    2.6790        .61634E-08** at limit **
  14  Prefactor     29.225        12.450        .23885E-08   -.45474E-01
  15  norm          .35028E-07    25.130        .35242E-06** at limit **
  16  Prefactor     5.1470        10.459       -.64139E-07   -.17293E-02
  17  norm          3.9535        2.2996       -.41519E-07    .54027E-03
  18  Prefactor     .44648E-06    55.107        .26963E-06** at limit **
  19  Prefactor      .0000        4.4058        .61269E-07** at limit **
  20  norm          1.6619        2.7426        .57255E-07   -.14335E-03
  21  Prefactor      .0000        6.1501       -.99682E-07** at limit **
  22  Prefactor     9.4923        2.5105       -.26212E-07    .70431E-02
  23  norm          3.8272        .93737       -.27160E-07    .17948E-02
  24  Prefactor     2.0749        2.2186        .49385E-07   -.32574E-02
  25  Normalizat    1.1034        .25993       -.17181E-05    .16100E-04
  26  Prefactor     .96862        .21126        .65118E-06    .15643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 2.66454e-09
  Prefactor  = 8.67579
  norm       = 1.51545e-08
  Prefactor  = 6.38889
  Prefactor  = 1.42664e-08
  Prefactor  = 1.33782e-08
  norm       = 2.64979
  Prefactor  = 15.4502
  norm       = 3.11864
  Prefactor  = 3.21965e-09
  Prefactor  = 0
  Prefactor  = 2.72005e-09
  Prefactor  = 29.2247
  norm       = 3.50275e-08
  Prefactor  = 5.14703
  norm       = 3.95352
  Prefactor  = 4.46476e-07
  Prefactor  = 0
  norm       = 1.66193
  Prefactor  = 0
  Prefactor  = 9.4923
  norm       = 3.82716
  Prefactor  = 2.07494
  Normalizat = 1.10339
  Prefactor  = 0.968623
 **********
 **   18 **HESSE 
 **********

 FCN=   5728.811     FROM HESSE     STATUS=OK           508 CALLS     2259 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    7.3033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26645E-08    5.1173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.6758        18.483        .34467E-03   -1.5649    
   4  norm          .15155E-07    13.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.3889        31.861        .40678E-03   -1.5657    
   6  Prefactor     .14266E-07    11.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13378E-07    39.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6498        4.3659        .62709E-03   -1.5675    
   9  Prefactor     15.450        26.543        .26416E-03   -1.5629    
  10  norm          3.1186        .66585        .57399E-03   -1.5673    
  11  Prefactor     .32196E-08    9.8406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.1407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27200E-08    5.1168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.225        40.744        .18804E-03   -1.5600    
  15  norm          .35028E-07    26.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1470        10.628        .44681E-03   -1.5663    
  17  norm          3.9535        2.3055        .50709E-03   -1.5668    
  18  Prefactor     .44648E-06    59.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.4092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6619        2.8311        .81636E-03   -1.5682    
  21  Prefactor      .0000        6.1507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.4923        18.843        .33044E-03   -1.5646    
  23  norm          3.8272        1.2437        .51526E-03   -1.5669    
  24  Prefactor     2.0749        50.062        .67738E-03   -1.5679    
  25  Normalizat    1.1034        .22375        .63559E-01   -.89643    
  26  Prefactor     .96862        .17920        .45877E-01   -.93783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82099e-07
Minuit parameter uncertainties:
  1  4.83908e-05
  2  0.000232967
  3  18.4827
  4  0.00090188
  5  28.5347
  6  0.000803251
  7  0.0014569
  8  4.36592
  9  26.5431
  10  0.665853
  11  0.000356998
  12  3.15553e-07
  13  0.000236833
  14  40.7445
  15  0.00194244
  16  10.6277
  17  2.3055
  18  0.0103117
  19  7.33202e-06
  20  2.83109
  21  1.50824e-05
  22  18.8428
  23  1.24374
  24  20.384
  25  0.223939
  26  0.17931
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  0.000e+00  3.156e-07  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.686e-01  1.793e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.103e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 4.34555200411e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00332430428918 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/61541393/likelihoodResults_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.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) = 5728.81758674
delta logL = -0.00621680087443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5728.81137024
delta logL = -3.02155058307e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16431E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .99440       1.0000          .0000       10.000    
     3 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5728.811     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      244 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.5913        .42118E-03** at limit **
   2  Index         2.1680        1.8366        .12322E-04     .0000    
   3  Normalizat    1.1034        1.1530        .44015E-05   -.22327E-05
   4  Prefactor     .96862        1.3097       -.15908E-05    .11895E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16797
  Normalizat = 1.10339
  Prefactor  = 0.968623
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5728.811     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.5913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51676        1.9481        .12322E-04   -.60214    
   3  Normalizat    1.1034        1.1530        .44015E-05   -.89643    
   4  Prefactor     .96862        1.3097       -.15908E-05   -.93783    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.75558e-13
Minuit parameter uncertainties:
  1  7.11228e-06
  2  1.90361
  3  1.18107
  4  1.35681
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) = 5728.81136993
delta logL = 0.0

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  0.000e+00  7.112e-06  0.000e+00  1.000e+06 ( 1.000e-13)
242        Index:  2.168e+00  1.904e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.686e-01  1.357e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.103e+00  1.181e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 333.226 -25.433

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/61541393/cmap_HighResolution_757987201_758246401_4FGL_J2212.9-2526_daily_bin2001.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2025-01-11 01:00:20.755097', job_id='61541393', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1736586020.76', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='2001' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 11 01:00:20 PST 2025

