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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1355
RA = 333.226, Dec = -25.4335
tmin = 590544001, tmax = 590803201
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='225763', job_status='RUN', time_executed='2021-09-28 07:18:30.614237', time_epoch_executed='1632838710.61' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225763

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225763/ft1_4FGL_J2212.9-2526_daily_bin1355.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225763/ft1_4FGL_J2212.9-2526_daily_bin1355.fits outfile=/scratch/kocevski/225763/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1355.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=590544001.0 tmax=590803201.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 4.22
user 3.98
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.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/225763/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1355.fits evtable="EVENTS" outfile="/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits" evtable="EVENTS" scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits sctable="SC_DATA" outfile=/scratch/kocevski/225763/ltcube_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.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/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits
.....................!
real 11.98
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits sctable="SC_DATA" expcube=/scratch/kocevski/225763/ltcube_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits outfile=/scratch/kocevski/225763/expmap_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.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/225763/ltcube_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits
.....................!
real 190.87
user 185.73
sys 4.73

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits outfile=/scratch/kocevski/225763/cmap_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.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=333.226 yref=-25.4335 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits outfile=/scratch/kocevski/225763/cmap_HighResolution_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.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=333.226 yref=-25.4335 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/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225763/Model_4FGL_J2212.9-2526_daily_bin1355.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/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits.....................!
real 48.07
user 46.78
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits', '/scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits', expMap='/scratch/kocevski/225763/expmap_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits', expCube='/scratch/kocevski/225763/ltcube_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225763/Model_4FGL_J2212.9-2526_daily_bin1355.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/225763/ft1_filtered_4FGL_J2212.9-2526_daily_bin1355.fits
Spacecraft file(s): /scratch/kocevski/225763/ft2_4FGL_J2212.9-2526_daily_bin1355.fits
Exposure map: /scratch/kocevski/225763/expmap_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits
Exposure cube: /scratch/kocevski/225763/ltcube_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225763/Model_4FGL_J2212.9-2526_daily_bin1355.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) = 5497.65166943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.491       1.0000         .10000E-03   10000.    
     4 'norm      '    12.375       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.440       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10479E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.933       1.0000         .10000E-03   10000.    
     8 'norm      '    13.062       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3403       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2183       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2971       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18718E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.783       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0431       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.937       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8327       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.033       1.0000         .10000E-03   10000.    
    23 'norm      '    .85716E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1246       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5497.639     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     3108 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0812       -.39744E-06** at limit **
   2  Prefactor     .10000E-03    5.9414        .50029E-07** at limit **
   3  Prefactor     12.493        11.657       -.67310E-06   -.10187E-04
   4  norm          12.376        8.8477        .26529E-06   -.27056E-03
   5  Prefactor     33.432        29.455       -.12841E-05   -.43975E-04
   6  Prefactor     .10000E-03    20.551        .67951E-06** at limit **
   7  Prefactor     25.953        70.265        .24497E-04    .51266E-04
   8  norm          13.063        6.2478       -.77885E-06   -.73497E-04
   9  Prefactor     2.3485        23.053        .27297E-05   -.49567E-05
  10  norm          1.2184        .46491       -.40322E-07   -.51291E-03
  11  Prefactor     .10000E-03    17.269       -.11072E-05** at limit **
  12  Prefactor     .10000E-03    6.9005       -.20687E-07** at limit **
  13  Prefactor     2.2996        3.5367        .13073E-05   -.16843E-02
  14  Prefactor     .10000E-03    120.71       -.61760E-06** at limit **
  15  norm          .10000E-03    10.942        .62802E-06** at limit **
  16  Prefactor     12.784        12.913        .34448E-06    .30819E-04
  17  norm          2.0431        1.9467       -.20782E-07    .13696E-03
  18  Prefactor     .10000E-03    54.942        .23041E-05** at limit **
  19  Prefactor     17.942        14.165        .65532E-06    .10561E-03
  20  norm          2.8373        4.9354       -.67766E-06    .50637E-03
  21  Prefactor     .10000E-03    9.9730       -.52715E-06** at limit **
  22  Prefactor     18.066        13.948        .35778E-05    .11046E-02
  23  norm          .86067E-01    .91368       -.11560E-05    .53447E-03
  24  Prefactor     .10000E-03    8.4175       -.20030E-07** at limit **
  25  Normalizat    1.1241        .22365       -.28087E-05    .25277E-03
  26  Prefactor     .89118        .16410        .38104E-06    .63680E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 12.4926
  norm       = 12.3762
  Prefactor  = 33.4322
  Prefactor  = 0.000100002
  Prefactor  = 25.9529
  norm       = 13.0634
  Prefactor  = 2.34852
  norm       = 1.21841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.29964
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.7843
  norm       = 2.04313
  Prefactor  = 0.0001
  Prefactor  = 17.942
  norm       = 2.83731
  Prefactor  = 0.0001
  Prefactor  = 18.0658
  norm       = 0.0860673
  Prefactor  = 0.0001
  Normalizat = 1.12415
  Prefactor  = 0.891185
 **********
 **   18 **HESSE 
 **********

 FCN=   5497.639     FROM HESSE     STATUS=OK           458 CALLS     3566 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.804        .29160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0259        .17645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.493        11.656        .11334E-03   -1.5001    
   4  norm          12.376        8.8759        .56935E-03   -1.5004    
   5  Prefactor     33.432        29.524        .69295E-04   -1.4551    
   6  Prefactor     .10000E-03    20.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.953        69.034        .78665E-04   -1.4689    
   8  norm          13.063        6.2724        .11083E-03   -1.4985    
   9  Prefactor     2.3485        22.954        .26801E-03   -1.5401    
  10  norm          1.2184        .46600        .28801E-04   -1.5487    
  11  Prefactor     .10000E-03    17.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.9062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2996        8.1414        .13540E-02   -1.5405    
  14  Prefactor     .10000E-03    121.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.784        12.947        .11204E-03   -1.4993    
  17  norm          2.0431        1.9564        .97791E-04   -1.5422    
  18  Prefactor     .10000E-03    55.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.942        14.221        .94568E-04   -1.4861    
  20  norm          2.8373        4.8152        .18985E-03   -1.5371    
  21  Prefactor     .10000E-03    9.9853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.066        13.801        .94317E-04   -1.4858    
  23  norm          .86067E-01    1.6990        .10324E-02   -1.5649    
  24  Prefactor     .10000E-03    8.4410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1241        .27261        .27320E-03   -.88980    
  26  Prefactor     .89118        .19689        .23500E-03   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8383e-09
Minuit parameter uncertainties:
  1  0.000481361
  2  1.26653e-05
  3  11.6576
  4  8.87687
  5  29.5374
  6  0.000419274
  7  69.2473
  8  6.27276
  9  14.6914
  10  0.465997
  11  7.68739e-05
  12  3.76078e-06
  13  8.14529
  14  0.000138237
  15  1.02402e-05
  16  12.9499
  17  1.95648
  18  2.65419e-05
  19  14.2238
  20  4.81587
  21  3.11685e-05
  22  13.8038
  23  0.764376
  24  3.66372e-05
  25  0.272955
  26  0.197044
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  3.761e-06  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.912e-01  1.970e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.124e+00  2.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 6.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/225763/likelihoodResults_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.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) = 5497.63993857
delta logL = -0.000688276972141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5497.63925031
delta logL = -1.9420440367e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5497.639     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.777        .90712E-02** at limit **
   2  Index         2.2499        6.0391        .50000        .31762E-05
   3  Normalizat    1.1241        .20599        .61767E-01    .14919E-04
   4  Prefactor     .89119        .16059        .44893E-01    .16522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.24985
  Normalizat = 1.12415
  Prefactor  = 0.891187
 **********
 **   18 **HESSE 
 **********

 FCN=   5497.639     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2499        5.9812        .50000       -.58240    
   3  Normalizat    1.1241        .24240        .27320E-03   -.88980    
   4  Prefactor     .89119        .18910        .23500E-03   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61659e-11
Minuit parameter uncertainties:
  1  4.52746e-06
  2  5.55011
  3  0.242645
  4  0.189241
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225763': 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) = 5497.63925028
delta logL = 4.25370672019e-09

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  4.527e-06  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.250e+00  5.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.912e-01  1.892e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.124e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/225763/cmap_HighResolution_590544001_590803201_4FGL_J2212.9-2526_daily_bin1355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.36e-08', time_completed='2021-09-28 07:30:36.410580', job_id='225763', GAL2='0.89', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632839436.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='4.25e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1355' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:30:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 225763: <4FGL_J2212.9-2526_daily_bin1355> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1355> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:15:23 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:15:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:15:25 2021
Terminated at Tue Sep 28 07:30:37 2021
Results reported at Tue Sep 28 07:30:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1355 333.226 -25.4335 590544001 590803201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   620.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             250.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            914 sec.

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

