/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 8 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.7+1821_daily_bin1221
RA = 351.436, Dec = 18.3654
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='887076', job_status='RUN', time_executed='2021-09-29 18:36:01.586005', time_epoch_executed='1632965761.59' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887076

Creating custom pfile directory:
/scratch/kocevski/887076/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/887076/ft1_4FGL_J2325.7+1821_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/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887076/ft1_4FGL_J2325.7+1821_daily_bin1221.fits outfile=/scratch/kocevski/887076/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1221.fits ra=351.436 dec=18.3654 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.63
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_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/887076/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1221.fits evtable="EVENTS" outfile="/scratch/kocevski/887076/ft1_filtered_4FGL_J2325.7+1821_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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/887076/ltcube_555811201_556070401_4FGL_J2325.7+1821_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/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits
.....................!
real 11.66
user 11.32
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/887076/ltcube_555811201_556070401_4FGL_J2325.7+1821_daily_bin1221.fits outfile=/scratch/kocevski/887076/expmap_555811201_556070401_4FGL_J2325.7+1821_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/887076/ltcube_555811201_556070401_4FGL_J2325.7+1821_daily_bin1221.fits
.....................!
real 191.57
user 186.05
sys 5.15

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/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits outfile=/scratch/kocevski/887076/cmap_555811201_556070401_4FGL_J2325.7+1821_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.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits outfile=/scratch/kocevski/887076/cmap_HighResolution_555811201_556070401_4FGL_J2325.7+1821_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.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/887076/ft2_4FGL_J2325.7+1821_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887076/Model_4FGL_J2325.7+1821_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/887076/ft1_filtered_4FGL_J2325.7+1821_daily_bin1221.fits.....................!
real 133.77
user 132.31
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.146       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6249       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0794       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3410       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .83726E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4444       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4092       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2990       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9494       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2467       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2215       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3259       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 '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90894       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0200       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12708.58     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2179 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.146        3.4644         .0000        .22594E-03
   2  Prefactor     5.6248        6.9014         .0000        .15043E-03
   3  Prefactor     6.0796        5.6597         .0000       -.54429E-04
   4  norm          1.3407        .86696         .0000       -.38143E-03
   5  Prefactor     .10000E-03    19.210         .0000    ** at limit **
   6  Prefactor     .10000E-03    3.5081         .0000    ** at limit **
   7  Prefactor     .10001E-03    5.8039         .0000    ** at limit **
   8  Prefactor     1.4444        .16665         .0000       -.68728E-03
   9  Prefactor     6.4080        5.4479         .0000        .30114E-02
  10  Prefactor     .10000E-03    3.4864         .0000    ** at limit **
  11  Prefactor     .10000E-03    2.6270         .0000    ** at limit **
  12  Prefactor     1.2956        24.996         .0000        .77336E-02
  13  Prefactor     .10001E-03    6.1409         .0000    ** at limit **
  14  Prefactor     4.9510        5.5481         .0000        .12441E-01
  15  Prefactor     9.2435        9.4914         .0000        .18515E-03
  16  Prefactor     .10000E-03    8.5773         .0000    ** at limit **
  17  norm          1.2236        11.113         .0000        .12658E-02
  18  Prefactor     8.3241        7.0687         .0000        .44778E-03
  19  Prefactor     .10000E-03    11.796         .0000    ** at limit **
  20  norm          .10000E-03    5.4212         .0000    ** at limit **
  21  Prefactor     .10000E-03    1.2655         .0000    ** at limit **
  22  Normalizat    .90893        .16600         .0000        .47219E-04
  23  Prefactor     1.0199        .93614E-01     .0000       -.84848E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 15.1462
  Prefactor  = 5.62485
  Prefactor  = 6.07959
  norm       = 1.34071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 1.4444
  Prefactor  = 6.40797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.29562
  Prefactor  = 0.000100006
  Prefactor  = 4.95099
  Prefactor  = 9.24347
  Prefactor  = 0.000100001
  norm       = 1.22359
  Prefactor  = 8.32407
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.908933
  Prefactor  = 1.01992
 **********
 **   18 **HESSE 
 **********

 FCN=   12708.58     FROM HESSE     STATUS=OK           374 CALLS     2553 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.146        3.4712        .93033E-04   -1.4929    
   2  Prefactor     5.6248        6.8883        .16938E-03   -1.5234    
   3  Prefactor     6.0796        5.6595        .16284E-03   -1.5215    
   4  norm          1.3407        .87461        .82013E-04   -1.5476    
   5  Prefactor     .10000E-03    19.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.276        .40403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    5.8436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4444        .16664        .14939E-04   -1.5468    
   9  Prefactor     6.4080        5.4397        .79269E-03   -1.5202    
  10  Prefactor     .10000E-03    3.5674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6344        .17843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2956        25.268        .19391E-02   -1.5480    
  13  Prefactor     .10001E-03    6.1668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9510        5.5510        .90389E-03   -1.5263    
  15  Prefactor     9.2435        9.2534        .13180E-03   -1.5100    
  16  Prefactor     .10000E-03    8.6205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2236        9.8856        .40799E-03   -1.5487    
  18  Prefactor     8.3241        6.7995        .13894E-03   -1.5131    
  19  Prefactor     .10000E-03    11.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    5.4457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.2682        .12383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90893        .19104        .34901E-03   -.96147    
  23  Prefactor     1.0199        .10842        .19723E-03   -.92068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90201e-09
Minuit parameter uncertainties:
  1  3.47124
  2  6.88924
  3  5.66005
  4  0.874618
  5  0.000117364
  6  0.00026305
  7  0.000462201
  8  0.166639
  9  5.4401
  10  2.20165e-06
  11  6.23147e-07
  12  11.4485
  13  0.000395333
  14  5.55158
  15  9.25486
  16  0.000138012
  17  6.95712
  18  6.80008
  19  0.000122262
  20  0.000123487
  21  7.00325e-07
  22  0.19118
  23  0.108445
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.380e-04  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:  1.020e+00  1.084e-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:  9.089e-01  1.912e-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: 5.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887076/likelihoodResults_555811201_556070401_4FGL_J2325.7+1821_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): 102
logL (Free Index) = 12708.5843409
delta logL = -0.000552967589101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12708.5837879
delta logL = 6.1581886257e-08

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 'Index     '    2.4477       1.0000          .0000       10.000    
     3 'Normalizat'    .90893       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0199       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.

 FCN=   12708.58     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    556.61        .90712E-02** at limit **
   2  Index         2.4645        5.5729        .50000       -.17973E-04
   3  Normalizat    .90893        .35339E-01    .78849E-01    .10153E-03
   4  Prefactor     1.0199        .21121E-01    .42148E-01    .73657E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46453
  Normalizat = 0.908934
  Prefactor  = 1.01992
 **********
 **   18 **HESSE 
 **********

 FCN=   12708.58     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      238 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1042.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4645        8.2951        .50000       -.53181    
   3  Normalizat    .90893        .53729E-01    .34901E-03   -.96147    
   4  Prefactor     1.0199        .32208E-01    .19723E-03   -.92068    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.13352e-08
Minuit parameter uncertainties:
  1  0.000941882
  2  47.7868
  3  0.0537326
  4  0.0322085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887076': 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) = 12708.5837878
delta logL = 1.30412445287e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  9.419e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.465e+00  4.779e+01  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:  1.020e+00  3.221e-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:  9.089e-01  5.373e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/887076/cmap_HighResolution_555811201_556070401_4FGL_J2325.7+1821_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-03', job_status='DONE', photon_flux_upper_limit='5.43e-08', time_completed='2021-09-29 18:52:16.765191', job_id='887076', GAL2='1.02', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632966736.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1221' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:52:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 887076: <4FGL_J2325.7+1821_daily_bin1221> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1221> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:43 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:45 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:35:45 2021
Terminated at Wed Sep 29 18:52:17 2021
Results reported at Wed Sep 29 18:52:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1221 351.436 18.3654 555811201 556070401 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 :                                   967.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

