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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1555
RA = 351.737, Dec = -41.5089
tmin = 642384001, tmax = 642643201
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='904607', job_status='RUN', time_executed='2021-09-29 19:31:52.244588', time_epoch_executed='1632969112.24' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904607

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904607/ft1_4FGL_J2326.9-4130_daily_bin1555.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904607/ft1_4FGL_J2326.9-4130_daily_bin1555.fits outfile=/scratch/kocevski/904607/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1555.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=642384001.0 tmax=642643201.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.69
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.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/904607/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1555.fits evtable="EVENTS" outfile="/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.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.53
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits" evtable="EVENTS" scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits sctable="SC_DATA" outfile=/scratch/kocevski/904607/ltcube_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.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/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits
.....................!
real 12.95
user 12.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits sctable="SC_DATA" expcube=/scratch/kocevski/904607/ltcube_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits outfile=/scratch/kocevski/904607/expmap_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.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/904607/ltcube_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits
.....................!
real 192.94
user 187.77
sys 4.66

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

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits outfile=/scratch/kocevski/904607/cmap_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.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.737 yref=-41.5089 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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits outfile=/scratch/kocevski/904607/cmap_HighResolution_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.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.737 yref=-41.5089 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits evtable="EVENTS" scfile=/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904607/Model_4FGL_J2326.9-4130_daily_bin1555.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/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits.....................!
real 41.22
user 39.92
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits', '/scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits', expMap='/scratch/kocevski/904607/expmap_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits', expCube='/scratch/kocevski/904607/ltcube_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904607/Model_4FGL_J2326.9-4130_daily_bin1555.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/904607/ft1_filtered_4FGL_J2326.9-4130_daily_bin1555.fits
Spacecraft file(s): /scratch/kocevski/904607/ft2_4FGL_J2326.9-4130_daily_bin1555.fits
Exposure map: /scratch/kocevski/904607/expmap_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits
Exposure cube: /scratch/kocevski/904607/ltcube_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904607/Model_4FGL_J2326.9-4130_daily_bin1555.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) = 5263.5058478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    75.033       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.949       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .82661E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.918       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.382       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2768       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.3107       1.0000         .10000E-03   10000.    
    17 'norm      '    3.2940       1.0000         .10000E-03   10000.    
    18 'norm      '    .10428E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.064       1.0000         .10000E-03   10000.    
    25 'norm      '    7.0723       1.0000         .10000E-03   10000.    
    26 'norm      '    1.1749       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.1656       1.0000         .10000E-03   10000.    
    30 'Prefactor '    11.452       1.0000         .10000E-03   10000.    
    31 'Prefactor '    40.981       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1389       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .63569       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5263.497     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     4501 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    29.195        .86785E-05** at limit **
   2  Prefactor     .10014E-03    8.2153       -.10699E-04** at limit **
   3  Prefactor     75.024        2.2425        .34551E-06   -.13780E-02
   4  Prefactor     .10002E-03    3.8030       -.22908E-06** at limit **
   5  Prefactor     22.949        1.0160       -.21567E-06    .47765E-04
   6  Prefactor     3.3836        3.4883       -.41192E-06   -.31471E-03
   7  Prefactor     .20305E-03    6293.3       -.96465E-04** at limit **
   8  Prefactor     .10000E-03    4.1060       -.27939E-06** at limit **
   9  Prefactor     37.424        8.7809       -.59362E-05    .36583E-02
  10  Prefactor     18.919        8.1131        .78036E-05   -.99702E-03
  11  Prefactor     36.383        11.453       -.74019E-05   -.28112E-02
  12  Prefactor     .10000E-03    4.3578       -.17372E-06** at limit **
  13  Prefactor     .10019E-03    12.724       -.12001E-04** at limit **
  14  Prefactor     5.2638        2.8079        .58451E-06   -.47967E-03
  15  Prefactor     .10006E-03    7.2204       -.10770E-04** at limit **
  16  norm          6.3089        6.6199       -.96091E-05   -.16537E-02
  17  norm          3.2939        4.7895       -.88597E-06   -.30865E-03
  18  norm          .10001E-03    4.0201        .24701E-05** at limit **
  19  norm          .10003E-03    7.4995        .85563E-05** at limit **
  20  Prefactor     .10000E-03    3.1667        .16332E-05** at limit **
  21  Prefactor     .10019E-03    12.259        .10698E-04** at limit **
  22  Prefactor     .10001E-03    32.710       -.97294E-05** at limit **
  23  norm          .10000E-03    1.7942       -.14013E-06** at limit **
  24  Prefactor     14.059        7.3336        .59713E-05    .53000E-02
  25  norm          7.0718        1.8089       -.23821E-06   -.64957E-03
  26  norm          1.1690        2.0072        .17467E-06   -.25264E-03
  27  Prefactor     .10000E-03    1.1737        .14542E-06** at limit **
  28  Prefactor     .10014E-03    8.8452        .89766E-05** at limit **
  29  Prefactor     6.1655        1.1988       -.24037E-06    .10500E-03
  30  Prefactor     11.451        5.1847       -.57768E-05   -.45121E-02
  31  Prefactor     40.934        14.286        .68872E-05   -.11331E-01
  32  Normalizat    1.1391        .22145        .27947E-05   -.71380E-04
  33  Prefactor     .63552        .23675        .14654E-05   -.28820E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.000100144
  Prefactor  = 75.0242
  Prefactor  = 0.000100017
  Prefactor  = 22.9486
  Prefactor  = 3.3836
  Prefactor  = 0.000203051
  Prefactor  = 0.0001
  Prefactor  = 37.4238
  Prefactor  = 18.9191
  Prefactor  = 36.3833
  Prefactor  = 0.0001
  Prefactor  = 0.000100191
  Prefactor  = 5.26383
  Prefactor  = 0.000100057
  norm       = 6.30893
  norm       = 3.29388
  norm       = 0.000100007
  norm       = 0.000100028
  Prefactor  = 0.000100002
  Prefactor  = 0.000100187
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 14.0593
  norm       = 7.07179
  norm       = 1.16898
  Prefactor  = 0.0001
  Prefactor  = 0.000100136
  Prefactor  = 6.16554
  Prefactor  = 11.4511
  Prefactor  = 40.9339
  Normalizat = 1.13905
  Prefactor  = 0.635524
 **********
 **   18 **HESSE 
 **********

 FCN=   5263.497     FROM HESSE     STATUS=OK           775 CALLS     5276 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    29.373        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10014E-03    10.672        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     75.024        50.357        .11588E-02   -1.3973    
   4  Prefactor     .10002E-03    8.8928        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.949        8.6085        .20904E-02   -1.4750    
   6  Prefactor     3.3836        3.5167        .54985E-02   -1.5340    
   7  Prefactor     .20305E-03    53.825        .14593       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.424        26.696        .16380E-02   -1.4484    
  10  Prefactor     18.919        23.319        .23021E-02   -1.4838    
  11  Prefactor     36.383        20.741        .16611E-02   -1.4501    
  12  Prefactor     .10000E-03    4.3153        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10019E-03    16.422        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.2638        133.20        .43743E-02   -1.5249    
  15  Prefactor     .10006E-03    8.0253        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3089        17.062        .39946E-02   -1.5206    
  17  norm          3.2939        4.8020        .55770E-02   -1.5345    
  18  norm          .10001E-03    3.2614        .45705E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10003E-03    7.8145        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.8239        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10019E-03    16.078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    32.795        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.7776        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     14.059        15.512        .26701E-02   -1.4958    
  25  norm          7.0718        1.8472        .37711E-02   -1.5176    
  26  norm          1.1690        2.5239        .30516E-01   -1.5492    
  27  Prefactor     .10000E-03    1.1677        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10014E-03    10.953        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     6.1655        7.0874        .40420E-02   -1.5211    
  30  Prefactor     11.451        5.3390        .29596E-02   -1.5031    
  31  Prefactor     40.934        42.437        .15654E-02   -1.4427    
  32  Normalizat    1.1391        .19681        .36601E-01   -.88508    
  33  Prefactor     .63552        .20786        .70590E-01   -1.0611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67372e-07
Minuit parameter uncertainties:
  1  0.00078582
  2  0.00247858
  3  50.3856
  4  0.000779326
  5  8.60901
  6  3.51689
  7  0.149086
  8  4.13967e-05
  9  26.7048
  10  23.3302
  11  20.7453
  12  3.22187e-05
  13  0.00354669
  14  53.0908
  15  0.00135099
  16  17.0753
  17  4.80255
  18  0.00030712
  19  0.000938716
  20  0.000231983
  21  0.00347065
  22  0.000815005
  23  2.82719e-06
  24  15.5164
  25  1.84724
  26  2.52415
  27  1.36557e-06
  28  0.00243945
  29  7.08835
  30  5.3392
  31  42.4683
  32  0.196941
  33  0.208112
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.002e-04  3.471e-03  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  6.355e-01  2.081e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.139e+00  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904607/likelihoodResults_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.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) = 5263.4977895
delta logL = -0.000295818209452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5263.49749818
delta logL = -4.50803963759e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.5894       1.0000          .0000       10.000    
     3 'Normalizat'    1.1390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63553       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5263.497     FROM MIGRAD    STATUS=FAILED        92 CALLS      278 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15815E-03    26.485        .18142E-01** at limit **
   2  Index         2.7228        6.9284        .50000        .18679E-04
   3  Normalizat    1.1391        .55712E-02    .22215E-03   -.12925E-03
   4  Prefactor     .63552        .60319E-02    .31244E-03   -.10461E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5263.497     FROM SIMPLEX   STATUS=PROGRESS      93 CALLS      371 TOTAL
                     EDM=   .59E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12843E-03    26.485        .52063E-03** at limit **
   2  Index         2.7146        6.9284        .26116E-02    .18679E-04
   3  Normalizat    1.1390        .55712E-02    .57490E-05   -.12925E-03
   4  Prefactor     .63550        .60319E-02    .10482E-04   -.10461E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5263.497     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      441 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11844E-03    9.2619        .27361E-01** at limit **
   2  Index         2.7642        5.2160        .50000        .15049E-04
   3  Normalizat    1.1390        .33691E-02    .88859E-05   -.91002E-02
   4  Prefactor     .63550        .36482E-02    .24995E-05   -.65906E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000118438
  Index      = 2.76415
  Normalizat = 1.13904
  Prefactor  = 0.635505
 **********
 **   18 **HESSE 
 **********

 FCN=   5263.497     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      470 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11844E-03    245.67        .28373E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7642        5.8252        .50000       -.46360    
   3  Normalizat    1.1390        .17539E-01    .17772E-05   -.88508    
   4  Prefactor     .63550        .18856E-01    .49990E-06   -1.0611    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12263e-07
Minuit parameter uncertainties:
  1  0.135163
  2  1150.55
  3  0.0175392
  4  0.0188557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904607': 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) = 5263.49749424
delta logL = -5.65824848309e-07

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.184e-04  1.352e-01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.764e+00  1.151e+03  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  6.355e-01  1.886e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.139e+00  1.754e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.737 -41.509

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/904607/cmap_HighResolution_642384001_642643201_4FGL_J2326.9-4130_daily_bin1555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-09-29 19:46:20.018482', job_id='904607', GAL2='0.64', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632969980.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='-5.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1555' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:46:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 904607: <4FGL_J2326.9-4130_daily_bin1555> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1555> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:23 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:30:24 2021
Terminated at Wed Sep 29 19:46:22 2021
Results reported at Wed Sep 29 19:46:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1555 351.737 -41.5089 642384001 642643201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   863.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            959 sec.

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

