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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin665
RA = 351.359, Dec = -35.9878
tmin = 411696001, tmax = 411955201
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='866590', job_status='RUN', time_executed='2021-09-29 17:38:11.177680', time_epoch_executed='1632962291.18' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866590

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866590/ft1_4FGL_J2325.4-3559_daily_bin665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866590/ft1_4FGL_J2325.4-3559_daily_bin665.fits outfile=/scratch/kocevski/866590/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin665.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=411696001.0 tmax=411955201.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 6.25
user 6.00
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.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/866590/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin665.fits evtable="EVENTS" outfile="/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits" evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits sctable="SC_DATA" outfile=/scratch/kocevski/866590/ltcube_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.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/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits
.....................!
real 11.96
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits sctable="SC_DATA" expcube=/scratch/kocevski/866590/ltcube_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits outfile=/scratch/kocevski/866590/expmap_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.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/866590/ltcube_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits
.....................!
real 191.09
user 186.04
sys 4.75

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

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits outfile=/scratch/kocevski/866590/cmap_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.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.359 yref=-35.9878 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.76
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits outfile=/scratch/kocevski/866590/cmap_HighResolution_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.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.359 yref=-35.9878 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866590/Model_4FGL_J2325.4-3559_daily_bin665.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/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits.....................!
real 27.48
user 26.27
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits', '/scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits', expMap='/scratch/kocevski/866590/expmap_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits', expCube='/scratch/kocevski/866590/ltcube_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866590/Model_4FGL_J2325.4-3559_daily_bin665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866590/ft1_filtered_4FGL_J2325.4-3559_daily_bin665.fits
Spacecraft file(s): /scratch/kocevski/866590/ft2_4FGL_J2325.4-3559_daily_bin665.fits
Exposure map: /scratch/kocevski/866590/expmap_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits
Exposure cube: /scratch/kocevski/866590/ltcube_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866590/Model_4FGL_J2325.4-3559_daily_bin665.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) = 2670.22381049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.862       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8180       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    59.906       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.536       1.0000         .10000E-03   10000.    
    15 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.4512       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.184       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .11287E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.582       1.0000         .10000E-03   10000.    
    22 'norm      '    2.2959       1.0000         .10000E-03   10000.    
    23 'Prefactor '    125.72       1.0000         .10000E-03   10000.    
    24 'Prefactor '    34.257       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2640       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .74532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2670.214     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3582 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.535       -.23221E-05** at limit **
   2  Prefactor     17.006        8.2276       -.13209E-06    .50497E-04
   3  Prefactor     .10000E-03    19.806        .74211E-06** at limit **
   4  Prefactor     58.866        64.868        .35388E-05    .57478E-05
   5  Prefactor     .10000E-03    14.262       -.17820E-05** at limit **
   6  Prefactor     .10000E-03    9.5552       -.10259E-05** at limit **
   7  Prefactor     .10000E-03    9.6554       -.29090E-05** at limit **
   8  Prefactor     .10000E-03    14.682        .14639E-05** at limit **
   9  norm          5.8174        5.5950        .49170E-06    .64286E-04
  10  Prefactor     .10000E-03    8.2904       -.24071E-05** at limit **
  11  Prefactor     .10000E-03    6.5516       -.10275E-06** at limit **
  12  norm          .10000E-03    .29816       -.27542E-07** at limit **
  13  Prefactor     59.892        81.365       -.16947E-04    .13967E-04
  14  Prefactor     18.532        16.850       -.65290E-06    .35646E-04
  15  norm          .10000E-03    14.841        .21720E-05** at limit **
  16  norm          .10000E-03    2.8281        .30023E-07** at limit **
  17  norm          8.4499        13.321       -.20035E-05   -.28803E-04
  18  Prefactor     17.169        33.412       -.17424E-04   -.23483E-04
  19  Prefactor     .10000E-03    33.623        .54730E-05** at limit **
  20  norm          .10000E-03    2.5530        .21602E-06** at limit **
  21  Prefactor     33.578        30.741       -.44961E-05   -.32794E-04
  22  norm          2.2947        4.9386        .40910E-05   -.12107E-03
  23  Prefactor     125.52        168.45       -.17005E-03    .10624E-04
  24  Prefactor     34.241        58.902       -.20524E-04    .10322E-04
  25  Prefactor     .10000E-03    3.3208       -.47382E-07** at limit **
  26  Prefactor     .10000E-03    8.6575        .48787E-05** at limit **
  27  Prefactor     .10000E-03    21.993       -.61930E-05** at limit **
  28  Normalizat    1.2637        .26789        .61855E-05   -.11468E-03
  29  Prefactor     .74582        .29210        .87649E-05    .49434E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.0065
  Prefactor  = 0.0001
  Prefactor  = 58.866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.81744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 59.8917
  Prefactor  = 18.5324
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.44992
  Prefactor  = 17.1688
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.578
  norm       = 2.29474
  Prefactor  = 125.523
  Prefactor  = 34.2413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26366
  Prefactor  = 0.745822
 **********
 **   18 **HESSE 
 **********

 FCN=   2670.214     FROM HESSE     STATUS=OK           545 CALLS     4127 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    57.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.006        8.2287        .97122E-04   -1.4883    
   3  Prefactor     .10000E-03    19.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.866        64.868        .26146E-03   -1.4172    
   5  Prefactor     .10000E-03    14.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5572        .15603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.6754        .15684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8174        5.5929        .11641E-03   -1.5226    
  10  Prefactor     .10000E-03    8.2923        .14532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.5671        .12912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .30008        .27517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     59.892        81.394        .51838E-04   -1.4159    
  14  Prefactor     18.532        16.838        .93028E-04   -1.4847    
  15  norm          .10000E-03    14.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8287        .84863E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.4499        13.325        .13790E-03   -1.5127    
  18  Prefactor     17.169        33.293        .96619E-04   -1.4879    
  19  Prefactor     .10000E-03    33.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.5548        .80444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.578        30.805        .69149E-04   -1.4548    
  22  norm          2.2947        4.8964        .15862E-03   -1.5405    
  23  Prefactor     125.52        168.51        .17951E-03   -1.3463    
  24  Prefactor     34.241        58.899        .68467E-04   -1.4537    
  25  Prefactor     .10000E-03    3.3322        .91961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.7404        .14835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    21.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2637        .32244        .22114E-03   -.84658    
  29  Prefactor     .74582        .34913        .30631E-03   -1.0176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09391e-10
Minuit parameter uncertainties:
  1  0.000213693
  2  8.22927
  3  1.57014e-05
  4  64.9463
  5  4.019e-05
  6  1.91756e-05
  7  4.67303e-05
  8  0.000239909
  9  5.59335
  10  9.12093e-06
  11  1.5807e-05
  12  1.73229e-06
  13  81.5454
  14  16.8418
  15  4.97729e-05
  16  9.72918e-06
  17  13.3293
  18  33.3292
  19  3.33139e-05
  20  3.92747e-05
  21  30.8191
  22  4.89728
  23  169.159
  24  58.9995
  25  4.78196e-06
  26  0.000107031
  27  3.59152e-05
  28  0.322953
  29  0.350165
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.450e+00  1.333e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.458e-01  3.502e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.264e+00  3.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866590/likelihoodResults_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.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) = 2669.92207383
delta logL = 0.292071356655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2669.91840521
delta logL = 0.29573998615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6269       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0012       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2669.918     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      266 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6406        271.18        .38971E-02    .12285E-03
   2  alpha         3.0030        2.5956        .38723        .17466E-04
   3  Normalizat    1.2324        .10232        .50529E-01   -.16041E-05
   4  Prefactor     .76431        .11028        .68413E-01    .73972E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.64063
  alpha      = 3.00301
  Normalizat = 1.23245
  Prefactor  = 0.764306
 **********
 **   18 **HESSE 
 **********

 FCN=   2669.918     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6406        11.498        .14101E-03   -1.5193    
   2  alpha         3.0030        1.2619        .15431E-01    .20259    
   3  Normalizat    1.2324        .32086        .22340E-03   -.85606    
   4  Prefactor     .76431        .34847        .30270E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49738e-12
Minuit parameter uncertainties:
  1  11.5014
  2  1.32574
  3  0.321378
  4  0.349481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866590': 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) = 2669.91839674
delta logL = 0.295748450834

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  6.641e+00  1.150e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.003e+00  1.326e+00  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.643e-01  3.495e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.232e+00  3.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.00 +/- 1.33
Photon Flux (Free Index): 5.23e-08 +/- 6.02e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.30e-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/866590/cmap_HighResolution_411696001_411955201_4FGL_J2325.4-3559_daily_bin665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-05', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='2.96e-01', photon_flux2='5.23e-08', job_status='DONE', time_completed='2021-09-29 17:47:14.249328', photon_index_error2='1.33', photon_index2='3.00', ts='0.51', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.30e-05', EG='1.26', time_epoch_completed='1632962834.25', return_code='0', job_id='866590', GAL2='0.76', EG2='1.23', return_code2='0', photon_flux_error2='6.02e-08', ts2='1.10', photon_index='2.13' WHERE bin_id='665' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:47:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 866590: <4FGL_J2325.4-3559_daily_bin665> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin665> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:18 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:35:19 2021
Terminated at Wed Sep 29 17:47:14 2021
Results reported at Wed Sep 29 17:47:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin665 351.359 -35.9878 411696001 411955201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            716 sec.

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

