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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1625
RA = 351.35, Dec = -48.0022
tmin = 660528001, tmax = 660787201
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='107448', job_status='RUN', time_executed='2021-12-10 00:42:59.451772', time_epoch_executed='1639125779.45' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107448/ft1_4FGL_J2325.4-4800_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107448/ft1_4FGL_J2325.4-4800_daily_bin1625.fits outfile=/scratch/kocevski/107448/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1625.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=660528001.0 tmax=660787201.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.57
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.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/107448/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1625.fits evtable="EVENTS" outfile="/scratch/kocevski/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/107448/ltcube_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.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/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits
.....................!
real 12.04
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/107448/ltcube_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.fits outfile=/scratch/kocevski/107448/expmap_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.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/107448/ltcube_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.fits
.....................!
real 190.69
user 185.16
sys 5.16

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/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits outfile=/scratch/kocevski/107448/cmap_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits outfile=/scratch/kocevski/107448/cmap_HighResolution_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107448/ft2_4FGL_J2325.4-4800_daily_bin1625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107448/Model_4FGL_J2325.4-4800_daily_bin1625.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/107448/ft1_filtered_4FGL_J2325.4-4800_daily_bin1625.fits.....................!
real 38.02
user 36.68
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.690       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10577E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1573       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1814       1.0000         .10000E-03   10000.    
    18 'norm      '    18.172       1.0000         .10000E-03   10000.    
    19 'norm      '    1.0727       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.401       1.0000         .10000E-03   10000.    
    22 'Prefactor '    48.205       1.0000         .10000E-03   10000.    
    23 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.0390       1.0000         .10000E-03   10000.    
    26 'norm      '    2.0181       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.750       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.1798       1.0000         .10000E-03   10000.    
    29 'Prefactor '    14.717       1.0000         .10000E-03   10000.    
    30 'norm      '    2.1999       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.5580       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .18409E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.4218       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .45781       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=   4826.028     FROM MIGRAD    STATUS=CONVERGED    915 CALLS     4815 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.446        .26630E-05** at limit **
   2  Prefactor     31.680        28.065       -.29835E-05   -.23961E-03
   3  Prefactor     .10000E-03    8.7237        .15658E-05** at limit **
   4  Prefactor     .10000E-03    5.1632       -.36646E-05** at limit **
   5  Prefactor     .10000E-03    2.1746       -.32199E-07** at limit **
   6  Prefactor     .10000E-03    9.7609        .21875E-06** at limit **
   7  Prefactor     .10000E-03    10.659       -.32439E-05** at limit **
   8  norm          .10000E-03    4.2716       -.90046E-06** at limit **
   9  Prefactor     1.1576        3.3523        .30759E-06   -.12970E-03
  10  Prefactor     .10000E-03    31.471        .66209E-05** at limit **
  11  Prefactor     .10000E-03    3.9390        .48818E-06** at limit **
  12  Prefactor     .10000E-03    81.931       -.62956E-06** at limit **
  13  Prefactor     12.417        11.951        .87266E-08   -.19888E-04
  14  Prefactor     .10000E-03    29.341       -.79873E-06** at limit **
  15  Prefactor     .10000E-03    2.6071       -.28647E-08** at limit **
  16  Prefactor     .10000E-03    15.071        .21772E-05** at limit **
  17  Prefactor     5.1790        13.633        .99459E-06   -.26963E-03
  18  norm          18.173        13.929       -.11741E-06    .25747E-04
  19  norm          1.0726        7.4301        .41658E-07   -.13004E-03
  20  norm          .10000E-03    2.2683       -.42176E-07** at limit **
  21  Prefactor     12.411        7.7589        .18468E-06    .21938E-03
  22  Prefactor     48.225        41.130        .12227E-04    .14619E-03
  23  norm          .10000E-03    2.6733       -.37758E-06** at limit **
  24  Prefactor     .10000E-03    22.447       -.72866E-05** at limit **
  25  norm          2.0390        1.3144       -.38601E-07    .39170E-04
  26  norm          2.0182        2.7086       -.62075E-06   -.17066E-03
  27  Prefactor     11.750        18.632        .58947E-06   -.71890E-05
  28  Prefactor     4.1803        4.3823        .23689E-06   -.10110E-03
  29  Prefactor     14.717        21.240        .84087E-06   -.15811E-04
  30  norm          2.2126        82.877        .44465E-05    .38936E-05
  31  Prefactor     2.5550        3.7779        .13228E-05   -.21387E-02
  32  Prefactor     .10000E-03    4.8276        .40900E-05** at limit **
  33  Normalizat    1.4219        .20565       -.19508E-05    .27127E-04
  34  Prefactor     .45760        .20571        .40933E-07   -.10174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 31.6803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.15763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.17905
  norm       = 18.1727
  norm       = 1.07264
  norm       = 0.0001
  Prefactor  = 12.4113
  Prefactor  = 48.2253
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.03903
  norm       = 2.0182
  Prefactor  = 11.7497
  Prefactor  = 4.18031
  Prefactor  = 14.7165
  norm       = 2.21262
  Prefactor  = 2.55504
  Prefactor  = 0.0001
  Normalizat = 1.42189
  Prefactor  = 0.457602
 **********
 **   18 **HESSE 
 **********

 FCN=   4826.028     FROM HESSE     STATUS=OK           728 CALLS     5543 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.680        28.153        .71178E-04   -1.4582    
   3  Prefactor     .10000E-03    8.7257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1629        .15403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1764        .10005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.7619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2859        .14019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.1576        3.3243        .20777E-03   -1.5493    
  10  Prefactor     .10000E-03    31.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.0141        .13460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    83.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.417        11.942        .11353E-03   -1.5003    
  14  Prefactor     .10000E-03    29.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6102        .10954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.1790        13.679        .88302E-03   -1.5253    
  18  norm          18.173        13.928        .46977E-03   -1.4855    
  19  norm          1.0726        7.2706        .34850E-03   -1.5501    
  20  norm          .10000E-03    2.2718        .10218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.411        7.7202        .56875E-03   -1.5003    
  22  Prefactor     48.225        41.180        .57755E-04   -1.4318    
  23  norm          .10000E-03    2.7017        .11096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.0390        1.3121        .57653E-04   -1.5422    
  26  norm          2.0182        2.6939        .12725E-03   -1.5424    
  27  Prefactor     11.750        18.742        .11687E-03   -1.5022    
  28  Prefactor     4.1803        4.3470        .13181E-03   -1.5299    
  29  Prefactor     14.717        21.195        .10441E-03   -1.4941    
  30  norm          2.2126        119.31        .27741E-03   -1.5410    
  31  Prefactor     2.5550        7.0687        .10705E-02   -1.5388    
  32  Prefactor     .10000E-03    5.0043        .29785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.4219        .24055        .20400E-03   -.79998    
  34  Prefactor     .45760        .23437        .35032E-03   -1.1396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0155e-08
Minuit parameter uncertainties:
  1  4.03675e-05
  2  28.1645
  3  2.27841e-05
  4  2.69223e-05
  5  1.96286e-06
  6  5.06179e-06
  7  3.38881e-05
  8  3.12668e-06
  9  3.32479
  10  0.000149773
  11  1.19225e-05
  12  0.000262303
  13  11.9445
  14  1.16896e-05
  15  6.32573e-08
  16  3.7117e-05
  17  13.6872
  18  13.9308
  19  5.58596
  20  1.74237e-05
  21  7.7208
  22  41.2041
  23  8.93068e-05
  24  0.000127927
  25  1.31208
  26  2.69401
  27  18.7515
  28  4.34732
  29  21.2063
  30  32.5634
  31  7.07097
  32  7.2271e-05
  33  0.240738
  34  0.234861
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.241e+01  7.721e+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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  4.576e-01  2.349e-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.422e+00  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.34e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.80e-05

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) = 4825.87822882
delta logL = 0.149762959468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4825.87311536
delta logL = 0.154876412208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6480       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3814       1.0000          .0000       10.000    
     3 'Normalizat'    1.4071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46726       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=   4825.873     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      280 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6475        9.4382        .11510E-03    .29631E-03
   2  Index         2.3815        .56398        .41033E-02    .86459E-04
   3  Normalizat    1.4071        .22697        .20479E-03   -.11313E-03
   4  Prefactor     .46725        .23121        .34683E-03   -.15373E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.64745
  Index      = 2.38145
  Normalizat = 1.4071
  Prefactor  = 0.467253
 **********
 **   18 **HESSE 
 **********

 FCN=   4825.873     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6475        8.6252        .46042E-05   -1.5120    
   2  Index         2.3815        .51540        .16413E-03   -.55120    
   3  Normalizat    1.4071        .22684        .40958E-04   -.80423    
   4  Prefactor     .46725        .23117        .13873E-04   -1.1350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48298e-10
Minuit parameter uncertainties:
  1  8.62648
  2  0.516668
  3  0.227004
  4  0.23163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107448': 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) = 4825.87311536
delta logL = 0.154876417374

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.647e+00  8.626e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.381e+00  5.167e-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:  4.673e-01  2.316e-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.407e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.46
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.38 +/- 0.52
Photon Flux (Free Index): 6.69e-08 +/- 4.49e-08
Energy Flux (Free Index): 2.25e-05 +/- 1.56e-05

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/107448/cmap_HighResolution_660528001_660787201_4FGL_J2325.4-4800_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.34e-08', energy_flux2='2.25e-05', photon_flux_error='3.32e-08', dlogl='1.55e-01', energy_flux='2.90e-05', photon_flux2='6.69e-08', job_status='DONE', time_completed='2021-12-10 00:54:43.412629', photon_index_error2='0.52', photon_index2='2.38', ts='5.14', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='1.42', time_epoch_completed='1639126483.41', return_code='0', job_id='107448', GAL2='0.47', EG2='1.41', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='4.49e-08', ts2='5.46', photon_index='2.11' WHERE bin_id='1625' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 00:54:43 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 107448: <4FGL_J2325.4-4800_daily_bin1625> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1625> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 10 00:40:35 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:40:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:40:38 2021
Terminated at Fri Dec 10 00:54:44 2021
Results reported at Fri Dec 10 00:54:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1625 351.35 -48.0022 660528001 660787201 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 :                                   706.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            849 sec.

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

