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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1156
RA = 351.436, Dec = 18.3654
tmin = 538963201, tmax = 539222401
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='886963', job_status='RUN', time_executed='2021-09-29 18:35:46.667715', time_epoch_executed='1632965746.67' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886963

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886963/ft1_4FGL_J2325.7+1821_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886963/ft1_4FGL_J2325.7+1821_daily_bin1156.fits outfile=/scratch/kocevski/886963/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1156.fits ra=351.436 dec=18.3654 rad=12.0 tmin=538963201.0 tmax=539222401.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.57
user 4.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.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/886963/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1156.fits evtable="EVENTS" outfile="/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/886963/ltcube_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.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/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits
.....................!
real 11.70
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/886963/ltcube_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits outfile=/scratch/kocevski/886963/expmap_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.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/886963/ltcube_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits
.....................!
real 190.82
user 185.70
sys 4.77

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/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits outfile=/scratch/kocevski/886963/cmap_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits outfile=/scratch/kocevski/886963/cmap_HighResolution_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886963/Model_4FGL_J2325.7+1821_daily_bin1156.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/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits.....................!
real 99.61
user 98.20
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits', '/scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits', expMap='/scratch/kocevski/886963/expmap_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits', expCube='/scratch/kocevski/886963/ltcube_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/886963/Model_4FGL_J2325.7+1821_daily_bin1156.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/886963/ft1_filtered_4FGL_J2325.7+1821_daily_bin1156.fits
Spacecraft file(s): /scratch/kocevski/886963/ft2_4FGL_J2325.7+1821_daily_bin1156.fits
Exposure map: /scratch/kocevski/886963/expmap_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits
Exposure cube: /scratch/kocevski/886963/ltcube_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/886963/Model_4FGL_J2325.7+1821_daily_bin1156.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) = 9159.52439156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.065       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.1311       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6023       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .32165       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1750       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.375       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5419       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.680       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11170E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2544       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.544       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12990E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4460       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85150       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=   9159.510     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2603 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.063        4.8932        .11888E-06   -.79234E-04
   2  Prefactor     .10000E-03    3.5625        .13919E-07** at limit **
   3  Prefactor     .10000E-03    3.2349        .59256E-08** at limit **
   4  norm          1.1297        1.8031       -.42990E-06   -.81663E-03
   5  Prefactor     .10000E-03    19.653       -.88431E-06** at limit **
   6  Prefactor     2.6020        6.0120        .28177E-05   -.15134E-02
   7  Prefactor     .10194E-03    20.694        .31609E-06** at limit **
   8  Prefactor     2.1757        .28423        .10987E-07   -.82545E-03
   9  Prefactor     10.374        9.8733       -.34916E-06   -.40779E-04
  10  Prefactor     .10000E-03    2.1321        .99385E-08** at limit **
  11  Prefactor     7.5424        11.083       -.76547E-07   -.56303E-04
  12  Prefactor     19.670        24.056        .10778E-04    .39097E-03
  13  Prefactor     .10000E-03    60.305       -.57727E-06** at limit **
  14  Prefactor     2.2542        4.3007        .54967E-08   -.22168E-03
  15  Prefactor     .10000E-03    12.619       -.13840E-06** at limit **
  16  Prefactor     .10000E-03    8.7881        .91807E-07** at limit **
  17  norm          13.541        9.4514        .38449E-06   -.27377E-04
  18  Prefactor     .10000E-03    4.4393        .23137E-07** at limit **
  19  Prefactor     .10000E-03    16.174        .48797E-06** at limit **
  20  norm          .10000E-03    5.3358        .37610E-06** at limit **
  21  Prefactor     .10000E-03    5.7738        .52539E-07** at limit **
  22  Normalizat    1.4461        .22234       -.10593E-05   -.24629E-04
  23  Prefactor     .85148        .11898       -.72799E-06   -.54252E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.12967
  Prefactor  = 0.0001
  Prefactor  = 2.60204
  Prefactor  = 0.000101939
  Prefactor  = 2.17569
  Prefactor  = 10.3737
  Prefactor  = 0.0001
  Prefactor  = 7.54237
  Prefactor  = 19.67
  Prefactor  = 0.000100001
  Prefactor  = 2.2542
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.44611
  Prefactor  = 0.851475
 **********
 **   18 **HESSE 
 **********

 FCN=   9159.510     FROM HESSE     STATUS=OK           380 CALLS     2983 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.063        4.9210        .96954E-04   -1.4882    
   2  Prefactor     .10000E-03    3.5648        .17639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2393        .16811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1297        1.5810        .15459E-02   -1.5495    
   5  Prefactor     .10000E-03    19.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6020        11.302        .12645E-02   -1.5385    
   7  Prefactor     .10194E-03    24.038        .12446       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1757        .28657        .16809E-04   -1.5413    
   9  Prefactor     10.374        9.8756        .12439E-03   -1.5064    
  10  Prefactor     .10000E-03    2.1359        .13646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5424        11.089        .14603E-03   -1.5159    
  12  Prefactor     19.670        24.298        .90286E-04   -1.4821    
  13  Prefactor     .10000E-03    61.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2542        4.2806        .26471E-03   -1.5408    
  15  Prefactor     .10000E-03    12.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.541        9.4805        .10884E-03   -1.4972    
  18  Prefactor     .10000E-03    4.4616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    21.348        .43038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.9947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4461        .26011        .33534E-03   -.79304    
  23  Prefactor     .85148        .13843        .23587E-03   -.97858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03283e-08
Minuit parameter uncertainties:
  1  4.92113
  2  1.06789e-06
  3  1.26475e-06
  4  1.58107
  5  3.76293e-05
  6  10.8493
  7  0.0136606
  8  0.286572
  9  9.87714
  10  1.8092e-06
  11  11.0917
  12  24.3103
  13  0.000444613
  14  4.28114
  15  8.31313e-06
  16  9.33817e-06
  17  9.48151
  18  4.21864e-06
  19  3.1097e-05
  20  0.00024836
  21  1.43334e-05
  22  0.260349
  23  0.138489
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  9.338e-06  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:  8.515e-01  1.385e-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.446e+00  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 7.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886963/likelihoodResults_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.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) = 9159.51045218
delta logL = -0.000541014987903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9159.50991183
delta logL = -6.618702173e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10781E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4191       1.0000          .0000       10.000    
     3 'Normalizat'    1.4459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85157       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=   9159.510     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10206E-03    8.4803        .18142E-01** at limit **
   2  Index         2.2870        7.9865        .50000        .75595E-05
   3  Normalizat    1.4461        .53645E-02    .33534E-03    .12205E-04
   4  Prefactor     .85148        .30073E-02    .23587E-03    .14749E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102057
  Index      = 2.28699
  Normalizat = 1.44611
  Prefactor  = 0.851475
 **********
 **   18 **HESSE 
 **********

 FCN=   9159.510     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10206E-03    209.88        .28497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2870        6.2175        .50000       -.57353    
   3  Normalizat    1.4461        .27311E-01    .13413E-04   -.79304    
   4  Prefactor     .85148        .15310E-01    .94347E-05   -.97858    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.52571e-08
Minuit parameter uncertainties:
  1  0.0417024
  2  1118.89
  3  0.0273115
  4  0.0153104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886963': 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): 102
logL (Free Index) = 9159.50991094
delta logL = 2.2396852728e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.021e-04  4.170e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.287e+00  1.119e+03  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:  8.515e-01  1.531e-02  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.446e+00  2.731e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

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/886963/cmap_HighResolution_538963201_539222401_4FGL_J2325.7+1821_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-09-29 18:49:31.940725', job_id='886963', GAL2='0.85', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1632966571.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1156' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:49:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 886963: <4FGL_J2325.7+1821_daily_bin1156> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1156> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:31 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:32 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:35:32 2021
Terminated at Wed Sep 29 18:49:32 2021
Results reported at Wed Sep 29 18:49:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1156 351.436 18.3654 538963201 539222401 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 :                                   822.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             380.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            841 sec.

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

