/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 = 7475
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1212.0-2326_daily_bin379
RA = 183.001, Dec = -23.4494
tmin = 337564801, tmax = 337824001
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='405096', job_status='RUN', time_executed='2021-09-05 03:45:36.949028', time_epoch_executed='1630838736.95' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='379'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405096

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405096/ft1_4FGL_J1212.0-2326_daily_bin379.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405096/ft1_4FGL_J1212.0-2326_daily_bin379.fits outfile=/scratch/kocevski/405096/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin379.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=337564801.0 tmax=337824001.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 6.21
user 5.94
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.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/405096/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin379.fits evtable="EVENTS" outfile="/scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.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/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits" evtable="EVENTS" scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits sctable="SC_DATA" outfile=/scratch/kocevski/405096/ltcube_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.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/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits
.....................!
real 11.97
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits evtable="EVENTS" scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits sctable="SC_DATA" expcube=/scratch/kocevski/405096/ltcube_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits outfile=/scratch/kocevski/405096/expmap_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.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/405096/ltcube_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits
.....................!
real 190.66
user 184.97
sys 4.42

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

Setting source of interest to:
4FGL J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits outfile=/scratch/kocevski/405096/cmap_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.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=183.001 yref=-23.4494 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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits outfile=/scratch/kocevski/405096/cmap_HighResolution_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.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=183.001 yref=-23.4494 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/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits evtable="EVENTS" scfile=/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405096/Model_4FGL_J1212.0-2326_daily_bin379.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/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits.....................!
real 57.73
user 56.29
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits', '/scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits', expMap='/scratch/kocevski/405096/expmap_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits', expCube='/scratch/kocevski/405096/ltcube_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405096/Model_4FGL_J1212.0-2326_daily_bin379.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/405096/ft1_filtered_4FGL_J1212.0-2326_daily_bin379.fits
Spacecraft file(s): /scratch/kocevski/405096/ft2_4FGL_J1212.0-2326_daily_bin379.fits
Exposure map: /scratch/kocevski/405096/expmap_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits
Exposure cube: /scratch/kocevski/405096/ltcube_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405096/Model_4FGL_J1212.0-2326_daily_bin379.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) = 6178.67408931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.694       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5231       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6191       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    43.596       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1633       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.385       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12370E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11783E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7707       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10474E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0983       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11618E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7244       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6178.661     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2701 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.694        14.301       -.69362E-08   -.74653E-05
   2  Prefactor     .10000E-03    149.01       -.49822E-06** at limit **
   3  norm          2.5233        1.5816       -.10425E-07   -.13791E-04
   4  Prefactor     .10000E-03    70.104       -.12589E-06** at limit **
   5  Prefactor     3.6246        7.8554        .57194E-06   -.12848E-03
   6  Prefactor     .10000E-03    15.809        .18402E-06** at limit **
   7  norm          .10000E-03    14.835       -.19379E-06** at limit **
   8  Prefactor     43.535        26.279       -.33729E-05   -.35199E-03
   9  norm          1.1836        10.081        .69077E-05   -.16264E-03
  10  Prefactor     .10000E-03    4.4872        .22569E-06** at limit **
  11  Prefactor     79.476        65.496       -.66533E-07    .77515E-04
  12  Prefactor     .10000E-03    82.686        .11496E-05** at limit **
  13  Prefactor     .10000E-03    12.938        .71601E-06** at limit **
  14  Prefactor     .10000E-03    44.739        .10129E-05** at limit **
  15  Prefactor     .10000E-03    72.042        .89906E-07** at limit **
  16  Prefactor     .10000E-03    2.4625       -.13914E-07** at limit **
  17  Prefactor     3.7707        2.0994        .38264E-08   -.97368E-06
  18  Prefactor     .10000E-03    27.740        .41081E-06** at limit **
  19  norm          5.0987        1.6717        .29401E-07   -.11223E-03
  20  Prefactor     .10000E-03    19.665       -.15552E-06** at limit **
  21  norm          .10000E-03    1.2721       -.51459E-08** at limit **
  22  Prefactor     .10000E-03    1.6793       -.10335E-07** at limit **
  23  Normalizat    1.7239        .27978       -.13303E-06   -.14302E-03
  24  Prefactor     .78388        .13012       -.17122E-06   -.18715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6945
  Prefactor  = 0.0001
  norm       = 2.5233
  Prefactor  = 0.0001
  Prefactor  = 3.62457
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.5353
  norm       = 1.18361
  Prefactor  = 0.0001
  Prefactor  = 79.4761
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.77074
  Prefactor  = 0.0001
  norm       = 5.09868
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.72393
  Prefactor  = 0.78388
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.661     FROM HESSE     STATUS=OK           387 CALLS     3088 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.694        14.320        .10824E-03   -1.4968    
   2  Prefactor     .10000E-03    150.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5233        1.5832        .75866E-04   -1.5390    
   4  Prefactor     .10000E-03    70.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.6246        7.8521        .21238E-03   -1.5327    
   6  Prefactor     .10000E-03    15.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     43.535        26.667        .60717E-04   -1.4387    
   9  norm          1.1836        10.187        .38734E-03   -1.5490    
  10  Prefactor     .10000E-03    4.5454        .16251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.476        65.448        .22537E-03   -1.3923    
  12  Prefactor     .10000E-03    84.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    72.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.4712        .12044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7707        2.1005        .82769E-04   -1.5320    
  18  Prefactor     .10000E-03    28.437        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.0987        1.6718        .55374E-04   -1.5256    
  20  Prefactor     .10000E-03    19.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.2728        .86581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.6846        .99474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7239        .33494        .32225E-03   -.71666    
  24  Prefactor     .78388        .15529        .21475E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71477e-10
Minuit parameter uncertainties:
  1  14.3232
  2  0.000122665
  3  1.58322
  4  1.06957e-05
  5  7.85437
  6  8.53925e-05
  7  5.2171e-05
  8  26.6743
  9  6.94597
  10  8.77572e-06
  11  65.5076
  12  0.00018344
  13  5.62114e-05
  14  0.000369981
  15  8.01239e-05
  16  9.98603e-07
  17  2.10057
  18  6.82674e-05
  19  1.67182
  20  6.35319e-05
  21  2.47095e-07
  22  5.97342e-07
  23  0.335384
  24  0.15538
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  5.621e-05  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  7.839e-01  1.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.724e+00  3.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405096/likelihoodResults_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.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) = 6178.66087363
delta logL = -0.000368025076568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6178.66050569
delta logL = -9.13687472348e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8928       1.0000          .0000       10.000    
     3 'Normalizat'    1.7238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6178.661     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    90.585        .90712E-02** at limit **
   2  Index         1.8881        7.0196        .50000        .27713E-05
   3  Normalizat    1.7239        .18886E-01    .72838E-01    .46512E-05
   4  Prefactor     .78388        .89864E-02    .43508E-01    .12972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88809
  Normalizat = 1.72393
  Prefactor  = 0.78388
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.661     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8881        5.9313        .50000       -.67178    
   3  Normalizat    1.7239        .32182        .32225E-03   -.71666    
   4  Prefactor     .78388        .15331        .21475E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68365e-12
Minuit parameter uncertainties:
  1  1.20342e-06
  2  3.91357
  3  0.322215
  4  0.15339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405096': 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) = 6178.6605056
delta logL = 6.80665834807e-09

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.203e-06  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.888e+00  3.914e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  7.839e-01  1.534e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.724e+00  3.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.001 -23.449

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/405096/cmap_HighResolution_337564801_337824001_4FGL_J1212.0-2326_daily_bin379.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-09-05 03:57:16.266058', job_id='405096', GAL2='0.78', fit_tolerance='1e-08', EG2='1.72', EG='1.72', time_epoch_completed='1630839436.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='6.81e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='379' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:57:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 405096: <4FGL_J1212.0-2326_daily_bin379> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin379> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep  5 03:45:22 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:45:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:45:23 2021
Terminated at Sun Sep  5 03:57:19 2021
Results reported at Sun Sep  5 03:57:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin379 183.001 -23.4494 337564801 337824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            717 sec.

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

