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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin631
RA = 351.436, Dec = 18.3654
tmin = 402883201, tmax = 403142401
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='884668', job_status='RUN', time_executed='2021-09-29 18:26:37.764886', time_epoch_executed='1632965197.76' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884668

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884668/ft1_4FGL_J2325.7+1821_daily_bin631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884668/ft1_4FGL_J2325.7+1821_daily_bin631.fits outfile=/scratch/kocevski/884668/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin631.fits ra=351.436 dec=18.3654 rad=12.0 tmin=402883201.0 tmax=403142401.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 4.62
user 4.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.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/884668/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin631.fits evtable="EVENTS" outfile="/scratch/kocevski/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.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.53
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits" evtable="EVENTS" scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits sctable="SC_DATA" outfile=/scratch/kocevski/884668/ltcube_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.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/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits
.....................!
real 11.61
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits sctable="SC_DATA" expcube=/scratch/kocevski/884668/ltcube_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.fits outfile=/scratch/kocevski/884668/expmap_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.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/884668/ltcube_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.fits
.....................!
real 190.40
user 185.56
sys 4.48

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/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits outfile=/scratch/kocevski/884668/cmap_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits outfile=/scratch/kocevski/884668/cmap_HighResolution_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/884668/ft2_4FGL_J2325.7+1821_daily_bin631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884668/Model_4FGL_J2325.7+1821_daily_bin631.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/884668/ft1_filtered_4FGL_J2325.7+1821_daily_bin631.fits.....................!
real 87.49
user 86.07
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92369       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4188       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8883       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.8030       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2621       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.684       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.664       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10753E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.240       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13904       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.438       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6746       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    15.784       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0914       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83815       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7682.692     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     2143 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92343        1.9937       -.11923E-06    .38838E-04
   2  Prefactor     6.4185        1.0213        .11164E-07   -.10295E-03
   3  Prefactor     7.8878        1.0072       -.16419E-07   -.28446E-04
   4  norm          .10000E-03    .79747        .80031E-06** at limit **
   5  Prefactor     7.8301        2.3390       -.10139E-06    .21236E-02
   6  Prefactor     .10007E-03    11.327        .36757E-05** at limit **
   7  Prefactor     .10005E-03    8.7376       -.31899E-05** at limit **
   8  Prefactor     2.2620        .27098       -.47972E-08   -.38348E-04
   9  Prefactor     11.682        1.0533        .11615E-08   -.22806E-03
  10  Prefactor     .10000E-03    6.7253       -.21281E-05** at limit **
  11  Prefactor     .10000E-03    5.3557        .33683E-06** at limit **
  12  Prefactor     27.668        1.8993       -.13828E-06    .43342E-02
  13  Prefactor     .10002E-03    8.1971       -.20523E-05** at limit **
  14  Prefactor     13.237        1.0289       -.33017E-07   -.20464E-04
  15  Prefactor     .10184E-03    523.46       -.12357E-04** at limit **
  16  Prefactor     .10002E-03    20.170       -.58887E-05** at limit **
  17  norm          10.463        3.7496       -.17609E-06    .30333E-02
  18  Prefactor     3.6697        2.8640        .10275E-05   -.13551E-02
  19  Prefactor     .10010E-03    14.398       -.83521E-06** at limit **
  20  norm          15.769        4.4395        .42799E-06   -.64965E-02
  21  Prefactor     4.0915        5.0246        .64755E-06    .13275E-02
  22  Normalizat    1.1752        .23866        .59383E-05    .55667E-04
  23  Prefactor     .83824        .13744       -.34329E-05    .61573E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.923427
  Prefactor  = 6.41854
  Prefactor  = 7.8878
  norm       = 0.0001
  Prefactor  = 7.8301
  Prefactor  = 0.000100071
  Prefactor  = 0.000100049
  Prefactor  = 2.26204
  Prefactor  = 11.682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6685
  Prefactor  = 0.000100016
  Prefactor  = 13.2368
  Prefactor  = 0.000101844
  Prefactor  = 0.000100016
  norm       = 10.4627
  Prefactor  = 3.66967
  Prefactor  = 0.000100097
  norm       = 15.769
  Prefactor  = 4.09147
  Normalizat = 1.17522
  Prefactor  = 0.838242
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.692     FROM HESSE     STATUS=OK           424 CALLS     2567 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92343        2.0965        .12893E-01   -1.5516    
   2  Prefactor     6.4185        10.250        .39605E-02   -1.5201    
   3  Prefactor     7.8878        8.2948        .35691E-02   -1.5146    
   4  norm          .10000E-03    .78250        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.8301        26.689        .35887E-02   -1.5148    
   6  Prefactor     .10007E-03    11.700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10005E-03    9.1645        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2620        .27530        .34179E-02   -1.5407    
   9  Prefactor     11.682        9.6523        .29299E-02   -1.5024    
  10  Prefactor     .10000E-03    6.4681        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.3440        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.668        24.227        .19042E-02   -1.4655    
  13  Prefactor     .10002E-03    8.3739        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.237        7.7437        .27521E-02   -1.4980    
  15  Prefactor     .10184E-03    5.5253        .96957E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    20.957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.463        11.403        .31005E-02   -1.5061    
  18  Prefactor     3.6697        10.343        .52676E-02   -1.5325    
  19  Prefactor     .10010E-03    15.328        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          15.769        14.969        .25203E-02   -1.4914    
  21  Prefactor     4.0915        5.0606        .49828E-02   -1.5303    
  22  Normalizat    1.1752        .21422        .72078E-01   -.87372    
  23  Prefactor     .83824        .11865        .44212E-01   -.98334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93326e-07
Minuit parameter uncertainties:
  1  2.09663
  2  10.2529
  3  8.29601
  4  2.95946e-06
  5  26.7298
  6  0.00182511
  7  0.00134047
  8  0.275305
  9  9.6536
  10  7.68207e-05
  11  1.0305e-05
  12  24.2358
  13  0.000735211
  14  7.74429
  15  0.00638507
  16  0.00116914
  17  11.4054
  18  10.3484
  19  0.00244191
  20  14.973
  21  5.06116
  22  0.214376
  23  0.118687
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.169e-03  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:  8.382e-01  1.187e-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.175e+00  2.144e-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: 9.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884668/likelihoodResults_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.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) = 7682.69253962
delta logL = -0.000226263179684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7682.69231395
delta logL = -5.92441210756e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3404       1.0000          .0000       10.000    
     3 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83825       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=   7682.692     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      274 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1665.1        .18142E-02** at limit **
   2  Index         2.3894        8.1871        .50000       -.27853E-04
   3  Normalizat    1.1752        .58731E-01    .31895E-03   -.30804E-03
   4  Prefactor     .83824        .34423E-01    .21604E-03   -.56674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 2.38942
  Normalizat = 1.17521
  Prefactor  = 0.838244
 **********
 **   18 **HESSE 
 **********

 FCN=   7682.692     FROM HESSE     STATUS=OK            29 CALLS      303 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    81.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3894        5.0962        .50000       -.54933    
   3  Normalizat    1.1752        .23332        .63790E-04   -.87372    
   4  Prefactor     .83824        .13683        .86417E-05   -.98334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1804e-09
Minuit parameter uncertainties:
  1  0.0019128
  2  8.90173
  3  0.233525
  4  0.136888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884668': 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) = 7682.69231364
delta logL = -2.85548594547e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.913e-03  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.389e+00  8.902e+00  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:  8.382e-01  1.369e-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.175e+00  2.335e-01  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/884668/cmap_HighResolution_402883201_403142401_4FGL_J2325.7+1821_daily_bin631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-09-29 18:38:42.265316', job_id='884668', GAL2='0.84', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632965922.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-2.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='631' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:38:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 884668: <4FGL_J2325.7+1821_daily_bin631> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin631> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:26:17 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:26:18 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:26:18 2021
Terminated at Wed Sep 29 18:38:42 2021
Results reported at Wed Sep 29 18:38:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin631 351.436 18.3654 402883201 403142401 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 :                                   709.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            745 sec.

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

