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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1133
RA = 351.436, Dec = 18.3654
tmin = 533001601, tmax = 533260801
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='886929', job_status='RUN', time_executed='2021-09-29 18:39:07.976760', time_epoch_executed='1632965947.98' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886929/ft1_4FGL_J2325.7+1821_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886929/ft1_4FGL_J2325.7+1821_daily_bin1133.fits outfile=/scratch/kocevski/886929/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1133.fits ra=351.436 dec=18.3654 rad=12.0 tmin=533001601.0 tmax=533260801.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.56
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/886929/ltcube_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.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/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits
.....................!
real 13.48
user 13.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/886929/ltcube_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.fits outfile=/scratch/kocevski/886929/expmap_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.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/886929/ltcube_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.fits
.....................!
real 191.64
user 185.92
sys 5.37

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/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits scfile=/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits outfile=/scratch/kocevski/886929/cmap_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.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.53
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits scfile=/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits outfile=/scratch/kocevski/886929/cmap_HighResolution_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.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.56
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/886929/ft2_4FGL_J2325.7+1821_daily_bin1133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886929/Model_4FGL_J2325.7+1821_daily_bin1133.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/886929/ft1_filtered_4FGL_J2325.7+1821_daily_bin1133.fits.....................!
real 88.29
user 86.97
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.320       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3777       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13394E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9450       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4062       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3833       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8531       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0848       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22948E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0329       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .95502       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0430       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21434E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88050       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0537       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=   7985.928     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     2190 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.320        4.0324        .72597E-07   -.64103E-03
   2  Prefactor     2.3808        1.1177        .82168E-07    .15553E-03
   3  Prefactor     .10002E-03    21.408       -.90125E-05** at limit **
   4  norm          1.9451        1.3161       -.65020E-07   -.20144E-03
   5  Prefactor     .10000E-03    15.952        .57738E-05** at limit **
   6  Prefactor     4.4102        1.0613       -.75520E-06   -.46624E-04
   7  Prefactor     3.3774        2.0734        .58940E-05   -.52971E-03
   8  Prefactor     2.8531        .29922       -.45994E-07   -.63551E-03
   9  Prefactor     7.6971        1.0092       -.18011E-06   -.15025E-03
  10  Prefactor     6.0812        1.0270        .12425E-06    .92297E-03
  11  Prefactor     .10000E-03    7.6049        .33801E-05** at limit **
  12  Prefactor     .10275E-03    321.01       -.26581E-04** at limit **
  13  Prefactor     8.0493        14.803       -.32850E-04   -.18841E-02
  14  Prefactor     .95836        4.1780        .13373E-05    .50967E-03
  15  Prefactor     9.0447        1.0156        .12059E-06    .48264E-03
  16  Prefactor     .10000E-03    5.0256        .59022E-05** at limit **
  17  norm          .10000E-03    6.2814       -.20144E-05** at limit **
  18  Prefactor     .10000E-03    4.7967        .75851E-05** at limit **
  19  Prefactor     .56243E-02    14.462       -.35877E-04    .20184E-02
  20  norm          .10000E-03    9.7878       -.27044E-05** at limit **
  21  Prefactor     .10000E-03    4.8624       -.14285E-04** at limit **
  22  Normalizat    .88037        .24459        .23322E-05    .24545E-03
  23  Prefactor     1.0536        .14479       -.43514E-06    .25178E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3199
  Prefactor  = 2.38084
  Prefactor  = 0.000100018
  norm       = 1.94506
  Prefactor  = 0.000100001
  Prefactor  = 4.41015
  Prefactor  = 3.37743
  Prefactor  = 2.85314
  Prefactor  = 7.69714
  Prefactor  = 6.08115
  Prefactor  = 0.0001
  Prefactor  = 0.000102753
  Prefactor  = 8.04928
  Prefactor  = 0.958362
  Prefactor  = 9.04474
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00562434
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.880369
  Prefactor  = 1.05359
 **********
 **   18 **HESSE 
 **********

 FCN=   7985.928     FROM HESSE     STATUS=OK           436 CALLS     2626 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.320        4.1388        .27438E-02   -1.4978    
   2  Prefactor     2.3808        8.4655        .66418E-02   -1.5399    
   3  Prefactor     .10002E-03    5.0686        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9451        1.3243        .74407E-02   -1.5429    
   5  Prefactor     .10000E-03    15.945        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4102        10.640        .47965E-02   -1.5288    
   7  Prefactor     3.3774        38.694        .54994E-02   -1.5340    
   8  Prefactor     2.8531        .30722        .34141E-02   -1.5370    
   9  Prefactor     7.6971        7.6006        .36138E-02   -1.5153    
  10  Prefactor     6.0812        7.2549        .40691E-02   -1.5215    
  11  Prefactor     .10000E-03    7.5499        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10275E-03    18.470        .11556       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0493        14.931        .35366E-02   -1.5140    
  14  Prefactor     .95836        4.2868        .13006E-01   -1.5512    
  15  Prefactor     9.0447        9.8667        .33320E-02   -1.5106    
  16  Prefactor     .10000E-03    5.0259        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.2399        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.7558        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .56243E-02    16.563        .12391       -1.5693    
  20  norm          .10000E-03    9.7641        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8130        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88037        .21594        .84631E-01   -.97153    
  23  Prefactor     1.0536        .12717        .39699E-01   -.90964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99628e-08
Minuit parameter uncertainties:
  1  4.13888
  2  8.4698
  3  0.000597872
  4  1.32428
  5  0.000261635
  6  10.6448
  7  22.882
  8  0.307222
  9  7.60157
  10  7.25594
  11  6.87242e-08
  12  0.0142653
  13  14.9377
  14  4.05404
  15  9.86842
  16  2.19578e-05
  17  5.28129e-05
  18  7.98543e-05
  19  0.605144
  20  3.65202e-05
  21  0.000106504
  22  0.21615
  23  0.127208
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.196e-05  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.054e+00  1.272e-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:  8.804e-01  2.162e-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.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886929/likelihoodResults_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.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) = 7985.92854515
delta logL = -0.000944632397477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7985.92760052
delta logL = -2.39288056036e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4088       1.0000          .0000       10.000    
     3 'Normalizat'    .88046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0535       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=   7985.928     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      260 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.946        .18142E-01** at limit **
   2  Index         1.7407        7.7179        .50000       -.74281E-06
   3  Normalizat    .88037        .94102E-02    .37474E-03    .20826E-03
   4  Prefactor     1.0536        .56494E-02    .20598E-03    .38426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.74071
  Normalizat = 0.880367
  Prefactor  = 1.05359
 **********
 **   18 **HESSE 
 **********

 FCN=   7985.928     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      287 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    177.86        .23505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7407        7.0467        .50000       -.71003    
   3  Normalizat    .88037        .27480E-01    .14990E-04   -.97153    
   4  Prefactor     1.0536        .16498E-01    .41195E-04   -.90964    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11131e-08
Minuit parameter uncertainties:
  1  1.80904e-05
  2  735.216
  3  0.0274808
  4  0.0164982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886929': 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) = 7985.92759747
delta logL = 3.0535093174e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.809e-05  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.741e+00  7.352e+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:  1.054e+00  1.650e-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:  8.804e-01  2.748e-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/886929/cmap_HighResolution_533001601_533260801_4FGL_J2325.7+1821_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2021-09-29 18:51:45.493137', job_id='886929', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632966705.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1133' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:51:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 886929: <4FGL_J2325.7+1821_daily_bin1133> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1133> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:26 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:28 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:28 2021
Terminated at Wed Sep 29 18:51:46 2021
Results reported at Wed Sep 29 18:51:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1133 351.436 18.3654 533001601 533260801 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 :                                   743.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            980 sec.

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

