/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 210 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_J1212.0-2326_daily_bin910
RA = 183.001, Dec = -23.4494
tmin = 475200001, tmax = 475459201
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='408531', job_status='RUN', time_executed='2021-09-05 03:59:16.212390', time_epoch_executed='1630839556.21' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='910'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408531

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408531/ft1_4FGL_J1212.0-2326_daily_bin910.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408531/ft1_4FGL_J1212.0-2326_daily_bin910.fits outfile=/scratch/kocevski/408531/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin910.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=475200001.0 tmax=475459201.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.52
user 3.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.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/408531/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin910.fits evtable="EVENTS" outfile="/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits" evtable="EVENTS" scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits sctable="SC_DATA" outfile=/scratch/kocevski/408531/ltcube_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.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/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits
.....................!
real 11.74
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits evtable="EVENTS" scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits sctable="SC_DATA" expcube=/scratch/kocevski/408531/ltcube_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits outfile=/scratch/kocevski/408531/expmap_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.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/408531/ltcube_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits
.....................!
real 191.58
user 185.98
sys 5.23

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/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits outfile=/scratch/kocevski/408531/cmap_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits outfile=/scratch/kocevski/408531/cmap_HighResolution_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.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.60
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits evtable="EVENTS" scfile=/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408531/Model_4FGL_J1212.0-2326_daily_bin910.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/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits....................!
real 66.70
user 64.94
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits', '/scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits', expMap='/scratch/kocevski/408531/expmap_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits', expCube='/scratch/kocevski/408531/ltcube_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/408531/Model_4FGL_J1212.0-2326_daily_bin910.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/408531/ft1_filtered_4FGL_J1212.0-2326_daily_bin910.fits
Spacecraft file(s): /scratch/kocevski/408531/ft2_4FGL_J1212.0-2326_daily_bin910.fits
Exposure map: /scratch/kocevski/408531/expmap_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits
Exposure cube: /scratch/kocevski/408531/ltcube_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/408531/Model_4FGL_J1212.0-2326_daily_bin910.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) = 7373.21005862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10602E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.882       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.054       1.0000         .10000E-03   10000.    
     9 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4043       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.148       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10651E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9624       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8137       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51653E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.4267       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11072E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    9.3901       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5104       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82653       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=   7373.198     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2671 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4504       -.73241E-09** at limit **
   2  Prefactor     .10000E-03    35.599        .22807E-08** at limit **
   3  norm          .10000E-03    .54073       -.10321E-09** at limit **
   4  Prefactor     .10000E-03    11.195        .44546E-08** at limit **
   5  Prefactor     .10000E-03    3.3939       -.10569E-07** at limit **
   6  Prefactor     .10000E-03    11.515        .25768E-07** at limit **
   7  norm          23.893        25.044       -.11485E-06   -.33995E-04
   8  Prefactor     33.057        17.833       -.35514E-07    .39359E-05
   9  norm          .10000E-03    2.6909       -.62639E-07** at limit **
  10  Prefactor     4.4044        7.5734       -.10540E-06    .83684E-05
  11  Prefactor     .10000E-03    16.158       -.69294E-07** at limit **
  12  Prefactor     43.156        42.490        .20493E-07   -.14940E-04
  13  Prefactor     .10000E-03    10.542       -.65286E-07** at limit **
  14  Prefactor     .10000E-03    13.366        .50738E-07** at limit **
  15  Prefactor     .10000E-03    6.2926       -.30698E-07** at limit **
  16  Prefactor     1.9646        5.0249        .15781E-05    .58034E-05
  17  Prefactor     4.8135        2.3033       -.11092E-06    .27534E-04
  18  Prefactor     .10000E-03    9.5248       -.64210E-06** at limit **
  19  norm          4.4267        1.3622        .24950E-07    .30264E-04
  20  Prefactor     .10000E-03    789.55       -.63140E-06** at limit **
  21  norm          9.3769        6.4626        .12704E-05   -.38745E-04
  22  Prefactor     .10000E-03    2.5461       -.21505E-06** at limit **
  23  Normalizat    1.5103        .24036        .11492E-08    .84051E-04
  24  Prefactor     .82647        .11432        .22325E-06    .11057E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.8926
  Prefactor  = 33.0573
  norm       = 0.0001
  Prefactor  = 4.4044
  Prefactor  = 0.0001
  Prefactor  = 43.1561
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.96456
  Prefactor  = 4.81351
  Prefactor  = 0.000100001
  norm       = 4.42674
  Prefactor  = 0.000100002
  norm       = 9.37687
  Prefactor  = 0.0001
  Normalizat = 1.51029
  Prefactor  = 0.826465
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.198     FROM HESSE     STATUS=OK           395 CALLS     3066 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4563        .17691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .55799        .12326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4272        .15442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.893        25.037        .81967E-04   -1.4730    
   8  Prefactor     33.057        17.829        .69697E-04   -1.4557    
   9  norm          .10000E-03    2.7060        .13713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.4044        7.4834        .19190E-03   -1.5288    
  11  Prefactor     .10000E-03    16.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.156        42.094        .61031E-04   -1.4393    
  13  Prefactor     .10000E-03    10.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.2966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.9646        5.0280        .14574E-02   -1.5428    
  17  Prefactor     4.8135        2.3056        .85669E-04   -1.5269    
  18  Prefactor     .10000E-03    47.469        .50423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.4267        1.3618        .53110E-04   -1.5287    
  20  Prefactor     .10000E-03    796.18        .41388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.3769        6.4369        .13078E-03   -1.5095    
  22  Prefactor     .10000E-03    2.5739        .13417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5103        .28263        .32113E-03   -.77490    
  24  Prefactor     .82647        .13515        .20323E-03   -.98760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93885e-11
Minuit parameter uncertainties:
  1  1.38325e-06
  2  7.74576e-06
  3  6.06991e-07
  4  1.05298e-06
  5  2.17343e-06
  6  1.06672e-05
  7  25.0482
  8  17.8315
  9  6.01835e-07
  10  7.48499
  11  3.26789e-05
  12  42.1226
  13  2.37646e-05
  14  3.19209e-05
  15  1.8014e-07
  16  5.02907
  17  2.30569
  18  0.000385204
  19  1.36181
  20  0.00222098
  21  6.43734
  22  2.1076e-05
  23  0.282929
  24  0.135203
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  2.376e-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:  8.265e-01  1.352e-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.510e+00  2.829e-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: 5.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408531/likelihoodResults_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.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) = 7373.19876299
delta logL = -0.000450936502602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7373.19831197
delta logL = 8.33042577142e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7373.198     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      245 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10255E-03    .79473        .18142E-01** at limit **
   2  Index         1.7821        5.1239        .50000        .14862E-04
   3  Normalizat    1.5103        .15802E-02    .32113E-03    .64820E-04
   4  Prefactor     .82646        .77206E-03    .20323E-03    .11132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102553
  Index      = 1.7821
  Normalizat = 1.51029
  Prefactor  = 0.826465
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.198     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10255E-03    34.915        .28856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7821        8.3100        .50000       -.69917    
   3  Normalizat    1.5103        .10472E-01    .12845E-04   -.77490    
   4  Prefactor     .82646        .51166E-02    .81292E-05   -.98760    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27079e-09
Minuit parameter uncertainties:
  1  0.0188949
  2  204.571
  3  0.0104723
  4  0.00511661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408531': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7373.19831162
delta logL = 4.32618435298e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.026e-04  1.889e-02  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.782e+00  2.046e+02  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:  8.265e-01  5.117e-03  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.510e+00  1.047e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/408531/cmap_HighResolution_475200001_475459201_4FGL_J1212.0-2326_daily_bin910.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2021-09-05 04:11:56.782205', job_id='408531', GAL2='0.83', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1630840316.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='910' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:11:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 408531: <4FGL_J1212.0-2326_daily_bin910> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin910> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:55:33 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:55:35 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:55:35 2021
Terminated at Sun Sep  5 04:11:57 2021
Results reported at Sun Sep  5 04:11:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin910 183.001 -23.4494 475200001 475459201 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 :                                   757.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

