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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1255
RA = 351.35, Dec = -48.0022
tmin = 564624001, tmax = 564883201
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='877385', job_status='RUN', time_executed='2021-09-29 18:11:40.753966', time_epoch_executed='1632964300.75' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877385

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877385/ft1_4FGL_J2325.4-4800_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877385/ft1_4FGL_J2325.4-4800_daily_bin1255.fits outfile=/scratch/kocevski/877385/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1255.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=564624001.0 tmax=564883201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.64
user 3.39
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.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/877385/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/877385/ltcube_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.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/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits
.....................!
real 11.45
user 11.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/877385/ltcube_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits outfile=/scratch/kocevski/877385/expmap_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.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/877385/ltcube_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits
.....................!
real 192.43
user 187.09
sys 4.96

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=/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits outfile=/scratch/kocevski/877385/cmap_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits outfile=/scratch/kocevski/877385/cmap_HighResolution_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877385/Model_4FGL_J2325.4-4800_daily_bin1255.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/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits........!
real 14.34
user 13.16
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits', '/scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits', expMap='/scratch/kocevski/877385/expmap_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits', expCube='/scratch/kocevski/877385/ltcube_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877385/Model_4FGL_J2325.4-4800_daily_bin1255.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  1.000e-04  1.000e+04 ( 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): /scratch/kocevski/877385/ft1_filtered_4FGL_J2325.4-4800_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/877385/ft2_4FGL_J2325.4-4800_daily_bin1255.fits
Exposure map: /scratch/kocevski/877385/expmap_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits
Exposure cube: /scratch/kocevski/877385/ltcube_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877385/Model_4FGL_J2325.4-4800_daily_bin1255.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 110.818628814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 107.409159423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5039       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5116       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3022       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .80164E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4751       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22909E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11354E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.065       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1346       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6133       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0694       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30920E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5859       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5499       1.0000         .10000E-03   10000.    
    18 'norm      '    379.03       1.0000         .10000E-03   10000.    
    19 'norm      '    .92570       1.0000         .10000E-03   10000.    
    20 'norm      '    .43781E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13548       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.139       1.0000         .10000E-03   10000.    
    23 'norm      '    17.749       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.5260       1.0000         .10000E-03   10000.    
    25 'norm      '    7.2906       1.0000         .10000E-03   10000.    
    26 'norm      '    3.1702       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.1836       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.5694       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.2519       1.0000         .10000E-03   10000.    
    30 'norm      '    2.9390       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.4203       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .50555E-01   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .89314E-01   1.0000         .10000E-01   10.000    
    34 'Prefactor '    .57982       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=   106.8450     FROM MIGRAD    STATUS=CONVERGED    645 CALLS      936 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    343.29        .37822E-04** at limit **
   2  Prefactor     7.3456        1.0023         .0000         .0000    
   3  Prefactor     8.5116        1.0017         .0000         .0000    
   4  Prefactor     1.5468        1.0651         .0000         .0000    
   5  Prefactor     2.3022        1.0258         .0000         .0000    
   6  Prefactor     .10001E-03    914.18       -.87681E-04** at limit **
   7  Prefactor     1.4751        1.0736         .0000         .0000    
   8  norm          1.6153        1.0584         .0000         .0000    
   9  Prefactor     .10000E-03    15.209        .85508E-05** at limit **
  10  Prefactor     .10000E-03    139.96       -.35745E-04** at limit **
  11  Prefactor     .10000E-03    117.12       -.86262E-04** at limit **
  12  Prefactor     .53798        6.3365       -.15439E-04    .61496E-03
  13  Prefactor     .46700        284.88        .76515E-04   -.17764E-02
  14  Prefactor     4.0694        1.0077         .0000         .0000    
  15  Prefactor     .10001E-03    37.822       -.40696E-04** at limit **
  16  Prefactor     2526.5        3115.9        .17242E-03   -.14773E-03
  17  Prefactor     3.5499        1.0103         .0000         .0000    
  18  norm          341.66        283.45       -.48777E-04   -.40287E-02
  19  norm          .24071E-03    8936.5       -.48018E-03** at limit **
  20  norm          .10000E-03    30.265       -.28892E-05** at limit **
  21  Prefactor     .10000E-03    297.90       -.56402E-04** at limit **
  22  Prefactor     253.96        310.08        .11456E-03   -.49189E-04
  23  norm          .10000E-03    114.06        .59505E-04** at limit **
  24  Prefactor     .10000E-03    854.88        .66523E-04** at limit **
  25  norm          7.2906        1.0024         .0000         .0000    
  26  norm          .10000E-03    61.143        .14221E-03** at limit **
  27  Prefactor     2.1836        1.0290         .0000         .0000    
  28  Prefactor     1.5694        1.0628         .0000         .0000    
  29  Prefactor     2.2519        1.0271         .0000         .0000    
  30  norm          2.9390        1.0153         .0000         .0000    
  31  Prefactor     2.4203        1.0231         .0000         .0000    
  32  Prefactor     .10000E-03    212.67        .11952E-03** at limit **
  33  Normalizat    .10000E-01    6.7801        .51653E-03** at limit **
  34  Prefactor     .55139        .46719       -.72238E-04   -.18396E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.3456
  Prefactor  = 8.51155
  Prefactor  = 1.54684
  Prefactor  = 2.30218
  Prefactor  = 0.00010001
  Prefactor  = 1.47511
  norm       = 1.61533
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.537984
  Prefactor  = 0.467005
  Prefactor  = 4.06936
  Prefactor  = 0.000100007
  Prefactor  = 2526.52
  Prefactor  = 3.54989
  norm       = 341.657
  norm       = 0.00024071
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 253.963
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 7.2906
  norm       = 0.0001
  Prefactor  = 2.18357
  Prefactor  = 1.5694
  Prefactor  = 2.25189
  norm       = 2.93896
  Prefactor  = 2.42032
  Prefactor  = 0.000100001
  Normalizat = 0.01
  Prefactor  = 0.551393
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   106.8450     FROM HESSE     STATUS=FAILED        15 CALLS      951 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    348.00        .64563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     510.43        503.05         .0000       -1.5166    
   3  Prefactor     8.5116        1.0017         .0000       -1.5124    
   4  Prefactor     1.5468        1.0651         .0000       -1.5459    
   5  Prefactor     2.3022        1.0258         .0000       -1.5404    
   6  Prefactor     .10001E-03    .22166       -.87681E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4751        1.0736         .0000       -1.5465    
   8  norm          1.6153        1.0584         .0000       -1.5454    
   9  Prefactor     .10000E-03    .25258        .85508E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .20610       -.35745E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .50191E-02   -.86262E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .53798        .36346       -.15439E-04   -1.5561    
  13  Prefactor     .46700        .43102        .76515E-04   -1.5845    
  14  Prefactor     4.0694        1.0077         .0000       -1.5304    
  15  Prefactor     .10001E-03    .24491       -.40696E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2526.5        14.061        .17242E-03   -.51749    
  17  Prefactor     3.5499        1.0103         .0000       -1.5331    
  18  norm          341.66        .95126       -.48777E-04   -1.1990    
  19  norm          .24071E-03    .41605       -.48018E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .23474       -.28892E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .23421       -.56402E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     253.96        4.1895        .11456E-03   -1.2507    
  23  norm          .10000E-03    .14121E-01    .59505E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    .18670        .66523E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.2906        1.0024         .0000       -1.5168    
  26  norm          .10000E-03    .80952E-01    .14221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.1836        1.0290         .0000       -1.5412    
  28  Prefactor     1.5694        1.0628         .0000       -1.5457    
  29  Prefactor     2.2519        1.0271         .0000       -1.5408    
  30  norm          2.9390        1.0153         .0000       -1.5365    
  31  Prefactor     2.4203        1.0231         .0000       -1.5397    
  32  Prefactor     .10000E-03    .21496        .11952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .10000E-01    .27594        .51653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .55139        .90519       -.72238E-04   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.95828e-10
Minuit parameter uncertainties:
  1  0.000569358
  2  1.00233
  3  1.00173
  4  1.06512
  5  1.02578
  6  9.28725e-05
  7  1.07362
  8  1.05842
  9  2.93363e-05
  10  7.03546e-07
  11  3.93972e-06
  12  0.363459
  13  0.431024
  14  1.00775
  15  8.03394e-05
  16  14.0608
  17  1.01028
  18  0.951264
  19  0.0153027
  20  6.06048e-06
  21  6.75277e-05
  22  4.18952
  23  4.17964e-06
  24  2.75229e-05
  25  1.00237
  26  7.76052e-07
  27  1.02897
  28  1.06278
  29  1.02706
  30  1.01526
  31  1.02311
  32  3.53573e-05
  33  1.14975e-05
  34  0.930767
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 106.844968408

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  6.753e-05  1.000e-04  1.000e+04 ( 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:  5.514e-01  9.308e-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:  1.000e-02  1.150e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 7.94e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877385/likelihoodResults_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.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) = 106.844984106
delta logL = -1.56972737102e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 106.844968828
delta logL = -4.19401260388e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20659E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3688       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55140       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=   106.8450     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      258 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    292.50        .90712E-02** at limit **
   2  Index         2.3321        6.4309        .50000        .14267E-05
   3  Normalizat    .10000E-01    .35307E-02    .21221    ** at limit **
   4  Prefactor     .55140        .21856E-01    .40387E-01    .14922E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100061
  Index      = 2.33211
  Normalizat = 0.01
  Prefactor  = 0.551396
 **********
 **   18 **HESSE 
 **********

 FCN=   106.8450     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      289 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    1638.1        .15152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3321        7.9273        .50000       -.56282    
   3  Normalizat    .10000E-01    .64398E-01    .74082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55140        .53315E-01    .18866E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.66818e-08
Minuit parameter uncertainties:
  1  0.0205867
  2  1057.5
  3  9.38923e-07
  4  0.0533195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877385': 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) = 106.844968469
delta logL = -6.06496115552e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.001e-04  2.059e-02  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.332e+00  1.058e+03  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:  5.514e-01  5.332e-02  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:  1.000e-02  9.389e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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 /scratch/kocevski/877385/cmap_HighResolution_564624001_564883201_4FGL_J2325.4-4800_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-01', job_status='DONE', photon_flux_upper_limit='7.94e-06', time_completed='2021-09-29 18:17:14.852842', job_id='877385', GAL2='0.55', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632964634.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.55', dlogl='-6.06e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1255' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:17:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 877385: <4FGL_J2325.4-4800_daily_bin1255> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1255> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:34 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:35 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:10:35 2021
Terminated at Wed Sep 29 18:17:15 2021
Results reported at Wed Sep 29 18:17:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1255 351.35 -48.0022 564624001 564883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   324.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   400 sec.
    Turnaround time :                            401 sec.

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

