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


Performing analysis on: 4FGL_J1224.4+2436_daily_bin827
RA = 186.116, Dec = 24.6142
tmin = 453686401, tmax = 453945601
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='582405', job_status='RUN', time_executed='2021-09-05 12:30:55.230232', time_epoch_executed='1630870255.23' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='827'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582405/ft1_4FGL_J1224.4+2436_daily_bin827.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582405/ft1_4FGL_J1224.4+2436_daily_bin827.fits outfile=/scratch/kocevski/582405/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin827.fits ra=186.116 dec=24.6142 rad=12.0 tmin=453686401.0 tmax=453945601.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.66
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits" evtable="EVENTS" scfile=/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits sctable="SC_DATA" outfile=/scratch/kocevski/582405/ltcube_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.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/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits
.....................!
real 11.90
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits sctable="SC_DATA" expcube=/scratch/kocevski/582405/ltcube_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits outfile=/scratch/kocevski/582405/expmap_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.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/582405/ltcube_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits
.....................!
real 191.45
user 186.20
sys 4.83

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/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits scfile=/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits outfile=/scratch/kocevski/582405/cmap_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.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.59
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits scfile=/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits outfile=/scratch/kocevski/582405/cmap_HighResolution_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.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.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits', '/scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits', expMap='/scratch/kocevski/582405/expmap_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits', expCube='/scratch/kocevski/582405/ltcube_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/582405/Model_4FGL_J1224.4+2436_daily_bin827.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/582405/ft1_filtered_4FGL_J1224.4+2436_daily_bin827.fits
Spacecraft file(s): /scratch/kocevski/582405/ft2_4FGL_J1224.4+2436_daily_bin827.fits
Exposure map: /scratch/kocevski/582405/expmap_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits
Exposure cube: /scratch/kocevski/582405/ltcube_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/582405/Model_4FGL_J1224.4+2436_daily_bin827.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) = 6411.90671663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9981       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10546E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5477       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4573       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0917       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6803       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .95816E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .12487       1.0000         .10000E-03   10000.    
    16 'norm      '    50.974       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    50.394       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.808       1.0000         .10000E-03   10000.    
    21 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.2837       1.0000         .10000E-03   10000.    
    23 'norm      '    15.010       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92925       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.

 FCN=   6411.877     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     2970 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8095       -.37344E-07** at limit **
   2  Prefactor     7.9975        7.8544        .89270E-07    .16246E-04
   3  Prefactor     .10000E-03    1.2298       -.78814E-07** at limit **
   4  Prefactor     3.5664        38.409        .80362E-06   -.81081E-05
   5  norm          7.4573        1.9356        .38002E-07   -.13962E-04
   6  Prefactor     .10000E-03    3.8539       -.92238E-07** at limit **
   7  Prefactor     .10000E-03    24.217       -.98198E-07** at limit **
   8  Prefactor     .10000E-03    2.3727       -.29784E-06** at limit **
   9  Prefactor     6.0896        4.2883        .24591E-06    .16595E-03
  10  norm          2.4088        2.0763        .15383E-07    .16679E-05
  11  Prefactor     .10000E-03    5.3953       -.21448E-07** at limit **
  12  Prefactor     4.6803        2.4657        .11985E-07   -.13322E-05
  13  Prefactor     .10000E-03    1.4071       -.15749E-07** at limit **
  14  Prefactor     .10000E-03    6.1792       -.15810E-06** at limit **
  15  norm          .12488        .26762        .15608E-06   -.17017E-03
  16  norm          50.971        9.8941        .31291E-07   -.31969E-04
  17  Prefactor     .10000E-03    11.751        .91893E-07** at limit **
  18  Prefactor     .10000E-03    17.244       -.56096E-07** at limit **
  19  Prefactor     50.437        78.605        .13115E-05    .75357E-04
  20  Prefactor     10.809        10.071        .17053E-05   -.12080E-03
  21  norm          .10000E-03    1.9737        .47141E-06** at limit **
  22  norm          4.2840        3.0904       -.43061E-07   -.21320E-04
  23  norm          15.009        15.847       -.18729E-08    .39113E-05
  24  Normalizat    1.0159        .19517       -.10498E-05    .51435E-04
  25  Prefactor     .92932        .19343        .27502E-06   -.60073E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.99747
  Prefactor  = 0.0001
  Prefactor  = 3.56635
  norm       = 7.45728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.0896
  norm       = 2.40881
  Prefactor  = 0.0001
  Prefactor  = 4.6803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.124883
  norm       = 50.9713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.4369
  Prefactor  = 10.8093
  norm       = 0.0001
  norm       = 4.28397
  norm       = 15.0093
  Normalizat = 1.01589
  Prefactor  = 0.929324
 **********
 **   18 **HESSE 
 **********

 FCN=   6411.877     FROM HESSE     STATUS=OK           443 CALLS     3413 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9975        7.8558        .14177E-03   -1.5142    
   3  Prefactor     .10000E-03    2.2316        .16996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5664        38.338        .21459E-03   -1.5330    
   5  norm          7.4573        1.9349        .53557E-04   -1.5162    
   6  Prefactor     .10000E-03    3.9214        .15313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.6934        .22013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.0896        4.0419        .12217E-03   -1.5214    
  10  norm          2.4088        2.0800        .10160E-03   -1.5398    
  11  Prefactor     .10000E-03    5.4774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6803        2.4737        .86443E-04   -1.5275    
  13  Prefactor     .10000E-03    1.4469        .18521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.1497        .56432E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12488        .26944        .53744E-03   -1.5637    
  16  norm          50.971        9.9020        .56172E-04   -1.4279    
  17  Prefactor     .10000E-03    12.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     50.437        78.547        .56492E-04   -1.4286    
  20  Prefactor     10.809        10.021        .60935E-03   -1.5050    
  21  norm          .10000E-03    1.9772        .10968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.2840        3.0897        .11587E-03   -1.5294    
  23  norm          15.009        15.846        .10338E-03   -1.4933    
  24  Normalizat    1.0159        .22268        .26780E-03   -.92500    
  25  Prefactor     .92932        .22454        .29274E-03   -.95124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75784e-09
Minuit parameter uncertainties:
  1  7.28218e-06
  2  7.85679
  3  2.91531e-05
  4  23.4049
  5  1.93495
  6  6.56172e-06
  7  5.51866e-06
  8  2.97222e-06
  9  4.04206
  10  2.08007
  11  5.2686e-06
  12  2.47378
  13  1.11753e-06
  14  1.32769e-05
  15  0.269446
  16  9.90229
  17  2.01852e-06
  18  7.45973e-06
  19  78.7085
  20  10.0223
  21  3.46444e-06
  22  3.08977
  23  15.8501
  24  0.222886
  25  0.224766
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  1.000e-04  1.328e-05  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.293e-01  2.248e-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:  1.016e+00  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/582405/likelihoodResults_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.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) = 6411.87672135
delta logL = -3.87347627111e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6411.68596913
delta logL = 0.190713481436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0750       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7887       1.0000          .0000       10.000    
     3 'Normalizat'    .99234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93778       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.

 FCN=   6411.686     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      284 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0763        46.695        .11668E-01    .11521E-02
   2  Index         2.7884        3.3328        .11599        .15184E-03
   3  Normalizat    .99243        .39711E-01    .46071E-01    .12621E-04
   4  Prefactor     .93770        .41558E-01    .65828E-01    .13254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07633
  Index      = 2.78843
  Normalizat = 0.992427
  Prefactor  = 0.937696
 **********
 **   18 **HESSE 
 **********

 FCN=   6411.686     FROM HESSE     STATUS=OK            33 CALLS      317 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0763        6.7522        .13498E-03   -1.5500    
   2  Index         2.7884        1.9067        .82656E-02   -.45818    
   3  Normalizat    .99243        .21665        .27019E-03   -.93285    
   4  Prefactor     .93770        .22503        .29115E-03   -.94836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11772e-08
Minuit parameter uncertainties:
  1  5.39233
  2  1.9694
  3  0.216843
  4  0.225252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582405': 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) = 6411.68596893
delta logL = 0.190713681699

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  1.076e+00  5.392e+00  1.000e-04  1.000e+04 ( 1.000e-13)
329        Index:  2.788e+00  1.969e+00  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.377e-01  2.253e-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:  9.924e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

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/582405/cmap_HighResolution_453686401_453945601_4FGL_J1224.4+2436_daily_bin827.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-09-05 12:43:11.142314', job_id='582405', GAL2='0.94', fit_tolerance='1e-08', EG2='0.99', EG='1.02', time_epoch_completed='1630870991.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.91e-01', ts2='0.39', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='827' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 12:43:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 582405: <4FGL_J1224.4+2436_daily_bin827> in cluster <slac> Done

Job <4FGL_J1224.4+2436_daily_bin827> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 12:30:40 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 12:30:41 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:30:41 2021
Terminated at Sun Sep  5 12:43:12 2021
Results reported at Sun Sep  5 12:43:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.4+2436_daily_bin827 186.116 24.6142 453686401 453945601 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 :                                   731.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

