/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 9 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.7+1821_daily_bin241
RA = 351.436, Dec = 18.3654
tmin = 301795201, tmax = 302054401
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='882922', job_status='RUN', time_executed='2021-09-29 18:20:33.648487', time_epoch_executed='1632964833.65' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882922

Creating custom pfile directory:
/scratch/kocevski/882922/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=301795201.0 && nMetStart<302054401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=301795201.0 && nMetStart<302054401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882922/ft1_4FGL_J2325.7+1821_daily_bin241.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=301795201.0 && nMetStart<302054401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882922/ft1_4FGL_J2325.7+1821_daily_bin241.fits outfile=/scratch/kocevski/882922/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin241.fits ra=351.436 dec=18.3654 rad=12.0 tmin=301795201.0 tmax=302054401.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 4.10
user 3.84
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/882922/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin241.fits evtable="EVENTS" outfile="/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/882922/ltcube_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.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 /scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits
.....................!
real 11.72
user 11.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/882922/ltcube_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits outfile=/scratch/kocevski/882922/expmap_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.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 /scratch/kocevski/882922/ltcube_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits
.....................!
real 191.41
user 185.26
sys 5.81

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

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits outfile=/scratch/kocevski/882922/cmap_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.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.436 yref=18.3654 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits outfile=/scratch/kocevski/882922/cmap_HighResolution_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.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.436 yref=18.3654 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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882922/Model_4FGL_J2325.7+1821_daily_bin241.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...
/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits.....................!
real 92.32
user 90.87
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits', '/scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits', expMap='/scratch/kocevski/882922/expmap_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits', expCube='/scratch/kocevski/882922/ltcube_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882922/Model_4FGL_J2325.7+1821_daily_bin241.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/882922/ft1_filtered_4FGL_J2325.7+1821_daily_bin241.fits
Spacecraft file(s): /scratch/kocevski/882922/ft2_4FGL_J2325.7+1821_daily_bin241.fits
Exposure map: /scratch/kocevski/882922/expmap_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits
Exposure cube: /scratch/kocevski/882922/ltcube_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882922/Model_4FGL_J2325.7+1821_daily_bin241.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) = 8273.9862263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.769       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4273       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11069E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .53735E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3730       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3282       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.630       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.852       1.0000         .10000E-03   10000.    
    17 'norm      '    4.7076       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .91868E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    31.684       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10697E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3795       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70535       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8273.887     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2212 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.767        4.0998        .90863E-07    .10931E-04
   2  Prefactor     .10000E-03    3.4308        .84966E-07** at limit **
   3  Prefactor     .10000E-03    3.0538       -.11830E-05** at limit **
   4  norm          1.4279        1.4200       -.35325E-07   -.21084E-03
   5  Prefactor     .10000E-03    91.059       -.37182E-05** at limit **
   6  Prefactor     .10003E-03    6.8731        .66744E-06** at limit **
   7  Prefactor     .10000E-03    9.5470       -.65350E-07** at limit **
   8  Prefactor     3.3732        .30992       -.77000E-08   -.42162E-03
   9  Prefactor     35.225        12.782        .38923E-07   -.60279E-04
  10  Prefactor     .10000E-03    2.4336       -.61910E-07** at limit **
  11  Prefactor     3.3257        11.011        .36572E-05   -.59368E-03
  12  Prefactor     12.629        15.019       -.90257E-07   -.37571E-04
  13  Prefactor     .10000E-03    4.8873       -.13262E-07** at limit **
  14  Prefactor     .10000E-03    3.0101       -.25103E-06** at limit **
  15  Prefactor     .10000E-03    3.0543        .15045E-05** at limit **
  16  Prefactor     26.845        20.425        .18193E-06    .24628E-04
  17  norm          4.7031        5.8602        .27268E-05    .82946E-03
  18  Prefactor     .10584        4.7417       -.12670E-05    .18926E-03
  19  Prefactor     .10000E-03    32.426       -.57521E-06** at limit **
  20  norm          31.681        16.514        .15264E-06    .93377E-04
  21  Prefactor     .10000E-03    3.4224        .31275E-06** at limit **
  22  Normalizat    1.3797        .21367       -.40975E-06    .70458E-04
  23  Prefactor     .70518        .11693       -.43533E-06    .62369E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.7669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.42787
  Prefactor  = 0.000100001
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 3.3732
  Prefactor  = 35.2252
  Prefactor  = 0.0001
  Prefactor  = 3.32569
  Prefactor  = 12.629
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.8445
  norm       = 4.7031
  Prefactor  = 0.105837
  Prefactor  = 0.0001
  norm       = 31.6807
  Prefactor  = 0.000100002
  Normalizat = 1.37973
  Prefactor  = 0.705181
 **********
 **   18 **HESSE 
 **********

 FCN=   8273.887     FROM HESSE     STATUS=OK           380 CALLS     2592 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.767        4.1228        .94820E-04   -1.4966    
   2  Prefactor     .10000E-03    3.4363        .16452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.0690        .15555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4279        1.4123        .10424E-03   -1.5469    
   5  Prefactor     .10000E-03    92.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    59.771        .45215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.5618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3732        .31032        .14659E-04   -1.5341    
   9  Prefactor     35.225        12.762        .67525E-04   -1.4520    
  10  Prefactor     .10000E-03    2.4394        .13857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3257        20.780        .11094E-02   -1.5343    
  12  Prefactor     12.629        15.044        .11271E-03   -1.4997    
  13  Prefactor     .10000E-03    4.8891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0304        .15401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0591        .15520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.845        20.494        .77309E-04   -1.4671    
  17  norm          4.7031        6.1185        .18546E-03   -1.5274    
  18  Prefactor     .10584        5.5524        .57962E-01   -1.5643    
  19  Prefactor     .10000E-03    32.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          31.681        16.521        .71185E-04   -1.4582    
  21  Prefactor     .10000E-03    15.438        .32531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3797        .25012        .31203E-03   -.81217    
  23  Prefactor     .70518        .13555        .24075E-03   -1.0332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88032e-09
Minuit parameter uncertainties:
  1  4.12287
  2  3.02764e-06
  3  3.77383e-05
  4  1.41237
  5  0.000568649
  6  0.00272266
  7  1.7341e-06
  8  0.310324
  9  12.7628
  10  1.24065e-06
  11  16.6346
  12  15.0486
  13  2.07885e-07
  14  6.59718e-06
  15  4.14073e-05
  16  20.4995
  17  6.11935
  18  1.53259
  19  0.000121198
  20  16.5231
  21  0.000306282
  22  0.250339
  23  0.135615
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.684e+01  2.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  7.052e-01  1.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.380e+00  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.62
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.67e-08 +/- 4.33e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.36e-05

TS (Fixed Index): 2.62
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882922/likelihoodResults_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.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) = 8273.7691681
delta logL = 0.11796742896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8273.76494243
delta logL = 0.122193103329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.056       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7890       1.0000          .0000       10.000    
     3 'Normalizat'    1.3551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71401       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   8273.765     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.049        27.074        .91750E-04   -.89710E-04
   2  Index         2.7893        .90708        .69347E-02   -.38477E-04
   3  Normalizat    1.3552        .24453        .31435E-03   -.10769E-02
   4  Prefactor     .71418        .13701        .23940E-03   -.16339E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0485
  Index      = 2.78934
  Normalizat = 1.35517
  Prefactor  = 0.714179
 **********
 **   18 **HESSE 
 **********

 FCN=   8273.765     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.049        22.672        .36700E-05   -1.4835    
   2  Index         2.7893        .75963        .27739E-03   -.45797    
   3  Normalizat    1.3552        .24350        .62870E-04   -.81934    
   4  Prefactor     .71418        .13661        .47880E-04   -1.0297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99602e-09
Minuit parameter uncertainties:
  1  22.6818
  2  0.763314
  3  0.243711
  4  0.136678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882922': No such file or directory
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) = 8273.76493823
delta logL = 0.122197301864

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.905e+01  2.268e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.789e+00  7.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  7.142e-01  1.367e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.355e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 351.436 18.365
Photon Index (Free Index): 2.79 +/- 0.76
Photon Flux (Free Index): 7.46e-08 +/- 6.08e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.20e-05

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 /scratch/kocevski/882922/cmap_HighResolution_301795201_302054401_4FGL_J2325.7+1821_daily_bin241.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/882922

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='5.67e-08', energy_flux2='1.68e-05', photon_flux_error='4.33e-08', dlogl='1.22e-01', energy_flux='1.78e-05', photon_flux2='7.46e-08', job_status='DONE', time_completed='2021-09-29 18:33:29.686370', photon_index_error2='0.76', photon_index2='2.79', ts='2.62', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.20e-05', EG='1.38', time_epoch_completed='1632965609.69', return_code='0', job_id='882922', GAL2='0.71', EG2='1.36', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='6.08e-08', ts2='2.86', photon_index='2.43' WHERE bin_id='241' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:33:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 882922: <4FGL_J2325.7+1821_daily_bin241> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin241> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 18:20:14 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:20:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:20:16 2021
Terminated at Wed Sep 29 18:33:30 2021
Results reported at Wed Sep 29 18:33:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin241 351.436 18.3654 301795201 302054401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   772.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

The output (if any) is above this job summary.

