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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1541
RA = 351.436, Dec = 18.3654
tmin = 638755201, tmax = 639014401
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='888503', job_status='RUN', time_executed='2021-09-29 18:43:54.732073', time_epoch_executed='1632966234.73' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888503

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888503/ft1_4FGL_J2325.7+1821_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888503/ft1_4FGL_J2325.7+1821_daily_bin1541.fits outfile=/scratch/kocevski/888503/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1541.fits ra=351.436 dec=18.3654 rad=12.0 tmin=638755201.0 tmax=639014401.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.54
user 5.21
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.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/888503/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1541.fits evtable="EVENTS" outfile="/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/888503/ltcube_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.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/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits
.....................!
real 11.73
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/888503/ltcube_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits outfile=/scratch/kocevski/888503/expmap_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.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/888503/ltcube_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits
.....................!
real 190.78
user 186.13
sys 4.27

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

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits outfile=/scratch/kocevski/888503/cmap_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.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.436 yref=18.3654 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits outfile=/scratch/kocevski/888503/cmap_HighResolution_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.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.436 yref=18.3654 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888503/Model_4FGL_J2325.7+1821_daily_bin1541.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/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits.....................!
real 77.90
user 76.51
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits', '/scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits', expMap='/scratch/kocevski/888503/expmap_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits', expCube='/scratch/kocevski/888503/ltcube_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/888503/Model_4FGL_J2325.7+1821_daily_bin1541.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/888503/ft1_filtered_4FGL_J2325.7+1821_daily_bin1541.fits
Spacecraft file(s): /scratch/kocevski/888503/ft2_4FGL_J2325.7+1821_daily_bin1541.fits
Exposure map: /scratch/kocevski/888503/expmap_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits
Exposure cube: /scratch/kocevski/888503/ltcube_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/888503/Model_4FGL_J2325.7+1821_daily_bin1541.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) = 6783.40584295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .86694       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11472E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2964       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.282       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58910       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1376       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9428       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.721       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.531       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.8300       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.2076       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7805       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6783.397     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2589 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8971       -.45133E-07** at limit **
   2  Prefactor     .87241        20.984        .92808E-06   -.10405E-03
   3  Prefactor     .10000E-03    34.325        .50637E-06** at limit **
   4  norm          2.2966        1.5489        .39574E-08   -.16273E-04
   5  Prefactor     .10000E-03    16.524        .38315E-06** at limit **
   6  Prefactor     18.284        14.215        .14401E-06   -.43671E-04
   7  Prefactor     .10000E-03    19.321        .47623E-07** at limit **
   8  Prefactor     .58910        .18128       -.14298E-07   -.39601E-03
   9  Prefactor     .10000E-03    7.9920        .78699E-06** at limit **
  10  Prefactor     4.1380        7.8702        .30061E-05   -.10249E-04
  11  Prefactor     .10000E-03    2.9283       -.85308E-09** at limit **
  12  Prefactor     8.9541        28.458       -.15707E-05   -.95383E-05
  13  Prefactor     27.711        30.651        .15892E-05   -.92798E-05
  14  Prefactor     10.533        7.3590        .90612E-07    .26197E-04
  15  Prefactor     9.8307        11.356        .27198E-06    .86914E-04
  16  Prefactor     .10000E-03    6.8201       -.13203E-06** at limit **
  17  norm          8.2060        12.133       -.16102E-05    .11669E-03
  18  Prefactor     3.7837        11.900        .57755E-05    .52545E-04
  19  Prefactor     .10000E-03    27.411       -.14784E-05** at limit **
  20  norm          .10000E-03    8.7526       -.60770E-06** at limit **
  21  Prefactor     .10000E-03    5.3711       -.35294E-07** at limit **
  22  Normalizat    1.0821        .23067       -.14531E-05   -.22535E-04
  23  Prefactor     .99468        .12927       -.25655E-06   -.41697E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.872407
  Prefactor  = 0.000100001
  norm       = 2.29656
  Prefactor  = 0.0001
  Prefactor  = 18.2836
  Prefactor  = 0.0001
  Prefactor  = 0.589098
  Prefactor  = 0.0001
  Prefactor  = 4.13796
  Prefactor  = 0.0001
  Prefactor  = 8.95407
  Prefactor  = 27.7115
  Prefactor  = 10.533
  Prefactor  = 9.83066
  Prefactor  = 0.0001
  norm       = 8.20597
  Prefactor  = 3.78368
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08212
  Prefactor  = 0.994681
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.397     FROM HESSE     STATUS=OK           372 CALLS     2961 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9242        .11064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .87241        21.876        .50748E-03   -1.5521    
   3  Prefactor     .10000E-03    35.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2966        1.5526        .81090E-04   -1.5405    
   5  Prefactor     .10000E-03    16.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.284        14.199        .93671E-04   -1.4853    
   7  Prefactor     .10000E-03    19.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .58910        .18059        .18458E-04   -1.5554    
   9  Prefactor     .10000E-03    8.0458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1380        7.8276        .99082E-03   -1.5301    
  11  Prefactor     .10000E-03    2.9299        .13764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9541        28.513        .13403E-03   -1.5109    
  13  Prefactor     27.711        30.681        .76090E-04   -1.4655    
  14  Prefactor     10.533        7.3628        .12346E-03   -1.5059    
  15  Prefactor     9.8307        11.334        .12781E-03   -1.5081    
  16  Prefactor     .10000E-03    6.8239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.2060        12.064        .13994E-03   -1.5135    
  18  Prefactor     3.7837        11.894        .10381E-02   -1.5319    
  19  Prefactor     .10000E-03    27.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.7724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.4116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0821        .26974        .33804E-03   -.90328    
  23  Prefactor     .99468        .15246        .20149E-03   -.92907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24558e-10
Minuit parameter uncertainties:
  1  1.70401e-06
  2  8.7402
  3  0.000285605
  4  1.55264
  5  2.5822e-05
  6  14.2017
  7  1.83373e-05
  8  0.180589
  9  5.22552e-06
  10  7.82953
  11  1.42079e-06
  12  28.5566
  13  30.6983
  14  7.36348
  15  11.3368
  16  2.70247e-06
  17  12.0676
  18  11.9018
  19  8.60538e-05
  20  2.03043e-05
  21  5.45542e-06
  22  0.270086
  23  0.152524
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.702e-06  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.947e-01  1.525e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.082e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888503/likelihoodResults_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.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) = 6783.39748697
delta logL = -0.000697247388416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6783.39678974
delta logL = -2.070737537e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4114       1.0000          .0000       10.000    
     3 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99469       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   6783.397     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      254 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.666        .18142E-01** at limit **
   2  Index         1.7729        6.0941        .50000        .47473E-06
   3  Normalizat    1.0821        .10809E-01    .33804E-03   -.12864E-03
   4  Prefactor     .99468        .62445E-02    .20149E-03   -.20917E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.77286
  Normalizat = 1.08212
  Prefactor  = 0.99468
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.397     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    254.50        .24749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7729        5.8372        .50000       -.70158    
   3  Normalizat    1.0821        .31037E-01    .13522E-04   -.90328    
   4  Prefactor     .99468        .17931E-01    .40297E-04   -.92907    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28562e-08
Minuit parameter uncertainties:
  1  0.000104121
  2  867.941
  3  0.0310377
  4  0.0179313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888503': 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) = 6783.39678767
delta logL = 2.05368996831e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.041e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.773e+00  8.679e+02  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.947e-01  1.793e-02  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.082e+00  3.104e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

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/888503/cmap_HighResolution_638755201_639014401_4FGL_J2325.7+1821_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2021-09-29 18:55:16.285046', job_id='888503', GAL2='0.99', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632966916.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1541' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:55:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 888503: <4FGL_J2325.7+1821_daily_bin1541> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1541> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:28 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40: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:40:30 2021
Terminated at Wed Sep 29 18:55:17 2021
Results reported at Wed Sep 29 18:55:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1541 351.436 18.3654 638755201 639014401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   677.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            889 sec.

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

