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


Performing analysis on: 4FGL_J1224.4+2436_daily_bin1100
RA = 186.116, Dec = 24.6142
tmin = 524448001, tmax = 524707201
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='584249', job_status='RUN', time_executed='2021-09-05 12:39:10.692023', time_epoch_executed='1630870750.69' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='1100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584249/ft1_4FGL_J1224.4+2436_daily_bin1100.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584249/ft1_4FGL_J1224.4+2436_daily_bin1100.fits outfile=/scratch/kocevski/584249/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1100.fits ra=186.116 dec=24.6142 rad=12.0 tmin=524448001.0 tmax=524707201.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.41
user 3.18
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.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/584249/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1100.fits evtable="EVENTS" outfile="/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits" evtable="EVENTS" scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits sctable="SC_DATA" outfile=/scratch/kocevski/584249/ltcube_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.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/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits
.....................!
real 11.81
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits sctable="SC_DATA" expcube=/scratch/kocevski/584249/ltcube_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits outfile=/scratch/kocevski/584249/expmap_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.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/584249/ltcube_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits
.....................!
real 191.75
user 186.08
sys 5.09

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits outfile=/scratch/kocevski/584249/cmap_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.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=186.116 yref=24.6142 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits outfile=/scratch/kocevski/584249/cmap_HighResolution_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.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=186.116 yref=24.6142 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584249/Model_4FGL_J1224.4+2436_daily_bin1100.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/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits.....................!
real 47.91
user 46.24
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits', '/scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits', expMap='/scratch/kocevski/584249/expmap_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits', expCube='/scratch/kocevski/584249/ltcube_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/584249/Model_4FGL_J1224.4+2436_daily_bin1100.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/584249/ft1_filtered_4FGL_J1224.4+2436_daily_bin1100.fits
Spacecraft file(s): /scratch/kocevski/584249/ft2_4FGL_J1224.4+2436_daily_bin1100.fits
Exposure map: /scratch/kocevski/584249/expmap_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits
Exposure cube: /scratch/kocevski/584249/ltcube_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/584249/Model_4FGL_J1224.4+2436_daily_bin1100.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) = 5147.98170774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.458       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0729       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.009       1.0000         .10000E-03   10000.    
     5 'norm      '    6.9079       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1690       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5902       1.0000         .10000E-03   10000.    
    10 'norm      '    12.610       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2873       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .63787       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2031       1.0000         .10000E-03   10000.    
    15 'norm      '    .16799       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0824       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.001       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2958       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5509       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9775       1.0000         .10000E-03   10000.    
    22 'norm      '    2.2697       1.0000         .10000E-03   10000.    
    23 'norm      '    9.4060       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71894       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5147.967     FROM MIGRAD    STATUS=CONVERGED     50 CALLS     2398 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.453        1.4743       -.39091E-06    .81615E-02
   2  Prefactor     6.0734        1.0092       -.62524E-07    .42683E-03
   3  Prefactor     .10000E-03    2.1514       -.82767E-06** at limit **
   4  Prefactor     12.009        1.0241       -.94373E-07    .14143E-02
   5  norm          6.9079        1.6486       -.30790E-07   -.78229E-04
   6  Prefactor     .10000E-03    1.7543        .28644E-06** at limit **
   7  Prefactor     5.1682        1.0259       -.13628E-06    .84870E-03
   8  Prefactor     .10000E-03    1.9008        .23262E-06** at limit **
   9  Prefactor     2.5926        2.6705       -.19760E-05   -.20399E-02
  10  norm          12.611        1.7256       -.61499E-06    .36930E-02
  11  Prefactor     4.2867        1.1537        .41581E-06   -.14175E-02
  12  Prefactor     .63748        1.7408       -.44590E-06   -.29781E-03
  13  Prefactor     .10000E-03    1.4355       -.17034E-05** at limit **
  14  Prefactor     3.2033        1.0156        .61362E-07    .88704E-04
  15  norm          .16798        .16385        .55051E-08   -.33750E-04
  16  norm          5.0824        1.0133        .82514E-07    .14365E-03
  17  Prefactor     20.004        1.1159        .15675E-06   -.34843E-02
  18  Prefactor     7.2954        1.0257       -.12147E-06    .10350E-02
  19  Prefactor     .10000E-03    17.675        .14721E-06** at limit **
  20  Prefactor     8.5505        1.0144        .79694E-07   -.28463E-03
  21  norm          1.9775        2.0540       -.16341E-05   -.10471E-02
  22  norm          2.2695        1.1590        .44771E-06    .45155E-03
  23  norm          9.4058        1.0064       -.48587E-07    .65243E-03
  24  Normalizat    .71894        .19526        .20731E-05   -.50155E-05
  25  Prefactor     .93491        .21904       -.73714E-06    .65338E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4528
  Prefactor  = 6.07339
  Prefactor  = 0.000100001
  Prefactor  = 12.0086
  norm       = 6.90791
  Prefactor  = 0.0001
  Prefactor  = 5.16822
  Prefactor  = 0.0001
  Prefactor  = 2.59264
  norm       = 12.6113
  Prefactor  = 4.28673
  Prefactor  = 0.637481
  Prefactor  = 0.0001
  Prefactor  = 3.20326
  norm       = 0.167984
  norm       = 5.08241
  Prefactor  = 20.0041
  Prefactor  = 7.29545
  Prefactor  = 0.0001
  Prefactor  = 8.55046
  norm       = 1.97747
  norm       = 2.2695
  norm       = 9.40583
  Normalizat = 0.718941
  Prefactor  = 0.934907
 **********
 **   18 **HESSE 
 **********

 FCN=   5147.967     FROM HESSE     STATUS=OK           503 CALLS     2901 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.453        17.949        .23964E-02   -1.4872    
   2  Prefactor     6.0734        8.0879        .40731E-02   -1.5215    
   3  Prefactor     .10000E-03    .79494        .23047E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.009        21.333        .28899E-02   -1.5015    
   5  norm          6.9079        1.6779        .38161E-02   -1.5182    
   6  Prefactor     .10000E-03    2.6553        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1682        15.245        .44205E-02   -1.5253    
   8  Prefactor     .10000E-03    1.8774        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5926        2.9860        .63384E-02   -1.5386    
  10  norm          12.611        4.2196        .28201E-02   -1.4998    
  11  Prefactor     4.2867        5.8852        .48643E-02   -1.5294    
  12  Prefactor     .63748        2.0942        .11821E-01   -1.5548    
  13  Prefactor     .10000E-03    1.3748        .28515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2033        4.4035        .56596E-02   -1.5350    
  15  norm          .16798        .17356        .62378E-02   -1.5626    
  16  norm          5.0824        4.1292        .44587E-02   -1.5257    
  17  Prefactor     20.004        11.878        .22390E-02   -1.4813    
  18  Prefactor     7.2954        27.162        .37124E-02   -1.5168    
  19  Prefactor     .10000E-03    17.682        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.5505        8.2510        .34271E-02   -1.5123    
  21  norm          1.9775        2.0576        .73695E-02   -1.5427    
  22  norm          2.2695        3.2463        .68151E-02   -1.5407    
  23  norm          9.4058        20.908        .32668E-02   -1.5094    
  24  Normalizat    .71894        .17764        .42543E-01   -1.0315    
  25  Prefactor     .93491        .19130        .45448E-01   -.94932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65001e-07
Minuit parameter uncertainties:
  1  17.9542
  2  8.08932
  3  4.2245e-05
  4  21.346
  5  1.67795
  6  1.94101e-05
  7  15.2567
  8  3.96034e-05
  9  2.98613
  10  4.21973
  11  5.88604
  12  2.0944
  13  4.97701e-05
  14  4.40393
  15  0.17356
  16  4.12945
  17  11.8789
  18  27.2081
  19  0.000175725
  20  8.25213
  21  2.05766
  22  3.2466
  23  20.9239
  24  0.177782
  25  0.191434
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  3.203e+00  4.404e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.349e-01  1.914e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.189e-01  1.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.94
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 6.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584249/likelihoodResults_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.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) = 5147.92478321
delta logL = 0.0418079582623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5147.91327078
delta logL = 0.0533203886444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5645       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1856       1.0000          .0000       10.000    
     3 'Normalizat'    .71350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   5147.913     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      246 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5647        4.4036        .13718E-03    .79395E-04
   2  Index         2.1854        .84412        .63678E-02    .29092E-04
   3  Normalizat    .71351        .19427        .24873E-03    .15476E-03
   4  Prefactor     .93742        .21876        .24678E-03    .16624E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56475
  Index      = 2.1854
  Normalizat = 0.713508
  Prefactor  = 0.937424
 **********
 **   18 **HESSE 
 **********

 FCN=   5147.913     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5647        4.1166        .54871E-05   -1.5388    
   2  Index         2.1854        .78964        .25471E-03   -.59791    
   3  Normalizat    .71351        .19433        .99493E-05   -1.0336    
   4  Prefactor     .93742        .21889        .49357E-04   -.94845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87409e-11
Minuit parameter uncertainties:
  1  4.1171
  2  0.794529
  3  0.19452
  4  0.219097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584249': 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) = 5147.91327073
delta logL = 0.0533204411404

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.565e+00  4.117e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  2.185e+00  7.945e-01  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.374e-01  2.191e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.135e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 186.116 24.614
Photon Index (Free Index): 2.19 +/- 0.79
Photon Flux (Free Index): 1.89e-08 +/- 2.74e-08
Energy Flux (Free Index): 8.72e-06 +/- 1.25e-05

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/584249/cmap_HighResolution_524448001_524707201_4FGL_J1224.4+2436_daily_bin1100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', comment='SUCCESS', energy_flux2='8.72e-06', dlogl='5.33e-02', photon_flux2='1.89e-08', job_status='DONE', time_completed='2021-09-05 12:50:23.477092', photon_index_error2='0.79', photon_index2='2.19', ts='0.94', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.37e-08', energy_flux_error2='1.25e-05', EG='0.72', time_epoch_completed='1630871423.48', return_code='0', job_id='584249', GAL2='0.94', EG2='0.71', return_code2='0', photon_flux_error2='2.74e-08', ts2='1.04', photon_index='1.93' WHERE bin_id='1100' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 12:50:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 584249: <4FGL_J1224.4+2436_daily_bin1100> in cluster <slac> Done

Job <4FGL_J1224.4+2436_daily_bin1100> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 12:35:43 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 12:35:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 12:35:45 2021
Terminated at Sun Sep  5 12:50:23 2021
Results reported at Sun Sep  5 12:50:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.4+2436_daily_bin1100 186.116 24.6142 524448001 524707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1224.4+2436 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   632.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

