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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1221
RA = 351.35, Dec = -48.0022
tmin = 555811201, tmax = 556070401
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='877332', job_status='RUN', time_executed='2021-09-29 18:14:28.394981', time_epoch_executed='1632964468.4' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877332/ft1_4FGL_J2325.4-4800_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877332/ft1_4FGL_J2325.4-4800_daily_bin1221.fits outfile=/scratch/kocevski/877332/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1221.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=555811201.0 tmax=556070401.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.61
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.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/877332/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1221.fits evtable="EVENTS" outfile="/scratch/kocevski/877332/ft1_filtered_4FGL_J2325.4-4800_daily_bin1221.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/877332/ft1_filtered_4FGL_J2325.4-4800_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/877332/ltcube_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.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/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits
.....................!
real 12.88
user 12.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877332/ft1_filtered_4FGL_J2325.4-4800_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/877332/ltcube_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.fits outfile=/scratch/kocevski/877332/expmap_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.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/877332/ltcube_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.fits
.....................!
real 190.49
user 185.44
sys 4.73

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/877332/ft1_filtered_4FGL_J2325.4-4800_daily_bin1221.fits scfile=/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits outfile=/scratch/kocevski/877332/cmap_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877332/ft1_filtered_4FGL_J2325.4-4800_daily_bin1221.fits scfile=/scratch/kocevski/877332/ft2_4FGL_J2325.4-4800_daily_bin1221.fits outfile=/scratch/kocevski/877332/cmap_HighResolution_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.554       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.910       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    67.984       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4573       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12401E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10657E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10839E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3532       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .97992E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10263E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.6542       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.0828       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .57433E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.2213       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.2414       1.0000         .10000E-03   10000.    
    29 'Prefactor '    60.542       1.0000         .10000E-03   10000.    
    30 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    23.557       1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.0575       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1634       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .60494       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=   1277.522     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     5562 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.227       -.58156E-07** at limit **
   2  Prefactor     .10000E-03    66.022       -.20691E-06** at limit **
   3  Prefactor     14.630        92.703        .16351E-05    .52509E-04
   4  Prefactor     35.916        33.019        .15225E-06   -.21509E-05
   5  Prefactor     .10000E-03    7.6828        .22707E-06** at limit **
   6  Prefactor     67.998        74.952        .35072E-06    .17734E-04
   7  Prefactor     .10000E-03    7.4733        .19952E-06** at limit **
   8  norm          .10000E-03    8.9711       -.68486E-08** at limit **
   9  Prefactor     3.4550        6.5530        .12622E-06    .97838E-04
  10  Prefactor     .10000E-03    46.719        .30898E-06** at limit **
  11  Prefactor     .10010E-03    22.763       -.15249E-05** at limit **
  12  Prefactor     .10000E-03    229.00       -.23886E-05** at limit **
  13  Prefactor     .10000E-03    36.003       -.18179E-06** at limit **
  14  Prefactor     .10000E-03    148.92        .64981E-06** at limit **
  15  Prefactor     .10000E-03    14.163        .37339E-07** at limit **
  16  Prefactor     .10000E-03    54.587       -.82088E-07** at limit **
  17  Prefactor     1.2875        284.81        .20010E-04    .83101E-04
  18  norm          .10000E-03    12.261        .49041E-08** at limit **
  19  norm          .10006E-03    34.298       -.65674E-05** at limit **
  20  norm          .10000E-03    16.882        .17984E-06** at limit **
  21  Prefactor     8.6550        13.695        .25278E-05    .90844E-04
  22  Prefactor     .10000E-03    153.62        .90817E-06** at limit **
  23  norm          9.0871        9.8778        .38559E-06   -.88056E-04
  24  Prefactor     .10011E-03    40.337       -.23173E-05** at limit **
  25  norm          .10000E-03    1.9137       -.57530E-06** at limit **
  26  norm          3.2219        8.1070        .22439E-06   -.28733E-04
  27  Prefactor     .10000E-03    18.946       -.77099E-07** at limit **
  28  Prefactor     3.2459        10.036        .23003E-06   -.10812E-04
  29  Prefactor     60.523        62.348       -.31059E-06    .33919E-06
  30  norm          .10000E-03    35.846       -.71741E-07** at limit **
  31  Prefactor     23.553        17.418        .71558E-07   -.11408E-05
  32  Prefactor     1.0574        15.227        .11305E-05   -.89512E-04
  33  Normalizat    1.1627        .40631       -.37401E-05    .25120E-03
  34  Prefactor     .60550        .41012        .21521E-05    .94537E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6299
  Prefactor  = 35.9158
  Prefactor  = 0.0001
  Prefactor  = 67.9978
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.45503
  Prefactor  = 0.0001
  Prefactor  = 0.000100096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.28753
  norm       = 0.0001
  norm       = 0.000100061
  norm       = 0.0001
  Prefactor  = 8.65497
  Prefactor  = 0.000100001
  norm       = 9.08705
  Prefactor  = 0.000100106
  norm       = 0.0001
  norm       = 3.22191
  Prefactor  = 0.0001
  Prefactor  = 3.24594
  Prefactor  = 60.5234
  norm       = 0.0001
  Prefactor  = 23.5533
  Prefactor  = 1.05737
  Normalizat = 1.16273
  Prefactor  = 0.605499
 **********
 **   18 **HESSE 
 **********

 FCN=   1277.522     FROM HESSE     STATUS=OK           726 CALLS     6288 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    84.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    66.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.630        92.365        .10499E-03   -1.4943    
   4  Prefactor     35.916        33.015        .66877E-04   -1.4509    
   5  Prefactor     .10000E-03    7.6881        .96751E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     67.998        74.931        .48680E-04   -1.4057    
   7  Prefactor     .10000E-03    7.4799        .95428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.9716        .10458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4550        6.5274        .12128E-03   -1.5336    
  10  Prefactor     .10000E-03    46.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10010E-03    58.531        .31907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    230.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    148.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.228        .13139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    54.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2875        277.82        .37592E-03   -1.5481    
  18  norm          .10000E-03    12.261        .12227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10006E-03    86.378        .35178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    16.905        .14297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.6550        12.833        .68130E-03   -1.5119    
  22  Prefactor     .10000E-03    154.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.0871        9.8334        .10829E-03   -1.5105    
  24  Prefactor     .10011E-03    166.62        .40252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.9656        .96189E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.2219        8.0796        .15064E-03   -1.5349    
  27  Prefactor     .10000E-03    18.957        .15199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.2459        9.8783        .16671E-03   -1.5348    
  29  Prefactor     60.523        61.867        .51566E-04   -1.4150    
  30  norm          .10000E-03    35.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     23.553        17.363        .82530E-04   -1.4737    
  32  Prefactor     1.0574        15.316        .25923E-03   -1.5502    
  33  Normalizat    1.1627        .46133        .21469E-03   -.87762    
  34  Prefactor     .60550        .47620        .30856E-03   -1.0736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92078e-09
Minuit parameter uncertainties:
  1  6.39862e-05
  2  0.000282175
  3  73.6874
  4  33.0323
  5  2.23073e-05
  6  75.0351
  7  1.69737e-05
  8  2.25776e-06
  9  6.52875
  10  0.000196046
  11  0.00474337
  12  0.000267192
  13  6.88106e-05
  14  0.000899058
  15  1.15268e-06
  16  2.80426e-05
  17  38.0043
  18  1.52485e-06
  19  0.00461583
  20  3.5949e-05
  21  12.8373
  22  0.000780821
  23  9.8351
  24  0.00840988
  25  3.63726e-06
  26  8.0823
  27  1.82488e-06
  28  9.88326
  29  61.9333
  30  2.7792e-05
  31  17.3665
  32  8.05072
  33  0.46295
  34  0.479421
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.655e+00  1.284e+01  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:  6.055e-01  4.794e-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.163e+00  4.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 2.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/877332/likelihoodResults_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.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): 0
logL (Free Index) = 1277.52026681
delta logL = 0.00124984606327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1277.51912913
delta logL = 0.0023875322488

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1277.519     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      262 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8689        17.300        .14062E-03    .23567E-04
   2  Index         2.1745        1.0621        .50295E-02    .88139E-04
   3  Normalizat    1.1607        .43440        .21485E-03   -.16676E-04
   4  Prefactor     .60694        .46328        .30821E-03    .12292E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.8689
  Index      = 2.17451
  Normalizat = 1.16067
  Prefactor  = 0.606938
 **********
 **   18 **HESSE 
 **********

 FCN=   1277.519     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8689        16.457        .56247E-05   -1.5147    
   2  Index         2.1745        1.0113        .10059E-02   -.60055    
   3  Normalizat    1.1607        .43465        .42971E-04   -.87827    
   4  Prefactor     .60694        .46357        .12329E-04   -1.0729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26666e-11
Minuit parameter uncertainties:
  1  16.4667
  2  1.02167
  3  0.436003
  4  0.46653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877332': 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): 0
logL (Free Index) = 1277.51912897
delta logL = 0.00238769243583

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.869e+00  1.647e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.175e+00  1.022e+00  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:  6.069e-01  4.665e-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.161e+00  4.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
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/877332/cmap_HighResolution_555811201_556070401_4FGL_J2325.4-4800_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-02', job_status='DONE', photon_flux_upper_limit='2.03e-07', time_completed='2021-09-29 18:22:37.822619', job_id='877332', GAL2='0.61', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632964957.82', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='2.39e-03', ts2='0.80', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1221' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 877332: <4FGL_J2325.4-4800_daily_bin1221> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1221 351.35 -48.0022 555811201 556070401 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 :                                   469.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            729 sec.

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

