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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin943
RA = 351.35, Dec = -48.0022
tmin = 483753601, tmax = 484012801
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='875697', job_status='RUN', time_executed='2021-09-29 18:09:30.932374', time_epoch_executed='1632964170.93' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875697/ft1_4FGL_J2325.4-4800_daily_bin943.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875697/ft1_4FGL_J2325.4-4800_daily_bin943.fits outfile=/scratch/kocevski/875697/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin943.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=483753601.0 tmax=484012801.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 5.50
user 5.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.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/875697/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin943.fits evtable="EVENTS" outfile="/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits" evtable="EVENTS" scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits sctable="SC_DATA" outfile=/scratch/kocevski/875697/ltcube_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.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/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits
.....................!
real 11.62
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits evtable="EVENTS" scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits sctable="SC_DATA" expcube=/scratch/kocevski/875697/ltcube_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits outfile=/scratch/kocevski/875697/expmap_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.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/875697/ltcube_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits
.....................!
real 191.81
user 187.06
sys 4.39

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/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits outfile=/scratch/kocevski/875697/cmap_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits outfile=/scratch/kocevski/875697/cmap_HighResolution_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.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.55
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits evtable="EVENTS" scfile=/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875697/Model_4FGL_J2325.4-4800_daily_bin943.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/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits......................!
real 25.48
user 24.29
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits', '/scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits', expMap='/scratch/kocevski/875697/expmap_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits', expCube='/scratch/kocevski/875697/ltcube_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875697/Model_4FGL_J2325.4-4800_daily_bin943.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/875697/ft1_filtered_4FGL_J2325.4-4800_daily_bin943.fits
Spacecraft file(s): /scratch/kocevski/875697/ft2_4FGL_J2325.4-4800_daily_bin943.fits
Exposure map: /scratch/kocevski/875697/expmap_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits
Exposure cube: /scratch/kocevski/875697/ltcube_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875697/Model_4FGL_J2325.4-4800_daily_bin943.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) = 2358.75292059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.375       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9427       1.0000         .10000E-03   10000.    
     8 'norm      '    5.3326       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4333       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.628       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5801       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.184       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6002       1.0000         .10000E-03   10000.    
    18 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.8013       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.8844       1.0000         .10000E-03   10000.    
    25 'norm      '    1.9212       1.0000         .10000E-03   10000.    
    26 'norm      '    13.170       1.0000         .10000E-03   10000.    
    27 'Prefactor '    31.004       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.4785       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    7.7886       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .35271       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .94806       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2358.739     FROM MIGRAD    STATUS=CONVERGED    920 CALLS     4873 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.168        .91322E-05** at limit **
   2  Prefactor     46.387        44.300        .23891E-05    .63453E-04
   3  Prefactor     .10000E-03    35.721       -.11236E-05** at limit **
   4  Prefactor     .10000E-03    8.8048        .15733E-06** at limit **
   5  Prefactor     .10000E-03    4.3868       -.53948E-07** at limit **
   6  Prefactor     .10000E-03    16.817       -.30482E-05** at limit **
   7  Prefactor     6.9414        12.358        .78615E-06    .13010E-04
   8  norm          5.3317        8.1360        .65571E-06   -.42065E-05
   9  Prefactor     6.4334        5.2724        .22214E-06   -.24480E-04
  10  Prefactor     .10000E-03    26.125        .21294E-05** at limit **
  11  Prefactor     .10000E-03    6.1162        .17768E-05** at limit **
  12  Prefactor     75.700        55.648        .88791E-06    .92029E-04
  13  Prefactor     1.5318        78.988        .10678E-04    .57088E-05
  14  Prefactor     .10000E-03    140.40       -.93612E-06** at limit **
  15  Prefactor     10.185        11.205        .70110E-06    .90651E-05
  16  Prefactor     .10000E-03    25.213        .11594E-05** at limit **
  17  Prefactor     2.5940        67.871        .12736E-05    .25856E-04
  18  norm          .10000E-03    25.499        .19825E-05** at limit **
  19  norm          .10000E-03    6.5282       -.49630E-08** at limit **
  20  norm          .10000E-03    4.7470       -.16754E-07** at limit **
  21  Prefactor     .10055E-03    19.253       -.16290E-05** at limit **
  22  Prefactor     .10000E-03    23.251       -.28338E-05** at limit **
  23  norm          5.8009        5.6807        .43493E-06    .98272E-04
  24  Prefactor     9.8812        22.809       -.19809E-05    .20898E-03
  25  norm          1.9212        2.0420        .79109E-08    .55141E-03
  26  norm          13.170        8.0049        .39044E-06    .64369E-04
  27  Prefactor     31.013        25.961        .11696E-05    .12069E-04
  28  Prefactor     4.4783        4.6316        .22062E-06    .34651E-04
  29  Prefactor     .10000E-03    15.135        .34097E-05** at limit **
  30  norm          .10000E-03    12.862       -.73338E-06** at limit **
  31  Prefactor     .10000E-03    3.1529        .57770E-08** at limit **
  32  Prefactor     7.7876        8.1148        .15905E-06    .43169E-04
  33  Normalizat    .35255        .28377       -.11217E-04   -.48640E-04
  34  Prefactor     .94827        .27023        .29683E-05   -.16806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 46.3868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.94144
  norm       = 5.33165
  Prefactor  = 6.43344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 75.6998
  Prefactor  = 1.53178
  Prefactor  = 0.0001
  Prefactor  = 10.185
  Prefactor  = 0.0001
  Prefactor  = 2.59401
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100555
  Prefactor  = 0.0001
  norm       = 5.80088
  Prefactor  = 9.88122
  norm       = 1.92118
  norm       = 13.1703
  Prefactor  = 31.0135
  Prefactor  = 4.47834
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.78758
  Normalizat = 0.352547
  Prefactor  = 0.94827
 **********
 **   18 **HESSE 
 **********

 FCN=   2358.739     FROM HESSE     STATUS=OK           730 CALLS     5603 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.387        44.252        .58878E-04   -1.4345    
   3  Prefactor     .10000E-03    35.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.8265        .14077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3924        .99340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9414        12.332        .15226E-03   -1.5181    
   8  norm          5.3317        8.1508        .83233E-03   -1.5246    
   9  Prefactor     6.4334        5.2649        .95698E-04   -1.5201    
  10  Prefactor     .10000E-03    26.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.2099        .11717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     75.700        56.330        .23086E-03   -1.3966    
  13  Prefactor     1.5318        80.566        .33789E-03   -1.5460    
  14  Prefactor     .10000E-03    140.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.185        11.190        .12556E-03   -1.5070    
  16  Prefactor     .10000E-03    25.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5940        65.614        .25301E-03   -1.5386    
  18  norm          .10000E-03    25.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.5363        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.7517        .10327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10055E-03    54.221        .32333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    23.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.8009        5.6712        .10689E-03   -1.5226    
  24  Prefactor     9.8812        19.346        .12746E-03   -1.5079    
  25  norm          1.9212        1.9780        .59784E-04   -1.5431    
  26  norm          13.170        7.9961        .98939E-04   -1.4982    
  27  Prefactor     31.013        25.957        .71959E-04   -1.4594    
  28  Prefactor     4.4783        4.6177        .10077E-03   -1.5285    
  29  Prefactor     .10000E-03    15.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    12.861        .17014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.1660        .84198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     7.7876        8.1035        .11889E-03   -1.5150    
  33  Normalizat    .35255        .30852        .30285E-03   -1.1983    
  34  Prefactor     .94827        .30510        .20784E-03   -.94474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03873e-08
Minuit parameter uncertainties:
  1  0.000991465
  2  44.2836
  3  3.41659e-05
  4  1.95507e-05
  5  5.67967e-06
  6  0.000129171
  7  12.3368
  8  8.15246
  9  5.26527
  10  0.000133444
  11  2.10546e-05
  12  56.3694
  13  22.2488
  14  0.000407502
  15  11.192
  16  5.35581e-05
  17  26.1238
  18  0.000175443
  19  1.82143e-05
  20  4.67175e-08
  21  0.0109767
  22  0.000127673
  23  5.67172
  24  19.3586
  25  1.97806
  26  7.99673
  27  25.9666
  28  4.61811
  29  0.000166282
  30  2.71511e-05
  31  9.8161e-06
  32  8.10463
  33  0.310023
  34  0.305658
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.006e-04  1.098e-02  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:  9.483e-01  3.057e-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:  3.525e-01  3.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875697/likelihoodResults_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.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) = 2358.73884924
delta logL = -8.79611779965e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2358.73884922
delta logL = -8.79380309016e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96318E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1056       1.0000          .0000       10.000    
     3 'Normalizat'    .35254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94827       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=   2358.739     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      226 TOTAL
                     EDM=   .68E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    .41108        .52345E-01** at limit **
   2  Index         2.1236        6.0010        .50000       -.10324E-05
   3  Normalizat    .35254        .98129E-03    .68418E-01   -.37218E-03
   4  Prefactor     .94827        .10852E-02    .45617E-01   -.63618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Index      = 2.12359
  Normalizat = 0.352545
  Prefactor  = 0.948269
 **********
 **   18 **HESSE 
 **********

 FCN=   2358.739     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      257 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    51.270        .32154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1236        6.0271        .50000       -.61295    
   3  Normalizat    .35254        .50467E-02    .30288E-03   -1.1983    
   4  Prefactor     .94827        .55913E-02    .20783E-03   -.94474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.1181e-11
Minuit parameter uncertainties:
  1  0.00205524
  2  49.5624
  3  0.00504668
  4  0.0055913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875697': 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) = 2358.73876127
delta logL = 1.3679255062e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.055e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.124e+00  4.956e+01  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:  9.483e-01  5.591e-03  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:  3.525e-01  5.047e-03  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/875697/cmap_HighResolution_483753601_484012801_4FGL_J2325.4-4800_daily_bin943.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.23e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-29 18:19:01.686763', job_id='875697', GAL2='0.95', fit_tolerance='1e-08', EG2='0.35', EG='0.35', time_epoch_completed='1632964741.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.37e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='943' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:19:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 875697: <4FGL_J2325.4-4800_daily_bin943> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin943> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:05:26 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:05:28 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:05:28 2021
Terminated at Wed Sep 29 18:19:02 2021
Results reported at Wed Sep 29 18:19:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin943 351.35 -48.0022 483753601 484012801 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 :                                   570.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            816 sec.

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

