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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1110
RA = 351.436, Dec = 18.3654
tmin = 527040001, tmax = 527299201
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='886892', job_status='RUN', time_executed='2021-09-29 18:38:49.662573', time_epoch_executed='1632965929.66' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886892

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886892/ft1_4FGL_J2325.7+1821_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886892/ft2_4FGL_J2325.7+1821_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886892/ft1_4FGL_J2325.7+1821_daily_bin1110.fits outfile=/scratch/kocevski/886892/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1110.fits ra=351.436 dec=18.3654 rad=12.0 tmin=527040001.0 tmax=527299201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.97
user 5.64
sys 0.31

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886892/ft1_filtered_4FGL_J2325.7+1821_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/886892/ft2_4FGL_J2325.7+1821_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/886892/ltcube_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.fits outfile=/scratch/kocevski/886892/expmap_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.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/886892/ltcube_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.fits
.....................!
real 192.70
user 187.12
sys 5.22

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/886892/ft1_filtered_4FGL_J2325.7+1821_daily_bin1110.fits scfile=/scratch/kocevski/886892/ft2_4FGL_J2325.7+1821_daily_bin1110.fits outfile=/scratch/kocevski/886892/cmap_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886892/ft1_filtered_4FGL_J2325.7+1821_daily_bin1110.fits scfile=/scratch/kocevski/886892/ft2_4FGL_J2325.7+1821_daily_bin1110.fits outfile=/scratch/kocevski/886892/cmap_HighResolution_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.666       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.5981       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25249E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10682E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .95361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.904       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0658       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.513       1.0000         .10000E-03   10000.    
    17 'norm      '    15.408       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    36.504       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79344       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80518       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=   3073.252     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     2848 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.668        7.7605        .90316E-04    .27693E-05
   2  Prefactor     .10000E-03    7.2337        .14561E-02** at limit **
   3  Prefactor     .10000E-03    8.9442        .16188E-02** at limit **
   4  norm          5.5984        3.1270        .70396E-04   -.58946E-04
   5  Prefactor     .10000E-03    67.380        .10691    ** at limit **
   6  Prefactor     .10000E-03    24.419        .18142E-02** at limit **
   7  Prefactor     .10000E-03    7.4463        .14775E-02** at limit **
   8  Prefactor     .95322        .27568        .13954E-04   -.17180E-02
   9  Prefactor     .10000E-03    9.8994        .17008E-02** at limit **
  10  Prefactor     19.910        19.155        .89777E-04   -.39573E-04
  11  Prefactor     .10000E-03    7.3673        .14691E-02** at limit **
  12  Prefactor     .10000E-03    9.2553        .16473E-02** at limit **
  13  Prefactor     .10000E-03    14.104        .18142E-02** at limit **
  14  Prefactor     2.0764        17.875        .14373E-02   -.24587E-04
  15  Prefactor     .10000E-03    6.3423        .13633E-02** at limit **
  16  Prefactor     13.490        30.215        .10896E-03   -.24623E-04
  17  norm          15.407        13.456        .10203E-03   -.14089E-03
  18  Prefactor     .10000E-03    17.574        .18142E-02** at limit **
  19  Prefactor     .10000E-03    16.549        .18142E-02** at limit **
  20  norm          36.523        34.514        .66332E-04    .34278E-06
  21  Prefactor     .10000E-03    6.5777        .13868E-02** at limit **
  22  Normalizat    .79354        .38940        .35688E-03   -.10337E-03
  23  Prefactor     .80494        .21771        .20082E-03   -.69417E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.6682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.59841
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.953222
  Prefactor  = 0.0001
  Prefactor  = 19.9099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.07645
  Prefactor  = 0.0001
  Prefactor  = 13.4895
  norm       = 15.4075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 36.5232
  Prefactor  = 0.0001
  Normalizat = 0.793539
  Prefactor  = 0.804944
 **********
 **   18 **HESSE 
 **********

 FCN=   3073.252     FROM HESSE     STATUS=OK           358 CALLS     3206 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.668        7.7604        .36127E-05   -1.4821    
   2  Prefactor     .10000E-03    7.2338        .29122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9443        .32377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.5984        3.1269        .28158E-05   -1.5235    
   5  Prefactor     .10000E-03    62.842        .11181       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4463        .29550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .95322        .27567        .27908E-05   -1.5513    
   9  Prefactor     .10000E-03    9.9004        .34015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.910        19.153        .35911E-05   -1.4815    
  11  Prefactor     .10000E-03    7.3674        .29382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.2553        .32946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0764        17.735        .57493E-04   -1.5420    
  15  Prefactor     .10000E-03    6.3424        .27267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.490        30.136        .43585E-05   -1.4973    
  17  norm          15.407        13.455        .20407E-04   -1.4923    
  18  Prefactor     .10000E-03    17.585        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.549        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          36.523        34.510        .26533E-05   -1.4499    
  21  Prefactor     .10000E-03    6.5781        .27737E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .79354        .38952        .14275E-04   -1.0031    
  23  Prefactor     .80494        .21786        .40164E-04   -.99546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53287e-10
Minuit parameter uncertainties:
  1  7.76076
  2  6.62809e-07
  3  4.8201e-06
  4  3.12697
  5  0.000652171
  6  6.23404e-05
  7  1.99872e-06
  8  0.275674
  9  9.88978e-06
  10  19.1588
  11  7.68857e-06
  12  4.06553e-06
  13  8.92269e-06
  14  12.1414
  15  3.02339e-06
  16  30.1701
  17  13.4573
  18  0.000152835
  19  5.31735e-06
  20  34.5292
  21  8.04777e-07
  22  0.390901
  23  0.218098
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.349e+01  3.017e+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:  8.049e-01  2.181e-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:  7.935e-01  3.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.52e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886892/likelihoodResults_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.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) = 3073.03453099
delta logL = 0.217658512237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3073.03375743
delta logL = 0.218432073706

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.368       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7836       1.0000          .0000       10.000    
     3 'Normalizat'    .80985       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79489       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=   3073.034     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.448        6084.8        .19145E-02   -.96077E-04
   2  Index         1.7855        6.1979        .26366        .12718E-04
   3  Normalizat    .80988        .18307        .79836E-01   -.39868E-04
   4  Prefactor     .79481        .10686        .43651E-01   -.39220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4475
  Index      = 1.78546
  Normalizat = 0.809883
  Prefactor  = 0.794808
 **********
 **   18 **HESSE 
 **********

 FCN=   3073.034     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.448        41.479        .76578E-04   -1.4660    
   2  Index         1.7855        .82184        .89924E-02   -.69829    
   3  Normalizat    .80988        .37371        .35345E-03   -.99703    
   4  Prefactor     .79481        .21389        .20183E-03   -.99920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76682e-10
Minuit parameter uncertainties:
  1  41.5229
  2  0.828287
  3  0.374904
  4  0.214111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886892': 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) = 3073.03375322
delta logL = 0.218436284509

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.745e+01  4.152e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.785e+00  8.283e-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:  7.948e-01  2.141e-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.099e-01  3.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 351.436 18.365

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/886892/cmap_HighResolution_527040001_527299201_4FGL_J2325.7+1821_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-02', job_status='DONE', photon_flux_upper_limit='1.96e-07', time_completed='2021-09-29 18:47:31.183277', job_id='886892', GAL2='0.79', fit_tolerance='1e-08', EG2='0.81', EG='0.79', time_epoch_completed='1632966451.18', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.18e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1110' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:47:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 886892: <4FGL_J2325.7+1821_daily_bin1110> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1110> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:23 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:24 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:24 2021
Terminated at Wed Sep 29 18:47:31 2021
Results reported at Wed Sep 29 18:47:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1110 351.436 18.3654 527040001 527299201 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 :                                   500.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            728 sec.

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

