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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1422
RA = 351.436, Dec = 18.3654
tmin = 607910401, tmax = 608169601
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='888321', job_status='RUN', time_executed='2021-09-29 18:43:48.725530', time_epoch_executed='1632966228.73' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1422'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888321/ft1_4FGL_J2325.7+1821_daily_bin1422.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888321/ft1_4FGL_J2325.7+1821_daily_bin1422.fits outfile=/scratch/kocevski/888321/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1422.fits ra=351.436 dec=18.3654 rad=12.0 tmin=607910401.0 tmax=608169601.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.53
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.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/888321/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1422.fits evtable="EVENTS" outfile="/scratch/kocevski/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.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/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits" evtable="EVENTS" scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits sctable="SC_DATA" outfile=/scratch/kocevski/888321/ltcube_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.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/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits
.....................!
real 12.31
user 11.90
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits sctable="SC_DATA" expcube=/scratch/kocevski/888321/ltcube_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.fits outfile=/scratch/kocevski/888321/expmap_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.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/888321/ltcube_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.fits
.....................!
real 190.42
user 184.83
sys 5.12

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/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits outfile=/scratch/kocevski/888321/cmap_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits outfile=/scratch/kocevski/888321/cmap_HighResolution_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.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/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/888321/ft2_4FGL_J2325.7+1821_daily_bin1422.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888321/Model_4FGL_J2325.7+1821_daily_bin1422.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/888321/ft1_filtered_4FGL_J2325.7+1821_daily_bin1422.fits.....................!
real 89.83
user 88.45
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4319       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2397       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5107       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.608       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.455       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .99792E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.729       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5834       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11785E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.956       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.884       1.0000         .10000E-03   10000.    
    17 'norm      '    12.143       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20793E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.342       1.0000         .10000E-03   10000.    
    20 'norm      '    7.9163       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3960       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92368       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=   8285.785     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2590 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4305        3.8070       -.40899E-06    .19301E-03
   2  Prefactor     .10000E-03    32.466       -.55385E-06** at limit **
   3  Prefactor     1.2569        47.519        .14337E-04    .67259E-06
   4  norm          1.5106        1.3203        .44675E-08    .33437E-04
   5  Prefactor     17.619        28.935       -.98260E-06    .18133E-04
   6  Prefactor     29.455        14.443        .75629E-07    .44429E-04
   7  Prefactor     .10000E-03    7.7760        .58735E-07** at limit **
   8  Prefactor     .99760E-01    .11276        .22460E-07    .31361E-02
   9  Prefactor     14.728        9.9230        .64874E-07    .19791E-04
  10  Prefactor     .10000E-03    4.7192       -.87262E-07** at limit **
  11  Prefactor     1.5832        12.392        .44048E-06   -.34975E-05
  12  Prefactor     .10000E-03    6.1840       -.59341E-07** at limit **
  13  Prefactor     .10000E-03    38.079       -.10599E-06** at limit **
  14  Prefactor     .10000E-03    3.9628        .75610E-07** at limit **
  15  Prefactor     19.957        13.235       -.34055E-06    .11203E-04
  16  Prefactor     12.891        15.664        .44405E-06    .17601E-03
  17  norm          12.175        11.159        .99460E-06   -.41221E-04
  18  Prefactor     .10000E-03    6.9766        .52693E-07** at limit **
  19  Prefactor     30.327        29.485        .14802E-05   -.31589E-04
  20  norm          7.9215        15.783        .33390E-06    .13888E-04
  21  Prefactor     9.3967        7.1767        .12022E-06    .43180E-04
  22  Normalizat    1.0376        .20784       -.92830E-06    .17145E-03
  23  Prefactor     .92374        .11018        .59487E-06    .33058E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.43045
  Prefactor  = 0.0001
  Prefactor  = 1.25692
  norm       = 1.51064
  Prefactor  = 17.6186
  Prefactor  = 29.455
  Prefactor  = 0.0001
  Prefactor  = 0.0997603
  Prefactor  = 14.7279
  Prefactor  = 0.0001
  Prefactor  = 1.58323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.957
  Prefactor  = 12.8911
  norm       = 12.1746
  Prefactor  = 0.000100002
  Prefactor  = 30.3273
  norm       = 7.92149
  Prefactor  = 9.3967
  Normalizat = 1.03764
  Prefactor  = 0.923735
 **********
 **   18 **HESSE 
 **********

 FCN=   8285.785     FROM HESSE     STATUS=OK           382 CALLS     2972 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4305        3.8114        .14904E-03   -1.5287    
   2  Prefactor     .10000E-03    33.623        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2569        48.407        .20143E-02   -1.5484    
   4  norm          1.5106        1.3036        .93815E-04   -1.5462    
   5  Prefactor     17.619        28.623        .95448E-04   -1.4868    
   6  Prefactor     29.455        14.419        .73822E-04   -1.4622    
   7  Prefactor     .10000E-03    7.7859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .99760E-01    .10326        .29749E-03   -1.5645    
   9  Prefactor     14.728        9.9235        .10436E-03   -1.4940    
  10  Prefactor     .10000E-03    4.7804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5832        12.415        .33743E-03   -1.5456    
  12  Prefactor     .10000E-03    6.1924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.431        .33379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.957        13.222        .89658E-04   -1.4814    
  16  Prefactor     12.891        15.237        .11160E-03   -1.4990    
  17  norm          12.175        11.281        .11495E-03   -1.5010    
  18  Prefactor     .10000E-03    37.217        .40442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.327        29.410        .72737E-04   -1.4606    
  20  norm          7.9215        15.769        .14251E-03   -1.5145    
  21  Prefactor     9.3967        7.1712        .65371E-03   -1.5095    
  22  Normalizat    1.0376        .23917        .32488E-03   -.91780    
  23  Prefactor     .92374        .12869        .19683E-03   -.95317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86027e-10
Minuit parameter uncertainties:
  1  3.81164
  2  0.000139852
  3  15.6134
  4  1.30364
  5  28.6456
  6  14.4209
  7  8.72662e-06
  8  0.103265
  9  9.92456
  10  1.75763e-05
  11  8.86936
  12  1.35037e-05
  13  0.000213208
  14  2.26088e-05
  15  13.224
  16  15.2414
  17  11.2834
  18  0.00050569
  19  29.4242
  20  15.7772
  21  7.17185
  22  0.239415
  23  0.128729
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.289e+01  1.524e+01  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.237e-01  1.287e-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.038e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.72e-08 +/- 3.22e-08
Energy Flux (Fixed Index): 8.57e-06 +/- 1.01e-05

TS (Fixed Index): 1.08
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888321/likelihoodResults_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.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) = 8285.60079991
delta logL = 0.183744688975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8285.57535624
delta logL = 0.209188362251

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9823       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4190       1.0000          .0000       10.000    
     3 'Normalizat'    .98643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94297       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=   8285.575     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      307 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9758        185.02        .17360E-03    .74931E-03
   2  Index         3.4199        6.5982        .62625E-02    .13364E-03
   3  Normalizat    .98639        .27938        .33244E-03    .71288E-03
   4  Prefactor     .94298        .14329        .19509E-03   -.73664E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97577
  Index      = 3.41993
  Normalizat = 0.986385
  Prefactor  = 0.942976
 **********
 **   18 **HESSE 
 **********

 FCN=   8285.575     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9758        16.633        .69440E-05   -1.5262    
   2  Index         3.4199        1.9557        .25050E-03   -.32153    
   3  Normalizat    .98639        .23864        .66488E-04   -.93488    
   4  Prefactor     .94298        .13252        .39019E-04   -.94655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73005e-09
Minuit parameter uncertainties:
  1  16.6488
  2  2.01586
  3  0.238901
  4  0.132567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888321': 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) = 8285.57535605
delta logL = 0.209188548628

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.976e+00  1.665e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  3.420e+00  2.016e+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:  9.430e-01  1.326e-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.864e-01  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 351.436 18.365
Photon Index (Free Index): 3.42 +/- 2.02
Photon Flux (Free Index): 6.34e-08 +/- 7.29e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.00e-05

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/888321/cmap_HighResolution_607910401_608169601_4FGL_J2325.7+1821_daily_bin1422.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.09e-03', comment='SUCCESS', photon_flux='2.72e-08', energy_flux2='1.08e-05', photon_flux_error='3.22e-08', dlogl='2.09e-01', energy_flux='8.57e-06', photon_flux2='6.34e-08', job_status='DONE', time_completed='2021-09-29 18:56:32.028607', photon_index_error2='2.02', photon_index2='3.42', ts='1.08', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.00e-05', EG='1.04', time_epoch_completed='1632966992.03', return_code='0', job_id='888321', GAL2='0.94', EG2='0.99', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='7.29e-08', ts2='1.57', photon_index='2.43' WHERE bin_id='1422' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:56:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 888321: <4FGL_J2325.7+1821_daily_bin1422> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1422> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:13 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:14 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:14 2021
Terminated at Wed Sep 29 18:56:32 2021
Results reported at Wed Sep 29 18:56:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1422 351.436 18.3654 607910401 608169601 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 :                                   756.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            979 sec.

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

