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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1885
RA = 351.35, Dec = -48.0022
tmin = 727920001, tmax = 728179201
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='38915881', job_status='RUN', time_executed='2024-01-29 00:55:50.332652', time_epoch_executed='1706518550.33' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1885'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38915881

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38915881/ft1_4FGL_J2325.4-4800_daily_bin1885.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38915881/ft1_4FGL_J2325.4-4800_daily_bin1885.fits outfile=/lscratch/kocevski/38915881/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1885.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=727920001.0 tmax=728179201.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.29
user 2.06
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.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/38915881/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1885.fits evtable="EVENTS" outfile="/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.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.21
sys 0.13

Number of photons that the gtmktime cut: 377

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38915881/ltcube_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.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/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits
.....................!
real 8.67
user 8.32
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits evtable="EVENTS" scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38915881/ltcube_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits outfile=/lscratch/kocevski/38915881/expmap_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.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/38915881/ltcube_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits
.....................!
real 71.49
user 67.27
sys 3.88

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

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits outfile=/lscratch/kocevski/38915881/cmap_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.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=351.35 yref=-48.0022 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.49
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits outfile=/lscratch/kocevski/38915881/cmap_HighResolution_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.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=351.35 yref=-48.0022 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.41
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits evtable="EVENTS" scfile=/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38915881/Model_4FGL_J2325.4-4800_daily_bin1885.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/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits.....................!
real 16.38
user 15.34
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits', '/lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits', expMap='/lscratch/kocevski/38915881/expmap_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits', expCube='/lscratch/kocevski/38915881/ltcube_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38915881/Model_4FGL_J2325.4-4800_daily_bin1885.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38915881/ft1_filtered_4FGL_J2325.4-4800_daily_bin1885.fits
Spacecraft file(s): /lscratch/kocevski/38915881/ft2_4FGL_J2325.4-4800_daily_bin1885.fits
Exposure map: /lscratch/kocevski/38915881/expmap_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits
Exposure cube: /lscratch/kocevski/38915881/ltcube_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38915881/Model_4FGL_J2325.4-4800_daily_bin1885.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) = 4146.61132457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97925E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.7088       1.0000          .0000       .10000E+07
     3 'Prefactor '    58.923       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.151       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4739       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8429       1.0000          .0000       .10000E+07
     7 'norm      '    .17151E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.669       1.0000          .0000       .10000E+07
     9 'Prefactor '    43.334       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7360       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.119       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23384E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .77959E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.248       1.0000          .0000       .10000E+07
    15 'norm      '    .37104E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .81493       1.0000          .0000       .10000E+07
    17 'norm      '    3.3489       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.900       1.0000          .0000       .10000E+07
    19 'Prefactor '    33.831       1.0000          .0000       .10000E+07
    20 'norm      '    .93626E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .54314E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    23 'norm      '    .41720E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    3.8271       1.0000          .0000       .10000E+07
    25 'Prefactor '    .26466E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    32.686       1.0000          .0000       .10000E+07
    27 'norm      '    .21278E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    11.612       1.0000          .0000       .10000E+07
    29 'Prefactor '    .24380E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    .90840       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4146.433     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     2990 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33702E-05    184.02       -.33844E-06** at limit **
   2  Prefactor     3.7760        11.062       -.84351E-06    .68095E-03
   3  Prefactor     59.843        9.8327       -.32379E-06    .14837    
   4  Prefactor     24.170        2.3792       -.16070E-06    .68423E-01
   5  Prefactor     2.4005        8.9461       -.63037E-05   -.11977E-01
   6  Prefactor     1.8531        5.6340        .53740E-06   -.50511E-03
   7  norm           .0000        2.1497       -.42610E-06** at limit **
   8  Prefactor     12.666        5.6503        .24049E-06   -.19144E-02
   9  Prefactor     42.996        5.1191       -.61840E-07    .22536E-01
  10  Prefactor     3.7766        6.2166        .66182E-06    .84316E-03
  11  Prefactor     23.399        4.1147       -.14756E-06   -.20560E-02
  12  Prefactor     .22204E-09    6.0554       -.14414E-05** at limit **
  13  Prefactor     .18963E-05    19.486        .22722E-05** at limit **
  14  Prefactor     16.207        3.5866       -.67778E-07   -.27389E-01
  15  norm          .62844E-06    24.851       -.49923E-05** at limit **
  16  norm          .83656        6.8706       -.87384E-06   -.74538E-02
  17  norm          3.3399        3.3904       -.72016E-07   -.46735E-03
  18  Prefactor     17.864        8.9964       -.48693E-06    .22525E-02
  19  Prefactor     36.592        42.643        .42825E-07   -.13942E-01
  20  norm           .0000        3.6411        .80288E-06** at limit **
  21  Prefactor     .53846E-08    14.148        .36464E-06** at limit **
  22  norm          .55511E-10    .72504       -.14094E-06** at limit **
  23  norm          .55511E-10    2.9256       -.28508E-06** at limit **
  24  Prefactor     3.9024        12.839       -.99150E-06   -.74379E-02
  25  Prefactor      .0000        2.1706       -.27078E-06** at limit **
  26  Prefactor     32.923        6.5166        .68202E-06   -.64885E-01
  27  norm          .44988E-05    9.9358       -.23416E-06** at limit **
  28  Prefactor     11.646        8.0148        .99327E-06    .31736E-02
  29  Prefactor     .11102E-09    4.7479       -.12587E-06** at limit **
  30  Normalizat    .90251        .26627       -.26674E-04   -.28489E-03
  31  Prefactor     .76528        .25929        .11785E-04   -.21539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37019e-06
  Prefactor  = 3.77597
  Prefactor  = 59.8428
  Prefactor  = 24.1699
  Prefactor  = 2.40053
  Prefactor  = 1.85306
  norm       = 0
  Prefactor  = 12.6665
  Prefactor  = 42.9958
  Prefactor  = 3.77663
  Prefactor  = 23.3994
  Prefactor  = 2.22045e-10
  Prefactor  = 1.89626e-06
  Prefactor  = 16.2072
  norm       = 6.28442e-07
  norm       = 0.83656
  norm       = 3.33993
  Prefactor  = 17.8637
  Prefactor  = 36.592
  norm       = 0
  Prefactor  = 5.38458e-09
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 3.90242
  Prefactor  = 0
  Prefactor  = 32.9232
  norm       = 4.49879e-06
  Prefactor  = 11.6458
  Prefactor  = 1.11022e-10
  Normalizat = 0.902506
  Prefactor  = 0.765278
 **********
 **   18 **HESSE 
 **********

 FCN=   4146.433     FROM HESSE     STATUS=OK           684 CALLS     3674 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33702E-05    185.96        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7760        16.062        .52414E-03   -1.5669    
   3  Prefactor     59.843        46.162        .13028E-03   -1.5553    
   4  Prefactor     24.170        17.363        .20353E-03   -1.5610    
   5  Prefactor     2.4005        9.2590        .64980E-03   -1.5677    
   6  Prefactor     1.8531        5.6735        .76800E-03   -1.5681    
   7  norm           .0000        2.1509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.666        5.6976        .28117E-03   -1.5637    
   9  Prefactor     42.996        42.486        .15192E-03   -1.5577    
  10  Prefactor     3.7766        6.4192        .52215E-03   -1.5669    
  11  Prefactor     23.399        26.692        .20803E-03   -1.5611    
  12  Prefactor     .22204E-09    6.0655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18963E-05    24.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.207        18.588        .24820E-03   -1.5627    
  15  norm          .62844E-06    30.973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .83656        15.606        .51828E-03   -1.5690    
  17  norm          3.3399        3.3867        .55279E-03   -1.5671    
  18  Prefactor     17.864        9.7158        .23645E-03   -1.5623    
  19  Prefactor     36.592        43.028        .17195E-03   -1.5587    
  20  norm           .0000        3.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .53846E-08    14.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .55511E-10    .72116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    2.9253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9024        12.945        .51567E-03   -1.5668    
  25  Prefactor      .0000        2.1686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     32.923        27.957        .17493E-03   -1.5593    
  27  norm          .44988E-05    26.236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     11.646        8.1697        .29373E-03   -1.5640    
  29  Prefactor     .11102E-09    4.6591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .90251        .22475        .45009E-01   -.96372    
  31  Prefactor     .76528        .21621        .43221E-01   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33403e-06
Minuit parameter uncertainties:
  1  0.0500703
  2  15.5755
  3  46.1627
  4  17.3631
  5  9.25906
  6  5.67347
  7  9.51075e-06
  8  5.69761
  9  42.4862
  10  6.41922
  11  26.6924
  12  6.8696e-05
  13  0.0137676
  14  18.5878
  15  0.00882385
  16  7.22657
  17  3.38672
  18  9.71584
  19  43.0286
  20  1.20196e-05
  21  0.000550987
  22  1.17431e-05
  23  2.01888e-05
  24  12.9449
  25  1.16702e-05
  26  27.9573
  27  0.0217285
  28  8.16975
  29  5.0501e-05
  30  0.224985
  31  0.21645
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.786e+01  9.716e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.653e-01  2.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.025e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.91
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 7.69e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 4.17e-05 +/- 2.27e-05

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) = 4146.20744801
delta logL = 0.225118160498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4146.20454285
delta logL = 0.228023322718

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4146.205     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      263 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.755        112.10        .29202E-03    .84548E-03
   2  Index         2.4157        2.7121        .81400E-01    .11811E-03
   3  Normalizat    .87351        .11184        .44557E-01   -.16611E-04
   4  Prefactor     .78619        .94723E-01    .43546E-01   -.18688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.755
  Index      = 2.4157
  Normalizat = 0.873511
  Prefactor  = 0.786187
 **********
 **   18 **HESSE 
 **********

 FCN=   4146.205     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.755        12.012        .10276E-04   -1.5639    
   2  Index         2.4157        .53489        .33096E-02   -.54318    
   3  Normalizat    .87351        .24721        .23911E-03   -.97397    
   4  Prefactor     .78619        .25484        .26098E-03   -1.0024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58018e-12
Minuit parameter uncertainties:
  1  12.0118
  2  0.536292
  3  0.247531
  4  0.255219
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) = 4146.20453468
delta logL = 0.228031492861

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.175e+01  1.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.416e+00  5.363e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.862e-01  2.552e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.735e-01  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.36
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.42 +/- 0.54
Photon Flux (Free Index): 9.81e-08 +/- 5.58e-08
Energy Flux (Free Index): 3.15e-05 +/- 1.98e-05

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/38915881/cmap_HighResolution_727920001_728179201_4FGL_J2325.4-4800_daily_bin1885.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.69e-08', energy_flux2='3.15e-05', photon_flux_error='4.18e-08', dlogl='2.28e-01', energy_flux='4.17e-05', photon_flux2='9.81e-08', job_status='DONE', time_completed='2024-01-29 01:00:19.240424', photon_index_error2='0.54', photon_index2='2.42', ts='8.91', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='0.90', time_epoch_completed='1706518819.24', return_code='0', job_id='38915881', GAL2='0.79', EG2='0.87', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='5.58e-08', ts2='9.36', photon_index='2.11' WHERE bin_id='1885' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 29 01:00:19 PST 2024

