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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1094
RA = 351.436, Dec = 18.3654
tmin = 522892801, tmax = 523152001
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='886867', job_status='RUN', time_executed='2021-09-29 18:38:48.172685', time_epoch_executed='1632965928.17' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1094'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886867

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886867/ft1_4FGL_J2325.7+1821_daily_bin1094.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886867/ft1_4FGL_J2325.7+1821_daily_bin1094.fits outfile=/scratch/kocevski/886867/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1094.fits ra=351.436 dec=18.3654 rad=12.0 tmin=522892801.0 tmax=523152001.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.79
user 3.54
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.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/886867/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1094.fits evtable="EVENTS" outfile="/scratch/kocevski/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.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/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits" evtable="EVENTS" scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits sctable="SC_DATA" outfile=/scratch/kocevski/886867/ltcube_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.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/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits
.....................!
real 11.86
user 11.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits evtable="EVENTS" scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits sctable="SC_DATA" expcube=/scratch/kocevski/886867/ltcube_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.fits outfile=/scratch/kocevski/886867/expmap_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.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/886867/ltcube_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.fits
.....................!
real 189.38
user 184.82
sys 4.20

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/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits outfile=/scratch/kocevski/886867/cmap_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits outfile=/scratch/kocevski/886867/cmap_HighResolution_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits evtable="EVENTS" scfile=/scratch/kocevski/886867/ft2_4FGL_J2325.7+1821_daily_bin1094.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886867/Model_4FGL_J2325.7+1821_daily_bin1094.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/886867/ft1_filtered_4FGL_J2325.7+1821_daily_bin1094.fits.....................!
real 79.80
user 78.46
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6724       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5523       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .55732       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3203       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27924E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7924       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8257       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .77856E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0852       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1206       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=   7416.008     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2533 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6720        2.1649       -.20709E-06   -.27773E-03
   2  Prefactor     .10000E-03    5.1115       -.53599E-06** at limit **
   3  Prefactor     .10000E-03    6.4712       -.26373E-06** at limit **
   4  norm          1.5524        1.2938       -.17123E-07    .18066E-04
   5  Prefactor     20.292        33.559       -.59396E-05    .72013E-04
   6  Prefactor     .10000E-03    7.8185        .92103E-06** at limit **
   7  Prefactor     .10000E-03    11.818        .21679E-05** at limit **
   8  Prefactor     .55730        .17750        .44077E-07   -.15608E-02
   9  Prefactor     5.3204        5.4990        .84885E-06    .17461E-02
  10  Prefactor     .10002E-03    4.1920        .14906E-05** at limit **
  11  Prefactor     2.7885        14.667       -.30169E-04    .26489E-03
  12  Prefactor     .10000E-03    4.8138        .65207E-06** at limit **
  13  Prefactor     .10000E-03    9.7039       -.27156E-05** at limit **
  14  Prefactor     1.8218        7.4011       -.30110E-05   -.63829E-03
  15  Prefactor     .10000E-03    4.2679       -.10562E-05** at limit **
  16  Prefactor     .10000E-03    10.046        .12901E-05** at limit **
  17  norm          .10125E-03    4.9935       -.27837E-06** at limit **
  18  Prefactor     .10000E-03    4.0504        .30603E-05** at limit **
  19  Prefactor     .10000E-03    11.954       -.10879E-05** at limit **
  20  norm          .10000E-03    4.0471       -.21476E-05** at limit **
  21  Prefactor     .10000E-03    2.7457       -.14518E-06** at limit **
  22  Normalizat    1.0853        .20852        .23670E-05   -.21876E-04
  23  Prefactor     1.1206        .12462        .70470E-06   -.19061E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67205
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55238
  Prefactor  = 20.2916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.557301
  Prefactor  = 5.32037
  Prefactor  = 0.000100018
  Prefactor  = 2.78846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.82184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000101248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0853
  Prefactor  = 1.12057
 **********
 **   18 **HESSE 
 **********

 FCN=   7416.008     FROM HESSE     STATUS=OK           376 CALLS     2909 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6720        2.1580        .11006E-03   -1.5381    
   2  Prefactor     .10000E-03    5.1453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.5109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5524        1.2903        .87167E-04   -1.5459    
   5  Prefactor     20.292        33.559        .88872E-04   -1.4807    
   6  Prefactor     .10000E-03    7.8836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55730        .17602        .18945E-04   -1.5559    
   9  Prefactor     5.3204        5.5742        .87121E-03   -1.5247    
  10  Prefactor     .10002E-03    80.346        .33404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7885        14.694        .24348E-03   -1.5374    
  12  Prefactor     .10000E-03    4.8177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.7467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8218        7.5728        .30895E-03   -1.5438    
  15  Prefactor     .10000E-03    4.2801        .17368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10125E-03    6.5750        .57664E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.0794        .16871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.0451        .16912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.7568        .13934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0853        .23939        .31953E-03   -.90225    
  23  Prefactor     1.1206        .14315        .19410E-03   -.88812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89987e-09
Minuit parameter uncertainties:
  1  2.15809
  2  9.15382e-07
  3  8.70746e-06
  4  1.29027
  5  33.5897
  6  4.93144e-05
  7  3.90876e-05
  8  0.176024
  9  5.57473
  10  0.00244069
  11  12.8069
  12  1.82074e-05
  13  6.56301e-05
  14  7.43013
  15  2.57328e-05
  16  1.4962e-05
  17  0.00573035
  18  5.34459e-05
  19  2.77619e-05
  20  3.60224e-05
  21  5.11615e-06
  22  0.239626
  23  0.143202
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.496e-05  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:  1.121e+00  1.432e-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.085e+00  2.396e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886867/likelihoodResults_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.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) = 7416.00828884
delta logL = -0.000473079830954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7416.00781595
delta logL = -1.89631464309e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4287       1.0000          .0000       10.000    
     3 'Normalizat'    1.0852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1206       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.

 FCN=   7416.008     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1012.1        .90712E-02** at limit **
   2  Index         2.4259        8.7267        .50000        .24216E-05
   3  Normalizat    1.0853        .62053E-01    .72209E-01    .17592E-04
   4  Prefactor     1.1206        .38357E-01    .36851E-01    .13893E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.42586
  Normalizat = 1.0853
  Prefactor  = 1.12057
 **********
 **   18 **HESSE 
 **********

 FCN=   7416.008     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1816.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4259        6.1018        .50000       -.54081    
   3  Normalizat    1.0853        .11033        .31953E-03   -.90225    
   4  Prefactor     1.1206        .68396E-01    .19410E-03   -.88812    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59307e-09
Minuit parameter uncertainties:
  1  0.000126495
  2  59.563
  3  0.110355
  4  0.0684011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886867': 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) = 7416.00781576
delta logL = 3.39696271112e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.265e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.426e+00  5.956e+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:  1.121e+00  6.840e-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.085e+00  1.104e-01  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/886867/cmap_HighResolution_522892801_523152001_4FGL_J2325.7+1821_daily_bin1094.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-09-29 18:50:56.287526', job_id='886867', GAL2='1.12', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632966656.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.40e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1094' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:50:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 886867: <4FGL_J2325.7+1821_daily_bin1094> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1094 351.436 18.3654 522892801 523152001 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 :                                   722.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

